@rsbuild/plugin-node-polyfill 1.4.0 → 1.4.2
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/README.md +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/dist/libs.d.ts +1 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -112,6 +112,7 @@ const bufferData = Buffer.from("abc");
|
|
|
112
112
|
- `readline`
|
|
113
113
|
- `repl`
|
|
114
114
|
- `tls`
|
|
115
|
+
- `v8`
|
|
115
116
|
|
|
116
117
|
Currently there is no polyfill for the above modules on the browser side, so when you import the above modules, it will automatically fallback to an empty object.
|
|
117
118
|
|
package/dist/index.cjs
CHANGED
|
@@ -83,6 +83,7 @@ const builtinMappingResolved = {
|
|
|
83
83
|
tty: libs_require.resolve('tty-browserify'),
|
|
84
84
|
url: libs_require.resolve('url/'),
|
|
85
85
|
util: libs_require.resolve('util/util.js'),
|
|
86
|
+
v8: null,
|
|
86
87
|
vm: libs_require.resolve('vm-browserify'),
|
|
87
88
|
zlib: libs_require.resolve('browserify-zlib')
|
|
88
89
|
};
|
package/dist/index.js
CHANGED
|
@@ -46,6 +46,7 @@ const builtinMappingResolved = {
|
|
|
46
46
|
tty: libs_require.resolve('tty-browserify'),
|
|
47
47
|
url: libs_require.resolve('url/'),
|
|
48
48
|
util: libs_require.resolve('util/util.js'),
|
|
49
|
+
v8: null,
|
|
49
50
|
vm: libs_require.resolve('vm-browserify'),
|
|
50
51
|
zlib: libs_require.resolve('browserify-zlib')
|
|
51
52
|
};
|
package/dist/libs.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-node-polyfill",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"repository": "https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -61,16 +61,16 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@biomejs/biome": "^1.9.4",
|
|
64
|
-
"@playwright/test": "^1.
|
|
65
|
-
"@rsbuild/core": "^1.4.
|
|
66
|
-
"@rslib/core": "^0.
|
|
67
|
-
"@rstest/core": "0.
|
|
68
|
-
"@types/node": "^22.
|
|
64
|
+
"@playwright/test": "^1.55.0",
|
|
65
|
+
"@rsbuild/core": "^1.4.15",
|
|
66
|
+
"@rslib/core": "^0.12.2",
|
|
67
|
+
"@rstest/core": "0.2.2",
|
|
68
|
+
"@types/node": "^22.17.2",
|
|
69
69
|
"nano-staged": "^0.8.0",
|
|
70
|
-
"playwright": "^1.
|
|
71
|
-
"simple-git-hooks": "^2.13.
|
|
72
|
-
"tsx": "^4.20.
|
|
73
|
-
"typescript": "^5.
|
|
70
|
+
"playwright": "^1.55.0",
|
|
71
|
+
"simple-git-hooks": "^2.13.1",
|
|
72
|
+
"tsx": "^4.20.4",
|
|
73
|
+
"typescript": "^5.9.2"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"@rsbuild/core": "1.x"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"packageManager": "pnpm@10.
|
|
83
|
+
"packageManager": "pnpm@10.15.0",
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public",
|
|
86
86
|
"registry": "https://registry.npmjs.org/"
|