Skip to content

Commit

Permalink
used node14 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe authored Mar 23, 2024
1 parent fbef69d commit f9260ce
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 8 deletions.
14 changes: 10 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*/
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -69,7 +75,7 @@ defaults: &defaults
- store_test_results:
path: coverage/coverage.json
jobs:
test-node12:
test-node14:
<<: *defaults
publish:
<<: *defaults
Expand Down
47 changes: 45 additions & 2 deletions .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -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'
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit f9260ce

Please sign in to comment.