mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #5891 from whymarrh/npm-audit
Migrate test deps CI job to npm audit
This commit is contained in:
commit
0c8c6db040
@ -91,7 +91,7 @@ jobs:
|
||||
- run:
|
||||
name: Install npm 6 + deps via npm
|
||||
command: |
|
||||
sudo npm install -g npm@6 && npm install --no-save
|
||||
sudo npm install -g npm@6 && npm install --no-save --no-audit
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
@ -174,7 +174,7 @@ jobs:
|
||||
at: .
|
||||
- run:
|
||||
name: Test
|
||||
command: npx nsp check
|
||||
command: sudo npm install -g npm@6 && npm audit
|
||||
|
||||
test-e2e-beta-drizzle:
|
||||
docker:
|
||||
|
7
.nsprc
7
.nsprc
@ -1,7 +0,0 @@
|
||||
{
|
||||
"exceptions": [
|
||||
"https://nodesecurity.io/advisories/566",
|
||||
"https://nodesecurity.io/advisories/157",
|
||||
"https://nodesecurity.io/advisories/577"
|
||||
]
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
const beefy = require('beefy')
|
||||
const http = require('http')
|
||||
const port = 8124
|
||||
|
||||
const handler = beefy({
|
||||
entries: {'mocker.js': 'bundle.js'},
|
||||
cwd: __dirname,
|
||||
live: true,
|
||||
open: true,
|
||||
quiet: false,
|
||||
bundlerFlags: ['-t', 'brfs'],
|
||||
})
|
||||
|
||||
|
||||
http.createServer(handler).listen(port)
|
||||
console.log(`Now listening on port ${port}`)
|
5042
package-lock.json
generated
5042
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
25
package.json
25
package.json
@ -43,8 +43,6 @@
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"mozilla-lint": "addons-linter dist/firefox",
|
||||
"ui": "npm run test:flat:build:states && beefy development/ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
|
||||
"mock": "beefy development/mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
|
||||
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",
|
||||
"disc": "gulp disc --debug",
|
||||
"announce": "node development/announcer.js",
|
||||
@ -102,7 +100,6 @@
|
||||
"classnames": "^2.2.5",
|
||||
"clone": "^2.1.2",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
"css-loader": "^0.28.11",
|
||||
"currency-formatter": "^1.4.2",
|
||||
"d3": "^5.7.0",
|
||||
"debounce": "1.1.0",
|
||||
@ -114,7 +111,6 @@
|
||||
"dnode": "^1.2.2",
|
||||
"end-of-stream": "^1.1.0",
|
||||
"ensnare": "^1.0.0",
|
||||
"eslint-plugin-react": "^7.4.0",
|
||||
"eth-bin-to-ops": "^1.0.1",
|
||||
"eth-block-tracker": "^4.1.0",
|
||||
"eth-contract-metadata": "github:MetaMask/eth-contract-metadata#master",
|
||||
@ -145,13 +141,7 @@
|
||||
"extensionizer": "^1.0.1",
|
||||
"fast-json-patch": "^2.0.4",
|
||||
"fast-levenshtein": "^2.0.6",
|
||||
"file-loader": "^1.1.11",
|
||||
"fuse.js": "^3.2.0",
|
||||
"gulp": "github:gulpjs/gulp#v4.0.0",
|
||||
"gulp-autoprefixer": "^5.0.0",
|
||||
"gulp-debug": "^3.2.0",
|
||||
"gulp-eslint": "^4.0.0",
|
||||
"gulp-sass": "^4.0.0",
|
||||
"hat": "0.0.3",
|
||||
"human-standard-token-abi": "^2.0.0",
|
||||
"idb-global": "^2.1.0",
|
||||
@ -246,9 +236,8 @@
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"babel-register": "^6.7.2",
|
||||
"babelify": "^8.0.0",
|
||||
"beefy": "^2.1.5",
|
||||
"brfs": "^1.6.1",
|
||||
"browserify": "^16.1.1",
|
||||
"browserify": "^16.2.3",
|
||||
"chai": "^4.1.0",
|
||||
"chromedriver": "^2.41.0",
|
||||
"clipboardy": "^1.2.3",
|
||||
@ -271,16 +260,20 @@
|
||||
"fs-extra": "^6.0.1",
|
||||
"fs-promise": "^2.0.3",
|
||||
"ganache-cli": "^6.1.0",
|
||||
"ganache-core": "^2.2.1",
|
||||
"ganache-core": "^2.3.1",
|
||||
"geckodriver": "^1.14.1",
|
||||
"gh-pages": "^1.2.0",
|
||||
"gifencoder": "^1.1.0",
|
||||
"gulp": "github:gulpjs/gulp#6d71a658c61edb3090221579d8f97dbe086ba2ed",
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-autoprefixer": "^5.0.0",
|
||||
"gulp-babel": "^7.0.0",
|
||||
"gulp-debug": "^3.2.0",
|
||||
"gulp-eslint": "^4.0.0",
|
||||
"gulp-json-editor": "^2.2.1",
|
||||
"gulp-livereload": "4.0.0",
|
||||
"gulp-multi-process": "^1.3.1",
|
||||
"gulp-replace": "^0.6.1",
|
||||
"gulp-sass": "^4.0.0",
|
||||
"gulp-sourcemaps": "^2.6.0",
|
||||
"gulp-stylefmt": "^1.1.0",
|
||||
"gulp-stylelint": "^7.0.0",
|
||||
@ -308,11 +301,9 @@
|
||||
"mocha-sinon": "^2.0.0",
|
||||
"nock": "^9.0.14",
|
||||
"node-sass": "^4.9.2",
|
||||
"nsp": "^3.2.1",
|
||||
"nyc": "^13.0.0",
|
||||
"open": "0.0.5",
|
||||
"path": "^0.12.7",
|
||||
"png-file-stream": "^1.0.0",
|
||||
"png-file-stream": "^1.1.0",
|
||||
"prepend-file": "^1.3.1",
|
||||
"prompt": "^1.0.0",
|
||||
"proxyquire": "2.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user