Skip to content

Commit

Permalink
Merge pull request #990 from snyk/fix/dot-prop-vuln-update
Browse files Browse the repository at this point in the history
fix: vuln in transitive pkg of configstore (dot-prop)
  • Loading branch information
lili2311 authored Jan 31, 2020
2 parents 2c21f03 + b74bbe2 commit bc4074a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,17 @@
"license": "Apache-2.0",
"dependencies": {
"@snyk/cli-interface": "2.3.0",
"@snyk/configstore": "^3.2.0-rc1",
"@snyk/dep-graph": "1.13.1",
"@snyk/gemfile": "1.2.0",
"@snyk/snyk-cocoapods-plugin": "2.0.1",
"@snyk/update-notifier": "^2.5.1-rc1",
"@types/agent-base": "^4.2.0",
"@types/restify": "^4.3.6",
"abbrev": "^1.1.1",
"ansi-escapes": "3.2.0",
"chalk": "^2.4.2",
"cli-spinner": "0.2.10",
"configstore": "^3.1.2",
"debug": "^3.1.0",
"diff": "^4.0.1",
"git-url-parse": "11.1.2",
Expand Down Expand Up @@ -97,7 +98,6 @@
"strip-ansi": "^5.2.0",
"tempfile": "^2.0.0",
"then-fs": "^2.0.0",
"update-notifier": "^2.5.0",
"uuid": "^3.3.2",
"wrap-ansi": "^5.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/updater.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as updateNotifier from 'update-notifier';
import * as updateNotifier from '@snyk/update-notifier';
import * as fs from 'fs';
import * as p from 'path';

Expand Down
2 changes: 1 addition & 1 deletion src/lib/user-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Configstore = require('configstore');
const Configstore = require('@snyk/configstore');
const pkg = require(__dirname + '/../../package.json');
const config = new Configstore(pkg.name);

Expand Down
2 changes: 1 addition & 1 deletion test/updater.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const updateCheck = require('../src/lib/updater').updateCheck;
const fs = require('fs');
const p = require('path');
const sinon = require('sinon').createSandbox();
const updateNotifier = require('update-notifier');
const updateNotifier = require('@snyk/update-notifier');

// Fake location of the package.json file and verify the code behaves well
test('missing package.json', (t) => {
Expand Down

0 comments on commit bc4074a

Please sign in to comment.