ng2-rest 18.0.17 → 18.0.18
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/fesm2022/ng2-rest.mjs.map +1 -1
- package/client/fesm2022/ng2-rest.mjs.map +1 -1
- package/lib/helpers.d.ts +3 -3
- package/lib/mapping.d.ts +2 -2
- package/lib/models.d.ts +4 -4
- package/lib/resource-service.d.ts +2 -2
- package/package.json +4 -4
- package/tmp-environment.json +30 -29
- package/websql/fesm2022/ng2-rest.mjs.map +1 -1
package/lib/helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CoreHelpers } from 'tnp-core
|
|
1
|
+
import { CoreHelpers } from 'tnp-core';
|
|
2
2
|
import { Mapping } from './mapping';
|
|
3
|
-
import { JSON10 } from 'json10
|
|
3
|
+
import { JSON10 } from 'json10';
|
|
4
4
|
export declare class Helpers extends CoreHelpers {
|
|
5
5
|
static JSON: typeof JSON10;
|
|
6
6
|
static get Mapping(): {
|
|
@@ -8,4 +8,4 @@ export declare class Helpers extends CoreHelpers {
|
|
|
8
8
|
decode(json: Object, autodetect?: boolean): Mapping.Mapping;
|
|
9
9
|
};
|
|
10
10
|
static checkValidUrl(url: string): boolean;
|
|
11
|
-
}
|
|
11
|
+
}
|
package/lib/mapping.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Circ } from 'json10
|
|
1
|
+
import { Circ } from 'json10';
|
|
2
2
|
export declare namespace Mapping {
|
|
3
3
|
function decode(json: Object, autodetect?: boolean): Mapping;
|
|
4
4
|
function encode<T = Function>(json: Object, mapping: Mapping, circular?: Circ[]): T;
|
|
@@ -10,4 +10,4 @@ export declare namespace Mapping {
|
|
|
10
10
|
[propName in keyof T]?: T[propName];
|
|
11
11
|
};
|
|
12
12
|
function DefaultModelWithMapping<T = Object>(defaultModelValues?: ModelValue<T>, mapping?: Mapping<T>): (target: Function) => void;
|
|
13
|
-
}
|
|
13
|
+
}
|
package/lib/models.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import { RestHeaders } from './rest-headers';
|
|
|
4
4
|
import { Rest } from './rest.class';
|
|
5
5
|
import { Cookie } from './cookie';
|
|
6
6
|
import { Mapping } from './mapping';
|
|
7
|
-
import { Models as HelpersModels } from 'typescript-class-helpers
|
|
8
|
-
import { Circ } from 'json10
|
|
7
|
+
import { Models as HelpersModels } from 'typescript-class-helpers';
|
|
8
|
+
import { Circ } from 'json10';
|
|
9
9
|
import { RequestCache } from './request-cache';
|
|
10
|
-
import { CoreModels } from 'tnp-core
|
|
10
|
+
import { CoreModels } from 'tnp-core';
|
|
11
11
|
import { Blob } from 'buffer';
|
|
12
12
|
export declare namespace Models {
|
|
13
13
|
export import HttpMethod = CoreModels.HttpMethod;
|
|
@@ -160,4 +160,4 @@ export declare namespace Models {
|
|
|
160
160
|
isArray: boolean;
|
|
161
161
|
}
|
|
162
162
|
type ResponseTypeAxios = 'blob' | 'text' | 'arraybuffer' | 'document' | 'stream';
|
|
163
|
-
}
|
|
163
|
+
}
|
|
@@ -5,7 +5,7 @@ import { RestHeaders } from './rest-headers';
|
|
|
5
5
|
import { Cookie } from './cookie';
|
|
6
6
|
import { Mapping } from './mapping';
|
|
7
7
|
import { Models } from './models';
|
|
8
|
-
import { Circ } from 'json10
|
|
8
|
+
import { Circ } from 'json10';
|
|
9
9
|
export declare class Resource<E, T, TA> {
|
|
10
10
|
protected static _listenErrors: Subject<Models.BackendError>;
|
|
11
11
|
protected static _listenSuccess: Subject<Models.HttpResponse<any>>;
|
|
@@ -41,4 +41,4 @@ export declare class Resource<E, T, TA> {
|
|
|
41
41
|
* @returns {Rest<T, TA>}
|
|
42
42
|
*/
|
|
43
43
|
private api;
|
|
44
|
-
}
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"workerPlugins": {}
|
|
54
54
|
},
|
|
55
55
|
"name": "ng2-rest",
|
|
56
|
-
"version": "18.0.
|
|
56
|
+
"version": "18.0.18",
|
|
57
57
|
"bugs": {
|
|
58
58
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
59
59
|
},
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"@types/lodash": "4.14.92",
|
|
77
77
|
"axios": "1.7.7",
|
|
78
78
|
"diff": "4.0.2",
|
|
79
|
-
"json10": "~18.0.
|
|
79
|
+
"json10": "~18.0.18",
|
|
80
80
|
"json5": "2.2.3",
|
|
81
81
|
"lodash": "4.17.21",
|
|
82
|
-
"ng2-logger": "~18.0.
|
|
82
|
+
"ng2-logger": "~18.0.20"
|
|
83
83
|
},
|
|
84
84
|
"license": "MIT",
|
|
85
85
|
"private": false,
|
|
86
|
-
"lastBuildTagHash": "
|
|
86
|
+
"lastBuildTagHash": "c1e19dd723bf80c848972c18c12ed157e4bdd80e",
|
|
87
87
|
"devDependencies": {},
|
|
88
88
|
"main": "dist/app.electron.js"
|
|
89
89
|
}
|
package/tmp-environment.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"workerPlugins": {}
|
|
58
58
|
},
|
|
59
59
|
"name": "ng2-rest",
|
|
60
|
-
"version": "18.0.
|
|
60
|
+
"version": "18.0.18",
|
|
61
61
|
"bugs": {
|
|
62
62
|
"url": "https://github.com/darekf77/ng2-rest/issues"
|
|
63
63
|
},
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"@types/lodash": "4.14.92",
|
|
81
81
|
"axios": "1.7.7",
|
|
82
82
|
"diff": "4.0.2",
|
|
83
|
-
"json10": "~18.0.
|
|
83
|
+
"json10": "~18.0.18",
|
|
84
84
|
"json5": "2.2.3",
|
|
85
85
|
"lodash": "4.17.21",
|
|
86
|
-
"ng2-logger": "~18.0.
|
|
86
|
+
"ng2-logger": "~18.0.20"
|
|
87
87
|
},
|
|
88
88
|
"license": "MIT",
|
|
89
89
|
"private": false,
|
|
90
|
-
"lastBuildTagHash": "
|
|
90
|
+
"lastBuildTagHash": "c1e19dd723bf80c848972c18c12ed157e4bdd80e",
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@angular-builders/custom-webpack": "~18.0.0",
|
|
93
93
|
"@angular-devkit/build-angular": "~18.1.4",
|
|
@@ -248,13 +248,14 @@
|
|
|
248
248
|
"image-focus": "1.2.1",
|
|
249
249
|
"immer": "10.0.2",
|
|
250
250
|
"immutable": "4.3.7",
|
|
251
|
-
"incremental-compiler": "~18.0.
|
|
251
|
+
"incremental-compiler": "~18.0.19",
|
|
252
252
|
"inquirer": "7.3.3",
|
|
253
253
|
"inquirer-autocomplete-prompt": "1.4.0",
|
|
254
254
|
"inquirer-autocomplete-standalone": "0.8.1",
|
|
255
255
|
"inquirer-select-pro": "1.0.0-alpha.7",
|
|
256
|
+
"inquirer-toggle": "1.0.1",
|
|
256
257
|
"is-elevated": "3.0.0",
|
|
257
|
-
"isomorphic-region-loader": "~18.0.
|
|
258
|
+
"isomorphic-region-loader": "~18.0.18",
|
|
258
259
|
"istanbul-instrumenter-loader": "3.0.1",
|
|
259
260
|
"jest": "29.7.0",
|
|
260
261
|
"jest-date-mock": "1.0.10",
|
|
@@ -265,16 +266,16 @@
|
|
|
265
266
|
"joi": "17.13.3",
|
|
266
267
|
"jscodeshift": "0.6.3",
|
|
267
268
|
"json-stringify-safe": "5.0.1",
|
|
268
|
-
"json10-writer": "~18.0.
|
|
269
|
+
"json10-writer": "~18.0.18",
|
|
269
270
|
"json5-writer": "0.2.0",
|
|
270
271
|
"jszip": "3.10.1",
|
|
271
272
|
"karma-cli": "1.0.1",
|
|
272
273
|
"lnk": "1.0.1",
|
|
273
274
|
"localforage": "1.10.0",
|
|
274
275
|
"lockfile": "1.0.4",
|
|
275
|
-
"lodash-walk-object": "~18.0.
|
|
276
|
+
"lodash-walk-object": "~18.0.18",
|
|
276
277
|
"lowdb": "7.0.1",
|
|
277
|
-
"magic-renamer": "~18.0.
|
|
278
|
+
"magic-renamer": "~18.0.18",
|
|
278
279
|
"material-design-icons": "3.0.1",
|
|
279
280
|
"method-override": "2.3.10",
|
|
280
281
|
"minimist": "1.2.8",
|
|
@@ -285,10 +286,10 @@
|
|
|
285
286
|
"ng-in-viewport": "16.1.0",
|
|
286
287
|
"ng-lock": "18.0.1",
|
|
287
288
|
"ng-packagr": "18.1.0",
|
|
288
|
-
"ng-talkback": "~18.0.
|
|
289
|
+
"ng-talkback": "~18.0.17",
|
|
289
290
|
"ng2-pdfjs-viewer": "18.0.0",
|
|
290
|
-
"ng2-rest": "~18.0.
|
|
291
|
-
"ng2-rest-swagger-generator": "18.0.
|
|
291
|
+
"ng2-rest": "~18.0.17",
|
|
292
|
+
"ng2-rest-swagger-generator": "18.0.14",
|
|
292
293
|
"ngx-ace-wrapper": "17.0.0",
|
|
293
294
|
"ngx-editor": "17.5.4",
|
|
294
295
|
"ngx-highlightjs": "12.0.0",
|
|
@@ -302,7 +303,7 @@
|
|
|
302
303
|
"ngx-scrolltop": "18.0.0",
|
|
303
304
|
"ngx-store": "3.1.1",
|
|
304
305
|
"ngx-typed-js": "2.1.1",
|
|
305
|
-
"node-cli-tester": "~18.0.
|
|
306
|
+
"node-cli-tester": "~18.0.16",
|
|
306
307
|
"node-localstorage": "2.1.6",
|
|
307
308
|
"node-notifier": "10.0.1",
|
|
308
309
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -333,7 +334,7 @@
|
|
|
333
334
|
"q": "1.5.1",
|
|
334
335
|
"rallax.js": "2.0.4",
|
|
335
336
|
"randomcolor": "0.5.3",
|
|
336
|
-
"record-replay-req-res-scenario": "~18.0.
|
|
337
|
+
"record-replay-req-res-scenario": "~18.0.16",
|
|
337
338
|
"reflect-metadata": "0.2.2",
|
|
338
339
|
"rimraf": "2.6.2",
|
|
339
340
|
"rxjs": "~7.8.1",
|
|
@@ -347,23 +348,23 @@
|
|
|
347
348
|
"sql-template-strings": "2.2.2",
|
|
348
349
|
"sql-template-tag": "5.2.1",
|
|
349
350
|
"sql.js": "1.8.0",
|
|
350
|
-
"static-columns": "~18.0.
|
|
351
|
+
"static-columns": "~18.0.18",
|
|
351
352
|
"string-similarity": "4.0.4",
|
|
352
353
|
"sudo-block": "3.0.0",
|
|
353
354
|
"supertest": "7.0.0",
|
|
354
355
|
"sweetalert2": "11.7.32",
|
|
355
356
|
"systeminformation": "3.45.7",
|
|
356
357
|
"taon": "^18",
|
|
357
|
-
"taon-storage": "18.0.
|
|
358
|
-
"taon-type-sql": "18.0.
|
|
359
|
-
"taon-typeorm": "18.0.
|
|
358
|
+
"taon-storage": "18.0.26",
|
|
359
|
+
"taon-type-sql": "18.0.17",
|
|
360
|
+
"taon-typeorm": "18.0.16",
|
|
360
361
|
"task.js": "0.1.5",
|
|
361
362
|
"threads": "1.7.0",
|
|
362
|
-
"tnp": "~18.0.
|
|
363
|
-
"tnp-config": "~18.0.
|
|
364
|
-
"tnp-core": "~18.0.
|
|
365
|
-
"tnp-helpers": "~18.0.
|
|
366
|
-
"tnp-models": "~18.0.
|
|
363
|
+
"tnp": "~18.0.19",
|
|
364
|
+
"tnp-config": "~18.0.20",
|
|
365
|
+
"tnp-core": "~18.0.45",
|
|
366
|
+
"tnp-helpers": "~18.0.18",
|
|
367
|
+
"tnp-models": "~18.0.19",
|
|
367
368
|
"ts-debug": "1.3.0",
|
|
368
369
|
"ts-json-schema-generator": "2.3.0-next.5",
|
|
369
370
|
"ts-loader": "2.3.1",
|
|
@@ -375,14 +376,14 @@
|
|
|
375
376
|
"typedoc": "0.26.5",
|
|
376
377
|
"typedoc-plugin-markdown": "4.2.3",
|
|
377
378
|
"typescript": "~5.5.4",
|
|
378
|
-
"typescript-class-helpers": "~18.0.
|
|
379
|
+
"typescript-class-helpers": "~18.0.19",
|
|
379
380
|
"typescript-formatter": "~7.2.2",
|
|
380
381
|
"typescript-string-enums": "~1.0.0",
|
|
381
382
|
"underscore": "1.13.7",
|
|
382
383
|
"uuid": "10.0.0",
|
|
383
384
|
"validator": "13.5.2",
|
|
384
385
|
"video.js": "8.3.0",
|
|
385
|
-
"vpn-split": "~18.0.
|
|
386
|
+
"vpn-split": "~18.0.16",
|
|
386
387
|
"vscode": "1.1.37",
|
|
387
388
|
"wait-on": "8.0.1",
|
|
388
389
|
"watch": "1.0.2",
|
|
@@ -395,14 +396,14 @@
|
|
|
395
396
|
"main": "dist/app.electron.js"
|
|
396
397
|
},
|
|
397
398
|
"build": {
|
|
398
|
-
"number":
|
|
399
|
-
"date": "2025-01-
|
|
400
|
-
"hash": "
|
|
399
|
+
"number": 955,
|
|
400
|
+
"date": "2025-01-06T22:22:00.000Z",
|
|
401
|
+
"hash": "5148592b2dbd5fd2194ff8f8b472015dcfecccba"
|
|
401
402
|
},
|
|
402
403
|
"currentProjectName": "ng2-rest",
|
|
403
404
|
"currentProjectGenericName": "ng2-rest",
|
|
404
405
|
"currentProjectType": "isomorphic-lib",
|
|
405
|
-
"currentFrameworkVersion": "18.0.
|
|
406
|
+
"currentFrameworkVersion": "18.0.22",
|
|
406
407
|
"isStandaloneProject": true,
|
|
407
408
|
"isSmartContainer": false,
|
|
408
409
|
"pathesTsconfig": "\"paths\": {\"ng2-rest\":[\"./src/lib\"],\"ng2-rest/*\":[\"./src/lib/*\"]},",
|