Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 38 additions & 5 deletions .snyk
Original file line number Diff line number Diff line change
@@ -1,10 +1,43 @@
version: v1.38.1
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
'SNYK-RUBY-NOKOGIRI-20299':
SNYK-RUBY-NOKOGIRI-20299:
- '* > nokogiri':
reason: 'We do not opt in to DTDLOAD and do not opt out of NONET'
reason: We do not opt in to DTDLOAD and do not opt out of NONET
expires: '2018-01-01T00:00:00.000Z'
'SNYK-RUBY-ACTIONCABLE-20338':
SNYK-RUBY-ACTIONCABLE-20338:
- '* > actioncable':
reason: 'We do not use actioncable'
reason: We do not use actioncable
expires: '2017-09-10T00:00:00.000Z'
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- '@rails/webpacker > @babel/core > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > node-sass > lodash':
patched: '2020-04-30T23:17:28.387Z'
- webpack-dev-server > http-proxy-middleware > lodash:
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/plugin-transform-block-scoping > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > node-sass > sass-graph > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > optimize-css-assets-webpack-plugin > last-call-webpack-plugin > lodash':
patched: '2020-04-30T23:17:28.387Z'
- webpack-dev-server > portfinder > async > lodash:
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/plugin-transform-classes > @babel/helper-define-map > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > node-sass > gaze > globule > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/plugin-transform-unicode-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/preset-modules > @babel/plugin-transform-dotall-regex > @babel/helper-create-regexp-features-plugin > @babel/helper-regex > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/generator > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash':
patched: '2020-04-30T23:17:28.387Z'
- '@rails/webpacker > @babel/preset-env > @babel/plugin-transform-exponentiation-operator > @babel/helper-builder-binary-assignment-operator-visitor > @babel/helper-explode-assignable-expression > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash':
patched: '2020-04-30T23:17:28.387Z'
2 changes: 1 addition & 1 deletion development.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM logindotgov/build as build
WORKDIR /upaya

# Install dev and test gems
COPY Gemfile Gemfile.lock ./
COPY Gemfile Gemfile.lock .snyk ./
RUN bundle install --system --with development test

# Install NPM packages
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
},
"scripts": {
"test": "NODE_ENV=test `npm bin`/mocha --require @babel/register --require spec/javascripts/spec_helper.js 'spec/javascripts/**/**_spec.js'",
"build": "true"
"build": "true",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"@rails/webpacker": "^4.1.0",
Expand All @@ -27,7 +29,8 @@
"normalize.css": "^4.2.0",
"sinon": "^1.17.7",
"webpack-dev-server": "^3.10.3",
"zxcvbn": "^4.4.2"
"zxcvbn": "^4.4.2",
"snyk": "^1.316.1"
},
"devDependencies": {
"@babel/register": "^7.4.4",
Expand All @@ -42,5 +45,6 @@
"jsdom": "^16.2.2",
"mocha": "^6.1.4",
"proxyquire": "^1.8.0"
}
},
"snyk": true
}