Skip to content

Instantly share code, notes, and snippets.

View michaelsbradleyjr's full-sized avatar
💭
Dip trip, flip fantasia 🎺

Michael Bradley michaelsbradleyjr

💭
Dip trip, flip fantasia 🎺
View GitHub Profile
$ npx lerna exec --concurrency=1 'ncu'
lerna notice cli v3.19.0
lerna info Executing command in 76 packages: "ncu"
Checking /Users/michael/repos/embark/dapps/tests/service/package.json
[====================] 2/2 100%
rimraf 3.0.0 → 3.0.1
Run ncu -u to upgrade package.json
File: packages/plugins/mocha-tests/src/lib/index.js
58:7: global.before((done) => {
87:15: global.web3.eth.defaultAccount = accts[0];
220:17: global.describe = describeWithAccounts;
221:17: global.contract = describeWithAccounts;
222:17: global.config = config;
File: packages/embarkjs/ens/src/index.js
3:16:let EmbarkJS = global.EmbarkJS || require('embarkjs');
yarn global add embark@nightly
yarn global v1.21.1
[1/4] 🔍 Resolving packages...
warning embark > [email protected]: This module is no longer maintained, try this instead:
npm i nyc
Visit https://istanbul.js.org/integrations for other alternatives.
warning embark > embark-utils > @types/[email protected]: This is a stub types definition. pretty-ms provides its own type definitions, so you do not need this installed.
warning embark > web3-core > @types/[email protected]: This is a stub types definition for bignumber.js (https://github.com/MikeMcl/bignumber.js/). bignumber.js provides its own type definitions, so you don't need @types/bignumber.js installed!
warning embark > embark-engine > embark-swarm > swarm-api > @babel/runtime-corejs2 > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning embark > embark-engine > embark-ipfs > ipfs-http-client > [email protected]: stable api
npm i -g embark@nightly
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated @types/[email protected]: This is a stub types definition. pretty-ms provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/[email protected]: This is a stub types definition for bignumber.js (https://github.com/MikeMcl/bignumber.js/). bignumber.js provides its own type definitions, so you don't need @types/bignumber.js installed!
npm WARN deprecated [email protected]: stable api reached
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
-*- mode: ag; default-directory: "~/repos/embark/" -*-
Ag started at Thu Jan 16 14:27:42
ag --literal --group --line-number --column --color --color-match 30\;43 --color-path 1\;32 --smart-case --stats -- embark-framework .
File: CONTRIBUTING.md
29:121:If you would like to chat about the question in real-time, you can reach out via [our gitter channel](https://gitter.im/embark-framework/Lobby).
File: packages/embark/README.md
4:47:[![Gitter](https://img.shields.io/gitter/room/embark-framework/Lobby.svg)](https://gitter.im/embark-framework/Lobby)
5:77:[![Build Status](https://dev.azure.com/embarklabs/Embark/_apis/build/status/embark-framework.embark?branchName=master)](https://dev.azure.com/embarklabs/Embark/_build/latest?definitionId=1&branchName=master)
function makeAsyncQueue() {
let promise;
let resolve;
const queue = [];
const setPromise = () => {
promise = new Promise(res => {
resolve = res;
});
};
const {execSync} = require('child_process');
const embarkFramework = JSON.parse(execSync('npm team ls @embark-framework:developers --json'));
const embarkLabs = JSON.parse(execSync('npm team ls @embarklabs:developers --json'));
const teamMembers = [...(new Set([].concat(embarkFramework, embarkLabs)))];
const pkgsDict = {};
let teamMembersPkgs = new Set();
'warning: .secret.json file not found; this is only needed to deploy to testnet or livenet etc..'
pid 16557 listening on /var/folders/tz/xyfqmkld0bb871gxkg0q86mc0000gn/T/embark-2f87fb6a/embark.ipc
========================
Welcome to Embark 5.0.0-alpha.1
========================
warning: .secret.json file not found; this is only needed to deploy to testnet or livenet etc..
loaded plugins: embark-solium, @trailofbits/embark-contract-info, embark-solc
Cockpit UI available at http://localhost:55555
Starting Blockchain node in another process
Blockchain node is ready
Contract log for unknown contract: {"request":{"jsonrpc":"2.0","id":1035,"method":"eth_getTransactionReceipt","params":["0x034c9bf696ae80b2f78e709a40cccf273674417bc154d550b5daa46e2766b825"]},"response":{"jsonrpc":"2.0","id":1035,"result":{"blockHash":"0xb22aa7a3d6c59d91a855c6cbd73e9b3a29e5e169d27e88a0304209f53cc00ae5","blockNumber":"0x33","contractAddress":null,"cumulativeGasUsed":"0x5208","from":"0x4307fc75c6d2359c4f611979be4fe36e99686fa3","gasUsed":"0x5208","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"
$ embark test
(node:5802) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_URL]: Invalid URL: [object Object]
at onParseError (internal/url.js:241:17)
at new URL (internal/url.js:319:5)
at parseURL (/Users/michael/repos/embark/node_modules/web3-providers-ws/src/index.js:42:20)
at new WebsocketProvider (/Users/michael/repos/embark/node_modules/web3-providers-ws/src/index.js:75:21)
at Proxy._createWebSocketProvider (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:47:12)
at Proxy._createWebSocketProvider [as handleSubscribe] (/Users/michael/repos/embark/packages/stack/proxy/src/proxy.js:184:67)
at EmbarkEmitter.call (/Users/michael/repos/embark/packages/core/core/src/events.ts:190:8)
at EmbarkEmitter.emit (events.js:198:13)