Skip to content

Commit

Permalink
feat: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Drukh committed Apr 28, 2018
1 parent fc9de9d commit d369507
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 14 deletions.
1 change: 0 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var fs = require('then-fs');
var path = require('path');
var debug = require('debug')('snyk:policy');
var Promise = require('es6-promise').Promise; // jshint ignore:line
var match = require('./match');
var parse = require('./parser');
var tryRequire = require('snyk-try-require');
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@
"tap-only": "0.0.5"
},
"dependencies": {
"debug": "^2.2.0",
"debug": "^3.1.0",
"email-validator": "^2.0.3",
"es6-promise": "^3.1.2",
"js-yaml": "^3.5.3",
"lodash.clonedeep": "^4.3.1",
"semver": "^5.1.0",
"semver": "^5.5.0",
"snyk-module": "^1.8.1",
"snyk-resolve": "^1.0.0",
"snyk-try-require": "^1.1.1",
Expand Down
1 change: 0 additions & 1 deletion test/functional/append.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var test = require('tap-only');
var Promise = require('es6-promise').Promise; // jshint ignore:line
var policy = require('../../');
var fixtures = __dirname + '/../fixtures/issues/SC-1106/';
var withDash = fixtures + '/pre-update.snyk';
Expand Down
1 change: 0 additions & 1 deletion test/functional/load-policies.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var test = require('tap-only');
var policy = require('../../');
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures';

test('load different types of policies', function (t) {
Expand Down
1 change: 0 additions & 1 deletion test/unit/filter-expired.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var test = require('tap').test;
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures/ignore-expired';
var fixturesNoQuotes = __dirname + '/../fixtures/ignore-expired-no-quotes';
var vulns = require(fixtures + '/vulns.json');
Expand Down
1 change: 0 additions & 1 deletion test/unit/filter-ignore.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var test = require('tap').test;
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures/ignore';
var vulns = require(fixtures + '/vulns.json');

Expand Down
3 changes: 1 addition & 2 deletions test/unit/filter-notes.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var test = require('tap').test;
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures';
var vulns = require(fixtures + '/patch/vulns.json');

Expand Down Expand Up @@ -32,4 +31,4 @@ test('ignored vulns do not turn up in tests', function (t) {
t.match(items[0], new RegExp(vulns.name), 'found package name');
t.notMatch(items[0], new RegExp('undefined'), 'undefined does not appear');
});
});
});
1 change: 0 additions & 1 deletion test/unit/filter-patch.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var test = require('tap').test;
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures/patch';
var vulns = require(fixtures + '/vulns.json');
var proxyquire = require('proxyquire');
Expand Down
1 change: 0 additions & 1 deletion test/unit/filter.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var test = require('tap').test;
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures/ignore';
var vulns = require(fixtures + '/vulns.json');

Expand Down
1 change: 0 additions & 1 deletion test/unit/policy-parse.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var test = require('tap-only');
var policy = require('../../');
var Promise = require('es6-promise').Promise; // jshint ignore:line
var fixtures = __dirname + '/../fixtures/issues/SC-1106/';
var withoutDash = fixtures + '/missing-dash.snyk';
var withDash = fixtures + '/with-dash.snyk';
Expand Down
1 change: 0 additions & 1 deletion test/unit/policy-save.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var test = require('tap-only');
var proxyquire = require('proxyquire');
var fixtures = __dirname + '/../fixtures';
var Promise = require('es6-promise').Promise; // jshint ignore:line
var path = require('path');
var sinon = require('sinon');
var writeSpy = sinon.spy();
Expand Down

0 comments on commit d369507

Please sign in to comment.