Skip to content

Commit

Permalink
Update nodejs & npm package dependencies (notatestuser#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Nov 6, 2017
1 parent ecbc4e7 commit 51cfb2b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
- "8"
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
"url": "https://github.com/notatestuser/gift.git"
},
"dependencies": {
"underscore": "1.x.x"
"underscore": "^1.8.3"
},
"devDependencies": {
"coffee-script": "^1.10.0",
"fs-extra": "^0.18.4",
"mocha": "^2.3.3",
"should": "~7.1.0",
"sinon": "^1.17.1"
"coffee-script": "^1.12.7",
"fs-extra": "^4.0.2",
"mocha": "^4.0.1",
"should": "^13.1.3",
"sinon": "^4.1.1"
},
"engines": {
"node": "> 0.4.1"
"node": "> 4"
}
}
6 changes: 4 additions & 2 deletions test/repo.test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,14 @@ describe "Repo", ->
remote = branch = ""

before ->
sinon.stub repo, "git", (command, opts, args, callback) ->
sinon.stub repo, "git"
.callsFake (command, opts, args, callback) ->
if command is "pull"
remote = args[0]
branch = args[1]
callback? null
sinon.stub repo, "status", (callback) ->
sinon.stub repo, "status"
.callsFake (callback) ->
callback? null, clean: no

after ->
Expand Down

0 comments on commit 51cfb2b

Please sign in to comment.