@rsdoctor/utils 0.4.13 → 1.0.0-alpha.0
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/cjs/common/summary.js +1 -1
- package/dist/esm/common/summary.js +1 -1
- package/dist/type/build/file/sharding.d.ts +2 -2
- package/dist/type/common/summary.d.ts +1 -1
- package/dist/type/common/summary.d.ts.map +1 -1
- package/dist/type/rule-utils/parser/parser.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -25,7 +25,7 @@ var SummaryCostsDataName = /* @__PURE__ */ ((SummaryCostsDataName2) => {
|
|
|
25
25
|
SummaryCostsDataName2["Bootstrap"] = "bootstrap->beforeCompile";
|
|
26
26
|
SummaryCostsDataName2["Compile"] = "beforeCompile->afterCompile";
|
|
27
27
|
SummaryCostsDataName2["Done"] = "afterCompile->done";
|
|
28
|
-
SummaryCostsDataName2["Minify"] = "minify(
|
|
28
|
+
SummaryCostsDataName2["Minify"] = "minify(processAssets)";
|
|
29
29
|
return SummaryCostsDataName2;
|
|
30
30
|
})(SummaryCostsDataName || {});
|
|
31
31
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,7 +2,7 @@ var SummaryCostsDataName = /* @__PURE__ */ ((SummaryCostsDataName2) => {
|
|
|
2
2
|
SummaryCostsDataName2["Bootstrap"] = "bootstrap->beforeCompile";
|
|
3
3
|
SummaryCostsDataName2["Compile"] = "beforeCompile->afterCompile";
|
|
4
4
|
SummaryCostsDataName2["Done"] = "afterCompile->done";
|
|
5
|
-
SummaryCostsDataName2["Minify"] = "minify(
|
|
5
|
+
SummaryCostsDataName2["Minify"] = "minify(processAssets)";
|
|
6
6
|
return SummaryCostsDataName2;
|
|
7
7
|
})(SummaryCostsDataName || {});
|
|
8
8
|
export {
|
|
@@ -8,7 +8,7 @@ export declare class FileSharding {
|
|
|
8
8
|
*/
|
|
9
9
|
createVirtualShardingFiles(ext?: string, index?: number): {
|
|
10
10
|
filename: string;
|
|
11
|
-
content: Buffer
|
|
11
|
+
content: Buffer<ArrayBufferLike>;
|
|
12
12
|
}[];
|
|
13
13
|
/**
|
|
14
14
|
* @param folder absolute path of folder which used to save string sharding files.
|
|
@@ -16,7 +16,7 @@ export declare class FileSharding {
|
|
|
16
16
|
*/
|
|
17
17
|
writeStringToFolder(folder: string, ext?: string, index?: number): Promise<{
|
|
18
18
|
filename: string;
|
|
19
|
-
content: Buffer
|
|
19
|
+
content: Buffer<ArrayBufferLike>;
|
|
20
20
|
}[]>;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=sharding.d.ts.map
|
|
@@ -2,6 +2,6 @@ export declare enum SummaryCostsDataName {
|
|
|
2
2
|
Bootstrap = "bootstrap->beforeCompile",
|
|
3
3
|
Compile = "beforeCompile->afterCompile",
|
|
4
4
|
Done = "afterCompile->done",
|
|
5
|
-
Minify = "minify(
|
|
5
|
+
Minify = "minify(processAssets)"
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=summary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../src/common/summary.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,SAAS,6BAA6B;IACtC,OAAO,gCAAgC;IACvC,IAAI,uBAAuB;IAC3B,MAAM,
|
|
1
|
+
{"version":3,"file":"summary.d.ts","sourceRoot":"","sources":["../../../src/common/summary.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,SAAS,6BAA6B;IACtC,OAAO,gCAAgC;IACvC,IAAI,uBAAuB;IAC3B,MAAM,0BAA0B;CACjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/rule-utils/parser/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjE,OAAO,K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MAAM,OAAO,MAAM,WAAW,OAAO,KAK9C,IAAI,CAAC,mBAAmB;IAE1C;;OAEG;oBACa,UAAU,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC;IAIrD,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAoB8+H,KAAM,OAAO;yDAA6I,KAAM,SAAS;oEAA+H,KAAM,oBAAoB;kEAAuH,KAAM,kBAAkB;6DAA8G,KAAM,aAAa;6DAAmL,KAAM,aAAa;6DAAwG,KAAM,aAAa;+DAA2G,KAAM,eAAe;;;IAjBzhK;;;OAGG;;uBAEc,MAAM,WAAW,OAAO,KACe,IAAI,CAAC,OAAO;mCAEvC,MAAM,OAAO,MAAM,WAAW,OAAO,KAK9C,IAAI,CAAC,mBAAmB;;CAG7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"dist"
|
|
68
68
|
],
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@babel/code-frame": "7.
|
|
70
|
+
"@babel/code-frame": "7.26.2",
|
|
71
71
|
"@types/estree": "1.0.5",
|
|
72
72
|
"acorn": "^8.10.0",
|
|
73
73
|
"acorn-import-assertions": "1.9.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"lines-and-columns": "2.0.4",
|
|
84
84
|
"rslog": "^1.2.3",
|
|
85
85
|
"strip-ansi": "^6.0.1",
|
|
86
|
-
"@rsdoctor/types": "0.
|
|
86
|
+
"@rsdoctor/types": "1.0.0-alpha.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@types/babel__code-frame": "7.0.6",
|