Skip to content

Commit f15f89d

Browse files
committed
chore: add missed Map.prototype.set
1 parent 5550c5f commit f15f89d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@list-kr/tinyshield",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "",
55
"type": "module",
66
"scripts": {

sources/banner.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// @downloadURL https://cdn.jsdelivr.net/npm/@list-kr/tinyshield@latest/dist/tinyShield.user.js
99
// @license MIT
1010
//
11-
// @version 1.3.0
11+
// @version 1.3.1
1212
// @author PiQuark6046 and contributors
1313
//
1414
// @match https://ygosu.com/*

sources/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Win = typeof unsafeWindow !== 'undefined' ? unsafeWindow : window
77
const OriginalArrayToString = Win.Array.prototype.toString
88
const OriginalStringIncludes = Win.String.prototype.includes
99

10-
const ProtectedFunctionStrings = ['toString', 'get']
10+
const ProtectedFunctionStrings = ['toString', 'get', 'set']
1111

1212
Win.Function.prototype.toString = new Proxy(Win.Function.prototype.toString, {
1313
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type

0 commit comments

Comments
 (0)