Skip to content

Commit 925e2c9

Browse files
killbasafavna
andauthoredDec 3, 2023
fix: convert .js imports to .cjs (#698)
* fix: convert .js imports to .cjs * fix: regex is hard * refactor: proper fix --------- Co-authored-by: Jeroen Claassens <support@favware.tech>
1 parent 78cfdb8 commit 925e2c9

File tree

2 files changed

+8
-91
lines changed

2 files changed

+8
-91
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"concurrently": "^8.2.2",
6161
"cz-conventional-changelog": "^3.3.0",
6262
"discord.js": "^14.14.1",
63-
"esbuild-plugin-file-path-extensions": "^1.0.0",
63+
"esbuild-plugin-file-path-extensions": "^2.0.0",
6464
"esbuild-plugin-version-injector": "^1.2.1",
6565
"eslint": "^8.55.0",
6666
"eslint-config-prettier": "^9.1.0",

‎yarn.lock

+7-90
Original file line numberDiff line numberDiff line change
@@ -512,23 +512,6 @@ __metadata:
512512
languageName: node
513513
linkType: hard
514514

515-
"@eslint/eslintrc@npm:^2.1.3":
516-
version: 2.1.3
517-
resolution: "@eslint/eslintrc@npm:2.1.3"
518-
dependencies:
519-
ajv: "npm:^6.12.4"
520-
debug: "npm:^4.3.2"
521-
espree: "npm:^9.6.0"
522-
globals: "npm:^13.19.0"
523-
ignore: "npm:^5.2.0"
524-
import-fresh: "npm:^3.2.1"
525-
js-yaml: "npm:^4.1.0"
526-
minimatch: "npm:^3.1.2"
527-
strip-json-comments: "npm:^3.1.1"
528-
checksum: 77b70a89232fe702c2f765b5b92970f5e4224b55363b923238b996c66fcd991504f40d3663c0543ae17d6c5049ab9b07ab90b65d7601e6f25e8bcd4caf69ac75
529-
languageName: node
530-
linkType: hard
531-
532515
"@eslint/eslintrc@npm:^2.1.4":
533516
version: 2.1.4
534517
resolution: "@eslint/eslintrc@npm:2.1.4"
@@ -546,13 +529,6 @@ __metadata:
546529
languageName: node
547530
linkType: hard
548531

549-
"@eslint/js@npm:8.54.0":
550-
version: 8.54.0
551-
resolution: "@eslint/js@npm:8.54.0"
552-
checksum: 4d491ff234cd94b54499428cb3435623270ff8cc59950e13e6e1ac2fa350ec60502dac7bfd4f486523fee65ad7a358034570fe776b81b14dbfe5525d1e26e1d8
553-
languageName: node
554-
linkType: hard
555-
556532
"@eslint/js@npm:8.55.0":
557533
version: 8.55.0
558534
resolution: "@eslint/js@npm:8.55.0"
@@ -973,7 +949,7 @@ __metadata:
973949
concurrently: "npm:^8.2.2"
974950
cz-conventional-changelog: "npm:^3.3.0"
975951
discord.js: "npm:^14.14.1"
976-
esbuild-plugin-file-path-extensions: "npm:^1.0.0"
952+
esbuild-plugin-file-path-extensions: "npm:^2.0.0"
977953
esbuild-plugin-version-injector: "npm:^1.2.1"
978954
eslint: "npm:^8.55.0"
979955
eslint-config-prettier: "npm:^9.1.0"
@@ -2529,10 +2505,10 @@ __metadata:
25292505
languageName: node
25302506
linkType: hard
25312507

2532-
"esbuild-plugin-file-path-extensions@npm:^1.0.0":
2533-
version: 1.0.0
2534-
resolution: "esbuild-plugin-file-path-extensions@npm:1.0.0"
2535-
checksum: 2ad4dd22994ed90ef4772120562e370cce65047e6e1e708c478002fff6ca240db86887d1ab5f0b823f20460c1ff97463533ae0e0054296727ee934868a5300d6
2508+
"esbuild-plugin-file-path-extensions@npm:^2.0.0":
2509+
version: 2.0.0
2510+
resolution: "esbuild-plugin-file-path-extensions@npm:2.0.0"
2511+
checksum: 1555a90dd8e32c1df9c1f8897a3f40e77c799224785a2f8972c84cc5224ca8263fdef0501fda8f982bf1c9ed2ad31b8217278f5ff09bb3bed81236206605bac5
25362512
languageName: node
25372513
linkType: hard
25382514

@@ -2643,18 +2619,7 @@ __metadata:
26432619
languageName: node
26442620
linkType: hard
26452621

2646-
"eslint-config-prettier@npm:^9.0.0":
2647-
version: 9.0.0
2648-
resolution: "eslint-config-prettier@npm:9.0.0"
2649-
peerDependencies:
2650-
eslint: ">=7.0.0"
2651-
bin:
2652-
eslint-config-prettier: bin/cli.js
2653-
checksum: 276b0b5b5b19066962a9ff3a16a553bdad28e1c0a2ea33a1d75d65c0428bb7b37f6e85ac111ebefcc9bdefb544385856dbe6eaeda5279c639e5549c113d27dda
2654-
languageName: node
2655-
linkType: hard
2656-
2657-
"eslint-config-prettier@npm:^9.1.0":
2622+
"eslint-config-prettier@npm:^9.0.0, eslint-config-prettier@npm:^9.1.0":
26582623
version: 9.1.0
26592624
resolution: "eslint-config-prettier@npm:9.1.0"
26602625
peerDependencies:
@@ -2715,55 +2680,7 @@ __metadata:
27152680
languageName: node
27162681
linkType: hard
27172682

2718-
"eslint@npm:^8.48.0":
2719-
version: 8.54.0
2720-
resolution: "eslint@npm:8.54.0"
2721-
dependencies:
2722-
"@eslint-community/eslint-utils": "npm:^4.2.0"
2723-
"@eslint-community/regexpp": "npm:^4.6.1"
2724-
"@eslint/eslintrc": "npm:^2.1.3"
2725-
"@eslint/js": "npm:8.54.0"
2726-
"@humanwhocodes/config-array": "npm:^0.11.13"
2727-
"@humanwhocodes/module-importer": "npm:^1.0.1"
2728-
"@nodelib/fs.walk": "npm:^1.2.8"
2729-
"@ungap/structured-clone": "npm:^1.2.0"
2730-
ajv: "npm:^6.12.4"
2731-
chalk: "npm:^4.0.0"
2732-
cross-spawn: "npm:^7.0.2"
2733-
debug: "npm:^4.3.2"
2734-
doctrine: "npm:^3.0.0"
2735-
escape-string-regexp: "npm:^4.0.0"
2736-
eslint-scope: "npm:^7.2.2"
2737-
eslint-visitor-keys: "npm:^3.4.3"
2738-
espree: "npm:^9.6.1"
2739-
esquery: "npm:^1.4.2"
2740-
esutils: "npm:^2.0.2"
2741-
fast-deep-equal: "npm:^3.1.3"
2742-
file-entry-cache: "npm:^6.0.1"
2743-
find-up: "npm:^5.0.0"
2744-
glob-parent: "npm:^6.0.2"
2745-
globals: "npm:^13.19.0"
2746-
graphemer: "npm:^1.4.0"
2747-
ignore: "npm:^5.2.0"
2748-
imurmurhash: "npm:^0.1.4"
2749-
is-glob: "npm:^4.0.0"
2750-
is-path-inside: "npm:^3.0.3"
2751-
js-yaml: "npm:^4.1.0"
2752-
json-stable-stringify-without-jsonify: "npm:^1.0.1"
2753-
levn: "npm:^0.4.1"
2754-
lodash.merge: "npm:^4.6.2"
2755-
minimatch: "npm:^3.1.2"
2756-
natural-compare: "npm:^1.4.0"
2757-
optionator: "npm:^0.9.3"
2758-
strip-ansi: "npm:^6.0.1"
2759-
text-table: "npm:^0.2.0"
2760-
bin:
2761-
eslint: bin/eslint.js
2762-
checksum: 379827964fd7885a4d48611a5237cf5c534eff0ad3d0c1a1d6a14d52ac6758f4efdccd924c9bb3a9aa4dc80a3446d48dc49f61733cd5bd5f74419d0240970e7b
2763-
languageName: node
2764-
linkType: hard
2765-
2766-
"eslint@npm:^8.55.0":
2683+
"eslint@npm:^8.48.0, eslint@npm:^8.55.0":
27672684
version: 8.55.0
27682685
resolution: "eslint@npm:8.55.0"
27692686
dependencies:

0 commit comments

Comments
 (0)
Please sign in to comment.