detype 1.1.2 → 1.1.3
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/{chunk-ESFGC2T7.js → chunk-PPDIT32L.js} +1 -1
- package/dist/cli.js +16 -16
- package/dist/index.js +1 -1
- package/package.json +13 -13
|
@@ -225,7 +225,7 @@ async function removeMagicComments(code, fileName, prettierOptions) {
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
// src/transformFile.ts
|
|
228
|
-
import fs from "
|
|
228
|
+
import fs from "fs";
|
|
229
229
|
import { resolveConfig } from "prettier";
|
|
230
230
|
var { readFile, writeFile } = fs.promises;
|
|
231
231
|
async function transformFile(inputFileName, outputFileName, options = {}) {
|
package/dist/cli.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
removeMagicCommentsFromFile,
|
|
3
3
|
transformFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PPDIT32L.js";
|
|
5
5
|
|
|
6
6
|
// src/cli-lib.ts
|
|
7
|
-
import fs from "
|
|
8
|
-
import path from "
|
|
7
|
+
import fs from "fs";
|
|
8
|
+
import path from "path";
|
|
9
9
|
import fastGlob from "fast-glob";
|
|
10
10
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "detype",
|
|
14
|
-
version: "1.1.
|
|
14
|
+
version: "1.1.3",
|
|
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.
|
|
48
|
-
"@babel/preset-typescript": "^7.
|
|
49
|
-
"@babel/traverse": "^7.
|
|
50
|
-
"@vue/compiler-dom": "^3.5.
|
|
51
|
-
"@vue/compiler-sfc": "^3.5.
|
|
47
|
+
"@babel/core": "^7.28.3",
|
|
48
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
49
|
+
"@babel/traverse": "^7.28.3",
|
|
50
|
+
"@vue/compiler-dom": "^3.5.20",
|
|
51
|
+
"@vue/compiler-sfc": "^3.5.20",
|
|
52
52
|
"@vuedx/compiler-sfc": "0.7.1",
|
|
53
53
|
"@vuedx/template-ast-types": "0.7.1",
|
|
54
54
|
"fast-glob": "^3.3.3",
|
|
55
|
-
prettier: "^3.
|
|
55
|
+
prettier: "^3.6.2",
|
|
56
56
|
"string.prototype.replaceall": "^1.0.10"
|
|
57
57
|
},
|
|
58
58
|
devDependencies: {
|
|
59
|
-
"@cyco130/eslint-config": "^
|
|
59
|
+
"@cyco130/eslint-config": "^6.0.2",
|
|
60
60
|
"@types/babel__core": "^7.20.5",
|
|
61
|
-
"@types/babel__traverse": "^7.
|
|
61
|
+
"@types/babel__traverse": "^7.28.0",
|
|
62
62
|
"@types/node": "22.13.10",
|
|
63
|
-
eslint: "^9.
|
|
63
|
+
eslint: "^9.34.0",
|
|
64
64
|
rimraf: "^6.0.1",
|
|
65
|
-
tsup: "^8.
|
|
66
|
-
typescript: "^5.
|
|
67
|
-
vitest: "3.
|
|
65
|
+
tsup: "^8.5.0",
|
|
66
|
+
typescript: "^5.9.2",
|
|
67
|
+
vitest: "3.2.4"
|
|
68
68
|
},
|
|
69
69
|
repository: {
|
|
70
70
|
type: "git",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "detype",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
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.
|
|
25
|
-
"@babel/preset-typescript": "^7.
|
|
26
|
-
"@babel/traverse": "^7.
|
|
27
|
-
"@vue/compiler-dom": "^3.5.
|
|
28
|
-
"@vue/compiler-sfc": "^3.5.
|
|
24
|
+
"@babel/core": "^7.28.3",
|
|
25
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
26
|
+
"@babel/traverse": "^7.28.3",
|
|
27
|
+
"@vue/compiler-dom": "^3.5.20",
|
|
28
|
+
"@vue/compiler-sfc": "^3.5.20",
|
|
29
29
|
"@vuedx/compiler-sfc": "0.7.1",
|
|
30
30
|
"@vuedx/template-ast-types": "0.7.1",
|
|
31
31
|
"fast-glob": "^3.3.3",
|
|
32
|
-
"prettier": "^3.
|
|
32
|
+
"prettier": "^3.6.2",
|
|
33
33
|
"string.prototype.replaceall": "^1.0.10"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@cyco130/eslint-config": "^
|
|
36
|
+
"@cyco130/eslint-config": "^6.0.2",
|
|
37
37
|
"@types/babel__core": "^7.20.5",
|
|
38
|
-
"@types/babel__traverse": "^7.
|
|
38
|
+
"@types/babel__traverse": "^7.28.0",
|
|
39
39
|
"@types/node": "22.13.10",
|
|
40
|
-
"eslint": "^9.
|
|
40
|
+
"eslint": "^9.34.0",
|
|
41
41
|
"rimraf": "^6.0.1",
|
|
42
|
-
"tsup": "^8.
|
|
43
|
-
"typescript": "^5.
|
|
44
|
-
"vitest": "3.
|
|
42
|
+
"tsup": "^8.5.0",
|
|
43
|
+
"typescript": "^5.9.2",
|
|
44
|
+
"vitest": "3.2.4"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|