Skip to content

Commit

Permalink
fix(import): fix occasional error when using import/default
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Jun 1, 2023
1 parent 2882127 commit 32c75a9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 36 deletions.
3 changes: 2 additions & 1 deletion packages/eslint-config-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"clean": "run ws:clean \"$(pwd)\""
},
"dependencies": {
"eslint-plugin-import": "^2.27.5"
"eslint-plugin-i": "^2.27.5-1",
"eslint-plugin-import": "npm:eslint-plugin-i@^2.27.5-1"
},
"peerDependencies": {
"eslint": "*"
Expand Down
57 changes: 22 additions & 35 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@myparcel-eslint/eslint-config-import@workspace:packages/eslint-config-import"
dependencies:
eslint-plugin-import: ^2.27.5
eslint-plugin-i: ^2.27.5-1
eslint-plugin-import: "npm:eslint-plugin-i@^2.27.5-1"
peerDependencies:
eslint: "*"
languageName: unknown
Expand Down Expand Up @@ -1055,13 +1056,6 @@ __metadata:
languageName: node
linkType: hard

"@types/json5@npm:^0.0.29":
version: 0.0.29
resolution: "@types/json5@npm:0.0.29"
checksum: e60b153664572116dfea673c5bda7778dbff150498f44f998e34b5886d8afc47f16799280e4b6e241c0472aef1bc36add771c569c68fc5125fc2ae519a3eb9ac
languageName: node
linkType: hard

"@types/keyv@npm:^3.1.4":
version: 3.1.4
resolution: "@types/keyv@npm:3.1.4"
Expand Down Expand Up @@ -3277,9 +3271,9 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-import@npm:^2.27.5":
"eslint-plugin-i@npm:^2.27.5-1, eslint-plugin-import@npm:eslint-plugin-i@^2.27.5-1":
version: 2.27.5
resolution: "eslint-plugin-import@npm:2.27.5"
resolution: "eslint-plugin-i@npm:2.27.5"
dependencies:
array-includes: ^3.1.6
array.prototype.flat: ^1.3.1
Expand All @@ -3288,17 +3282,17 @@ __metadata:
doctrine: ^2.1.0
eslint-import-resolver-node: ^0.3.7
eslint-module-utils: ^2.7.4
get-tsconfig: ^4.2.0
has: ^1.0.3
is-core-module: ^2.11.0
is-glob: ^4.0.3
minimatch: ^3.1.2
object.values: ^1.1.6
resolve: ^1.22.1
semver: ^6.3.0
tsconfig-paths: ^3.14.1
peerDependencies:
eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
checksum: f500571a380167e25d72a4d925ef9a7aae8899eada57653e5f3051ec3d3c16d08271fcefe41a30a9a2f4fefc232f066253673ee4ea77b30dba65ae173dade85d
checksum: 64b0c6400be15709ed87eab2af7f67569adead44420c994634efe3e2f31794d9fd81ddfcbce5dc7174621d789234f57583025a9852e377c62002053cc0ee4066
languageName: node
linkType: hard

Expand Down Expand Up @@ -3945,6 +3939,15 @@ __metadata:
languageName: node
linkType: hard

"get-tsconfig@npm:^4.2.0":
version: 4.6.0
resolution: "get-tsconfig@npm:4.6.0"
dependencies:
resolve-pkg-maps: ^1.0.0
checksum: fd2589a50e21543cf416285e5c4ac605359f49209b6c2e66bb8698fac907356e060de0a681e40881f00182b6f19771377411a88adcc78fd3954732ff54f4a54d
languageName: node
linkType: hard

"git-up@npm:^7.0.0":
version: 7.0.0
resolution: "git-up@npm:7.0.0"
Expand Down Expand Up @@ -4974,17 +4977,6 @@ __metadata:
languageName: node
linkType: hard

"json5@npm:^1.0.2":
version: 1.0.2
resolution: "json5@npm:1.0.2"
dependencies:
minimist: ^1.2.0
bin:
json5: lib/cli.js
checksum: 866458a8c58a95a49bef3adba929c625e82532bcff1fe93f01d29cb02cac7c3fe1f4b79951b7792c2da9de0b32871a8401a6e3c5b36778ad852bf5b8a61165d7
languageName: node
linkType: hard

"json5@npm:^2.2.2":
version: 2.2.3
resolution: "json5@npm:2.2.3"
Expand Down Expand Up @@ -6669,6 +6661,13 @@ __metadata:
languageName: node
linkType: hard

"resolve-pkg-maps@npm:^1.0.0":
version: 1.0.0
resolution: "resolve-pkg-maps@npm:1.0.0"
checksum: 1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977
languageName: node
linkType: hard

"resolve@npm:^1.10.0, resolve@npm:^1.20.0":
version: 1.22.1
resolution: "resolve@npm:1.22.1"
Expand Down Expand Up @@ -7524,18 +7523,6 @@ __metadata:
languageName: node
linkType: hard

"tsconfig-paths@npm:^3.14.1":
version: 3.14.2
resolution: "tsconfig-paths@npm:3.14.2"
dependencies:
"@types/json5": ^0.0.29
json5: ^1.0.2
minimist: ^1.2.6
strip-bom: ^3.0.0
checksum: a6162eaa1aed680537f93621b82399c7856afd10ec299867b13a0675e981acac4e0ec00896860480efc59fc10fd0b16fdc928c0b885865b52be62cadac692447
languageName: node
linkType: hard

"tsconfig-paths@npm:^4.1.2":
version: 4.1.2
resolution: "tsconfig-paths@npm:4.1.2"
Expand Down

0 comments on commit 32c75a9

Please sign in to comment.