Skip to content

Commit

Permalink
chore: use ^ as deps version (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored and dead-horse committed Jul 27, 2018
1 parent 69654ce commit 50fb750
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ sudo: false
language: node_js
node_js:
- '4'
- '5'
- '6'
- '7'
- '8'
- '10'
script:
- 'npm run ci'
after_script:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This software is licensed under the MIT License.

Copyright(c) 2012 - 2017 node-modules and other contributors.
Copyright(c) 2012 - present node-modules and other contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
"test-cov": "nyc ava test/**/*.test.js && nyc report --reporter=lcov",
"lint": "jshint .",
"ci": "npm run lint && npm run test-cov",
"autod": "autod -w --prefix '~' -e benchmark",
"autod": "autod -w --prefix '^' -e benchmark",
"test-optimized": "node --allow-natives-syntax --trace_opt --trace_deopt test/optimized.js"
},
"dependencies": {
"copy-to": "~2.0.1",
"escape-html": "~1.0.3",
"mkdirp": "~0.5.1",
"mz": "~2.7.0"
"copy-to": "^2.0.1",
"escape-html": "^1.0.3",
"mkdirp": "^0.5.1",
"mz": "^2.7.0"
},
"devDependencies": {
"autod": "*",
"ava": "~0.22.0",
"ava": "^0.25.0",
"beautify-benchmark": "*",
"benchmark": "^2.1.0",
"contributors": "*",
"jshint": "*",
"moment": "~2.19.1",
"moment": "^2.22.2",
"nyc": "6",
"object-assign": "^4.1.1",
"optimized": "~1.2.0",
"rimraf": "~2.6.2"
"optimized": "^1.2.0",
"rimraf": "^2.6.2"
},
"homepage": "https://github.com/node-modules/utility",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion test/date.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ test('accessLogDate() should return an access log format date string', t => {
const ss = parseInt(Math.random() * 60, 10);
const ds = '2013-' + m + '-' + d + ' ' + h + ':' + ss + ':' + ss;
const n = new Date(ds);
t.is(moment(n).format('DD/MMM/YYYY:HH:mm:ss ZZ'), utils.accessLogDate(n));
t.is(moment(n).format('DD/MMM/YYYY:HH:mm:ss ZZ'), utils.accessLogDate(n), ds);
}
}
}
Expand Down

0 comments on commit 50fb750

Please # to comment.