1
0
mirror of https://github.com/danog/gift.git synced 2024-11-26 20:04:47 +01:00

Update package

This commit is contained in:
Daniil Gentili 2020-08-22 21:37:34 +02:00
parent 0694f131c8
commit 82a6feccd9
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
4 changed files with 1164 additions and 177 deletions

View File

@ -1,7 +0,0 @@
sudo: false
language: node_js
node_js:
- "4"
- "6"
- "8"
- "9"

1320
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@
"license": "MIT",
"main": "./lib/index",
"scripts": {
"test": "mocha --compilers coffee:\"./node_modules/coffee-script/lib/coffee-script/register\"",
"test": "mocha --require coffeescript/register 'test/**/*.coffee'",
"prepublish": "coffee -o lib -c src"
},
"repository": {
@ -27,14 +27,14 @@
},
"dependencies": {
"flex-exec": "^1.0.0",
"underscore": "^1.8.3"
"underscore": "^1.10.2"
},
"devDependencies": {
"coffee-script": "^1.12.7",
"coffeescript": "^1.12.7",
"fs-extra": "^4.0.2",
"mocha": "^4.0.1",
"should": "^13.1.3",
"sinon": "^4.1.1"
"mocha": "^8.1.1",
"should": "^13.2.3",
"sinon": "^4.5.0"
},
"engines": {
"node": ">=4"

View File

@ -101,8 +101,8 @@ module.exports = class Commit
gpgsig.push lines.shift().replace /^gpgsig /, ''
while !/^ -----END PGP SIGNATURE-----$/.test lines[0]
gpgsig.push lines.shift()
if lines[0] != ''
gpgsig.push lines.shift()
if lines[0] == ' '
gpgsig.push lines.shift()
# if converted from mercurial gpgsig may be present with non-valid gpg lines