@sdk-usage/core 0.0.0-next-be2a154 → 0.0.0-next-b45188f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -116,7 +116,7 @@ const parse = async (code, { onAdd, plugins })=>{
|
|
|
116
116
|
context.imports.set(specifierValue, {
|
|
117
117
|
name: // @ts-expect-error `imported` field is not exposed by `ImportSpecifier` node (issue in `@swc/core` type definition).
|
|
118
118
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
119
|
-
specifier.imported?.value
|
|
119
|
+
specifier.imported?.value ?? specifierValue,
|
|
120
120
|
alias: specifierValue,
|
|
121
121
|
module
|
|
122
122
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -113,7 +113,7 @@ const parse = async (code, { onAdd, plugins })=>{
|
|
|
113
113
|
context.imports.set(specifierValue, {
|
|
114
114
|
name: // @ts-expect-error `imported` field is not exposed by `ImportSpecifier` node (issue in `@swc/core` type definition).
|
|
115
115
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
116
|
-
specifier.imported?.value
|
|
116
|
+
specifier.imported?.value ?? specifierValue,
|
|
117
117
|
alias: specifierValue,
|
|
118
118
|
module
|
|
119
119
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdk-usage/core",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-b45188f",
|
|
4
4
|
"description": "sdk-usage core functionalities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"analyze",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@open-vanilla/visitor": "^1.0.0",
|
|
44
|
-
"@swc/core": "^1.
|
|
45
|
-
"fdir": "^6.
|
|
46
|
-
"picomatch": "^4.0.
|
|
44
|
+
"@swc/core": "^1.13.5",
|
|
45
|
+
"fdir": "^6.5.0",
|
|
46
|
+
"picomatch": "^4.0.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "22.
|
|
49
|
+
"@types/node": "22.18.12",
|
|
50
50
|
"quickbundle": "2.8.0"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|