From 7af76fb8cad8012c01f762d6a8c0a9917d44b23d Mon Sep 17 00:00:00 2001 From: Thiren Bunsee Date: Sat, 11 Jun 2022 23:29:06 +0200 Subject: [PATCH 1/2] chore(deps): updated npm dependencies --- package.json | 16 ++++++++-------- test/test.js | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index eb76b18..5fdede8 100644 --- a/package.json +++ b/package.json @@ -46,22 +46,22 @@ "@synatic/type-magic": "^1.0.0", "ajv": "6.12.6", "ajv-keywords": "3.5.2", - "bson-objectid": "2.0.2", + "bson-objectid": "2.0.3", "check-types": "11.1.2", "clone-deep": "4.0.1", - "cron-parser": "3.5.0", - "jsonpath-plus": "5.0.7", + "cron-parser": "4.4.0", + "jsonpath-plus": "6.0.1", "moment": "2.29.3", "moment-timezone": "0.5.34", - "underscore": "1.13.3", + "underscore": "1.13.4", "underscore.string": "3.3.6" }, "devDependencies": { - "eslint": "^8.8.0", + "eslint": "^8.17.0", "eslint-config-google": "^0.14.0", - "eslint-config-prettier": "^8.1.0", - "mocha": "^9.1.0", + "eslint-config-prettier": "^8.5.0", + "mocha": "^10.0.0", "nyc": "^15.1.0", - "prettier": "^2.2.1" + "prettier": "^2.6.2" } } diff --git a/test/test.js b/test/test.js index d178241..0a46119 100644 --- a/test/test.js +++ b/test/test.js @@ -2415,7 +2415,7 @@ describe('Schema Magic', function () { assert.deepEqual(invalid, null, 'Invalid objectid validate'); }); - it('check an ivalid objectid', function () { + it('check an invalid objectid', function () { const invalid = SchemaMagic.validate( { val: '58c246244d18c88838c67f', @@ -2432,7 +2432,7 @@ describe('Schema Magic', function () { assert(invalid, 'Invalid objectid validate'); }); - it('check an ivalid objectid when null', function () { + it('check an invalid objectid when null', function () { const invalid = SchemaMagic.validate( { val: null, @@ -2465,7 +2465,7 @@ describe('Schema Magic', function () { assert(!invalid, 'Invalid cron validate'); }); - it('check an ivalid cron', function () { + it('check an invalid cron', function () { const invalid = SchemaMagic.validate( { val: '0 0 * * x x x', @@ -2499,7 +2499,7 @@ describe('Schema Magic', function () { assert(!invalid, 'Invalid timezone validate'); }); - it('check an ivalid timezone', function () { + it('check an invalid timezone', function () { const invalid = SchemaMagic.validate( { val: 'America/xxxx', From 4eac1837e7c08dd5fd108d105f577e8e313c9ed5 Mon Sep 17 00:00:00 2001 From: Thiren Bunsee Date: Sat, 11 Jun 2022 23:29:19 +0200 Subject: [PATCH 2/2] 1.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5fdede8..041375a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@synatic/schema-magic", - "version": "1.0.2", + "version": "1.1.0", "description": "JSON Schema Utilities", "main": "index.js", "files": [