Skip to content

Commit

Permalink
Bump node-polyfill-webpack-plugin from 1.1.4 to 2.0.1 (#49)
Browse files Browse the repository at this point in the history
* Bump node-polyfill-webpack-plugin from 1.1.4 to 2.0.1

Bumps [node-polyfill-webpack-plugin](https://github.com/Richienb/node-polyfill-webpack-plugin) from 1.1.4 to 2.0.1.
- [Release notes](https://github.com/Richienb/node-polyfill-webpack-plugin/releases)
- [Commits](Richienb/node-polyfill-webpack-plugin@v1.1.4...v2.0.1)

---
updated-dependencies:
- dependency-name: node-polyfill-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Makes use of new 'includeAliases' feature

see: Richienb/node-polyfill-webpack-plugin#30

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Schütte <paul@hanseartic.de>
  • Loading branch information
dependabot[bot] and hanseartic authored Feb 8, 2023
1 parent 0396e56 commit 827f3cb
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 42 deletions.
34 changes: 5 additions & 29 deletions craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,11 @@ module.exports = {
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
new NodePolyfillPlugin({excludeAliases:[
//"assert",
//"http",
//"https",
//"url",
"buffer",
"console",
"constants",
"crypto",
"domain",
"events",
"os",
"path",
"punycode",
"process",
"querystring",
"stream",
"_stream_duplex",
"_stream_passthrough",
"_stream_readable",
"_stream_transform",
"_stream_writable",
"string_decoder",
"sys",
"timers",
"tty",
"util",
"vm",
"zlib"
new NodePolyfillPlugin({includeAliases:[
"assert",
"http",
"https",
"url"
]})
]
}
Expand Down
101 changes: 89 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"idb-keyval": "^6.1.0",
"mdast-util-to-hast": "^12.2.6",
"memoizee": "^0.4.15",
"node-polyfill-webpack-plugin": "^1.1.4",
"node-polyfill-webpack-plugin": "^2.0.1",
"nth-check": "^2.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down

0 comments on commit 827f3cb

Please sign in to comment.