clientnode 3.0.1222 → 3.0.1223

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.
Files changed (2) hide show
  1. package/dist/type.d.ts +2 -6
  2. package/package.json +2 -2
package/dist/type.d.ts CHANGED
@@ -37,9 +37,7 @@ export type TestMatchers<T extends Promise<void> | void> = Matchers<T> & {
37
37
  export type ImportFunction = (id: string) => Promise<ReturnType<typeof require>>;
38
38
  export type HTMLItem = Comment | Document | HTMLElement | Text;
39
39
  export type Primitive = boolean | null | number | string | undefined;
40
- export type Mapping<V = string, K extends string = string> = {
41
- [key in K]: V;
42
- };
40
+ export type Mapping<V = string, K extends string = string> = Record<K, V>;
43
41
  export type PlainObject<V = Primitive, K extends string = string> = {
44
42
  [key in K]: Array<PlainObject<V, K> | V> | PlainObject<V, K> | V;
45
43
  };
@@ -165,9 +163,7 @@ export interface CompilationResult<T = string, N extends Array<string> = Array<s
165
163
  globalNames: Array<string>;
166
164
  globalNamesUndefinedList: Array<undefined>;
167
165
  originalScopeNames: N;
168
- scopeNameMapping: {
169
- [key in N[number]]: string;
170
- };
166
+ scopeNameMapping: Record<N[number], string>;
171
167
  scopeNames: Array<string>;
172
168
  templateFunction: TemplateFunction<T>;
173
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "3.0.1222",
3
+ "version": "3.0.1223",
4
4
  "description": "upgrade to object orientated rock solid plugins",
5
5
  "keywords": [
6
6
  "client",
@@ -69,7 +69,7 @@
69
69
  "@types/webpack-env": "^1.18.5",
70
70
  "@typescript-eslint/eslint-plugin": "^8.12.2",
71
71
  "@typescript-eslint/parser": "^8.12.2",
72
- "clientnode": "3.0.1222",
72
+ "clientnode": "3.0.1221",
73
73
  "documentation-website": "^1.0.337",
74
74
  "eslint": "^9.13.0",
75
75
  "eslint-config-google": "^0.14.0",