Fix webpack build warning (#181)

This commit is contained in:
Szymon Szlachtowicz 2022-01-11 09:27:32 +01:00 committed by GitHub
parent 7c0668d010
commit 964d468821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 29 additions and 29 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"node-fetch": "^3.0.0" "node-fetch": "^2.6.0"
}, },
"scripts": { "scripts": {
"start": "yarn node src/index.js", "start": "yarn node src/index.js",

View File

@ -22,7 +22,7 @@ module.exports = env => {
buffer: require.resolve('buffer/'), buffer: require.resolve('buffer/'),
crypto: require.resolve('crypto-browserify'), crypto: require.resolve('crypto-browserify'),
stream: require.resolve('stream-browserify'), stream: require.resolve('stream-browserify'),
assert: require.resolve('assert'), assert: require.resolve('assert/'),
http: require.resolve('stream-http'), http: require.resolve('stream-http'),
https: require.resolve('https-browserify'), https: require.resolve('https-browserify'),
zlib: require.resolve('browserify-zlib') zlib: require.resolve('browserify-zlib')

View File

@ -213,7 +213,7 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@dappconnect/preview-proxy@workspace:packages/preview-proxy" resolution: "@dappconnect/preview-proxy@workspace:packages/preview-proxy"
dependencies: dependencies:
node-fetch: ^3.0.0 node-fetch: ^2.6.0
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -3245,13 +3245,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"data-uri-to-buffer@npm:^3.0.1":
version: 3.0.1
resolution: "data-uri-to-buffer@npm:3.0.1"
checksum: c59c3009686a78c071806b72f4810856ec28222f0f4e252aa495ec027ed9732298ceea99c50328cf59b151dd34cbc3ad6150bbb43e41fc56fa19f48c99e9fc30
languageName: node
linkType: hard
"data-urls@npm:^2.0.0": "data-urls@npm:^2.0.0":
version: 2.0.0 version: 2.0.0
resolution: "data-urls@npm:2.0.0" resolution: "data-urls@npm:2.0.0"
@ -4588,15 +4581,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"fetch-blob@npm:^3.1.2":
version: 3.1.2
resolution: "fetch-blob@npm:3.1.2"
dependencies:
web-streams-polyfill: ^3.0.3
checksum: 3e3717cf30da9f204aee83dded63f1a9f9c8bda7a0dc59648f89eeb1e88ee592231f4d922e1f119e1390383520768594dd3a1fe5e844f2f2f014d17ce04213a5
languageName: node
linkType: hard
"file-entry-cache@npm:^6.0.1": "file-entry-cache@npm:^6.0.1":
version: 6.0.1 version: 6.0.1
resolution: "file-entry-cache@npm:6.0.1" resolution: "file-entry-cache@npm:6.0.1"
@ -7979,13 +7963,12 @@ fsevents@~2.3.2:
languageName: node languageName: node
linkType: hard linkType: hard
"node-fetch@npm:^3.0.0": "node-fetch@npm:^2.6.0":
version: 3.0.0 version: 2.6.6
resolution: "node-fetch@npm:3.0.0" resolution: "node-fetch@npm:2.6.6"
dependencies: dependencies:
data-uri-to-buffer: ^3.0.1 whatwg-url: ^5.0.0
fetch-blob: ^3.1.2 checksum: ee8290626bdb73629c59722b75dcf4b9b6a67c1ed7eb9102e368479c4a13b56a48c2bb3ad71571e378e98c8b2c64c820e11f9cd39e4b8557dd138ad571ef9a42
checksum: 50224bf682a0bc3d44faee0f38df6269d8ae646de343595ef37f9d94b4322d3763a49819fb7b2df9330fcae16e0a20e5fb129dfed8725cf0e8f720277db7611c
languageName: node languageName: node
linkType: hard linkType: hard
@ -11219,6 +11202,13 @@ resolve@^2.0.0-next.3:
languageName: node languageName: node
linkType: hard linkType: hard
"tr46@npm:~0.0.3":
version: 0.0.3
resolution: "tr46@npm:0.0.3"
checksum: 726321c5eaf41b5002e17ffbd1fb7245999a073e8979085dacd47c4b4e8068ff5777142fc6726d6ca1fd2ff16921b48788b87225cbc57c72636f6efa8efbffe3
languageName: node
linkType: hard
"truncate-utf8-bytes@npm:^1.0.0": "truncate-utf8-bytes@npm:^1.0.0":
version: 1.0.2 version: 1.0.2
resolution: "truncate-utf8-bytes@npm:1.0.2" resolution: "truncate-utf8-bytes@npm:1.0.2"
@ -11799,10 +11789,10 @@ resolve@^2.0.0-next.3:
languageName: node languageName: node
linkType: hard linkType: hard
"web-streams-polyfill@npm:^3.0.3": "webidl-conversions@npm:^3.0.0":
version: 3.1.1 version: 3.0.1
resolution: "web-streams-polyfill@npm:3.1.1" resolution: "webidl-conversions@npm:3.0.1"
checksum: dac85f0a990fb1ddcd15e2eda8ce4696bc9bc567e34cfdaeb9e740e26417d8649a6f466468907f50fd6e09967c25e0cf1f296c30aef9650ab7b118d5f69fb176 checksum: c92a0a6ab95314bde9c32e1d0a6dfac83b578f8fa5f21e675bc2706ed6981bc26b7eb7e6a1fab158e5ce4adf9caa4a0aee49a52505d4d13c7be545f15021b17c
languageName: node languageName: node
linkType: hard linkType: hard
@ -12025,6 +12015,16 @@ resolve@^2.0.0-next.3:
languageName: node languageName: node
linkType: hard linkType: hard
"whatwg-url@npm:^5.0.0":
version: 5.0.0
resolution: "whatwg-url@npm:5.0.0"
dependencies:
tr46: ~0.0.3
webidl-conversions: ^3.0.0
checksum: b8daed4ad3356cc4899048a15b2c143a9aed0dfae1f611ebd55073310c7b910f522ad75d727346ad64203d7e6c79ef25eafd465f4d12775ca44b90fa82ed9e2c
languageName: node
linkType: hard
"whatwg-url@npm:^8.0.0, whatwg-url@npm:^8.5.0": "whatwg-url@npm:^8.0.0, whatwg-url@npm:^8.5.0":
version: 8.7.0 version: 8.7.0
resolution: "whatwg-url@npm:8.7.0" resolution: "whatwg-url@npm:8.7.0"