@sv443-network/userutils 7.2.0 → 7.2.1
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/CHANGELOG.md +6 -0
- package/dist/index.global.js +1 -1
- package/dist/lib/types.d.ts +0 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.global.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// ==UserLibrary==
|
|
9
9
|
// @name UserUtils
|
|
10
10
|
// @description Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and more
|
|
11
|
-
// @version 7.2.
|
|
11
|
+
// @version 7.2.1
|
|
12
12
|
// @license MIT
|
|
13
13
|
// @copyright Sv443 (https://github.com/Sv443)
|
|
14
14
|
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export type TrustedTypesPolicy = {
|
|
2
|
-
createHTML?: (dirty: string) => string;
|
|
3
|
-
};
|
|
4
|
-
declare global {
|
|
5
|
-
interface Window {
|
|
6
|
-
trustedTypes: {
|
|
7
|
-
createPolicy(name: string, policy: TrustedTypesPolicy): TrustedTypesPolicy;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
1
|
/** Represents any value that is either a string itself or can be converted to one (implicitly and explicitly) because it has a toString() method */
|
|
12
2
|
export type Stringifiable = string | {
|
|
13
3
|
toString(): string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sv443-network/userutils",
|
|
3
3
|
"libName": "UserUtils",
|
|
4
|
-
"version": "7.2.
|
|
4
|
+
"version": "7.2.1",
|
|
5
5
|
"description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and more",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|