Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
koishi-plugin-hisoutensoku-jammer
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
nanahira
koishi-plugin-hisoutensoku-jammer
Commits
3f80596c
Commit
3f80596c
authored
Dec 26, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Koishi rc
parent
5868caeb
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
61 deletions
+61
-61
package-lock.json
package-lock.json
+57
-57
package.json
package.json
+3
-3
src/index.ts
src/index.ts
+1
-1
No files found.
package-lock.json
View file @
3f80596c
This diff is collapsed.
Click to expand it.
package.json
View file @
3f80596c
...
@@ -25,11 +25,11 @@
...
@@ -25,11 +25,11 @@
},
},
"homepage"
:
"
https://code.mycard.moe/nanahira/koishi-plugin-hisoutensoku-jammer
"
,
"homepage"
:
"
https://code.mycard.moe/nanahira/koishi-plugin-hisoutensoku-jammer
"
,
"peerDependencies"
:
{
"peerDependencies"
:
{
"
koishi
"
:
"
^4.0.0-
beta.6
"
"
koishi
"
:
"
^4.0.0-
rc.0
"
},
},
"dependencies"
:
{
"dependencies"
:
{
"
ip
"
:
"
^1.1.5
"
,
"
ip
"
:
"
^1.1.5
"
,
"
koishi-thirdeye
"
:
"
^
5.0.5
"
,
"
koishi-thirdeye
"
:
"
^
6.0.0
"
,
"
lodash
"
:
"
^4.17.21
"
,
"
lodash
"
:
"
^4.17.21
"
,
"
moment
"
:
"
^2.29.1
"
,
"
moment
"
:
"
^2.29.1
"
,
"
source-map-support
"
:
"
^0.5.21
"
,
"
source-map-support
"
:
"
^0.5.21
"
,
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
"
eslint
"
:
"
^7.32.0
"
,
"
eslint
"
:
"
^7.32.0
"
,
"
eslint-config-prettier
"
:
"
^8.3.0
"
,
"
eslint-config-prettier
"
:
"
^8.3.0
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.1
"
,
"
eslint-plugin-prettier
"
:
"
^3.4.1
"
,
"
koishi
"
:
"
^4.0.0-
beta.6
"
,
"
koishi
"
:
"
^4.0.0-
rc.0
"
,
"
prettier
"
:
"
^2.4.1
"
,
"
prettier
"
:
"
^2.4.1
"
,
"
raw-loader
"
:
"
^4.0.2
"
,
"
raw-loader
"
:
"
^4.0.2
"
,
"
ts-loader
"
:
"
^9.2.6
"
,
"
ts-loader
"
:
"
^9.2.6
"
,
...
...
src/index.ts
View file @
3f80596c
...
@@ -96,7 +96,7 @@ export default class HisoutensokuJammerPlugin implements OnApply {
...
@@ -96,7 +96,7 @@ export default class HisoutensokuJammerPlugin implements OnApply {
if
(
url
.
startsWith
(
PROTOCOL_BASE64
))
{
if
(
url
.
startsWith
(
PROTOCOL_BASE64
))
{
return
Buffer
.
from
(
url
.
slice
(
PROTOCOL_BASE64
.
length
),
'
base64
'
);
return
Buffer
.
from
(
url
.
slice
(
PROTOCOL_BASE64
.
length
),
'
base64
'
);
}
}
const
data
=
await
this
.
ctx
.
http
.
get
.
arraybuffer
(
url
);
const
data
=
await
this
.
ctx
.
http
.
get
<
ArrayBuffer
>
(
url
,
{
responseType
:
'
arraybuffer
'
}
);
return
Buffer
.
from
(
data
);
return
Buffer
.
from
(
data
);
}
}
...
...
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