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

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 @@
const _ = require('lodash');
const validator = _.cloneDeep(require('validator'));
const moment = require('moment');
const extensions = {
extend(name, fn) {
......@@ -90,4 +91,10 @@ _.forEach(extensions, (extend, key) => {
// https://github.com/chriso/validator.js/commit/e33d38a26ee2f9666b319adb67c7fc0d3dea7125
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;
......@@ -38,11 +38,11 @@
"dependencies": {
"bluebird": "^3.4.6",
"cls-bluebird": "^2.0.1",
"debug": "^2.3.0",
"debug": "^3.0.0",
"depd": "^1.1.0",
"dottie": "^2.0.0",
"generic-pool": "^3.1.6",
"inflection": "1.10.0",
"inflection": "1.12.0",
"lodash": "^4.17.1",
"moment": "^2.13.0",
"moment-timezone": "^0.5.4",
......@@ -51,7 +51,7 @@
"terraformer-wkt-parser": "^1.1.2",
"toposort-class": "^1.0.1",
"uuid": "^3.0.0",
"validator": "^6.3.0",
"validator": "^8.0.0",
"wkx": "^0.4.1"
},
"devDependencies": {
......@@ -59,28 +59,28 @@
"chai-as-promised": "^5.3.0",
"chai-datetime": "^1.4.1",
"chai-spies": "^0.7.1",
"cheerio": "^0.22.0",
"cheerio": "^1.0.0-rc.2",
"commitizen": "^2.9.6",
"continuation-local-storage": "^3.2.0",
"cross-env": "^3.0.0",
"cross-env": "^5.0.5",
"cz-conventional-changelog": "^2.0.0",
"env-cmd": "^5.1.0",
"esdoc": "^0.5.2",
"eslint": "^4.2.0",
"eslint": "^4.5.0",
"hints": "^1.1.0",
"husky": "^0.14.2",
"istanbul": "^0.4.5",
"lcov-result-merger": "^1.2.0",
"mocha": "^3.0.2",
"mysql2": "^1.2.0",
"mysql2": "^1.4.1",
"pg": "^6.1.0",
"pg-hstore": "^2.3.2",
"pg-native": "^1.10.0",
"pg-types": "^1.11.0",
"rimraf": "^2.5.4",
"semantic-release": "^6.3.6",
"semantic-release": "^7.0.2",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"sinon-chai": "^2.13.0",
"sqlite3": "^3.1.4",
"tedious": "1.14.0",
"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!