@sv443-network/userutils 10.0.0 → 10.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/CHANGELOG.md +12 -0
- package/dist/UserUtils.cjs +1366 -689
- package/dist/UserUtils.mjs +1366 -689
- package/dist/UserUtils.umd.js +1421 -755
- package/dist/lib/dom.d.ts +0 -6
- package/package.json +3 -3
package/dist/lib/dom.d.ts
CHANGED
|
@@ -32,12 +32,6 @@ export declare function preloadImages(srcUrls: string[], rejects?: boolean): Pro
|
|
|
32
32
|
* @param additionalProps Additional properties to set on the anchor element (only applies when `GM.openInTab` is not available)
|
|
33
33
|
*/
|
|
34
34
|
export declare function openInNewTab(href: string, background?: boolean, additionalProps?: Partial<HTMLAnchorElement>): void;
|
|
35
|
-
/** Add stackTraceLimit to ErrorConstructor */
|
|
36
|
-
declare global {
|
|
37
|
-
interface ErrorConstructor {
|
|
38
|
-
stackTraceLimit: number;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
35
|
/**
|
|
42
36
|
* Intercepts the specified event on the passed object and prevents it from being called if the called {@linkcode predicate} function returns a truthy value.
|
|
43
37
|
* If no predicate is specified, all events will be discarded.
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sv443-network/userutils",
|
|
3
3
|
"libName": "UserUtils",
|
|
4
|
-
"version": "10.0.
|
|
4
|
+
"version": "10.0.2",
|
|
5
5
|
"description": "General purpose DOM/GreaseMonkey library that allows you to register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and much more",
|
|
6
6
|
"main": "dist/UserUtils.mjs",
|
|
7
7
|
"module": "dist/UserUtils.mjs",
|
|
8
8
|
"types": "dist/lib/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"browser": "./dist/UserUtils.
|
|
11
|
+
"browser": "./dist/UserUtils.mjs",
|
|
12
12
|
"types": "./dist/lib/index.d.ts",
|
|
13
13
|
"require": "./dist/UserUtils.cjs",
|
|
14
14
|
"import": "./dist/UserUtils.mjs"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Sv443-Network/UserUtils",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@sv443-network/coreutils": "3.0.
|
|
36
|
+
"@sv443-network/coreutils": "3.0.2",
|
|
37
37
|
"nanoevents": "9.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|