mirror of
https://github.com/chenasraf/schemastore.git
synced 2026-05-18 01:58:58 +00:00
Rename Gruntfile.js to Gruntfile.cjs (#2239)
* Rename Gruntfile.js to Gruntfile.cjs Use the CommonJS file extension * eslint "object-shorthand" must be error not warning The build process must not generate warning but error and stop the build. * Present Node 16 is es2021 compatible Future node 18 is es2022 compatible * Update package to the latest version. Except for "got". Must stay at version 11. There is no newer CJS version available
This commit is contained in:
committed by
GitHub
parent
65c9d5cf77
commit
a67ff4a7d4
4
Makefile
4
Makefile
@@ -26,6 +26,6 @@ maintenance: # Run the maintenance check
|
||||
coverage: # generate HTML coverage report
|
||||
cd src && \
|
||||
npm ci && \
|
||||
npx c8 --temp-directory temp/coverage -x 'Gruntfile.js' grunt local_coverage --SchemaName=$(schema) && \
|
||||
npx c8 --temp-directory temp/coverage report -r html -o temp/coverage/report -x 'Gruntfile.js' && \
|
||||
npx c8 --temp-directory temp/coverage -x 'Gruntfile.cjs' grunt local_coverage --SchemaName=$(schema) && \
|
||||
npx c8 --temp-directory temp/coverage report -r html -o temp/coverage/report -x 'Gruntfile.cjs' && \
|
||||
echo "Full HTML report files stored in 'src/temp/coverage/report/index.html'"
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
{
|
||||
"env": {
|
||||
"es2020": true,
|
||||
"es2021": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"standard"
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 11
|
||||
},
|
||||
"rules": {
|
||||
"object-shorthand": ["error", "always"]
|
||||
},
|
||||
"ignorePatterns": [
|
||||
"schema.json.translated.to.js"
|
||||
|
||||
@@ -498,8 +498,8 @@ module.exports = function (grunt) {
|
||||
// Get the correct AJV version
|
||||
ajvSelected = factoryAJV({
|
||||
schemaName: versionObj?.schemaName,
|
||||
unknownFormatsList: unknownFormatsList,
|
||||
fullStrictMode: fullStrictMode
|
||||
unknownFormatsList,
|
||||
fullStrictMode
|
||||
})
|
||||
|
||||
// AJV must ignore these keywords
|
||||
@@ -836,7 +836,7 @@ module.exports = function (grunt) {
|
||||
const validateViaAjv = (schemaJson, schemaName, option) => {
|
||||
try {
|
||||
const ajvSelected = factoryAJV({
|
||||
schemaName: schemaName,
|
||||
schemaName,
|
||||
unknownFormatsList: option.unknownFormatsList,
|
||||
fullStrictMode: false
|
||||
})
|
||||
@@ -985,7 +985,7 @@ module.exports = function (grunt) {
|
||||
grunt.registerTask('local_check_for_schema_version_present', 'Dynamically load schema file for $schema present check', function () {
|
||||
let countScan = 0
|
||||
localSchemaFileAndTestFile({
|
||||
schemaOnlyScan: function (callbackParameter) {
|
||||
schemaOnlyScan (callbackParameter) {
|
||||
countScan++
|
||||
let schemaJson
|
||||
try {
|
||||
@@ -1070,7 +1070,7 @@ module.exports = function (grunt) {
|
||||
grunt.registerTask('local_count_schema_tested_in_full_strict_mode', 'Show statistic how many full strict schema there are', function () {
|
||||
let countSchemaScanViaAJV = 0
|
||||
localSchemaFileAndTestFile({
|
||||
schemaOnlyScan: function (callbackParameter) {
|
||||
schemaOnlyScan () {
|
||||
countSchemaScanViaAJV++
|
||||
}
|
||||
})
|
||||
@@ -1164,7 +1164,7 @@ module.exports = function (grunt) {
|
||||
// Get the correct AJV version
|
||||
const ajvSelected = factoryAJV({
|
||||
schemaName: versionObj?.schemaName,
|
||||
unknownFormatsList: unknownFormatsList,
|
||||
unknownFormatsList,
|
||||
fullStrictMode: !schemaValidation.ajvNotStrictMode.includes(jsonName),
|
||||
standAloneCode: true,
|
||||
standAloneCodeWithMultipleSchema: multipleSchema
|
||||
@@ -1213,7 +1213,7 @@ module.exports = function (grunt) {
|
||||
schemaForTestScan: processSchemaFile,
|
||||
positiveTestScan: processTestFile,
|
||||
negativeTestScan: processTestFile
|
||||
}, { skipReadFile: false, processOnlyThisOneSchemaFile: processOnlyThisOneSchemaFile })
|
||||
}, { skipReadFile: false, processOnlyThisOneSchemaFile })
|
||||
}
|
||||
|
||||
// Generate the schema via option parameter 'SchemaName'
|
||||
@@ -1249,7 +1249,7 @@ module.exports = function (grunt) {
|
||||
// Get the correct AJV version
|
||||
const ajvSelected = factoryAJV({
|
||||
schemaName: versionObj?.schemaName,
|
||||
unknownFormatsList: unknownFormatsList,
|
||||
unknownFormatsList,
|
||||
fullStrictMode: true
|
||||
})
|
||||
|
||||
136
src/package-lock.json
generated
136
src/package-lock.json
generated
@@ -14,14 +14,14 @@
|
||||
"ajv-formats": "^2.1.1",
|
||||
"ajv-formats-draft2019": "^1.6.1",
|
||||
"c8": "^7.11.2",
|
||||
"eslint": "^8.14.0",
|
||||
"eslint": "^8.15.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"find-duplicated-property-keys": "^1.2.7",
|
||||
"got": "^11.8.3",
|
||||
"grunt": "^1.5.2",
|
||||
"grunt": "^1.5.3",
|
||||
"js-beautify": "^1.14.3",
|
||||
"tv4": "^1.3.0",
|
||||
"yaml": "^2.0.1"
|
||||
@@ -34,19 +34,19 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@eslint/eslintrc": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.2.tgz",
|
||||
"integrity": "sha512-lTVWHs7O2hjBFZunXTZYnYqtB9GakA1lnxIf+gKq2nY5gxkkNi/lQvveW6t8gFdOHTg6nG50Xs95PrLqVpcaLg==",
|
||||
"version": "1.2.3",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.3.tgz",
|
||||
"integrity": "sha512-uGo44hIwoLGNyduRpjdEpovcbMdd+Nv7amtmJxnKmI8xj6yd5LncmSwDa5NgX/41lIFJtkjD6YdVfgEzPfJ5UA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"ajv": "^6.12.4",
|
||||
"debug": "^4.3.2",
|
||||
"espree": "^9.3.1",
|
||||
"espree": "^9.3.2",
|
||||
"globals": "^13.9.0",
|
||||
"ignore": "^5.2.0",
|
||||
"import-fresh": "^3.2.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
"minimatch": "^3.0.4",
|
||||
"minimatch": "^3.1.2",
|
||||
"strip-json-comments": "^3.1.1"
|
||||
},
|
||||
"engines": {
|
||||
@@ -93,6 +93,18 @@
|
||||
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@eslint/eslintrc/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@humanwhocodes/config-array": {
|
||||
"version": "0.9.3",
|
||||
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.3.tgz",
|
||||
@@ -1086,12 +1098,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/eslint": {
|
||||
"version": "8.14.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.14.0.tgz",
|
||||
"integrity": "sha512-3/CE4aJX7LNEiE3i6FeodHmI/38GZtWCsAtsymScmzYapx8q1nVVb+eLcLSzATmCPXw5pT4TqVs1E0OmxAd9tw==",
|
||||
"version": "8.15.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.15.0.tgz",
|
||||
"integrity": "sha512-GG5USZ1jhCu8HJkzGgeK8/+RGnHaNYZGrGDzUtigK3BsGESW/rs2az23XqE0WVwDxy1VRvvjSSGu5nB0Bu+6SA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@eslint/eslintrc": "^1.2.2",
|
||||
"@eslint/eslintrc": "^1.2.3",
|
||||
"@humanwhocodes/config-array": "^0.9.2",
|
||||
"ajv": "^6.10.0",
|
||||
"chalk": "^4.0.0",
|
||||
@@ -1102,7 +1114,7 @@
|
||||
"eslint-scope": "^7.1.1",
|
||||
"eslint-utils": "^3.0.0",
|
||||
"eslint-visitor-keys": "^3.3.0",
|
||||
"espree": "^9.3.1",
|
||||
"espree": "^9.3.2",
|
||||
"esquery": "^1.4.0",
|
||||
"esutils": "^2.0.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
@@ -1118,7 +1130,7 @@
|
||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||
"levn": "^0.4.1",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"minimatch": "^3.0.4",
|
||||
"minimatch": "^3.1.2",
|
||||
"natural-compare": "^1.4.0",
|
||||
"optionator": "^0.9.1",
|
||||
"regexpp": "^3.2.0",
|
||||
@@ -1509,14 +1521,26 @@
|
||||
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/espree": {
|
||||
"version": "9.3.1",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.3.1.tgz",
|
||||
"integrity": "sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==",
|
||||
"node_modules/eslint/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"acorn": "^8.7.0",
|
||||
"acorn-jsx": "^5.3.1",
|
||||
"brace-expansion": "^1.1.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/espree": {
|
||||
"version": "9.3.2",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz",
|
||||
"integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"acorn": "^8.7.1",
|
||||
"acorn-jsx": "^5.3.2",
|
||||
"eslint-visitor-keys": "^3.3.0"
|
||||
},
|
||||
"engines": {
|
||||
@@ -1969,9 +1993,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/globals": {
|
||||
"version": "13.13.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz",
|
||||
"integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==",
|
||||
"version": "13.14.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.14.0.tgz",
|
||||
"integrity": "sha512-ERO68sOYwm5UuLvSJTY7w7NP2c8S4UcXs3X1GBX8cwOr+ShOcDBbCY5mH4zxz0jsYCdJ8ve8Mv9n2YGJMB1aeg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"type-fest": "^0.20.2"
|
||||
@@ -2009,9 +2033,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/grunt": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/grunt/-/grunt-1.5.2.tgz",
|
||||
"integrity": "sha512-XCtfaIu72OyDqK24MjWiGC9SwlkuhkS1mrULr1xzuJ2XqAFhP3ZAchZGHJeSCY6mkaOXU4F7SbmmCF7xIVoC9w==",
|
||||
"version": "1.5.3",
|
||||
"resolved": "https://registry.npmjs.org/grunt/-/grunt-1.5.3.tgz",
|
||||
"integrity": "sha512-mKwmo4X2d8/4c/BmcOETHek675uOqw0RuA/zy12jaspWqvTp4+ZeQF1W+OTpcbncnaBsfbQJ6l0l4j+Sn/GmaQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"dateformat": "~3.0.3",
|
||||
@@ -4015,19 +4039,19 @@
|
||||
"dev": true
|
||||
},
|
||||
"@eslint/eslintrc": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.2.tgz",
|
||||
"integrity": "sha512-lTVWHs7O2hjBFZunXTZYnYqtB9GakA1lnxIf+gKq2nY5gxkkNi/lQvveW6t8gFdOHTg6nG50Xs95PrLqVpcaLg==",
|
||||
"version": "1.2.3",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.3.tgz",
|
||||
"integrity": "sha512-uGo44hIwoLGNyduRpjdEpovcbMdd+Nv7amtmJxnKmI8xj6yd5LncmSwDa5NgX/41lIFJtkjD6YdVfgEzPfJ5UA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ajv": "^6.12.4",
|
||||
"debug": "^4.3.2",
|
||||
"espree": "^9.3.1",
|
||||
"espree": "^9.3.2",
|
||||
"globals": "^13.9.0",
|
||||
"ignore": "^5.2.0",
|
||||
"import-fresh": "^3.2.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
"minimatch": "^3.0.4",
|
||||
"minimatch": "^3.1.2",
|
||||
"strip-json-comments": "^3.1.1"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -4063,6 +4087,15 @@
|
||||
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
||||
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4830,12 +4863,12 @@
|
||||
"dev": true
|
||||
},
|
||||
"eslint": {
|
||||
"version": "8.14.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.14.0.tgz",
|
||||
"integrity": "sha512-3/CE4aJX7LNEiE3i6FeodHmI/38GZtWCsAtsymScmzYapx8q1nVVb+eLcLSzATmCPXw5pT4TqVs1E0OmxAd9tw==",
|
||||
"version": "8.15.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.15.0.tgz",
|
||||
"integrity": "sha512-GG5USZ1jhCu8HJkzGgeK8/+RGnHaNYZGrGDzUtigK3BsGESW/rs2az23XqE0WVwDxy1VRvvjSSGu5nB0Bu+6SA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@eslint/eslintrc": "^1.2.2",
|
||||
"@eslint/eslintrc": "^1.2.3",
|
||||
"@humanwhocodes/config-array": "^0.9.2",
|
||||
"ajv": "^6.10.0",
|
||||
"chalk": "^4.0.0",
|
||||
@@ -4846,7 +4879,7 @@
|
||||
"eslint-scope": "^7.1.1",
|
||||
"eslint-utils": "^3.0.0",
|
||||
"eslint-visitor-keys": "^3.3.0",
|
||||
"espree": "^9.3.1",
|
||||
"espree": "^9.3.2",
|
||||
"esquery": "^1.4.0",
|
||||
"esutils": "^2.0.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
@@ -4862,7 +4895,7 @@
|
||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||
"levn": "^0.4.1",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"minimatch": "^3.0.4",
|
||||
"minimatch": "^3.1.2",
|
||||
"natural-compare": "^1.4.0",
|
||||
"optionator": "^0.9.1",
|
||||
"regexpp": "^3.2.0",
|
||||
@@ -4921,6 +4954,15 @@
|
||||
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
||||
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -5143,13 +5185,13 @@
|
||||
"dev": true
|
||||
},
|
||||
"espree": {
|
||||
"version": "9.3.1",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.3.1.tgz",
|
||||
"integrity": "sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==",
|
||||
"version": "9.3.2",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz",
|
||||
"integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"acorn": "^8.7.0",
|
||||
"acorn-jsx": "^5.3.1",
|
||||
"acorn": "^8.7.1",
|
||||
"acorn-jsx": "^5.3.2",
|
||||
"eslint-visitor-keys": "^3.3.0"
|
||||
}
|
||||
},
|
||||
@@ -5496,9 +5538,9 @@
|
||||
}
|
||||
},
|
||||
"globals": {
|
||||
"version": "13.13.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz",
|
||||
"integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==",
|
||||
"version": "13.14.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-13.14.0.tgz",
|
||||
"integrity": "sha512-ERO68sOYwm5UuLvSJTY7w7NP2c8S4UcXs3X1GBX8cwOr+ShOcDBbCY5mH4zxz0jsYCdJ8ve8Mv9n2YGJMB1aeg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"type-fest": "^0.20.2"
|
||||
@@ -5524,9 +5566,9 @@
|
||||
}
|
||||
},
|
||||
"grunt": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/grunt/-/grunt-1.5.2.tgz",
|
||||
"integrity": "sha512-XCtfaIu72OyDqK24MjWiGC9SwlkuhkS1mrULr1xzuJ2XqAFhP3ZAchZGHJeSCY6mkaOXU4F7SbmmCF7xIVoC9w==",
|
||||
"version": "1.5.3",
|
||||
"resolved": "https://registry.npmjs.org/grunt/-/grunt-1.5.3.tgz",
|
||||
"integrity": "sha512-mKwmo4X2d8/4c/BmcOETHek675uOqw0RuA/zy12jaspWqvTp4+ZeQF1W+OTpcbncnaBsfbQJ6l0l4j+Sn/GmaQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"dateformat": "~3.0.3",
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"build": "npm run eslint_check && grunt",
|
||||
"eslint_check": "eslint Gruntfile.js",
|
||||
"eslint_fix": "eslint --fix Gruntfile.js",
|
||||
"eslint_check": "eslint Gruntfile.cjs",
|
||||
"eslint_fix": "eslint --fix Gruntfile.cjs",
|
||||
"remote": "grunt remote_test",
|
||||
"maintenance": "grunt local_maintenance"
|
||||
},
|
||||
@@ -27,14 +27,14 @@
|
||||
"ajv-formats": "^2.1.1",
|
||||
"ajv-formats-draft2019": "^1.6.1",
|
||||
"c8": "^7.11.2",
|
||||
"eslint": "^8.14.0",
|
||||
"eslint": "^8.15.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"find-duplicated-property-keys": "^1.2.7",
|
||||
"got": "^11.8.3",
|
||||
"grunt": "^1.5.2",
|
||||
"grunt": "^1.5.3",
|
||||
"js-beautify": "^1.14.3",
|
||||
"tv4": "^1.3.0",
|
||||
"yaml": "^2.0.1"
|
||||
|
||||
Reference in New Issue
Block a user