@nsnanocat/util 2.5.17 → 2.6.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/index.js CHANGED
@@ -5,11 +5,11 @@ export * from "./lib/notification.mjs";
5
5
  export * from "./lib/time.mjs";
6
6
  export * from "./lib/wait.mjs";
7
7
  export * from "./polyfill/Console.mjs";
8
- export * from "./polyfill/fetch.mjs";
8
+ export * from "./polyfill/fetch.js";
9
9
  export * from "./polyfill/Lodash.mjs";
10
10
  export * from "./polyfill/qs.mjs";
11
11
  export * from "./polyfill/StatusTexts.mjs";
12
- export * from "./polyfill/Storage.mjs";
12
+ export * from "./polyfill/Storage.js";
13
13
 
14
14
  /**
15
15
  * 已标准化的 `$argument` 快照。
package/package.json CHANGED
@@ -15,7 +15,6 @@
15
15
  "bugs": "https://github.com/NSNanoCat/util/issues",
16
16
  "main": "index.js",
17
17
  "types": "types/nsnanocat-util.d.ts",
18
- "type": "module",
19
18
  "scripts": {
20
19
  "tsc:build": "npx tsc",
21
20
  "test": "node --test test/*.test.js",
@@ -42,5 +41,5 @@
42
41
  "registry": "https://registry.npmjs.org/",
43
42
  "access": "public"
44
43
  },
45
- "version": "2.5.17"
44
+ "version": "2.6.0"
46
45
  }
@@ -1,4 +1,4 @@
1
- import { fetch as fetchRuntime } from "./fetch.mjs";
1
+ import { fetch as fetchRuntime } from "./fetch.js";
2
2
  import type { Fetch } from "./fetch.d.ts";
3
3
 
4
4
  export type { Fetch, FetchRequest, FetchResponse } from "./fetch.d.ts";
@@ -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.mjs";
6
+ export { fetch } from "./fetch.js";
7
7
  export type { Fetch, FetchRequest, FetchResponse } from "./fetch.mjs";
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.mjs";
11
+ export { Storage } from "./Storage.js";
package/polyfill/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from "./Console.mjs";
2
- export * from "./fetch.mjs";
2
+ export * from "./fetch.js";
3
3
  export * from "./Lodash.mjs";
4
4
  export * from "./qs.mjs";
5
5
  export * from "./StatusTexts.mjs";
6
- export * from "./Storage.mjs";
6
+ export * from "./Storage.js";
File without changes
File without changes