fix: add a patch for bns to export TCPSocket
This commit is contained in:
parent
d675a44b4e
commit
aaee3acb92
|
@ -23,7 +23,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.44",
|
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.44",
|
||||||
"@types/streamx": "^2.9.1",
|
"@types/streamx": "^2.9.1",
|
||||||
"patch-package": "^7.0.0",
|
"patch-package": "^7.0.2",
|
||||||
"presetter": "*",
|
"presetter": "*",
|
||||||
"timers-browserify": "^2.0.12",
|
"timers-browserify": "^2.0.12",
|
||||||
"vite": "^4.4.0"
|
"vite": "^4.4.0"
|
||||||
|
@ -15298,9 +15298,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/patch-package": {
|
"node_modules/patch-package": {
|
||||||
"version": "7.0.0",
|
"version": "7.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/patch-package/-/patch-package-7.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/patch-package/-/patch-package-7.0.2.tgz",
|
||||||
"integrity": "sha512-eYunHbnnB2ghjTNc5iL1Uo7TsGMuXk0vibX3RFcE/CdVdXzmdbMsG/4K4IgoSuIkLTI5oHrMQk4+NkFqSed0BQ==",
|
"integrity": "sha512-PMYfL8LXxGIRmxXLqlEaBxzKPu7/SdP13ld6GSfAUJUZRmBDPp8chZs0dpzaAFn9TSPnFiMwkC6PJt6pBiAl8Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@yarnpkg/lockfile": "^1.1.0",
|
"@yarnpkg/lockfile": "^1.1.0",
|
||||||
|
@ -15313,7 +15313,7 @@
|
||||||
"minimist": "^1.2.6",
|
"minimist": "^1.2.6",
|
||||||
"open": "^7.4.2",
|
"open": "^7.4.2",
|
||||||
"rimraf": "^2.6.3",
|
"rimraf": "^2.6.3",
|
||||||
"semver": "^5.6.0",
|
"semver": "^7.5.3",
|
||||||
"slash": "^2.0.0",
|
"slash": "^2.0.0",
|
||||||
"tmp": "^0.0.33",
|
"tmp": "^0.0.33",
|
||||||
"yaml": "^2.2.2"
|
"yaml": "^2.2.2"
|
||||||
|
@ -15389,15 +15389,6 @@
|
||||||
"rimraf": "bin.js"
|
"rimraf": "bin.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/patch-package/node_modules/semver": {
|
|
||||||
"version": "5.7.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
|
||||||
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
|
|
||||||
"dev": true,
|
|
||||||
"bin": {
|
|
||||||
"semver": "bin/semver"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/patch-package/node_modules/slash": {
|
"node_modules/patch-package/node_modules/slash": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.44",
|
"@lumeweb/presetter-kernel-module-preset": "^0.1.0-develop.44",
|
||||||
"@types/streamx": "^2.9.1",
|
"@types/streamx": "^2.9.1",
|
||||||
"patch-package": "^7.0.0",
|
"patch-package": "^7.0.2",
|
||||||
"presetter": "*",
|
"presetter": "*",
|
||||||
"timers-browserify": "^2.0.12",
|
"timers-browserify": "^2.0.12",
|
||||||
"vite": "^4.4.0"
|
"vite": "^4.4.0"
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
diff --git a/node_modules/bns/lib/internal/net.js b/node_modules/bns/lib/internal/net.js
|
||||||
|
index 4ad5ee0..beaf186 100644
|
||||||
|
--- a/node_modules/bns/lib/internal/net.js
|
||||||
|
+++ b/node_modules/bns/lib/internal/net.js
|
||||||
|
@@ -646,3 +646,4 @@ function normalize(options) {
|
||||||
|
|
||||||
|
exports.Client = Client;
|
||||||
|
exports.Server = Server;
|
||||||
|
+exports.TCPSocket = TCPSocket;
|
Loading…
Reference in New Issue