detype 1.1.0 → 1.1.2
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/cli.js +17 -14
- package/dist/index.cjs +3 -3
- package/package.json +13 -13
package/dist/cli.js
CHANGED
|
@@ -11,7 +11,7 @@ import fastGlob from "fast-glob";
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "detype",
|
|
14
|
-
version: "1.1.
|
|
14
|
+
version: "1.1.2",
|
|
15
15
|
description: "Removes TypeScript type annotations but keeps the formatting",
|
|
16
16
|
type: "module",
|
|
17
17
|
exports: {
|
|
@@ -44,27 +44,27 @@ var package_default = {
|
|
|
44
44
|
"index.d.ts"
|
|
45
45
|
],
|
|
46
46
|
dependencies: {
|
|
47
|
-
"@babel/core": "^7.26.
|
|
47
|
+
"@babel/core": "^7.26.10",
|
|
48
48
|
"@babel/preset-typescript": "^7.26.0",
|
|
49
|
-
"@babel/traverse": "^7.
|
|
50
|
-
"@vue/compiler-dom": "^3.5.
|
|
51
|
-
"@vue/compiler-sfc": "^3.5.
|
|
49
|
+
"@babel/traverse": "^7.26.10",
|
|
50
|
+
"@vue/compiler-dom": "^3.5.13",
|
|
51
|
+
"@vue/compiler-sfc": "^3.5.13",
|
|
52
52
|
"@vuedx/compiler-sfc": "0.7.1",
|
|
53
53
|
"@vuedx/template-ast-types": "0.7.1",
|
|
54
|
-
"fast-glob": "^3.3.
|
|
55
|
-
prettier: "^3.
|
|
54
|
+
"fast-glob": "^3.3.3",
|
|
55
|
+
prettier: "^3.5.3",
|
|
56
56
|
"string.prototype.replaceall": "^1.0.10"
|
|
57
57
|
},
|
|
58
58
|
devDependencies: {
|
|
59
|
-
"@cyco130/eslint-config": "^5.
|
|
59
|
+
"@cyco130/eslint-config": "^5.1.0",
|
|
60
60
|
"@types/babel__core": "^7.20.5",
|
|
61
61
|
"@types/babel__traverse": "^7.20.6",
|
|
62
|
-
"@types/node": "22.
|
|
63
|
-
eslint: "^9.
|
|
62
|
+
"@types/node": "22.13.10",
|
|
63
|
+
eslint: "^9.22.0",
|
|
64
64
|
rimraf: "^6.0.1",
|
|
65
|
-
tsup: "^8.
|
|
66
|
-
typescript: "^5.
|
|
67
|
-
vitest: "
|
|
65
|
+
tsup: "^8.4.0",
|
|
66
|
+
typescript: "^5.8.2",
|
|
67
|
+
vitest: "3.0.8"
|
|
68
68
|
},
|
|
69
69
|
repository: {
|
|
70
70
|
type: "git",
|
|
@@ -81,7 +81,10 @@ var package_default = {
|
|
|
81
81
|
bugs: {
|
|
82
82
|
url: "https://github.com/cyco130/detype/issues"
|
|
83
83
|
},
|
|
84
|
-
homepage: "https://github.com/cyco130/detype#readme"
|
|
84
|
+
homepage: "https://github.com/cyco130/detype#readme",
|
|
85
|
+
pnpm: {
|
|
86
|
+
overrides: {}
|
|
87
|
+
}
|
|
85
88
|
};
|
|
86
89
|
|
|
87
90
|
// src/cli-lib.ts
|
package/dist/index.cjs
CHANGED
|
@@ -28,14 +28,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
|
|
30
30
|
// src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
31
|
+
var index_exports = {};
|
|
32
|
+
__export(index_exports, {
|
|
33
33
|
removeMagicComments: () => removeMagicComments,
|
|
34
34
|
removeMagicCommentsFromFile: () => removeMagicCommentsFromFile,
|
|
35
35
|
transform: () => transform,
|
|
36
36
|
transformFile: () => transformFile
|
|
37
37
|
});
|
|
38
|
-
module.exports = __toCommonJS(
|
|
38
|
+
module.exports = __toCommonJS(index_exports);
|
|
39
39
|
|
|
40
40
|
// src/transform.ts
|
|
41
41
|
var import_core = require("@babel/core");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "detype",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Removes TypeScript type annotations but keeps the formatting",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,27 +21,27 @@
|
|
|
21
21
|
"index.d.ts"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@babel/core": "^7.26.
|
|
24
|
+
"@babel/core": "^7.26.10",
|
|
25
25
|
"@babel/preset-typescript": "^7.26.0",
|
|
26
|
-
"@babel/traverse": "^7.
|
|
27
|
-
"@vue/compiler-dom": "^3.5.
|
|
28
|
-
"@vue/compiler-sfc": "^3.5.
|
|
26
|
+
"@babel/traverse": "^7.26.10",
|
|
27
|
+
"@vue/compiler-dom": "^3.5.13",
|
|
28
|
+
"@vue/compiler-sfc": "^3.5.13",
|
|
29
29
|
"@vuedx/compiler-sfc": "0.7.1",
|
|
30
30
|
"@vuedx/template-ast-types": "0.7.1",
|
|
31
|
-
"fast-glob": "^3.3.
|
|
32
|
-
"prettier": "^3.
|
|
31
|
+
"fast-glob": "^3.3.3",
|
|
32
|
+
"prettier": "^3.5.3",
|
|
33
33
|
"string.prototype.replaceall": "^1.0.10"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@cyco130/eslint-config": "^5.
|
|
36
|
+
"@cyco130/eslint-config": "^5.1.0",
|
|
37
37
|
"@types/babel__core": "^7.20.5",
|
|
38
38
|
"@types/babel__traverse": "^7.20.6",
|
|
39
|
-
"@types/node": "22.
|
|
40
|
-
"eslint": "^9.
|
|
39
|
+
"@types/node": "22.13.10",
|
|
40
|
+
"eslint": "^9.22.0",
|
|
41
41
|
"rimraf": "^6.0.1",
|
|
42
|
-
"tsup": "^8.
|
|
43
|
-
"typescript": "^5.
|
|
44
|
-
"vitest": "
|
|
42
|
+
"tsup": "^8.4.0",
|
|
43
|
+
"typescript": "^5.8.2",
|
|
44
|
+
"vitest": "3.0.8"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|