website-utilities 1.0.309 → 1.0.311
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/package.json +3 -7
- package/type.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "website-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.311",
|
|
4
4
|
"description": "extend your web app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jquery",
|
|
@@ -64,9 +64,6 @@
|
|
|
64
64
|
"update:documentation": "documentation-website",
|
|
65
65
|
"watch": "weboptimizer build --watch"
|
|
66
66
|
},
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"@types/webpack": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz"
|
|
69
|
-
},
|
|
70
67
|
"devDependencies": {
|
|
71
68
|
"@babel/eslint-parser": "*",
|
|
72
69
|
"@babel/plugin-transform-proto-to-assign": "*",
|
|
@@ -125,11 +122,10 @@
|
|
|
125
122
|
}
|
|
126
123
|
},
|
|
127
124
|
"engines": {
|
|
128
|
-
"node": ">=
|
|
129
|
-
"npm": ">=
|
|
125
|
+
"node": ">=19",
|
|
126
|
+
"npm": ">=8"
|
|
130
127
|
},
|
|
131
128
|
"resolutions": {
|
|
132
|
-
"@types/webpack": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
|
|
133
129
|
"colors": "1.4.0"
|
|
134
130
|
},
|
|
135
131
|
"sideEffects": false,
|
package/type.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DomNodes as BaseDomNodes, FirstParameter, Mapping, Options as BaseOptio
|
|
|
3
3
|
import { Options as InternationalisationOptions } from 'internationalisation/type';
|
|
4
4
|
import { SpinnerOptions } from 'spin.js';
|
|
5
5
|
import WebsiteUtilities from './index';
|
|
6
|
-
export
|
|
6
|
+
export type WebsiteUtilitiesFunction = ((..._parameters: Array<unknown>) => unknown) & {
|
|
7
7
|
class: typeof WebsiteUtilities;
|
|
8
8
|
};
|
|
9
9
|
declare global {
|
|
@@ -12,7 +12,7 @@ declare global {
|
|
|
12
12
|
}
|
|
13
13
|
const dataLayer: Array<unknown>;
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type DomNodes<Type = string> = BaseDomNodes<Type> & {
|
|
16
16
|
mediaQueryIndicator: Type;
|
|
17
17
|
scrollToTopButton: Type;
|
|
18
18
|
startUpAnimationClassPrefix: Type;
|
|
@@ -63,8 +63,8 @@ export interface DefaultOptions {
|
|
|
63
63
|
windowLoadingSpinner: SpinnerOptions;
|
|
64
64
|
windowLoadedTimeoutAfterDocLoadedInMSec: number;
|
|
65
65
|
}
|
|
66
|
-
export
|
|
67
|
-
export
|
|
66
|
+
export type Options = BaseOptions & DefaultOptions;
|
|
67
|
+
export type TrackingItem = {
|
|
68
68
|
context: string;
|
|
69
69
|
event: string;
|
|
70
70
|
eventType: string;
|