From 4eeb23c30b5c2c227136917a9f4964e44905e381 Mon Sep 17 00:00:00 2001 From: Kieran Hall Date: Tue, 6 Feb 2024 10:57:39 +0100 Subject: [PATCH] Upgrade dependencies Resolves #16 --- .gitignore | 1 + .npmrc | 2 - js/base.js | 15 ---- js/style.js | 132 +---------------------------- package-lock.json | 206 +++++++++++++++++++++++++++------------------- package.json | 29 ++++--- 6 files changed, 137 insertions(+), 248 deletions(-) delete mode 100644 .npmrc diff --git a/.gitignore b/.gitignore index 67dd4fe..30dfedd 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ node_modules # Env files .env .env.* +.nvmrc # Logs *.log diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 98567a6..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -//npm.pkg.github.com/:_authToken=${REGISTRY_TOKEN} -@dusk-network:registry=https://npm.pkg.github.com diff --git a/js/base.js b/js/base.js index bcddd54..deb738e 100644 --- a/js/base.js +++ b/js/base.js @@ -7,26 +7,16 @@ module.exports = { "consistent-this": "error", "curly": ["error", "all"], "default-case": "error", - "dot-location": ["error", "property"], "dot-notation": "error", "eqeqeq": "error", - "func-call-spacing": ["error", "never"], "max-depth": ["error", 3], - "max-len": ["error", { - "code": 110, - "comments": 110, - "ignorePattern": "^ \\* @overview", - "ignoreUrls": true - }], "max-nested-callbacks": ["error", 3], "max-params": ["error", 5], "max-statements": ["error", 15, { "ignoreTopLevelFunctions": true }], - "max-statements-per-line": ["error", { "max": 1 }], "new-cap": ["error", { "newIsCap": true, "properties": true }], "no-alert": "error", "no-array-constructor": "error", "no-caller": "error", - "no-confusing-arrow": ["error", { "allowParens": true }], "no-console": "error", "no-duplicate-imports": ["error", { "includeExports": true }], "no-eval": "error", @@ -40,10 +30,8 @@ module.exports = { "no-labels": "error", "no-lone-blocks": "error", "no-loop-func": "error", - "no-multi-spaces": "error", "no-nested-ternary": 0, "no-new": "error", - "no-new-object": "error", "no-octal-escape": "error", "no-param-reassign": 0, "no-proto": "error", @@ -72,7 +60,6 @@ module.exports = { "no-useless-concat": "error", "no-useless-escape": "error", "no-var": "error", - "no-whitespace-before-property": "error", "no-with": "error", "prefer-const": [ "error", { @@ -81,9 +68,7 @@ module.exports = { } ], "radix": "error", - "semi": ["error", "always"], "strict": ["error", "function"], - "wrap-iife": ["error", "inside"], "yoda": "error" } }; diff --git a/js/style.js b/js/style.js index f6ad8ed..a05cc14 100644 --- a/js/style.js +++ b/js/style.js @@ -1,115 +1,9 @@ module.exports = { rules: { - "array-bracket-newline": ["error", "consistent"], - "arrow-spacing": [ - "error", - { "after": true, "before": true } - ], - "brace-style": ["error", "1tbs", { "allowSingleLine": true }], "camelcase": "error", - "comma-dangle": ["error", "never"], - "comma-spacing": ["error", { "after": true, "before": false }], - "comma-style": ["error", "last"], - "computed-property-spacing": ["error", "never"], - "eol-last": "error", - "function-paren-newline": ["error", "multiline-arguments"], - "indent": ["error", "tab", { "SwitchCase": 1 }], - "key-spacing": [ - "error", { - "afterColon": true, - "beforeColon": false, - "mode": "strict" - } - ], - "keyword-spacing": [ - "error", { - "after": true, - "before": true - } - ], - "linebreak-style": ["error", "unix"], - "lines-around-comment": [ - "error", { - "afterBlockComment": false, - "afterLineComment": false, - "allowArrayEnd": false, - "allowArrayStart": true, - "allowBlockEnd": true, - "allowBlockStart": true, - "allowObjectEnd": false, - "allowObjectStart": true, - "beforeBlockComment": true, - "beforeLineComment": true - } - ], - "new-parens": "error", - "no-extra-parens": ["error", "all", { - "enforceForArrowConditionals": false, - "enforceForNewInMemberExpressions": false, - "ignoreJSX": "multi-line", - "nestedBinaryExpressions": false - }], - "no-multiple-empty-lines": ["error", { "max": 1 }], - "no-trailing-spaces": "error", "no-warning-comments": ["error", { "location": "anywhere" }], - "object-curly-newline": [ - "error", { - "ExportDeclaration": { - "consistent": true, - "minProperties": 4, - "multiline": true - }, - "ImportDeclaration": { - "consistent": true, - "minProperties": 4, - "multiline": true - }, - "ObjectExpression": { - "consistent": true, - "minProperties": 4, - "multiline": true - }, - "ObjectPattern": { - "consistent": true, - "minProperties": 4, - "multiline": true - } - } - ], - "object-curly-spacing": [ - "error", - "always" - ], "one-var": ["error", "never"], - "operator-linebreak": [ - "error", - "before", { - "overrides": { - "=": "after" - } - } - ], - "padded-blocks": ["error", "never"], - "padding-line-between-statements": [ - "error", - { "blankLine": "always", "next": "*", "prev": "block-like" }, - { "blankLine": "always", "next": "block-like", "prev": "*" }, - { "blankLine": "always", "next": "return", "prev": "*" }, - { "blankLine": "always", "next": ["const", "let", "var"], "prev": "*" }, - { "blankLine": "always", "next": "*", "prev": ["const", "let", "var"] }, - { "blankLine": "any", "next": ["const", "let", "var"], "prev": ["const", "let", "var"] }, - { "blankLine": "always", "next": "*", "prev": "directive" }, - { "blankLine": "any", "next": "directive", "prev": "directive" } - ], "prefer-template": "error", - "quote-props": ["error", "consistent"], - "quotes": ["error", "double"], - "semi-spacing": [ - "error", { - "after": true, - "before": false - } - ], "sort-imports": ["error", { "allowSeparatedGroups": true, "ignoreCase": false, @@ -117,30 +11,6 @@ module.exports = { "ignoreMemberSort": false, "memberSyntaxSortOrder": ["none", "all", "multiple", "single"] }], - "sort-keys": ["error", "asc", { "caseSensitive": false, "natural": true }], - "space-before-blocks": ["error", "always"], - "space-before-function-paren": ["error", "always"], - "space-in-parens": ["error", "never"], - "space-infix-ops": "error", - "space-unary-ops": [ - "error", { - "nonwords": false, - "words": true - } - ], - "spaced-comment": [ - "error", - "always", { - "block": { - "balanced": true - } - } - ], - "switch-colon-spacing": [ - "error", { - "after": true, - "before": false - } - ] + "sort-keys": ["error", "asc", { "caseSensitive": false, "natural": true }] } }; diff --git a/package-lock.json b/package-lock.json index b3bcd06..64e5dab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,25 +6,25 @@ "packages": { "": { "name": "@dusk-network/eslint-config", - "version": "2.0.0-beta.1", + "version": "2.1.0", "license": "MPL-2.0", "devDependencies": { - "@jsdevtools/version-bump-prompt": "^6.1.0", - "eslint": "^8.48.0", - "eslint-find-rules": "^4.1.0", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-svelte": "^2.33.0", - "svelte": "^4.2.0" + "@jsdevtools/version-bump-prompt": "6.1.0", + "eslint": "8.56.0", + "eslint-find-rules": "4.1.0", + "eslint-plugin-import": "2.29.1", + "eslint-plugin-svelte": "2.35.1", + "svelte": "4.2.10" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "optionalDependencies": { - "eslint-plugin-svelte": ">=2.0.0" + "eslint-plugin-svelte": ">=2.35.1" }, "peerDependencies": { - "eslint": ">=8.0.0", - "eslint-plugin-import": ">=2.0.0" + "eslint": ">=8.56.0", + "eslint-plugin-import": ">=2.29.1" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -74,9 +74,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -97,22 +97,22 @@ } }, "node_modules/@eslint/js": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", - "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -133,9 +133,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", + "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", "dev": true }, "node_modules/@jridgewell/gen-mapping": { @@ -270,6 +270,12 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, "node_modules/acorn": { "version": "8.10.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", @@ -461,14 +467,14 @@ } }, "node_modules/array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", + "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", "es-shim-unscopables": "^1.0.0" }, "engines": { @@ -512,9 +518,9 @@ } }, "node_modules/axobject-query": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", - "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.0.0.tgz", + "integrity": "sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==", "dev": true, "dependencies": { "dequal": "^2.0.3" @@ -962,18 +968,19 @@ } }, "node_modules/eslint": { - "version": "8.48.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", - "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.48.0", - "@humanwhocodes/config-array": "^0.11.10", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.56.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -1015,6 +1022,18 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint-compat-utils": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.1.2.tgz", + "integrity": "sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, "node_modules/eslint-find-rules": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/eslint-find-rules/-/eslint-find-rules-4.1.0.tgz", @@ -1098,28 +1117,28 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.28.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz", - "integrity": "sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==", + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", + "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", "dev": true, "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.findlastindex": "^1.2.2", - "array.prototype.flat": "^1.3.1", - "array.prototype.flatmap": "^1.3.1", + "array-includes": "^3.1.7", + "array.prototype.findlastindex": "^1.2.3", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", "debug": "^3.2.7", "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.7", + "eslint-import-resolver-node": "^0.3.9", "eslint-module-utils": "^2.8.0", - "has": "^1.0.3", - "is-core-module": "^2.13.0", + "hasown": "^2.0.0", + "is-core-module": "^2.13.1", "is-glob": "^4.0.3", "minimatch": "^3.1.2", - "object.fromentries": "^2.0.6", - "object.groupby": "^1.0.0", - "object.values": "^1.1.6", + "object.fromentries": "^2.0.7", + "object.groupby": "^1.0.1", + "object.values": "^1.1.7", "semver": "^6.3.1", - "tsconfig-paths": "^3.14.2" + "tsconfig-paths": "^3.15.0" }, "engines": { "node": ">=4" @@ -1159,16 +1178,17 @@ } }, "node_modules/eslint-plugin-svelte": { - "version": "2.33.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.33.0.tgz", - "integrity": "sha512-kk7Z4BfxVjFYJseFcOpS8kiKNio7KnAnhFagmM89h1wNSKlM7tIn+uguNQppKM9leYW+S+Us0Rjg2Qg3zsEcvg==", + "version": "2.35.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.35.1.tgz", + "integrity": "sha512-IF8TpLnROSGy98Z3NrsKXWDSCbNY2ReHDcrYTuXZMbfX7VmESISR78TWgO9zdg4Dht1X8coub5jKwHzP0ExRug==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@jridgewell/sourcemap-codec": "^1.4.14", "debug": "^4.3.1", + "eslint-compat-utils": "^0.1.2", "esutils": "^2.0.3", - "known-css-properties": "^0.28.0", + "known-css-properties": "^0.29.0", "postcss": "^8.4.5", "postcss-load-config": "^3.1.4", "postcss-safe-parser": "^6.0.0", @@ -1478,10 +1498,13 @@ "dev": true }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/function.prototype.name": { "version": "1.1.6", @@ -1583,9 +1606,9 @@ } }, "node_modules/globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -1731,6 +1754,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -1909,12 +1944,12 @@ } }, "node_modules/is-core-module": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", - "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "dependencies": { - "has": "^1.0.3" + "hasown": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2183,9 +2218,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.28.0.tgz", - "integrity": "sha512-9pSL5XB4J+ifHP0e0jmmC98OGC1nL8/JjS+fi6mnTlIf//yt/MfVLtKg7S6nCtj/8KTcWX7nRlY0XywoYY1ISQ==", + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", + "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==", "dev": true }, "node_modules/levn": { @@ -2278,9 +2313,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.3", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.3.tgz", - "integrity": "sha512-B7xGbll2fG/VjP+SWg4sX3JynwIU0mjoTc6MPpKNuIvftk6u6vqhDnk1R80b8C2GBR6ywqy+1DcKBrevBg+bmw==", + "version": "0.30.7", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.7.tgz", + "integrity": "sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==", "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" @@ -2759,9 +2794,9 @@ } }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -3180,23 +3215,24 @@ } }, "node_modules/svelte": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.0.tgz", - "integrity": "sha512-kVsdPjDbLrv74SmLSUzAsBGquMs4MPgWGkGLpH+PjOYnFOziAvENVzgJmyOCV2gntxE32aNm8/sqNKD6LbIpeQ==", + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.10.tgz", + "integrity": "sha512-Ep06yCaCdgG1Mafb/Rx8sJ1QS3RW2I2BxGp2Ui9LBHSZ2/tO/aGLc5WqPjgiAP6KAnLJGaIr/zzwQlOo1b8MxA==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.1", "@jridgewell/sourcemap-codec": "^1.4.15", "@jridgewell/trace-mapping": "^0.3.18", + "@types/estree": "^1.0.1", "acorn": "^8.9.0", "aria-query": "^5.3.0", - "axobject-query": "^3.2.1", + "axobject-query": "^4.0.0", "code-red": "^1.0.3", "css-tree": "^2.3.1", "estree-walker": "^3.0.3", "is-reference": "^3.0.1", "locate-character": "^3.0.0", - "magic-string": "^0.30.0", + "magic-string": "^0.30.4", "periscopic": "^3.1.0" }, "engines": { @@ -3267,9 +3303,9 @@ } }, "node_modules/tsconfig-paths": { - "version": "3.14.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", - "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", "dev": true, "dependencies": { "@types/json5": "^0.0.29", diff --git a/package.json b/package.json index 48ae93d..37aa593 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "description": "ESLint config used by Dusk JavaScript apps", "engines": { - "node": ">=18.0.0" + "node": ">=16.0.0" }, "files": [ "js/**/*.js", @@ -19,14 +19,13 @@ ], "homepage": "https://github.com/dusk-network/dusk-eslint-config/", "keywords": [ + "dusk", + "dusk network", "eslint", "eslintconfig" ], "license": "MPL-2.0", "name": "@dusk-network/eslint-config", - "publishConfig": { - "registry": "https://npm.pkg.github.com" - }, "repository": { "type": "git", "url": "https://github.com/dusk-network/dusk-eslint-config.git" @@ -34,25 +33,25 @@ "scripts": { "bump": "bump package.json package-lock.json", "check": "npm run check-rules && npm run lint", - "check-js": "eslint-find-rules -d js/index.js", + "check-js": "eslint-find-rules -nd js/index.js", "check-rules": "npm run check-js && npm run check-svelte", - "check-svelte": "eslint-find-rules -d svelte/index.js", + "check-svelte": "eslint-find-rules -nd svelte/index.js", "lint": "eslint ." }, "version": "2.1.0", "devDependencies": { - "@jsdevtools/version-bump-prompt": "^6.1.0", - "eslint": "^8.48.0", - "eslint-find-rules": "^4.1.0", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-svelte": "^2.33.0", - "svelte": "^4.2.0" + "@jsdevtools/version-bump-prompt": "6.1.0", + "eslint": "8.56.0", + "eslint-find-rules": "4.1.0", + "eslint-plugin-import": "2.29.1", + "eslint-plugin-svelte": "2.35.1", + "svelte": "4.2.10" }, "optionalDependencies": { - "eslint-plugin-svelte": ">=2.31.0" + "eslint-plugin-svelte": ">=2.35.1" }, "peerDependencies": { - "eslint": ">=8.0.0", - "eslint-plugin-import": ">=2.0.0" + "eslint": ">=8.56.0", + "eslint-plugin-import": ">=2.29.1" } }