Skip to content

Commit c10244d

Browse files
fix: decamlize v6 does not work with CJS
- decamlize v6 would be fine for ESM, but since we support CJS, declaring support for v6 causes users to pull in v6 by default which may cause confusion if they don't realize they need to downgrade manually. Advanced users can override anyways.
1 parent 92dfc25 commit c10244d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@typescript-eslint/scope-manager": "^8.12.2",
5353
"@typescript-eslint/utils": "^8.12.2",
5454
"common-tags": "^1.8.0",
55-
"decamelize": "^5.0.0 || ^6.0.0",
55+
"decamelize": "^5.0.1",
5656
"ts-api-utils": "^1.3.0",
5757
"tslib": "^2.1.0"
5858
},

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ __metadata:
16681668
languageName: node
16691669
linkType: hard
16701670

1671-
"decamelize@npm:^5.0.0 || ^6.0.0":
1671+
"decamelize@npm:^5.0.1":
16721672
version: 5.0.1
16731673
resolution: "decamelize@npm:5.0.1"
16741674
checksum: 10c0/3da71022bc1e85487810fa0833138effb599fa331ca21e179650e93a765d0c4dabeb1ecdd6ad1474fa0bacd2457953c63ea335afb6e53b35f2b4bf779514e2a3
@@ -2171,7 +2171,7 @@ __metadata:
21712171
"@vitest/eslint-plugin": "npm:^1.1.7"
21722172
bumpp: "npm:^9.8.0"
21732173
common-tags: "npm:^1.8.0"
2174-
decamelize: "npm:^5.0.0 || ^6.0.0"
2174+
decamelize: "npm:^5.0.1"
21752175
eslint: "npm:^9.13.0"
21762176
eslint-config-flat-gitignore: "npm:^0.3.0"
21772177
eslint-import-resolver-typescript: "npm:^3.6.3"

0 commit comments

Comments
 (0)