diff --git a/lib/rule-list.ts b/lib/rule-list.ts index 78a567a0..ced51ad0 100644 --- a/lib/rule-list.ts +++ b/lib/rule-list.ts @@ -35,7 +35,7 @@ import { EMOJIS_TYPE } from './rule-type.js'; import { hasOptions } from './rule-options.js'; import { getLinkToRule } from './rule-link.js'; import { capitalizeOnlyFirstLetter, sanitizeMarkdownTable } from './string.js'; -import { noCase } from 'no-case'; +import { noCase } from 'change-case'; import { getProperty } from 'dot-prop'; import { boolean, isBooleanable } from 'boolean'; import Ajv from 'ajv'; diff --git a/package-lock.json b/package-lock.json index 8c5d898b..fd6e0b34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@typescript-eslint/utils": "^8.0.0", "ajv": "^8.11.2", "boolean": "^3.2.0", + "change-case": "^5.0.0", "commander": "^12.1.0", "cosmiconfig": "^9.0.0", "deepmerge": "^4.2.2", @@ -20,7 +21,6 @@ "json-schema": "^0.4.0", "json-schema-traverse": "^1.0.0", "markdown-table": "^3.0.3", - "no-case": "^3.0.4", "type-fest": "^4.0.0" }, "bin": { @@ -3485,6 +3485,12 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/change-case": { + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/change-case/-/change-case-5.4.4.tgz", + "integrity": "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==", + "license": "MIT" + }, "node_modules/char-regex": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", @@ -8075,15 +8081,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lower-case": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", - "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.3" - } - }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -9295,16 +9292,6 @@ "@sinonjs/commons": "^3.0.1" } }, - "node_modules/no-case": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", - "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", - "license": "MIT", - "dependencies": { - "lower-case": "^2.0.2", - "tslib": "^2.0.3" - } - }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -12757,6 +12744,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, "license": "0BSD" }, "node_modules/type-check": { diff --git a/package.json b/package.json index ba063e5a..4b43e54a 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "@typescript-eslint/utils": "^8.0.0", "ajv": "^8.11.2", "boolean": "^3.2.0", + "change-case": "^5.0.0", "commander": "^12.1.0", "cosmiconfig": "^9.0.0", "deepmerge": "^4.2.2", @@ -56,7 +57,6 @@ "json-schema": "^0.4.0", "json-schema-traverse": "^1.0.0", "markdown-table": "^3.0.3", - "no-case": "^3.0.4", "type-fest": "^4.0.0" }, "devDependencies": {