@modern-js/plugin-module-polyfill 2.41.0 → 2.42.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import type { CliPlugin, ModuleTools } from '@modern-js/module-tools';
2
2
  export type Options = {
3
- targets?: Record<string, string> | string;
3
+ targets?: Record<string, string> | string;
4
4
  };
5
5
  export declare const getPolyfillHook: (options?: Options) => {
6
- name: string;
7
- apply(compiler: import("@modern-js/module-tools").ICompiler): void;
6
+ name: string;
7
+ apply(compiler: import("@modern-js/module-tools").ICompiler): void;
8
8
  };
9
9
  export declare const modulePluginPolyfill: (options?: Options) => CliPlugin<ModuleTools>;
10
10
  /**
11
11
  * deprecated named export
12
12
  * @deprecated
13
13
  */
14
- export declare const ModulePolyfillPlugin: (options?: Options) => CliPlugin<ModuleTools>;
14
+ export declare const ModulePolyfillPlugin: (options?: Options) => CliPlugin<ModuleTools>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/plugin-module-polyfill",
3
- "version": "2.41.0",
3
+ "version": "2.42.1",
4
4
  "description": "The polyfill plugin of Modern.js Module",
5
5
  "keywords": [
6
6
  "react",
@@ -24,7 +24,7 @@
24
24
  "@babel/plugin-syntax-jsx": "7.22.5",
25
25
  "@babel/plugin-syntax-typescript": "7.22.5",
26
26
  "babel-plugin-polyfill-corejs3": "0.5.2",
27
- "@modern-js/plugin-module-babel": "2.41.0"
27
+ "@modern-js/plugin-module-babel": "2.42.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@swc/helpers": "0.5.3",
@@ -32,12 +32,12 @@
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/module-tools": "2.41.0",
36
- "@scripts/jest-config": "2.41.0",
37
- "@scripts/build": "2.41.0"
35
+ "@modern-js/module-tools": "2.42.1",
36
+ "@scripts/build": "2.42.1",
37
+ "@scripts/jest-config": "2.42.1"
38
38
  },
39
39
  "peerDependencies": {
40
- "@modern-js/module-tools": "^2.41.0",
40
+ "@modern-js/module-tools": "^2.42.1",
41
41
  "core-js-pure": "^3.25.0"
42
42
  },
43
43
  "publishConfig": {