@modern-js/node-bundle-require 2.20.0 → 2.21.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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @modern-js/node-bundle-require
2
2
 
3
+ ## 2.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 26dcf3a: chore: bump typescript to v5 in devDependencies
8
+
9
+ chore: 升级 devDependencies 中的 typescript 版本到 v5
10
+
11
+ - Updated dependencies [e81eeaf]
12
+ - Updated dependencies [26dcf3a]
13
+ - Updated dependencies [056627f]
14
+ - Updated dependencies [0fc15ca]
15
+ - Updated dependencies [43b4e83]
16
+ - Updated dependencies [ad78387]
17
+ - @modern-js/utils@2.21.0
18
+
3
19
  ## 2.20.0
4
20
 
5
21
  ### Patch Changes
@@ -10,23 +10,19 @@ export interface Options {
10
10
  /**
11
11
  * esbuild options
12
12
  */
13
-
14
13
  esbuildOptions?: BuildOptions;
15
14
  /**
16
15
  * esbuild plugin
17
16
  */
18
-
19
17
  esbuildPlugins?: Plugin[];
20
18
  /**
21
19
  * Get the path to the output file
22
20
  * By default we simply replace the extension with `.bundled.cjs`
23
21
  */
24
-
25
22
  getOutputFile?: (filepath: string) => Promise<string>;
26
23
  /**
27
24
  * auto clear bundle file
28
25
  */
29
-
30
26
  autoClear?: boolean;
31
27
  }
32
28
  export declare const defaultGetOutputFile: (filepath: string) => Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/node-bundle-require",
3
- "version": "2.20.0",
3
+ "version": "2.21.0",
4
4
  "description": "A Progressive React Framework for modern web development.",
5
5
  "homepage": "https://modernjs.dev",
6
6
  "bugs": "https://github.com/web-infra-dev/modern.js/issues",
@@ -47,15 +47,15 @@
47
47
  "dependencies": {
48
48
  "esbuild": "0.15.7",
49
49
  "@swc/helpers": "0.5.1",
50
- "@modern-js/utils": "2.20.0"
50
+ "@modern-js/utils": "2.21.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/jest": "^29",
54
54
  "@types/node": "^14",
55
55
  "jest": "^29",
56
- "typescript": "^4",
57
- "@scripts/build": "2.20.0",
58
- "@scripts/jest-config": "2.20.0"
56
+ "typescript": "^5",
57
+ "@scripts/build": "2.21.0",
58
+ "@scripts/jest-config": "2.21.0"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "publishConfig": {