clientnode 4.0.1394 → 4.0.1396
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/dist/filesystem.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/scope.js +1 -1
- package/dist/string.d.ts +45 -45
- package/dist/utility.d.ts +15 -3
- package/dist/utility.js +1 -1
- package/package.json +8 -8
package/dist/string.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const ALLOWED_VARIABLE_SYMBOLS = "0-9a-zA-Z_$";
|
|
|
6
6
|
export declare const ALLOWED_STARTING_VARIABLE_SYMBOLS = "a-zA-Z_$";
|
|
7
7
|
export declare const FIX_ENCODING_ERROR_MAPPING: readonly [readonly ["Ã\\x84", "Ä"], readonly ["Ã\\x96", "Ö"], readonly ["Ã\\x9c", "Ü"], readonly ["ä", "ä"], readonly ["ö", "ö"], readonly ["ü", "ü"], readonly ["\\x96", "-"], readonly ["é", "é"], readonly ["è", "e"], readonly ["ô", "o"], readonly ["à ", "á"], readonly ["ø", "ø"], readonly ["Ã\\x9f", "ß"], readonly ["Ã", "ß"]];
|
|
8
8
|
/**
|
|
9
|
-
* Translates given string into the regular expression validated
|
|
9
|
+
* Translates a given string into the regular expression validated
|
|
10
10
|
* representation.
|
|
11
11
|
* @param value - String to convert.
|
|
12
12
|
* @param excludeSymbols - Symbols not to escape.
|
|
@@ -14,13 +14,13 @@ export declare const FIX_ENCODING_ERROR_MAPPING: readonly [readonly ["Ã\\x84",
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const escapeRegularExpressions: (value: string, excludeSymbols?: Array<string>) => string;
|
|
16
16
|
/**
|
|
17
|
-
* Translates given name into a valid
|
|
17
|
+
* Translates a given name into a valid JavaScript one.
|
|
18
18
|
* @param name - Name to convert.
|
|
19
19
|
* @returns Converted name is returned.
|
|
20
20
|
*/
|
|
21
21
|
export declare const convertToValidVariableName: (name: string) => string;
|
|
22
22
|
/**
|
|
23
|
-
* This method is intended for encoding *key* or *value* parts of query
|
|
23
|
+
* This method is intended for encoding *key* or *value* parts of a query
|
|
24
24
|
* component. We need a custom method because "encodeURIComponent()" is too
|
|
25
25
|
* aggressive and encodes stuff that doesn't have to be encoded per
|
|
26
26
|
* "http://tools.ietf.org/html/rfc3986:".
|
|
@@ -33,22 +33,22 @@ export declare const encodeURIComponentExtended: (url: string, encodeSpaces?: bo
|
|
|
33
33
|
/**
|
|
34
34
|
* Appends a path selector to the given path if there isn't one yet.
|
|
35
35
|
* @param path - The path for appending a selector.
|
|
36
|
-
* @param pathSeparator - The selector for appending to path.
|
|
36
|
+
* @param pathSeparator - The selector for appending to a path.
|
|
37
37
|
* @returns The appended path.
|
|
38
38
|
*/
|
|
39
39
|
export declare const addSeparatorToPath: (path: string, pathSeparator?: string) => string;
|
|
40
40
|
/**
|
|
41
|
-
* Checks if given path has given path prefix.
|
|
41
|
+
* Checks if a given path has given path prefix.
|
|
42
42
|
* @param prefix - Path prefix to search for.
|
|
43
43
|
* @param path - Path to search in.
|
|
44
|
-
* @param separator - Delimiter to use in path (default is the posix
|
|
44
|
+
* @param separator - Delimiter to use in a path (default is the posix
|
|
45
45
|
* conform slash).
|
|
46
|
-
* @returns Value "true" if given prefix
|
|
46
|
+
* @returns Value "true" if given prefix occurs and "false" otherwise.
|
|
47
47
|
*/
|
|
48
48
|
export declare const hasPathPrefix: (prefix?: unknown, path?: string, separator?: string) => boolean;
|
|
49
49
|
/**
|
|
50
50
|
* Extracts domain name from given url. If no explicit domain name given
|
|
51
|
-
* current domain name will be assumed. If no parameter given current
|
|
51
|
+
* current domain name will be assumed. If no parameter is given, the current
|
|
52
52
|
* domain name will be determined.
|
|
53
53
|
* @param url - The url to extract domain from.
|
|
54
54
|
* @param fallback - The fallback host name if no one exits in given url
|
|
@@ -57,20 +57,20 @@ export declare const hasPathPrefix: (prefix?: unknown, path?: string, separator?
|
|
|
57
57
|
*/
|
|
58
58
|
export declare const getDomainName: (url?: string, fallback?: string) => string;
|
|
59
59
|
/**
|
|
60
|
-
* Extracts port number from given url. If no explicit port number given
|
|
61
|
-
* and no fallback is defined current port number will be assumed for local
|
|
60
|
+
* Extracts port number from given url. If no explicit port number is given
|
|
61
|
+
* and no fallback is defined, the current port number will be assumed for local
|
|
62
62
|
* links. For external links 80 will be assumed for http protocols and 443
|
|
63
63
|
* for https protocols.
|
|
64
64
|
* @param url - The url to extract port from.
|
|
65
65
|
* @param fallback - Fallback port number if no explicit one was found.
|
|
66
|
-
* Default is derived from current protocol name.
|
|
66
|
+
* Default is derived from the current protocol name.
|
|
67
67
|
* @returns Extracted port number.
|
|
68
68
|
*/
|
|
69
69
|
export declare const getPortNumber: (url?: string, fallback?: null | number) => null | number;
|
|
70
70
|
/**
|
|
71
71
|
* Extracts protocol name from given url. If no explicit url is given,
|
|
72
|
-
* current protocol will be assumed. If no parameter given current
|
|
73
|
-
* number will be determined.
|
|
72
|
+
* the current protocol will be assumed. If no parameter is given, the current
|
|
73
|
+
* protocol number will be determined.
|
|
74
74
|
* @param url - The url to extract protocol from.
|
|
75
75
|
* @param fallback - Fallback port to use if no protocol exists in given
|
|
76
76
|
* url (default is current protocol).
|
|
@@ -80,33 +80,33 @@ export declare const getProtocolName: (url?: string, fallback?: string) => strin
|
|
|
80
80
|
/**
|
|
81
81
|
* Read a page's GET URL variables and return them as an associative array
|
|
82
82
|
* and preserves ordering.
|
|
83
|
-
* @param keyToGet - If provided the corresponding value for given key is
|
|
83
|
+
* @param keyToGet - If provided the corresponding value for a given key is
|
|
84
84
|
* returned or full object otherwise.
|
|
85
85
|
* @param allowDuplicates - Indicates whether to return arrays of values or
|
|
86
86
|
* single values. If set to "false" (default) last values will overwrite
|
|
87
87
|
* preceding values.
|
|
88
88
|
* @param givenInput - An alternative input to the url search parameter. If
|
|
89
|
-
* "#" is given the complete current hashtag will be interpreted as url and
|
|
90
|
-
* search parameter will be extracted from there. If "&" is given classical
|
|
91
|
-
* search parameter and hash parameter will be taken in account. If a
|
|
92
|
-
* string is given this will be analyzed. The default is to take
|
|
93
|
-
* part into account.
|
|
89
|
+
* "#" is given, the complete current hashtag will be interpreted as url and
|
|
90
|
+
* search parameter will be extracted from there. If "&" is given a classical
|
|
91
|
+
* search parameter, and hash parameter will be taken in an account. If a
|
|
92
|
+
* search string is given, this will be analyzed. The default is to take a
|
|
93
|
+
* given search part into account.
|
|
94
94
|
* @param subDelimiter - Defines which sequence indicates the start of
|
|
95
95
|
* parameter in a hash part of the url.
|
|
96
96
|
* @param hashedPathIndicator - If defined and given hash starts with this
|
|
97
|
-
* indicator given hash will be interpreted as path containing search and
|
|
97
|
+
* indicator, given hash will be interpreted as a path containing search and
|
|
98
98
|
* hash parts.
|
|
99
99
|
* @param givenSearch - Search part to take into account defaults to
|
|
100
100
|
* current url search part.
|
|
101
101
|
* @param givenHash - Hash part to take into account defaults to current
|
|
102
102
|
* url hash part.
|
|
103
|
-
* @returns Returns the current get array or requested value. If requested
|
|
104
|
-
* key doesn't exist "undefined" is returned.
|
|
103
|
+
* @returns Returns the current get array or requested value. If the requested
|
|
104
|
+
* key doesn't exist, "undefined" is returned.
|
|
105
105
|
*/
|
|
106
106
|
export declare const getURLParameter: (keyToGet?: null | string, allowDuplicates?: boolean, givenInput?: null | string, subDelimiter?: string, hashedPathIndicator?: string, givenSearch?: null | string, givenHash?: null | string) => Array<string> | null | QueryParameters | string;
|
|
107
107
|
/**
|
|
108
|
-
* Checks if given url points to another "service" than second given url.
|
|
109
|
-
* If no second given url provided current url will be assumed.
|
|
108
|
+
* Checks if given url points to another "service" than the second given url.
|
|
109
|
+
* If no second given url is provided, the current url will be assumed.
|
|
110
110
|
* @param url - URL to check against second url.
|
|
111
111
|
* @param referenceURL - URL to check against first url.
|
|
112
112
|
* @returns Returns "true" if given first url has same domain as given
|
|
@@ -126,7 +126,7 @@ export declare const normalizeURL: (givenURL: unknown) => string;
|
|
|
126
126
|
*/
|
|
127
127
|
export declare const representURL: (url: unknown) => string;
|
|
128
128
|
/**
|
|
129
|
-
* Converts a camel
|
|
129
|
+
* Converts a camel-cased string to its delimited string version.
|
|
130
130
|
* @param value - The string to format.
|
|
131
131
|
* @param delimiter - Defines delimiter string.
|
|
132
132
|
* @param abbreviations - Collection of shortcut words to represent uppercased.
|
|
@@ -134,7 +134,7 @@ export declare const representURL: (url: unknown) => string;
|
|
|
134
134
|
*/
|
|
135
135
|
export declare const camelCaseToDelimited: (value: string, delimiter?: string, abbreviations?: Array<string> | null) => string;
|
|
136
136
|
/**
|
|
137
|
-
* Converts a string to its
|
|
137
|
+
* Converts a string to its capitalized representation.
|
|
138
138
|
* @param string - The string to format.
|
|
139
139
|
* @returns The formatted string.
|
|
140
140
|
*/
|
|
@@ -146,7 +146,7 @@ export declare const capitalize: (string: string) => string;
|
|
|
146
146
|
*/
|
|
147
147
|
export declare const compressStyleValue: (styleValue: string) => string;
|
|
148
148
|
/**
|
|
149
|
-
* Decodes all html symbols in text nodes in given html string.
|
|
149
|
+
* Decodes all html symbols in text nodes in a given html string.
|
|
150
150
|
* @param htmlString - HTML string to decode.
|
|
151
151
|
* @returns Decoded html string.
|
|
152
152
|
*/
|
|
@@ -164,7 +164,7 @@ export declare const decodeHTMLEntities: (htmlString: string) => null | string;
|
|
|
164
164
|
*/
|
|
165
165
|
export declare const delimitedToCamelCase: (value: string, delimiter?: string, abbreviations?: Array<string> | null, preserveWrongFormattedAbbreviations?: boolean, removeMultipleDelimiter?: boolean) => string;
|
|
166
166
|
/**
|
|
167
|
-
* Compiles a given string as expression with given scope names.
|
|
167
|
+
* Compiles a given string as an expression with given scope names.
|
|
168
168
|
* @param expression - The string to interpret.
|
|
169
169
|
* @param scope - Scope to extract names from.
|
|
170
170
|
* @param execute - Indicates whether to execute or evaluate.
|
|
@@ -176,25 +176,25 @@ export declare const delimitedToCamelCase: (value: string, delimiter?: string, a
|
|
|
176
176
|
*/
|
|
177
177
|
export declare const compile: <T = string, N extends Array<string> = Array<string>>(expression: string, scope?: Mapping<unknown> | N | N[number] | string, execute?: boolean, removeGlobalScope?: boolean, binding?: unknown) => CompilationResult<T, N>;
|
|
178
178
|
/**
|
|
179
|
-
* Evaluates a given string as expression against given scope.
|
|
179
|
+
* Evaluates a given string as an expression against a given scope.
|
|
180
180
|
* @param expression - The string to interpret.
|
|
181
181
|
* @param scope - Scope to render against.
|
|
182
182
|
* @param execute - Indicates whether to execute or evaluate.
|
|
183
183
|
* @param removeGlobalScope - Indicates whether to shadow global variables via
|
|
184
184
|
* "undefined".
|
|
185
185
|
* @param binding - Object to apply as "this" in evaluation scope.
|
|
186
|
-
* @returns Object with error message during parsing / running or result.
|
|
186
|
+
* @returns Object with an error message during parsing / running or result.
|
|
187
187
|
*/
|
|
188
188
|
export declare const evaluate: <T = string, S extends object = object>(expression: string, scope?: S, execute?: boolean, removeGlobalScope?: boolean, binding?: unknown) => EvaluationResult<T>;
|
|
189
189
|
/**
|
|
190
|
-
* Finds the string match of given query in given target text by applying
|
|
191
|
-
*
|
|
190
|
+
* Finds the string match of a given query in a given target text by applying a
|
|
191
|
+
* given normalization function to target and query.
|
|
192
192
|
* @param target - Target to search in.
|
|
193
193
|
* @param query - Search string to search for.
|
|
194
|
-
* @param normalizer - Function to use as
|
|
194
|
+
* @param normalizer - Function to use as normalization for queries and search
|
|
195
195
|
* targets.
|
|
196
|
-
* @param skipTagDelimitedParts - Indicates whether to for example ignore
|
|
197
|
-
* tags via "['<', '>']" (the default).
|
|
196
|
+
* @param skipTagDelimitedParts - Indicates whether to, for example, ignore
|
|
197
|
+
* html tags via "['<', '>']" (the default).
|
|
198
198
|
* @returns Start and end index of matching range.
|
|
199
199
|
*/
|
|
200
200
|
export declare const findNormalizedMatchRange: (target: unknown, query: unknown, normalizer?: (value: unknown) => string, skipTagDelimitedParts?: null | [string, string]) => Array<number> | null;
|
|
@@ -234,20 +234,20 @@ export declare const maskForRegularExpression: (value: string) => string;
|
|
|
234
234
|
*/
|
|
235
235
|
export declare const lowerCase: (string: string) => string;
|
|
236
236
|
/**
|
|
237
|
-
* Wraps given mark strings in given target with given marker.
|
|
237
|
+
* Wraps given mark strings in a given target with a given marker.
|
|
238
238
|
* @param target - String to search for marker.
|
|
239
239
|
* @param givenWords - String or array of strings to search in target for.
|
|
240
240
|
* @param givenOptions - Defines highlighting behavior.
|
|
241
241
|
* @param givenOptions.marker - HTML template string to mark.
|
|
242
|
-
* @param givenOptions.normalizer - Pure
|
|
242
|
+
* @param givenOptions.normalizer - Pure normalization function to use before
|
|
243
243
|
* searching for matches.
|
|
244
|
-
* @param givenOptions.skipTagDelimitedParts - Indicates whether to for
|
|
245
|
-
* ignore html tags via "['<', '>']" (the default).
|
|
244
|
+
* @param givenOptions.skipTagDelimitedParts - Indicates whether to, for
|
|
245
|
+
* example, ignore html tags via "['<', '>']" (the default).
|
|
246
246
|
* @returns Processed result.
|
|
247
247
|
*/
|
|
248
248
|
export declare const mark: (target: unknown, givenWords?: Array<string> | string, givenOptions?: Partial<StringMarkOptions>) => unknown;
|
|
249
249
|
/**
|
|
250
|
-
* Normalizes given phone number for automatic dialing or comparison.
|
|
250
|
+
* Normalizes a given phone number for automatic dialing or comparison.
|
|
251
251
|
* @param value - Number to normalize.
|
|
252
252
|
* @param dialable - Indicates whether the result should be dialed or
|
|
253
253
|
* represented as lossless data.
|
|
@@ -255,14 +255,14 @@ export declare const mark: (target: unknown, givenWords?: Array<string> | string
|
|
|
255
255
|
*/
|
|
256
256
|
export declare const normalizePhoneNumber: (value: unknown, dialable?: boolean) => string;
|
|
257
257
|
/**
|
|
258
|
-
* Normalizes given zip code for automatic address processing.
|
|
258
|
+
* Normalizes a given zip code for automatic address processing.
|
|
259
259
|
* @param value - Number to normalize.
|
|
260
260
|
* @returns Normalized number.
|
|
261
261
|
*/
|
|
262
262
|
export declare const normalizeZipCode: (value: unknown) => string;
|
|
263
263
|
/**
|
|
264
|
-
* Converts given serialized, base64 encoded or file path given object into a
|
|
265
|
-
* native
|
|
264
|
+
* Converts a given serialized, base64 encoded or file path given object into a
|
|
265
|
+
* native JavaScript one if possible.
|
|
266
266
|
* @param serializedObject - Object as string.
|
|
267
267
|
* @param scope - An optional scope which will be used to evaluate given object
|
|
268
268
|
* in.
|
|
@@ -271,7 +271,7 @@ export declare const normalizeZipCode: (value: unknown) => string;
|
|
|
271
271
|
*/
|
|
272
272
|
export declare const parseEncodedObject: <T = PlainObject>(serializedObject: string, scope?: Mapping<unknown>, name?: string) => null | T;
|
|
273
273
|
/**
|
|
274
|
-
* Represents given phone number. NOTE: Currently only support
|
|
274
|
+
* Represents a given phone number. NOTE: Currently only support German phone
|
|
275
275
|
* numbers.
|
|
276
276
|
* @param value - Number to format.
|
|
277
277
|
* @returns Formatted number.
|
|
@@ -291,7 +291,7 @@ export declare const sliceAllExceptNumberAndLastSeparator: (value: string) => st
|
|
|
291
291
|
*/
|
|
292
292
|
export declare const normalizeDomNodeSelector: (selector: string, selectorPrefix?: string) => string;
|
|
293
293
|
/**
|
|
294
|
-
* Abbreviates given string if it excesses a given limit.
|
|
294
|
+
* Abbreviates a given string if it excesses a given limit.
|
|
295
295
|
* @param value - String to abbreviate.
|
|
296
296
|
* @param limit - Maximum length of processed string.
|
|
297
297
|
* @returns Abbreviated given string.
|
package/dist/utility.d.ts
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { TimeoutPromise } from './type';
|
|
2
2
|
/**
|
|
3
|
-
* Prevents event functions from triggering
|
|
4
|
-
* span between each function call. Additional arguments given to this
|
|
5
|
-
*
|
|
3
|
+
* Prevents event functions from triggering too often by defining a minimal
|
|
4
|
+
* span between each function call. Additional arguments given to this function
|
|
5
|
+
* will be forwarded to the given event function call.
|
|
6
|
+
* @param callback - The function to call debounced.
|
|
7
|
+
* @param thresholdInMilliseconds - The minimum time span between each
|
|
8
|
+
* function call.
|
|
9
|
+
* @param additionalArguments - Additional arguments to forward to given
|
|
10
|
+
* function.
|
|
11
|
+
* @returns Returns the wrapped method.
|
|
12
|
+
*/
|
|
13
|
+
export declare const trailingThrottle: <T = unknown>(callback: (...parameters: Array<unknown>) => T, thresholdInMilliseconds?: number, ...additionalArguments: Array<unknown>) => (...parameters: Array<unknown>) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Prevents event functions from triggering too close after each trigger by
|
|
16
|
+
* defining a minimal span between each function call. Additional arguments
|
|
17
|
+
* given to this function will be forwarded to the given event function call.
|
|
6
18
|
* @param callback - The function to call debounced.
|
|
7
19
|
* @param thresholdInMilliseconds - The minimum time span between each
|
|
8
20
|
* function call.
|
package/dist/utility.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(this,function(){return function(){var __webpack_modules__={1:function(e,r,n){n.d(r,{NOOP:function(){return c}});var t,o,u=n(5);e=n.hmd(e);var i="undefined"==typeof globalThis?void 0===window?void 0===n.g?e:Object.prototype.hasOwnProperty.call(n.g,"window")?n.g.window:n.g:window:globalThis;i.fetch=i.fetch?i.fetch.bind(i):null!==(t=null==(o=(0,u.optionalRequire)("node-fetch"))?void 0:o.default)&&void 0!==t?t:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return u.currentImport?(0,u.currentImport)("node-fetch").then(function(e){var n;return(n=e).default.apply(n,r)}):null};var c=function(){}},3:function(e,r,n){n.d(r,{isFunction:function(){return t}});var t=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},5:function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}},clearRequireCache=function(e){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c);for(var r={},n=0,t=Object.entries(e);n<t.length;n++){var o=t[n],u=o[0],i=o[1];r[u]=i,delete e[u]}return r},restoreRequireCache=function(e,r){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c),clearRequireCache();for(var n=0,t=Object.entries(r);n<t.length;n++){var o=t[n],u=o[0],i=o[1];e[u]=i}},isolatedRequire=function(e,r){void 0===r&&(r=currentRequire||__webpack_require__(6));var n=clearRequireCache(r.cache);try{return r(e)}catch(e){throw e}finally{restoreRequireCache(r.cache,n)}}},15:function(e,r,n){n.r(r),n.d(r,{debounce:function(){return
|
|
1
|
+
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(this,function(){return function(){var __webpack_modules__={1:function(e,r,n){n.d(r,{NOOP:function(){return c}});var t,o,u=n(5);e=n.hmd(e);var i="undefined"==typeof globalThis?void 0===window?void 0===n.g?e:Object.prototype.hasOwnProperty.call(n.g,"window")?n.g.window:n.g:window:globalThis;i.fetch=i.fetch?i.fetch.bind(i):null!==(t=null==(o=(0,u.optionalRequire)("node-fetch"))?void 0:o.default)&&void 0!==t?t:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return u.currentImport?(0,u.currentImport)("node-fetch").then(function(e){var n;return(n=e).default.apply(n,r)}):null};var c=function(){}},3:function(e,r,n){n.d(r,{isFunction:function(){return t}});var t=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},5:function(module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}},clearRequireCache=function(e){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c);for(var r={},n=0,t=Object.entries(e);n<t.length;n++){var o=t[n],u=o[0],i=o[1];r[u]=i,delete e[u]}return r},restoreRequireCache=function(e,r){void 0===e&&(e=(null==currentRequire?void 0:currentRequire.cache)||__webpack_require__.c),clearRequireCache();for(var n=0,t=Object.entries(r);n<t.length;n++){var o=t[n],u=o[0],i=o[1];e[u]=i}},isolatedRequire=function(e,r){void 0===r&&(r=currentRequire||__webpack_require__(6));var n=clearRequireCache(r.cache);try{return r(e)}catch(e){throw e}finally{restoreRequireCache(r.cache,n)}}},15:function(e,r,n){n.r(r),n.d(r,{debounce:function(){return i},preventDefault:function(){return a},stopPropagation:function(){return l},timeout:function(){return c},trailingThrottle:function(){return u}});var t=n(1),o=n(3),u=function(e,r){void 0===r&&(r=600);for(var n=arguments.length,t=new Array(n>2?n-2:0),o=2;o<n;o++)t[o-2]=arguments[o];var u=null,i=[];return function(){for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];i=o,u||(u=setTimeout(function(){e.apply(void 0,i.concat(t)),u=null,i=[]},r))}},i=function(e,r){void 0===r&&(r=600);for(var n=arguments.length,t=new Array(n>2?n-2:0),o=2;o<n;o++)t[o-2]=arguments[o];var u,i,a=new Promise(function(e){i=e});return function(){for(var n,o=arguments.length,l=new Array(o),_=0;_<o;_++)l[_]=arguments[_];return l=l.concat(t),null==(n=u)||n.clear(),u=c(function(){i(e.apply(void 0,l)),a=new Promise(function(e){i=e})},r),a}},c=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var u,i,c=t.NOOP,a=0,l=!1,_=0,f=r;_<f.length;_++){var p=f[_];"number"!=typeof p||isNaN(p)?"boolean"==typeof p?l=p:(0,o.isFunction)(p)&&(c=p):a=p}var d=new Promise(function(e,r){u=r,i=e}),s=function(){var e;(e=c).call.apply(e,[d].concat(r)),i(!1)},v=2147483647;if(a<=v)d.timeoutID=setTimeout(s,a);else{var m=Math.floor(a/v),w=a%v,b=function(){m>0?(m-=1,d.timeoutID=setTimeout(b,v)):d.timeoutID=setTimeout(s,w)};b()}return d.clear=function(){Object.prototype.hasOwnProperty.call(d,"timeoutID")&&(clearTimeout(d.timeoutID),(l?u:i)(!0))},d},a=function(e){e.preventDefault()},l=function(e){e.stopPropagation()}},6:function(e){function r(e){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=function(){return[]},r.resolve=r,r.id=6,e.exports=r}},__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.c=__webpack_module_cache__,__webpack_require__.d=function(e,r){for(var n in r)__webpack_require__.o(r,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(15);return __webpack_exports__}()});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clientnode",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1396",
|
|
4
4
|
"description": "upgrade to object orientated rock solid plugins",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"client",
|
|
@@ -79,26 +79,26 @@
|
|
|
79
79
|
"@types/ejs": "^3.1.5",
|
|
80
80
|
"@types/html-minifier": "^4.0.6",
|
|
81
81
|
"@types/imagemin": "^9.0.1",
|
|
82
|
-
"@types/node": "^25.
|
|
82
|
+
"@types/node": "^25.7.0",
|
|
83
83
|
"@types/prop-types": "^15.7.15",
|
|
84
84
|
"@types/webpack-env": "^1.18.8",
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^8.59.
|
|
86
|
-
"@typescript-eslint/parser": "^8.59.
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
86
|
+
"@typescript-eslint/parser": "^8.59.3",
|
|
87
87
|
"clientnode": "workspace:.",
|
|
88
88
|
"eslint": "^10.3.0",
|
|
89
89
|
"eslint-config-google": "^0.14.0",
|
|
90
90
|
"eslint-plugin-jsdoc": "^62.9.0",
|
|
91
91
|
"favicons-webpack-plugin": "^6.0.1",
|
|
92
92
|
"image-minimizer-webpack-plugin": "^5.0.0",
|
|
93
|
-
"jest": "
|
|
93
|
+
"jest": "30.3.0",
|
|
94
94
|
"jsdoc": "^4.0.5",
|
|
95
95
|
"node-fetch": "^3.3.2",
|
|
96
96
|
"prop-types": "^15.8.1",
|
|
97
97
|
"rimraf": "^6.1.3",
|
|
98
|
-
"typescript-eslint": "^8.59.
|
|
99
|
-
"web-documentation": "^1.0.
|
|
98
|
+
"typescript-eslint": "^8.59.3",
|
|
99
|
+
"web-documentation": "^1.0.10",
|
|
100
100
|
"weboptimizer": "^3.0.22",
|
|
101
|
-
"webpack-dev-server": "^5.2.
|
|
101
|
+
"webpack-dev-server": "^5.2.4"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"@babel/runtime": "*",
|