@filteringdev/tinyshield 2.0.22 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +373 -202
- package/README.ja.md +1 -4
- package/README.ko.md +1 -4
- package/README.md +1 -4
- package/dist/interface.js +9 -0
- package/dist/interface.js.map +2 -2
- package/dist/tinyshield.user.js +11395 -0
- package/dist/types/interface.d.ts +9 -0
- package/dist/types/src/as-weakmap.d.ts +9 -0
- package/dist/types/src/index.d.ts +9 -0
- package/dist/types/src/utils.d.ts +9 -0
- package/package.json +12 -6
- package/dist/tinyShield.user.js +0 -1645
|
@@ -1 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license MPL-2.0
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
6
|
+
*
|
|
7
|
+
* Contributors:
|
|
8
|
+
* - See Git history at https://github.com/FilteringDev/tinyShield for detailed authorship information.
|
|
9
|
+
*/
|
|
1
10
|
export { RunTinyShieldUserscript } from './src/index.js';
|
|
@@ -1 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license MPL-2.0
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
6
|
+
*
|
|
7
|
+
* Contributors:
|
|
8
|
+
* - See Git history at https://github.com/FilteringDev/tinyShield for detailed authorship information.
|
|
9
|
+
*/
|
|
1
10
|
export declare function CheckDepthInASWeakMap(Args: [object, unknown]): boolean;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license MPL-2.0
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
6
|
+
*
|
|
7
|
+
* Contributors:
|
|
8
|
+
* - See Git history at https://github.com/FilteringDev/tinyShield for detailed authorship information.
|
|
9
|
+
*/
|
|
1
10
|
export declare const OriginalRegExpTest: (string: string) => boolean;
|
|
2
11
|
export declare function RunTinyShieldUserscript(BrowserWindow: typeof window, UserscriptName?: string): void;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license MPL-2.0
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
6
|
+
*
|
|
7
|
+
* Contributors:
|
|
8
|
+
* - See Git history at https://github.com/FilteringDev/tinyShield for detailed authorship information.
|
|
9
|
+
*/
|
|
1
10
|
export declare function CountCommonStrings(ArrayA: string[], ArrayB: string[]): number;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@filteringdev/tinyshield",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build:interface": "esbuild sources/interface.ts --bundle --format=esm --splitting --sourcemap --target=es2024 --external:/node_modules --outdir=dist && tsc sources/interface.ts --outDir dist/types --declaration --emitDeclarationOnly",
|
|
8
|
-
"build:userscript": "
|
|
8
|
+
"build:userscript": "tsx builder.ts -- production",
|
|
9
9
|
"build": "npm run build:interface && npm run build:userscript",
|
|
10
|
-
"debug": "
|
|
10
|
+
"debug": "tsx builder.ts -- development",
|
|
11
11
|
"lint": "tsc --noEmit && eslint sources/**/*.ts"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
@@ -27,15 +27,21 @@
|
|
|
27
27
|
"type": "git",
|
|
28
28
|
"url": "git+https://github.com/FilteringDev/tinyShield.git"
|
|
29
29
|
},
|
|
30
|
-
"license": "
|
|
30
|
+
"license": "MPL-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@types/node": "^24.9.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"
|
|
35
|
+
"@npmcli/package-json": "^7.0.4",
|
|
36
|
+
"@types/npmcli__package-json": "^4.0.4",
|
|
37
|
+
"@types/semver": "^7.7.1",
|
|
38
|
+
"esbuild": "^0.27.0",
|
|
36
39
|
"eslint": "^9.38.0",
|
|
40
|
+
"semver": "^7.7.3",
|
|
41
|
+
"tsx": "^4.21.0",
|
|
37
42
|
"typescript": "^5.9.3",
|
|
38
|
-
"typescript-eslint": "^8.46.2"
|
|
43
|
+
"typescript-eslint": "^8.46.2",
|
|
44
|
+
"zod": "^4.3.5"
|
|
39
45
|
},
|
|
40
46
|
"packageManager": "npm@11.5.1+"
|
|
41
47
|
}
|