mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-16 03:37:36 +12:00
chore: patch tsup
This commit is contained in:
parent
fc3f0756a4
commit
fa746b079d
22
.yarn/patches/tsup-npm-6.7.0-5093540b93.patch
Normal file
22
.yarn/patches/tsup-npm-6.7.0-5093540b93.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff --git a/dist/index.js b/dist/index.js
|
||||
index 9c71a74b4dd0280cb9480d43305f6b5ffbe91d8d..f67f125eebb770169ead49196a78e3211b5dd10a 100644
|
||||
--- a/dist/index.js
|
||||
+++ b/dist/index.js
|
||||
@@ -1215,7 +1214,7 @@ var nodeProtocolPlugin = () => {
|
||||
|
||||
// src/esbuild/external.ts
|
||||
|
||||
-var NON_NODE_MODULE_RE = /^[^.\/]|^\.[^.\/]|^\.\.[^\/]/;
|
||||
+var NON_NODE_MODULE_RE = /^[A-Z]:[\\\/]|^\.{0,2}[\/]|^\.{1,2}$/;
|
||||
var externalPlugin = ({
|
||||
external,
|
||||
noExternal,
|
||||
@@ -1239,7 +1238,7 @@ var externalPlugin = ({
|
||||
if (_bundlerequire.match.call(void 0, args.path, external)) {
|
||||
return { external: true };
|
||||
}
|
||||
- if (NON_NODE_MODULE_RE.test(args.path)) {
|
||||
+ if (!NON_NODE_MODULE_RE.test(args.path)) {
|
||||
return {
|
||||
path: args.path,
|
||||
external: true
|
|
@ -68,7 +68,8 @@
|
|||
"yaml@^2.2.2": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch",
|
||||
"yaml@^1.10.2": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch",
|
||||
"yaml@^1.10.0": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch",
|
||||
"yaml@^2.1.1": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch"
|
||||
"yaml@^2.1.1": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch",
|
||||
"tsup@^6.7.0": "patch:tsup@npm%3A6.7.0#./.yarn/patches/tsup-npm-6.7.0-5093540b93.patch"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
|
38
yarn.lock
38
yarn.lock
|
@ -24441,7 +24441,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsup@npm:^6.7.0":
|
||||
"tsup@npm:6.7.0":
|
||||
version: 6.7.0
|
||||
resolution: "tsup@npm:6.7.0"
|
||||
dependencies:
|
||||
|
@ -24477,6 +24477,42 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsup@patch:tsup@npm%3A6.7.0#./.yarn/patches/tsup-npm-6.7.0-5093540b93.patch::locator=%40discordjs%2Fdiscord.js%40workspace%3A.":
|
||||
version: 6.7.0
|
||||
resolution: "tsup@patch:tsup@npm%3A6.7.0#./.yarn/patches/tsup-npm-6.7.0-5093540b93.patch::version=6.7.0&hash=73ff1a&locator=%40discordjs%2Fdiscord.js%40workspace%3A."
|
||||
dependencies:
|
||||
bundle-require: ^4.0.0
|
||||
cac: ^6.7.12
|
||||
chokidar: ^3.5.1
|
||||
debug: ^4.3.1
|
||||
esbuild: ^0.17.6
|
||||
execa: ^5.0.0
|
||||
globby: ^11.0.3
|
||||
joycon: ^3.0.1
|
||||
postcss-load-config: ^3.0.1
|
||||
resolve-from: ^5.0.0
|
||||
rollup: ^3.2.5
|
||||
source-map: 0.8.0-beta.0
|
||||
sucrase: ^3.20.3
|
||||
tree-kill: ^1.2.2
|
||||
peerDependencies:
|
||||
"@swc/core": ^1
|
||||
postcss: ^8.4.12
|
||||
typescript: ">=4.1.0"
|
||||
peerDependenciesMeta:
|
||||
"@swc/core":
|
||||
optional: true
|
||||
postcss:
|
||||
optional: true
|
||||
typescript:
|
||||
optional: true
|
||||
bin:
|
||||
tsup: dist/cli-default.js
|
||||
tsup-node: dist/cli-node.js
|
||||
checksum: 7c0a4c50725dd359f2841f0f499bc6155c350a4d8292c26ca65910be90273c19a3d644d9b7e29463400012bf9f2cd74c714b3677765fcaca64bd63b11c11e578
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsutils-etc@npm:^1.4.1":
|
||||
version: 1.4.2
|
||||
resolution: "tsutils-etc@npm:1.4.2"
|
||||
|
|
Loading…
Reference in a new issue