rolldown-plugin-dts 0.27.0 → 0.27.1
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.mjs +1 -1
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -646,7 +646,7 @@ function isReferenceId(node) {
|
|
|
646
646
|
return is.oneOf(node, ["Identifier", "MemberExpression"]);
|
|
647
647
|
}
|
|
648
648
|
function isHelperImport(node) {
|
|
649
|
-
return node.type === "ImportDeclaration" && node.specifiers.every((spec) => spec.type === "ImportSpecifier" && spec.imported.type === "Identifier" && ["__exportAll", "__reExport"].includes(spec.local.name));
|
|
649
|
+
return node.type === "ImportDeclaration" && node.specifiers.length && node.specifiers.every((spec) => spec.type === "ImportSpecifier" && spec.imported.type === "Identifier" && ["__exportAll", "__reExport"].includes(spec.local.name));
|
|
650
650
|
}
|
|
651
651
|
/**
|
|
652
652
|
* patch `.d.ts` suffix in import source to `.js`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown-plugin-dts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.27.
|
|
4
|
+
"version": "0.27.1",
|
|
5
5
|
"description": "A Rolldown plugin to generate and bundle dts files.",
|
|
6
6
|
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"dts-resolver": "^3.0.0",
|
|
66
66
|
"get-tsconfig": "5.0.0-beta.5",
|
|
67
67
|
"obug": "^2.1.3",
|
|
68
|
-
"yuku-ast": "^0.1.
|
|
69
|
-
"yuku-codegen": "^0.5.
|
|
70
|
-
"yuku-parser": "^0.5.
|
|
68
|
+
"yuku-ast": "^0.1.7",
|
|
69
|
+
"yuku-codegen": "^0.5.44",
|
|
70
|
+
"yuku-parser": "^0.5.44"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@jridgewell/source-map": "^0.3.11",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@sxzz/prettier-config": "^2.3.1",
|
|
76
76
|
"@sxzz/test-utils": "^0.5.18",
|
|
77
77
|
"@types/node": "^26.1.0",
|
|
78
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
78
|
+
"@typescript/native-preview": "7.0.0-dev.20260706.1",
|
|
79
79
|
"@volar/typescript": "^2.4.28",
|
|
80
80
|
"@vue/language-core": "^3.3.6",
|
|
81
81
|
"arktype": "^2.2.2",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"tsdown": "^0.22.3",
|
|
90
90
|
"tsnapi": "^1.0.0",
|
|
91
91
|
"typescript": "^6.0.3",
|
|
92
|
-
"vitest": "^4.1.
|
|
92
|
+
"vitest": "^4.1.10",
|
|
93
93
|
"vue": "^3.5.39",
|
|
94
94
|
"vue-tsc": "^3.3.6",
|
|
95
95
|
"zod": "^4.4.3"
|