From b505c72923d1ab1272eeb11fea07dcea9f4f01eb Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sat, 12 May 2018 15:44:55 +0100 Subject: [PATCH] audit --- .travis.yml | 10 +++++++--- package-lock.json | 25 ++++++++++++------------- package.json | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13f274c4..8efdf2a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,13 +35,17 @@ before_script: npm install $SENECA_INSTALL; fi -cache: - directories: - - node_modules +script: + - npm test + - npm audit after_script: - npm run coveralls +cache: + directories: + - node_modules + notifications: webhooks: urls: diff --git a/package-lock.json b/package-lock.json index 2eb67ee8..27e7480d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -399,12 +399,20 @@ "dev": true }, "code": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/code/-/code-5.2.0.tgz", - "integrity": "sha512-Ul69Vhv+L/sewD9azem9xvj6W+dW7XJ6UYust04KDEYQwyCb9M3ZkUjS7udFNSdvnYvbokBYDoXQXUg0P4DN5g==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/code/-/code-4.1.0.tgz", + "integrity": "sha1-IJrRHQWvigwceq9pTZ+k0sfZW4U=", "dev": true, "requires": { - "hoek": "5.x.x" + "hoek": "4.x.x" + }, + "dependencies": { + "hoek": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", + "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==", + "dev": true + } } }, "color-convert": { @@ -1386,15 +1394,6 @@ "supports-color": "4.4.x" }, "dependencies": { - "code": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/code/-/code-4.1.0.tgz", - "integrity": "sha1-IJrRHQWvigwceq9pTZ+k0sfZW4U=", - "dev": true, - "requires": { - "hoek": "4.x.x" - } - }, "hoek": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", diff --git a/package.json b/package.json index f1487097..a3cc8d3d 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "devDependencies": { "async": "2", "bench": "0", - "code": "5", + "code": "4", "coveralls": "3", "docco": "0", "hoek": "5",