clientnode 3.0.852 → 3.0.856

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/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="webpack-env" />
2
3
  import { ChildProcess } from 'child_process';
3
4
  import { AnyFunction, CheckReachabilityOptions, CompareOptions, CompilationResult, Encoding, EvaluationResult, File, FirstParameter, GetterFunction, ImportFunction, LockCallbackFunction, Mapping, ObjectMaskConfiguration, Options, Page, PaginateOptions, ParametersExceptFirst, PlainObject, ProcessCloseCallback, ProcessErrorCallback, ProcessHandler, ProxyHandler, ProxyType, QueryParameters, RecursiveEvaluateable, RecursivePartial, RelativePosition, SecondParameter, Selector, SetterFunction, TimeoutPromise, UnknownFunction, $DomNodes, $Global, $T, $TStatic } from './type';
4
5
  export declare const CloseEventNames: readonly ["close", "exit", "SIGINT", "SIGTERM", "SIGQUIT", "uncaughtException"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "3.0.852",
3
+ "version": "3.0.856",
4
4
  "description": "upgrade to object orientated rock solid plugins",
5
5
  "keywords": [
6
6
  "client",
@@ -68,9 +68,11 @@
68
68
  "@types/jest": "*",
69
69
  "@types/jquery": "*",
70
70
  "@types/jsdom": "*",
71
+ "@types/mini-css-extract-plugin": "*",
71
72
  "@types/node": "*",
72
73
  "@types/prop-types": "*",
73
74
  "@types/rimraf": "*",
75
+ "@types/webpack-env": "*",
74
76
  "@types/workbox-webpack-plugin": "*",
75
77
  "@typescript-eslint/eslint-plugin": "*",
76
78
  "@typescript-eslint/parser": "*",
@@ -78,6 +80,8 @@
78
80
  "eslint": "*",
79
81
  "eslint-config-google": "*",
80
82
  "eslint-plugin-jsdoc": "*",
83
+ "favicons-webpack-plugin": "*",
84
+ "image-minimizer-webpack-plugin": "*",
81
85
  "jest": "*",
82
86
  "jquery": "*",
83
87
  "jsdoc": "*",
package/readme.md CHANGED
@@ -7,7 +7,7 @@ License
7
7
  -------
8
8
 
9
9
  This library written by Torben Sickert stand under a creative commons naming
10
- 3.0 unported license. see http://creativecommons.org/licenses/by/3.0/deed.de
10
+ 3.0 unported license. See https://creativecommons.org/licenses/by/3.0/deed.de
11
11
  endregion -->
12
12
 
13
13
  Project status
@@ -24,9 +24,11 @@ Project status
24
24
 
25
25
  [![code coverage](https://coveralls.io/repos/github/thaibault/clientnode/badge.svg)](https://coveralls.io/github/thaibault/clientnode)
26
26
 
27
+ <!-- Too unstable yet
27
28
  [![dependencies](https://img.shields.io/david/thaibault/clientnode.svg)](https://david-dm.org/thaibault/clientnode)
28
29
  [![development dependencies](https://img.shields.io/david/dev/thaibault/clientnode.svg)](https://david-dm.org/thaibault/clientnode?type=dev)
29
30
  [![peer dependencies](https://img.shields.io/david/peer/thaibault/clientnode.svg)](https://david-dm.org/thaibault/clientnode?type=peer)
31
+ -->
30
32
  [![documentation website](https://img.shields.io/website-up-down-green-red/https/torben.website/clientnode.svg?label=documentation-website)](https://torben.website/clientnode)
31
33
 
32
34
  <!--|deDE:Einsatz-->
package/type.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="webpack-env" />
2
3
  import { Dirent as DirectoryEntry, Stats as FileStats } from 'fs';
3
4
  import Tools, { BoundTools } from './index';
4
5
  import { DefinedSymbol, ThrowSymbol, UndefinedSymbol } from './testHelper';
5
6
  export declare type AnyFunction = (..._parameters: Array<any>) => any;
6
- export declare type Unpacked<T> = T extends (infer U)[] ? U : T extends (...args: any[]) => infer U ? U : T extends Promise<infer U> ? U : T;
7
+ export declare type Unpacked<T> = T extends (infer U)[] ? U : T extends (..._parameters: Array<unknown>) => infer U ? U : T extends Promise<infer U> ? U : T;
7
8
  export declare type FirstParameter<FunctionType extends AnyFunction> = Parameters<FunctionType>[0];
8
9
  export declare type SecondParameter<FunctionType extends AnyFunction> = Parameters<FunctionType>[1];
9
10
  export declare type ThirdParameter<FunctionType extends AnyFunction> = Parameters<FunctionType>[2];
@@ -189,14 +190,9 @@ export interface BoundToolsFunction<TElement = HTMLElement> {
189
190
  (_methodName: 'normalizedStyles'): BoundTools<TElement>;
190
191
  (_methodName: 'removeDirective', _directiveName: string): $T<TElement>;
191
192
  (_methodName: 'style'): Mapping<number | string>;
193
+ (_methodName: 'text'): string;
192
194
  (..._parameters: Array<unknown>): BoundTools<TElement>;
193
195
  }
194
- export interface StaticScope {
195
- document?: Document;
196
- global: $Global;
197
- location?: Location;
198
- Tools: ToolsFunction;
199
- }
200
196
  declare global {
201
197
  interface JQuery<TElement = HTMLElement> {
202
198
  Tools: BoundToolsFunction<TElement>;