typescript-class-helpers 1.0.44 → 1.0.47
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/app.d.ts +0 -0
- package/app.js +2 -0
- package/app.js.map +1 -0
- package/browser/lib/classname.d.ts +3 -3
- package/browser/lib/index.d.ts +2 -2
- package/browser/lib/set-class-name.d.ts +1 -1
- package/client/lib/classname.d.ts +3 -3
- package/client/lib/index.d.ts +2 -2
- package/client/lib/set-class-name.d.ts +1 -1
- package/package.json +2 -2
- package/package.json_tnp.json5 +2 -1
- package/tmp-environment.json +21 -18
package/app.d.ts
ADDED
|
File without changes
|
package/app.js
ADDED
package/app.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":""}
|
|
@@ -8,9 +8,9 @@ export declare namespace CLASSNAME {
|
|
|
8
8
|
*/
|
|
9
9
|
function CLASSNAME(className: string, options?: Models.CLASSNAMEOptions): any;
|
|
10
10
|
function getClassName(target: Function, production?: boolean): any;
|
|
11
|
-
function getObjectIndexPropertyValue(obj: any): string
|
|
12
|
-
function getClassFamilyByClassName(className: string): string
|
|
13
|
-
function getObjectClassFamily(obj: any): string
|
|
11
|
+
function getObjectIndexPropertyValue(obj: any): string;
|
|
12
|
+
function getClassFamilyByClassName(className: string): string;
|
|
13
|
+
function getObjectClassFamily(obj: any): string;
|
|
14
14
|
function getObjectIndexValue(obj: any): any;
|
|
15
15
|
function getClassBy(className: string | Function): Function;
|
|
16
16
|
}
|
package/browser/lib/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const CLASS: {
|
|
|
15
15
|
NAME: typeof CLASSNAME.CLASSNAME;
|
|
16
16
|
setName: typeof setClassName;
|
|
17
17
|
getBy: typeof Helpers.getBy;
|
|
18
|
-
getSingleton<T = any>(target: Function): T
|
|
18
|
+
getSingleton<T = any>(target: Function): T;
|
|
19
19
|
setSingletonObj(target: Function, singletonObject: any): void;
|
|
20
20
|
getConfig: typeof Helpers.getConfig;
|
|
21
21
|
getFromObject: typeof Helpers.getFromObject;
|
|
@@ -24,7 +24,7 @@ export declare const CLASS: {
|
|
|
24
24
|
describeProperites: typeof Helpers.describeProperites;
|
|
25
25
|
OBJECT: (obj: any) => {
|
|
26
26
|
readonly indexValue: any;
|
|
27
|
-
readonly indexProperty: string
|
|
27
|
+
readonly indexProperty: string;
|
|
28
28
|
readonly isClassObject: boolean;
|
|
29
29
|
isEqual: (anotherObj: any, compareDeep?: boolean) => boolean;
|
|
30
30
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Models } from './models';
|
|
2
|
-
export declare function setClassName(target: Function, className: string, options?: Models.CLASSNAMEOptions): (
|
|
2
|
+
export declare function setClassName(target: Function, className: string, options?: Models.CLASSNAMEOptions): (...args: any[]) => any;
|
|
@@ -8,9 +8,9 @@ export declare namespace CLASSNAME {
|
|
|
8
8
|
*/
|
|
9
9
|
function CLASSNAME(className: string, options?: Models.CLASSNAMEOptions): any;
|
|
10
10
|
function getClassName(target: Function, production?: boolean): any;
|
|
11
|
-
function getObjectIndexPropertyValue(obj: any): string
|
|
12
|
-
function getClassFamilyByClassName(className: string): string
|
|
13
|
-
function getObjectClassFamily(obj: any): string
|
|
11
|
+
function getObjectIndexPropertyValue(obj: any): string;
|
|
12
|
+
function getClassFamilyByClassName(className: string): string;
|
|
13
|
+
function getObjectClassFamily(obj: any): string;
|
|
14
14
|
function getObjectIndexValue(obj: any): any;
|
|
15
15
|
function getClassBy(className: string | Function): Function;
|
|
16
16
|
}
|
package/client/lib/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const CLASS: {
|
|
|
15
15
|
NAME: typeof CLASSNAME.CLASSNAME;
|
|
16
16
|
setName: typeof setClassName;
|
|
17
17
|
getBy: typeof Helpers.getBy;
|
|
18
|
-
getSingleton<T = any>(target: Function): T
|
|
18
|
+
getSingleton<T = any>(target: Function): T;
|
|
19
19
|
setSingletonObj(target: Function, singletonObject: any): void;
|
|
20
20
|
getConfig: typeof Helpers.getConfig;
|
|
21
21
|
getFromObject: typeof Helpers.getFromObject;
|
|
@@ -24,7 +24,7 @@ export declare const CLASS: {
|
|
|
24
24
|
describeProperites: typeof Helpers.describeProperites;
|
|
25
25
|
OBJECT: (obj: any) => {
|
|
26
26
|
readonly indexValue: any;
|
|
27
|
-
readonly indexProperty: string
|
|
27
|
+
readonly indexProperty: string;
|
|
28
28
|
readonly isClassObject: boolean;
|
|
29
29
|
isEqual: (anotherObj: any, compareDeep?: boolean) => boolean;
|
|
30
30
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Models } from './models';
|
|
2
|
-
export declare function setClassName(target: Function, className: string, options?: Models.CLASSNAMEOptions): (
|
|
2
|
+
export declare function setClassName(target: Function, className: string, options?: Models.CLASSNAMEOptions): (...args: any[]) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-class-helpers",
|
|
3
3
|
"description": "Usefull helper to have in your typescript project",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.47",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "mocha --require ts-node/register src/**/*.spec.ts",
|
|
7
7
|
"test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"homepage": "https://github.com/darekf77/typescript-class-helpers#readme",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"enum-values": "1.2.1",
|
|
25
|
-
"ng2-logger": "~8.0.
|
|
25
|
+
"ng2-logger": "~8.0.28"
|
|
26
26
|
},
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"private": false,
|
package/package.json_tnp.json5
CHANGED
package/tmp-environment.json
CHANGED
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"type": "isomorphic-lib",
|
|
26
26
|
"version": "v3",
|
|
27
|
+
"additionalNpmNames": [
|
|
28
|
+
"firedev-class-helpers"
|
|
29
|
+
],
|
|
27
30
|
"license": "MIT",
|
|
28
31
|
"private": false,
|
|
29
32
|
"scripts": {
|
|
@@ -42,7 +45,7 @@
|
|
|
42
45
|
},
|
|
43
46
|
"name": "typescript-class-helpers",
|
|
44
47
|
"description": "Usefull helper to have in your typescript project",
|
|
45
|
-
"version": "1.0.
|
|
48
|
+
"version": "1.0.47",
|
|
46
49
|
"scripts": {
|
|
47
50
|
"test": "mocha --require ts-node/register src/**/*.spec.ts",
|
|
48
51
|
"test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
|
|
@@ -61,6 +64,13 @@
|
|
|
61
64
|
"url": "https://github.com/darekf77/typescript-class-helpers/issues"
|
|
62
65
|
},
|
|
63
66
|
"homepage": "https://github.com/darekf77/typescript-class-helpers#readme",
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"enum-values": "1.2.1",
|
|
69
|
+
"ng2-logger": "~8.0.28"
|
|
70
|
+
},
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"private": false,
|
|
73
|
+
"lastBuildTagHash": "1310cd07d2e47c7a10e4072cc334c1aba0441403",
|
|
64
74
|
"devDependencies": {
|
|
65
75
|
"@angular-devkit/build-angular": "~13.2.5",
|
|
66
76
|
"@angular/animations": "~13.2.0",
|
|
@@ -169,7 +179,7 @@
|
|
|
169
179
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
170
180
|
"jasmine-core": "4.0.0",
|
|
171
181
|
"json-stringify-safe": "5.0.1",
|
|
172
|
-
"json10": "~1.0.
|
|
182
|
+
"json10": "~1.0.36",
|
|
173
183
|
"json5": "2.1.3",
|
|
174
184
|
"json5-writer": "0.2.0",
|
|
175
185
|
"karma": "6.3.0",
|
|
@@ -181,7 +191,7 @@
|
|
|
181
191
|
"lnk": "1.0.1",
|
|
182
192
|
"lockfile": "1.0.4",
|
|
183
193
|
"lodash": "4.17.4",
|
|
184
|
-
"lodash-walk-object": "~1.0.
|
|
194
|
+
"lodash-walk-object": "~1.0.37",
|
|
185
195
|
"lowdb": "1.0.0",
|
|
186
196
|
"magic-renamer": "~0.0.20",
|
|
187
197
|
"material-design-icons": "3.0.1",
|
|
@@ -226,9 +236,9 @@
|
|
|
226
236
|
"sudo-block": "3.0.0",
|
|
227
237
|
"systeminformation": "3.45.7",
|
|
228
238
|
"task.js": "0.1.5",
|
|
229
|
-
"tnp-cli": "~2.0.
|
|
230
|
-
"tnp-config": "~1.0.
|
|
231
|
-
"tnp-core": "~1.0.
|
|
239
|
+
"tnp-cli": "~2.0.25",
|
|
240
|
+
"tnp-config": "~1.0.27",
|
|
241
|
+
"tnp-core": "~1.0.57",
|
|
232
242
|
"tnp-db": "~0.0.44",
|
|
233
243
|
"tnp-helpers": "~0.0.73",
|
|
234
244
|
"tnp-models": "~0.0.37",
|
|
@@ -237,7 +247,7 @@
|
|
|
237
247
|
"tslib": "~2.3.0",
|
|
238
248
|
"typeorm": "~0.2.7",
|
|
239
249
|
"typescript": "~4.5.2",
|
|
240
|
-
"typescript-class-helpers": "~1.0.
|
|
250
|
+
"typescript-class-helpers": "~1.0.45",
|
|
241
251
|
"typescript-formatter": "~7.2.2",
|
|
242
252
|
"underscore": "1.9.1",
|
|
243
253
|
"uuid": "8.3.2",
|
|
@@ -245,19 +255,12 @@
|
|
|
245
255
|
"vpn-split": "~0.0.18",
|
|
246
256
|
"watch": "1.0.2",
|
|
247
257
|
"zone.js": "~0.11.4"
|
|
248
|
-
}
|
|
249
|
-
"dependencies": {
|
|
250
|
-
"enum-values": "1.2.1",
|
|
251
|
-
"ng2-logger": "~8.0.26"
|
|
252
|
-
},
|
|
253
|
-
"license": "MIT",
|
|
254
|
-
"private": false,
|
|
255
|
-
"lastBuildTagHash": "1310cd07d2e47c7a10e4072cc334c1aba0441403"
|
|
258
|
+
}
|
|
256
259
|
},
|
|
257
260
|
"build": {
|
|
258
|
-
"number":
|
|
259
|
-
"date": "2022-03-
|
|
260
|
-
"hash": "
|
|
261
|
+
"number": 184,
|
|
262
|
+
"date": "2022-03-06T19:15:23.000Z",
|
|
263
|
+
"hash": "1d425ca15a6d48488390fe52548d67e9619dfdcb",
|
|
261
264
|
"options": {}
|
|
262
265
|
},
|
|
263
266
|
"currentProjectName": "typescript-class-helpers",
|