diff --git a/.circleci/config.yml b/.circleci/config.yml index d6a5b72..071f64d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,14 +4,14 @@ workflows: version: 2 test-publish: jobs: - - test-node12: + - test-node14: filters: # required since `deploy` has tag filters AND requires `build` tags: only: /.*/ - publish: requires: - - test-node12 + - test-node14 filters: tags: only: /^v.*/ @@ -22,7 +22,7 @@ workflows: defaults: &defaults working_directory: ~/repo docker: - - image: cimg/node:12.22.10 + - image: cimg/node:14.21.3 steps: - checkout - run: node --version > _tmp_file @@ -35,6 +35,12 @@ defaults: &defaults npm --version # Workaround for https://github.blog/2021-09-01-improving-git-protocol-security-github/ git config --global url."https://github.com/".insteadOf git://github.com/ + - run: + name: install python + command: | + sudo apt-get update && sudo apt-get install -y python2.7 + npm install -g node-gyp@latest + npm config set python "/usr/bin/python2.7" - run: name: npm-install command: npm ci @@ -69,7 +75,7 @@ defaults: &defaults - store_test_results: path: coverage/coverage.json jobs: - test-node12: + test-node14: <<: *defaults publish: <<: *defaults diff --git a/.snyk b/.snyk index bc8787d..bc825b2 100644 --- a/.snyk +++ b/.snyk @@ -3,8 +3,51 @@ version: v1.14.1 ignore: {} # patches apply the minimum changes required to fix a vulnerability patch: + 'npm:ms:20170412': + - socketio-jwt > jsonwebtoken > ms: + patched: '2020-03-13T06:49:17.168Z' SNYK-JS-LODASH-567746: - lodash: - patched: '2020-05-01T05:03:10.948Z' + patched: '2020-05-01T04:49:17.285Z' + - express-winston > lodash: + patched: '2020-05-01T04:49:17.285Z' + - mongoose-query > lodash: + patched: '2020-05-01T04:49:17.285Z' - opentmi-addon > lodash: - patched: '2020-05-01T05:03:10.948Z' + patched: '2020-05-01T04:49:17.285Z' + - snyk > lodash: + patched: '2020-05-01T04:49:17.285Z' + - request-promise > request-promise-core > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > @snyk/dep-graph > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > inquirer > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-config > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-mvn-plugin > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-nodejs-lockfile-parser > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-nuget-plugin > lodash: + patched: '2020-05-01T04:49:17.285Z' + - winston > async > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > @snyk/dep-graph > graphlib > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-go-plugin > graphlib > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-nodejs-lockfile-parser > graphlib > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-nuget-plugin > dotnet-deps-parser > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > snyk-php-plugin > @snyk/composer-lockfile-parser > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > graphlib > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/ruby-semver > lodash: + patched: '2020-05-01T04:49:17.285Z' + - snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/dep-graph > graphlib > lodash: + patched: '2020-05-01T04:49:17.285Z' diff --git a/package.json b/package.json index e02209f..1357783 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,7 @@ "test:ci": "npm run lint && npm run test:unit", "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", "new": "plop", - "snyk-protect": "snyk protect", - "prepare": "npm run snyk-protect" + "snyk-protect": "snyk protect" }, "husky": { "hooks": {