@nsnanocat/util 2.5.10 → 2.5.12
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/index.mjs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from "./lib/app.mjs";
|
|
2
|
+
export * from "./lib/argument.mjs";
|
|
3
|
+
export * from "./lib/done.mjs";
|
|
4
|
+
export * from "./lib/notification.mjs";
|
|
5
|
+
export * from "./lib/time.mjs";
|
|
6
|
+
export * from "./lib/wait.mjs";
|
|
7
|
+
export * from "./polyfill/Console.mjs";
|
|
8
|
+
export * from "./polyfill/fetch.js";
|
|
9
|
+
export * from "./polyfill/Lodash.mjs";
|
|
10
|
+
export * from "./polyfill/qs.mjs";
|
|
11
|
+
export * from "./polyfill/StatusTexts.mjs";
|
|
12
|
+
export * from "./polyfill/Storage.js";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 已标准化的 `$argument` 快照。
|
|
16
|
+
* Normalized `$argument` snapshot.
|
|
17
|
+
*/
|
|
18
|
+
export const $argument = globalThis.$argument ?? {};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 兼容别名(建议优先使用 `$argument`)。
|
|
22
|
+
* Backward-compatible alias (prefer `$argument`).
|
|
23
|
+
*/
|
|
24
|
+
export const argument = $argument;
|
package/package.json
CHANGED
package/polyfill/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Aggregated exports for polyfill modules.
|
|
4
4
|
*/
|
|
5
5
|
export { Console } from "./Console.mjs";
|
|
6
|
-
export { fetch } from "./fetch.
|
|
7
|
-
export type { Fetch, FetchRequest, FetchResponse } from "./fetch.
|
|
6
|
+
export { fetch } from "./fetch.js";
|
|
7
|
+
export type { Fetch, FetchRequest, FetchResponse } from "./fetch.js";
|
|
8
8
|
export { Lodash } from "./Lodash.mjs";
|
|
9
9
|
export { qs } from "./qs.mjs";
|
|
10
10
|
export { StatusTexts } from "./StatusTexts.mjs";
|
|
11
|
-
export { Storage } from "./Storage.
|
|
11
|
+
export { Storage } from "./Storage.js";
|
package/polyfill/index.js
CHANGED
package/polyfill/fetch.mts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|