[Pkg-javascript-commits] [node-coveralls] 260/332: Update CI, vulnerability checking, and dependencies.

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:54:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit a87354b2bc947b74bcf338b9eb587c12d9cd5c5a
Author: Adam Moss <adam.moss at bcs.org.uk>
Date:   Wed May 11 21:05:22 2016 +0100

    Update CI, vulnerability checking, and dependencies.
---
 .snyk                |  1 +
 .travis.yml          | 11 +++++++----
 README.md            |  1 +
 package.json         | 28 +++++++++++++++-------------
 test/fetchGitData.js |  8 ++++----
 test/getOptions.js   |  2 +-
 6 files changed, 29 insertions(+), 22 deletions(-)

diff --git a/.snyk b/.snyk
new file mode 100644
index 0000000..c126332
--- /dev/null
+++ b/.snyk
@@ -0,0 +1 @@
+version: v1
diff --git a/.travis.yml b/.travis.yml
index 90c3aeb..04aaca5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,11 @@
 language: node_js
 node_js:
-  - stable
-  - 4.2
-  - 0.10
-  - 0.12
+  - "node"
+  - "iojs"
+  - "6.0"
+  - "5.0"
+  - "4.2"
+  - "0.12"
+  - "0.10"
 script: make test-coveralls
 sudo: false
diff --git a/README.md b/README.md
index f47805b..7eab099 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
 #node-coveralls
 
 [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Codeship Build Status][codeship-image]][codeship-url]
+[![Known Vulnerabilities](https://snyk.io/test/github/nickmerwin/node-coveralls/badge.svg)](https://snyk.io/test/github/nickmerwin/node-coveralls)
 
 [Coveralls.io](https://coveralls.io/) support for node.js.  Get the great coverage reporting of coveralls.io and add a cool coverage button ( like the one above ) to your README.
 
diff --git a/package.json b/package.json
index f10a782..ddec6b5 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
     "url": "https://github.com/nickmerwin/node-coveralls/issues"
   },
   "scripts": {
-    "test": "make test"
+    "test": "snyk test && make test"
   },
   "bin": {
     "coveralls": "./bin/coveralls.js"
@@ -26,22 +26,24 @@
     "elliotcable <github at elliottcable.name> (http://elliottcable.name/)",
     "Slotos <slotos at gmail.com> (http://slotos.net)",
     "mattjmorrison <mattjmorrison at mattjmorrison.com> (http://mattjmorrison.com)",
-    "Arpad Borsos <arpad.borsos at googlemail.com> (http://swatinem.de/)"
+    "Arpad Borsos <arpad.borsos at googlemail.com> (http://swatinem.de/)",
+    "Adam Moss (https://github.com/adam-moss)"
   ],
   "dependencies": {
-    "js-yaml": "3.0.1",
-    "lcov-parse": "0.0.6",
-    "log-driver": "1.2.4",
-    "request": "2.69.0",
-    "minimist": "1.2.0"
+    "js-yaml": "3.6.1",
+    "lcov-parse": "0.0.10",
+    "log-driver": "1.2.5",
+    "minimist": "1.2.0",
+    "request": "2.73.0"
   },
   "devDependencies": {
-    "sinon-restore": "1.0.0",
-    "mocha-lcov-reporter": "0.0.1",
-    "mocha": "1.8.1",
-    "should": "1.1.0",
-    "istanbul": "0.2.10",
-    "jshint": "2.1.3"
+    "istanbul": "0.4.4",
+    "jshint": "2.9.2",
+    "mocha": "2.5.3",
+    "mocha-lcov-reporter": "1.2.0",
+    "should": "9.0.2",
+    "sinon-restore": "1.0.1",
+    "snyk": "1.17.0"
   },
   "engines": {
     "node": ">=0.8.6"
diff --git a/test/fetchGitData.js b/test/fetchGitData.js
index cd0a679..012e129 100644
--- a/test/fetchGitData.js
+++ b/test/fetchGitData.js
@@ -98,14 +98,14 @@ describe("fetchGitData", function(){
         "covert": "to a string"
       }
     }, function(err, str){
-      str.branch.should.be.a("string");
+      str.branch.should.be.String();
       fetchGitData({
         "head": {
           "id": "COMMIT_HASH"
         },
         "branch": ["convert", "to", "a", "string"]
       }, function(err, str){
-        str.branch.should.be.a("string");
+        str.branch.should.be.String();
         done();
       });
     });
@@ -168,11 +168,11 @@ describe("fetchGitData", function(){
     process.env.COVERALLS_GIT_BRANCH = "master";
     getOptions(function(err, options){
       options = options.git;
-      options.head.should.be.a("object");
+      options.head.should.be.Object();
       options.head.author_name.should.not.equal("Unknown Author");
       options.head.committer_name.should.not.equal("Unknown Committer");
       options.head.message.should.not.equal("Unknown Commit Message");
-      options.branch.should.be.a("string");
+      options.branch.should.be.String();
       options.should.have.property("remotes");
       options.remotes.should.be.instanceof(Array);
       options.remotes.length.should.be.above(0);
diff --git a/test/getOptions.js b/test/getOptions.js
index 3394a85..98c0ea5 100644
--- a/test/getOptions.js
+++ b/test/getOptions.js
@@ -203,7 +203,7 @@ var testGitBranchDetection = function(sut, done){
     if (localGit.branch)
       options.git.branch.should.equal(localGit.branch);
     else
-      options.git.should.not.have.property('branch');
+      options.git.should.not.have.key('branch');
     localGit.wrapUp();
     done();
   });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list