@modern-js/plugin-module-node-polyfill 2.58.2 → 2.58.3

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/dist/globals.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import Buffer from 'buffer';
2
- import processBrowser from 'process/browser';
3
2
  import console from 'console-browserify';
3
+ import processBrowser from 'process/browser';
4
4
 
5
5
  const buffer = {
6
6
  Buffer,
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { CliPlugin, ModuleTools, ICompiler } from '@modern-js/module-tools';
1
+ import type { CliPlugin, ICompiler, ModuleTools } from '@modern-js/module-tools';
2
2
  export interface NodePolyfillPluginOptions {
3
3
  excludes?: string[];
4
4
  overrides?: Partial<Record<keyof typeof modules, string>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/plugin-module-node-polyfill",
3
- "version": "2.58.2",
3
+ "version": "2.58.3",
4
4
  "description": "The node polyfill plugin of Modern.js Module",
5
5
  "keywords": [
6
6
  "react",
@@ -48,11 +48,11 @@
48
48
  "devDependencies": {
49
49
  "@types/node": "^14",
50
50
  "typescript": "^5",
51
- "@scripts/build": "2.58.2",
52
- "@modern-js/module-tools": "2.58.2"
51
+ "@modern-js/module-tools": "2.58.3",
52
+ "@scripts/build": "2.58.3"
53
53
  },
54
54
  "peerDependencies": {
55
- "@modern-js/module-tools": "^2.58.2"
55
+ "@modern-js/module-tools": "^2.58.3"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@modern-js/module-tools": {