Skip to content

Commit

Permalink
Merge pull request #17 from seegno/enhancement/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
fixe committed Sep 28, 2016
2 parents 45a3e77 + 3d86616 commit c507a3c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 38 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ extends: seegno

rules:
id-length: 0
id-match: 0
new-cap: 0
no-bitwise: 0
no-new: 0
no-underscore-dangle: 0
5 changes: 0 additions & 5 deletions .jscsrc

This file was deleted.

45 changes: 20 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,47 +31,42 @@
"scripts": {
"changelog": "github_changelog_generator --no-issues --header-label='# Changelog' --future-release=v$npm_config_future_release && sed -i '' -e :a -e '$d;N;2,4ba' -e 'P;D' CHANGELOG.md",
"coverage": "nyc --reporter=html --reporter=text npm test",
"lint": "eslint src test && jscs src test",
"lint": "eslint src test",
"prepublish": "npm run transpile",
"test": "NODE_ENV=test mocha $npm_package_options_mocha",
"testdocker": "docker-compose run --rm sut",
"transpile": "rm -rf dist/* && babel src --out-dir dist/src && babel test --out-dir dist/test && cp package.json dist/",
"version": "npm run changelog --future-release=$npm_package_version && npm run transpile && git add -A CHANGELOG.md dist"
},
"dependencies": {
"bluebird": "^3.3.5",
"debugnyan": "0.0.2",
"google-libphonenumber": "^1.0.20",
"lodash": "^4.12.0",
"qs": "^6.2.0",
"request": "^2.72.0",
"bluebird": "^3.4.6",
"debugnyan": "^1.0.0",
"google-libphonenumber": "^2.0.2",
"lodash": "^4.16.2",
"qs": "^6.2.1",
"request": "^2.75.0",
"request-debug": "^0.2.0",
"standard-http-error": "^2.0.0",
"urijs": "^1.18.0",
"urijs": "^1.18.2",
"url-escape-tag": "^1.0.0",
"validator": "^5.2.0",
"validator.js": "^2.0.0",
"validator.js-asserts": "^3.0.0"
"validator": "^6.0.0",
"validator.js": "^2.0.3",
"validator.js-asserts": "^3.0.1"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-eslint": "^6.0.4",
"babel-cli": "^6.14.0",
"babel-eslint": "^7.0.0",
"babel-plugin-transform-async-to-module-method": "^6.8.0",
"babel-preset-es2015-node4": "^2.1.0",
"babel-preset-stage-1": "^6.3.13",
"babel-register": "^6.8.0",
"eslint": "^2.10.2",
"eslint-config-seegno": "^4.0.0",
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-sort-class-members": "^1.0.1",
"isparta": "^4.0.0",
"jscs": "^3.0.7",
"jscs-config-seegno": "^2.0.0",
"mocha": "^2.3.4",
"babel-preset-stage-1": "^6.13.0",
"babel-register": "^6.14.0",
"eslint": "^3.6.1",
"eslint-config-seegno": "^6.0.0",
"mocha": "^3.1.0",
"nock": "^8.0.0",
"nyc": "^6.4.4",
"nyc": "^8.3.0",
"pre-commit": "^1.1.3",
"should": "^8.3.1"
"should": "^11.1.0"
},
"engines": {
"node": ">=4"
Expand Down
12 changes: 6 additions & 6 deletions test/asserts/signature-assert_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ describe('SignatureAssert', () => {
key: 'foo',
request: {
body: {
qux: 'net',
foo: {
bar: {
biz: 'foo'
}
}
},
qux: 'net'
},
headers: {
host: 'foo.bar',
Expand Down Expand Up @@ -81,12 +81,12 @@ describe('SignatureAssert', () => {
key: 'foo',
request: {
body: {
qux: 'net',
foo: {
bar: {
biz: 'foo'
}
}
},
qux: 'net'
},
headers: {
host: 'foo.bar',
Expand All @@ -105,12 +105,12 @@ describe('SignatureAssert', () => {
key: 'foo',
request: {
body: {
qux: 'net',
foo: {
bar: {
biz: 'foo bar'
}
}
},
qux: 'net'
},
headers: {
host: 'foo.bar',
Expand Down
3 changes: 1 addition & 2 deletions test/utils/uuid.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ import crypto from 'crypto';
*/

export default function uuid(a) {
return a ? (a ^ crypto.randomBytes(1)[0] % 16 >> a / 4).toString(16) :
([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);
return a ? (a ^ crypto.randomBytes(1)[0] % 16 >> a / 4).toString(16) : ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);
}

0 comments on commit c507a3c

Please sign in to comment.