Skip to content

Commit

Permalink
fix: url polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed Aug 16, 2024
1 parent c48ebbe commit 33c30e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = class GopeedPolyfillPlugin {
sys: require.resolve('util/'),
timers: require.resolve('timers-browserify'),
tty: require.resolve('tty-browserify'),
url: require.resolve('./modules/url/index.js'),
url: require.resolve('url/'),
util: require.resolve('util/'),
vm: require.resolve('./modules/vm/index.js'),
zlib: require.resolve('browserify-zlib'),
Expand Down
40 changes: 0 additions & 40 deletions modules/url/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"timers-browserify": "^2.0.12",
"tty-browserify": "^0.0.1",
"type-fest": "^4.4.0",
"url": "^0.11.3",
"url": "github:mischnic/node-url#c4cb4cca5480dd7fb748d8b56a3882ac8e54fbaf",
"util": "^0.12.5",
"xtend": "^4.0.2"
},
Expand Down

0 comments on commit 33c30e2

Please sign in to comment.