Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygoreplay-plugin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygoreplay-plugin
Commits
d651f653
Commit
d651f653
authored
Oct 11, 2021
by
Sophia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
downgrade node-fetch module to the version that isn't using esm
parent
8858e05c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
28 deletions
+28
-28
package.json
package.json
+1
-1
src/index.ts
src/index.ts
+2
-2
tsconfig.json
tsconfig.json
+3
-3
yarn.lock
yarn.lock
+22
-22
No files found.
package.json
View file @
d651f653
...
@@ -22,6 +22,6 @@
...
@@ -22,6 +22,6 @@
"dependencies"
:
{
"dependencies"
:
{
"
form-data
"
:
"
^4.0.0
"
,
"
form-data
"
:
"
^4.0.0
"
,
"
moment
"
:
"
^2.29.1
"
,
"
moment
"
:
"
^2.29.1
"
,
"
node-fetch
"
:
"
^
3.0.0
"
"
node-fetch
"
:
"
^
2.6.5
"
}
}
}
}
src/index.ts
View file @
d651f653
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-var-requires */
import
moment
from
"
moment
"
;
import
FormData
from
"
form-data
"
;
import
fetch
from
"
node-fetch
"
;
import
fetch
from
"
node-fetch
"
;
import
*
as
moment
from
"
moment
"
;
import
*
as
FormData
from
"
form-data
"
;
interface
YGOPro
{
interface
YGOPro
{
stoc_follow_after
(
msg
:
string
,
synchronous
:
boolean
,
callback
:
(
buffer
:
Buffer
,
info
:
any
,
client
:
any
,
server
:
any
,
datas
:
any
)
=>
Promise
<
boolean
>
):
void
;
stoc_follow_after
(
msg
:
string
,
synchronous
:
boolean
,
callback
:
(
buffer
:
Buffer
,
info
:
any
,
client
:
any
,
server
:
any
,
datas
:
any
)
=>
Promise
<
boolean
>
):
void
;
...
...
tsconfig.json
View file @
d651f653
...
@@ -5,14 +5,14 @@
...
@@ -5,14 +5,14 @@
"removeComments"
:
true
,
"removeComments"
:
true
,
"emitDecoratorMetadata"
:
true
,
"emitDecoratorMetadata"
:
true
,
"experimentalDecorators"
:
true
,
"experimentalDecorators"
:
true
,
"esModuleInterop"
:
true
,
"allowSyntheticDefaultImports"
:
true
,
"allowSyntheticDefaultImports"
:
true
,
"target"
:
"es2017"
,
"target"
:
"ES2015"
,
"lib"
:
[
"ES2015"
,
"ES2015.Promise"
],
"sourceMap"
:
false
,
"sourceMap"
:
false
,
"outDir"
:
"./dist"
,
"outDir"
:
"./dist"
,
"baseUrl"
:
"./"
,
"baseUrl"
:
"./"
,
"incremental"
:
true
,
"incremental"
:
true
,
"tsBuildInfoFile"
:
"./tsconfig.tsbuildinfo"
,
"tsBuildInfoFile"
:
"./tsconfig.tsbuildinfo"
},
},
"exclude"
:
[
"node_modules"
]
"exclude"
:
[
"node_modules"
]
}
}
yarn.lock
View file @
d651f653
...
@@ -316,11 +316,6 @@ cross-spawn@^7.0.2:
...
@@ -316,11 +316,6 @@ cross-spawn@^7.0.2:
shebang-command "^2.0.0"
shebang-command "^2.0.0"
which "^2.0.1"
which "^2.0.1"
data-uri-to-buffer@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636"
integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==
debug@^4.0.1, debug@^4.1.1, debug@^4.3.1:
debug@^4.0.1, debug@^4.1.1, debug@^4.3.1:
version "4.3.2"
version "4.3.2"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
...
@@ -540,13 +535,6 @@ fastq@^1.6.0:
...
@@ -540,13 +535,6 @@ fastq@^1.6.0:
dependencies:
dependencies:
reusify "^1.0.4"
reusify "^1.0.4"
fetch-blob@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.1.2.tgz#6bc438675f3851ecea51758ac91f6a1cd1bacabd"
integrity sha512-hunJbvy/6OLjCD0uuhLdp0mMPzP/yd2ssd1t2FCJsaA7wkWhpbp9xfuNVpv7Ll4jFhzp6T4LAupSiV9uOeg0VQ==
dependencies:
web-streams-polyfill "^3.0.3"
file-entry-cache@^6.0.1:
file-entry-cache@^6.0.1:
version "6.0.1"
version "6.0.1"
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
...
@@ -809,13 +797,12 @@ natural-compare@^1.4.0:
...
@@ -809,13 +797,12 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
node-fetch@^
3.0.0
:
node-fetch@^
2.6.5
:
version "
3.0.0
"
version "
2.6.5
"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-
3.0.0.tgz#79da7146a520036f2c5f644e4a26095f17e411ea
"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-
2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd
"
integrity sha512-
bKMI+C7/T/SPU1lKnbQbwxptpCrG9ashG+VkytmXCPZyuM9jB6VU+hY0oi4lC8LxTtAeWdckNCTa3nrGsAdA3
Q==
integrity sha512-
mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOp
Q==
dependencies:
dependencies:
data-uri-to-buffer "^3.0.1"
whatwg-url "^5.0.0"
fetch-blob "^3.1.2"
once@^1.3.0:
once@^1.3.0:
version "1.4.0"
version "1.4.0"
...
@@ -1026,6 +1013,11 @@ to-regex-range@^5.0.1:
...
@@ -1026,6 +1013,11 @@ to-regex-range@^5.0.1:
dependencies:
dependencies:
is-number "^7.0.0"
is-number "^7.0.0"
tr46@~0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
tslib@^1.8.1:
tslib@^1.8.1:
version "1.14.1"
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
...
@@ -1067,10 +1059,18 @@ v8-compile-cache@^2.0.3:
...
@@ -1067,10 +1059,18 @@ v8-compile-cache@^2.0.3:
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==
web-streams-polyfill@^3.0.3:
webidl-conversions@^3.0.0:
version "3.1.1"
version "3.0.1"
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.1.1.tgz#1516f2d4ea8f1bdbfed15eb65cb2df87098c8364"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
integrity sha512-Czi3fG883e96T4DLEPRvufrF2ydhOOW1+1a6c3gNjH2aIh50DNFBdfwh2AKoOf1rXvpvavAoA11Qdq9+BKjE0Q==
integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
whatwg-url@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0=
dependencies:
tr46 "~0.0.3"
webidl-conversions "^3.0.0"
which@^2.0.1:
which@^2.0.1:
version "2.0.2"
version "2.0.2"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment