1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/.circleci/scripts
Mark Stacey 754f98aea2
Fix npm-audit script ()
The npm audit script was auditing all dependencies, then filtering the
results to just the advisories concerning production dependencies. This
was done by checking the boolean `dev` and `optional` properties of each
`findings` entry in each advisory.

The `dev` and `optional` properties are now missing, which is resulting
in dev advisories being mistakenly identified as affecting production.

This check has been removed, and instead the `--production` flag is used
when calling `npm audit`. This accomplishes the same goal without
relying as much upon the audit output format.

The `--production` flag was added in `npm` `v6.10.0`, so `npm` has been
updated to the current latest stable (`v6.10.2`) for the `test-deps`
job. It was also updated on the `prep-deps-npm` job to ensure
consistency in behaviour. The other jobs only use `npm run` which hasn't
changed substantially in some time, so compatibility isn't really a
concern for those.

`audit.json` has also been added to `.gitignore`. It was accidentally
checked in once while working on this branch.
2019-07-24 19:54:16 -03:00
..
firefox-install Update version of Firefox used on CI () 2019-07-15 10:15:15 -03:00
firefox.cfg ci: Disable Firefox updates 2018-08-17 18:41:12 -02:30
npm-audit Fix npm-audit script () 2019-07-24 19:54:16 -03:00
npm-audit-check.js Fix npm-audit script () 2019-07-24 19:54:16 -03:00
release-bump-changelog-version Add scripts to automate GitHub releases () 2019-07-17 22:51:47 -07:00
release-bump-manifest-version Add scripts to automate GitHub releases () 2019-07-17 22:51:47 -07:00
release-create-gh-release Add scripts to automate GitHub releases () 2019-07-17 22:51:47 -07:00
release-create-release-pr Add scripts to automate GitHub releases () 2019-07-17 22:51:47 -07:00
show-changelog.awk Add scripts to automate GitHub releases () 2019-07-17 22:51:47 -07:00