不要怂,就是干,撸起袖子干!

Commit fc2e42ca by Sushant Committed by GitHub

feat(dependency): updated dependencies (#8159)

debug@3.0.0
validator@8.0.0
inflection@1.12.0
1 parent 8de9a273
Showing with 16 additions and 9 deletions
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
const _ = require('lodash'); const _ = require('lodash');
const validator = _.cloneDeep(require('validator')); const validator = _.cloneDeep(require('validator'));
const moment = require('moment');
const extensions = { const extensions = {
extend(name, fn) { extend(name, fn) {
...@@ -90,4 +91,10 @@ _.forEach(extensions, (extend, key) => { ...@@ -90,4 +91,10 @@ _.forEach(extensions, (extend, key) => {
// https://github.com/chriso/validator.js/commit/e33d38a26ee2f9666b319adb67c7fc0d3dea7125 // https://github.com/chriso/validator.js/commit/e33d38a26ee2f9666b319adb67c7fc0d3dea7125
validator.isNull = validator.isEmpty; validator.isNull = validator.isEmpty;
// isDate removed in 7.0.0
// https://github.com/chriso/validator.js/commit/095509fc707a4dc0e99f85131df1176ad6389fc9
validator.isDate = function (dateString) {
return moment(dateString).isValid();
};
exports.validator = validator; exports.validator = validator;
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
"dependencies": { "dependencies": {
"bluebird": "^3.4.6", "bluebird": "^3.4.6",
"cls-bluebird": "^2.0.1", "cls-bluebird": "^2.0.1",
"debug": "^2.3.0", "debug": "^3.0.0",
"depd": "^1.1.0", "depd": "^1.1.0",
"dottie": "^2.0.0", "dottie": "^2.0.0",
"generic-pool": "^3.1.6", "generic-pool": "^3.1.6",
"inflection": "1.10.0", "inflection": "1.12.0",
"lodash": "^4.17.1", "lodash": "^4.17.1",
"moment": "^2.13.0", "moment": "^2.13.0",
"moment-timezone": "^0.5.4", "moment-timezone": "^0.5.4",
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
"terraformer-wkt-parser": "^1.1.2", "terraformer-wkt-parser": "^1.1.2",
"toposort-class": "^1.0.1", "toposort-class": "^1.0.1",
"uuid": "^3.0.0", "uuid": "^3.0.0",
"validator": "^6.3.0", "validator": "^8.0.0",
"wkx": "^0.4.1" "wkx": "^0.4.1"
}, },
"devDependencies": { "devDependencies": {
...@@ -59,28 +59,28 @@ ...@@ -59,28 +59,28 @@
"chai-as-promised": "^5.3.0", "chai-as-promised": "^5.3.0",
"chai-datetime": "^1.4.1", "chai-datetime": "^1.4.1",
"chai-spies": "^0.7.1", "chai-spies": "^0.7.1",
"cheerio": "^0.22.0", "cheerio": "^1.0.0-rc.2",
"commitizen": "^2.9.6", "commitizen": "^2.9.6",
"continuation-local-storage": "^3.2.0", "continuation-local-storage": "^3.2.0",
"cross-env": "^3.0.0", "cross-env": "^5.0.5",
"cz-conventional-changelog": "^2.0.0", "cz-conventional-changelog": "^2.0.0",
"env-cmd": "^5.1.0", "env-cmd": "^5.1.0",
"esdoc": "^0.5.2", "esdoc": "^0.5.2",
"eslint": "^4.2.0", "eslint": "^4.5.0",
"hints": "^1.1.0", "hints": "^1.1.0",
"husky": "^0.14.2", "husky": "^0.14.2",
"istanbul": "^0.4.5", "istanbul": "^0.4.5",
"lcov-result-merger": "^1.2.0", "lcov-result-merger": "^1.2.0",
"mocha": "^3.0.2", "mocha": "^3.0.2",
"mysql2": "^1.2.0", "mysql2": "^1.4.1",
"pg": "^6.1.0", "pg": "^6.1.0",
"pg-hstore": "^2.3.2", "pg-hstore": "^2.3.2",
"pg-native": "^1.10.0", "pg-native": "^1.10.0",
"pg-types": "^1.11.0", "pg-types": "^1.11.0",
"rimraf": "^2.5.4", "rimraf": "^2.5.4",
"semantic-release": "^6.3.6", "semantic-release": "^7.0.2",
"sinon": "^1.17.6", "sinon": "^1.17.6",
"sinon-chai": "^2.8.0", "sinon-chai": "^2.13.0",
"sqlite3": "^3.1.4", "sqlite3": "^3.1.4",
"tedious": "1.14.0", "tedious": "1.14.0",
"uuid-validate": "^0.0.2", "uuid-validate": "^0.0.2",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!