Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.0 - dependency update #58

Merged
merged 2 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synatic/schema-magic",
"version": "1.0.2",
"version": "1.1.0",
"description": "JSON Schema Utilities",
"main": "index.js",
"files": [
Expand Down Expand Up @@ -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"
}
}
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down