@modern-js/plugin-module-banner 2.19.1 → 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,28 @@
1
1
  # @modern-js/plugin-module-banner
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 [df43559]
12
+ - Updated dependencies [26dcf3a]
13
+ - Updated dependencies [ad78387]
14
+ - @modern-js/module-tools@2.21.0
15
+
16
+ ## 2.20.0
17
+
18
+ ### Patch Changes
19
+
20
+ - 6b9d90a: chore: remove @babel/runtime. add @swc/helper and enable `externalHelper` config.
21
+ chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 `externalHelpers` 配置
22
+ - Updated dependencies [6b9d90a]
23
+ - Updated dependencies [6b9d90a]
24
+ - @modern-js/module-tools@2.20.0
25
+
3
26
  ## 2.19.1
4
27
 
5
28
  ### Patch Changes
@@ -1,5 +1,4 @@
1
1
  import type { CliPlugin, ModuleTools } from '@modern-js/module-tools';
2
-
3
2
  declare const _default: (options: {
4
3
  banner: {
5
4
  js?: string;
@@ -10,5 +9,4 @@ declare const _default: (options: {
10
9
  css?: string;
11
10
  };
12
11
  }) => CliPlugin<ModuleTools>;
13
-
14
12
  export default _default;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.19.1",
18
+ "version": "2.21.0",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -31,22 +31,24 @@
31
31
  "devDependencies": {
32
32
  "@types/jest": "^29",
33
33
  "@types/node": "^14",
34
- "typescript": "^4",
34
+ "typescript": "^5",
35
35
  "jest": "^29",
36
36
  "@modern-js/libuild": "0.12.2",
37
- "@scripts/build": "2.19.1",
38
- "@modern-js/module-tools": "2.19.1",
39
- "@scripts/jest-config": "2.19.1"
37
+ "@scripts/build": "2.21.0",
38
+ "@scripts/jest-config": "2.21.0",
39
+ "@modern-js/module-tools": "2.21.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@modern-js/module-tools": "^2.19.1"
42
+ "@modern-js/module-tools": "^2.21.0"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "@modern-js/module-tools": {
46
46
  "optional": true
47
47
  }
48
48
  },
49
- "dependencies": {},
49
+ "dependencies": {
50
+ "@swc/helpers": "0.5.1"
51
+ },
50
52
  "publishConfig": {
51
53
  "registry": "https://registry.npmjs.org/",
52
54
  "access": "public"