ng2-rest 16.100.4 → 16.100.6

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/README.md CHANGED
@@ -1,135 +1,135 @@
1
-
2
- ## ng2-rest ##
3
-
4
- Robust isomorphic REST framework for browser (Angular, React etc.) and backend (NodeJS) JavaScript/TypeScript apps.
5
-
6
- Features:
7
- - Compatible with Angular (2+) (newest 13,14 also...) , React, Vue , NodeJS (works everywhere)
8
- - Compatible with RxJS operators (exhaustMap, switchMap, request cancelation etc.)
9
- - Based on [axios](https://axios-http.com/) => excellent alternative to Angular's [HttpClient](https://angular.io/api/common/http/HttpClient)
10
- - JSONP api request handling
11
- - Transfer class instance from server to client and back
12
- - Elegant way of dealing with REST api ( *similar to ExpressJS routes definitions* )
13
-
14
- (more documentation soon... )
15
-
16
- To install this package run:
17
-
18
- npm install ng2-rest --save
19
-
20
- Import Resource class:
21
- ```ts
22
- import { Resource } from 'ng2-rest/browser';
23
- ```
24
-
25
- Resource
26
- ========
27
-
28
- Fit you existing API (not only REST) into new fluent objects with **Resource**
29
- class observables. Use power of **async** in new angular templates;
30
-
31
- **template.html**
32
- ```html
33
- Users:
34
- <ul *ngIf="model.allUsers() | async; else loader; let users" >
35
-
36
- <li *ngFor="let user of users">
37
- {{user.id}} {{user.fullName()}}
38
- <br>
39
- <input type="name" [(NgModel)]="user.name" >
40
- <button (click)="model.update(user)" > Update </button>
41
- </li>
42
-
43
- </ul>
44
-
45
- <ng-template #loader> loading users... </ng-template>
46
-
47
- ```
48
- **component.ts**
49
- ```ts
50
- class User {
51
- name: string;
52
- surname: string;
53
- id: number;
54
-
55
- fullName() {
56
- return `Surname: ${this.surname}, Name: ${this.name}`;
57
- }
58
- }
59
-
60
- // Express.js style url endpoint model
61
- // you can ommit "<User>" part is you don't wanna see response interface
62
- // also you can ommit third argument ",User" is you don't wanna
63
- // map response object to User class objects
64
- const rest = Resource.create<User>("http://yourbackend.com/api","users/:id",{'':User} )
65
-
66
- class UserComponent {
67
-
68
- // Prepare your beautiful interface
69
- model = {
70
- allUsers: () => rest.model()
71
- .array
72
- .get()
73
- .observable // Observable resposne (useful for Angular 2+ html templates)
74
- .pipe( map({ body } => body.json) ) // get all users, body.json => User[]
75
-
76
- userBy: (id) => rest.model({id})
77
- .get() // Promise response by default
78
- .then({ body } => console.log(body.json)) // get user by id, body.json => User
79
-
80
- update: async (user:User) =>{
81
- try {
82
- await rest.model({id:user.id}).put(user) // Promise response by default
83
-
84
- alert('Update sucess')
85
- } catch(e) {
86
- alert(e)
87
- }
88
- }
89
- }
90
-
91
- constructor() { }
92
-
93
- }
94
- ```
95
-
96
- Specification
97
- ============
98
- Example **UrlParams[]** :
99
- `[ { sort: true },{ filter: 'id,5' }, { filter: 'name,test' } ]`
100
-
101
-
102
- | Name | Parameters | Description |
103
- | :---: | --- | ---: |
104
- | **.array.** | get,post,put,head,delete,jsonp | for everything, but with arrays |
105
- | **get** | `UrlParams[] ` | get model by parameters |
106
- | **post** | `model, UrlParams[] ` | post object model |
107
- | **put** | `model, UrlParams[]` | put object model |
108
- | **head** | `model, UrlParams[]` | get head for model |
109
- | **delete** | `UrlParams[]` | remove object by params |
110
- | **jsonp** | `UrlParams[]` | get jsonp data |
111
-
112
-
113
-
114
- # Production mode
115
- ===
116
- Nice things to do in production mode:
117
-
118
- **1. Disable warnings.**
119
-
120
- If you don't wanna see warning, disable it like this:
121
- ```ts
122
- if (environment.production) {
123
- Resource.enableWarnings = false;
124
- }
125
- ```
126
-
127
- # Angular 2+ ngZone
128
- If you are using Angular 2+ you need to do this in your root **app.component**:
129
- ```ts
130
- constructor(zone:NgZone) {
131
- Resource.initAngularNgZone(zone)
132
- }
133
- ```
134
-
135
-
1
+
2
+ ## ng2-rest ##
3
+
4
+ Robust isomorphic REST framework for browser (Angular, React etc.) and backend (NodeJS) JavaScript/TypeScript apps.
5
+
6
+ Features:
7
+ - Compatible with Angular (2+) (newest 13,14 also...) , React, Vue , NodeJS (works everywhere)
8
+ - Compatible with RxJS operators (exhaustMap, switchMap, request cancelation etc.)
9
+ - Based on [axios](https://axios-http.com/) => excellent alternative to Angular's [HttpClient](https://angular.io/api/common/http/HttpClient)
10
+ - JSONP api request handling
11
+ - Transfer class instance from server to client and back
12
+ - Elegant way of dealing with REST api ( *similar to ExpressJS routes definitions* )
13
+
14
+ (more documentation soon... )
15
+
16
+ To install this package run:
17
+
18
+ npm install ng2-rest --save
19
+
20
+ Import Resource class:
21
+ ```ts
22
+ import { Resource } from 'ng2-rest/browser';
23
+ ```
24
+
25
+ Resource
26
+ ========
27
+
28
+ Fit you existing API (not only REST) into new fluent objects with **Resource**
29
+ class observables. Use power of **async** in new angular templates;
30
+
31
+ **template.html**
32
+ ```html
33
+ Users:
34
+ <ul *ngIf="model.allUsers() | async; else loader; let users" >
35
+
36
+ <li *ngFor="let user of users">
37
+ {{user.id}} {{user.fullName()}}
38
+ <br>
39
+ <input type="name" [(NgModel)]="user.name" >
40
+ <button (click)="model.update(user)" > Update </button>
41
+ </li>
42
+
43
+ </ul>
44
+
45
+ <ng-template #loader> loading users... </ng-template>
46
+
47
+ ```
48
+ **component.ts**
49
+ ```ts
50
+ class User {
51
+ name: string;
52
+ surname: string;
53
+ id: number;
54
+
55
+ fullName() {
56
+ return `Surname: ${this.surname}, Name: ${this.name}`;
57
+ }
58
+ }
59
+
60
+ // Express.js style url endpoint model
61
+ // you can ommit "<User>" part is you don't wanna see response interface
62
+ // also you can ommit third argument ",User" is you don't wanna
63
+ // map response object to User class objects
64
+ const rest = Resource.create<User>("http://yourbackend.com/api","users/:id",{'':User} )
65
+
66
+ class UserComponent {
67
+
68
+ // Prepare your beautiful interface
69
+ model = {
70
+ allUsers: () => rest.model()
71
+ .array
72
+ .get()
73
+ .observable // Observable resposne (useful for Angular 2+ html templates)
74
+ .pipe( map({ body } => body.json) ) // get all users, body.json => User[]
75
+
76
+ userBy: (id) => rest.model({id})
77
+ .get() // Promise response by default
78
+ .then({ body } => console.log(body.json)) // get user by id, body.json => User
79
+
80
+ update: async (user:User) =>{
81
+ try {
82
+ await rest.model({id:user.id}).put(user) // Promise response by default
83
+
84
+ alert('Update sucess')
85
+ } catch(e) {
86
+ alert(e)
87
+ }
88
+ }
89
+ }
90
+
91
+ constructor() { }
92
+
93
+ }
94
+ ```
95
+
96
+ Specification
97
+ ============
98
+ Example **UrlParams[]** :
99
+ `[ { sort: true },{ filter: 'id,5' }, { filter: 'name,test' } ]`
100
+
101
+
102
+ | Name | Parameters | Description |
103
+ | :---: | --- | ---: |
104
+ | **.array.** | get,post,put,head,delete,jsonp | for everything, but with arrays |
105
+ | **get** | `UrlParams[] ` | get model by parameters |
106
+ | **post** | `model, UrlParams[] ` | post object model |
107
+ | **put** | `model, UrlParams[]` | put object model |
108
+ | **head** | `model, UrlParams[]` | get head for model |
109
+ | **delete** | `UrlParams[]` | remove object by params |
110
+ | **jsonp** | `UrlParams[]` | get jsonp data |
111
+
112
+
113
+
114
+ # Production mode
115
+ ===
116
+ Nice things to do in production mode:
117
+
118
+ **1. Disable warnings.**
119
+
120
+ If you don't wanna see warning, disable it like this:
121
+ ```ts
122
+ if (environment.production) {
123
+ Resource.enableWarnings = false;
124
+ }
125
+ ```
126
+
127
+ # Angular 2+ ngZone
128
+ If you are using Angular 2+ you need to do this in your root **app.component**:
129
+ ```ts
130
+ constructor(zone:NgZone) {
131
+ Resource.initAngularNgZone(zone)
132
+ }
133
+ ```
134
+
135
+
@@ -1,6 +1,6 @@
1
1
  THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
2
2
 
3
- Assets from this folder are being shipped with this npm package (ng2-rest@16.100.4)
3
+ Assets from this folder are being shipped with this npm package (ng2-rest@16.100.6)
4
4
  created from this project.
5
5
 
6
6
  THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
package/browser/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/client/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -53,10 +53,7 @@
53
53
  "workerPlugins": {}
54
54
  },
55
55
  "name": "ng2-rest",
56
- "version": "16.100.4",
57
- "scripts": {
58
- "build:watch": "npm-run watch \"morphi build\" src"
59
- },
56
+ "version": "16.100.6",
60
57
  "bugs": {
61
58
  "url": "https://github.com/darekf77/ng2-rest/issues"
62
59
  },
@@ -79,14 +76,14 @@
79
76
  "@types/lodash": "4.14.92",
80
77
  "axios": "1.3.5",
81
78
  "diff": "3.2.0",
82
- "json10": "16.100.4",
79
+ "json10": "16.100.6",
83
80
  "json5": "2.2.1",
84
81
  "lodash": "4.17.20",
85
- "ng2-logger": "16.100.7"
82
+ "ng2-logger": "16.100.9"
86
83
  },
87
84
  "license": "MIT",
88
85
  "private": false,
89
- "lastBuildTagHash": "90f3fd9cafcaa142417fa56980f35e25b4ef2f33",
86
+ "lastBuildTagHash": "486225e273743c84dffa284331081cbc6f6df9d5",
90
87
  "devDependencies": {
91
88
  "@angular-builders/custom-webpack": "~16.0.2-beta.2",
92
89
  "@angular-devkit/build-angular": "~16.0.5",
@@ -166,8 +163,8 @@
166
163
  "angular-material-css-vars": "5.0.2",
167
164
  "angular-resize-event": "3.2.0",
168
165
  "animate.css": "4.1.1 ",
169
- "any-project-cli": "16.100.7",
170
- "background-worker-process": "16.100.4",
166
+ "any-project-cli": "16.100.9",
167
+ "background-worker-process": "16.100.10",
171
168
  "base32": "0.0.7",
172
169
  "bcryptjs": "2.4.3",
173
170
  "better-sqlite3": "9.5.0",
@@ -214,13 +211,13 @@
214
211
  "file-saver": "2.0.5",
215
212
  "file-type": "18.5.0",
216
213
  "firedev": "^16",
217
- "firedev-crud": "16.100.6",
218
- "firedev-crud-deamon": "16.100.6",
219
- "firedev-ports": "16.100.6",
220
- "firedev-storage": "16.100.3",
221
- "firedev-type-sql": "16.100.3",
222
- "firedev-typeorm": "16.100.3",
223
- "firedev-ui": "16.100.5",
214
+ "firedev-crud": "16.100.9",
215
+ "firedev-crud-deamon": "16.100.8",
216
+ "firedev-ports": "16.100.9",
217
+ "firedev-storage": "16.100.5",
218
+ "firedev-type-sql": "16.100.5",
219
+ "firedev-typeorm": "16.100.5",
220
+ "firedev-ui": "16.100.8",
224
221
  "fkill": "6.1.0",
225
222
  "font-awesome": "4.7.0",
226
223
  "form-data": "4.0.0",
@@ -238,11 +235,11 @@
238
235
  "image-focus": "1.2.1",
239
236
  "immer": "10.0.2",
240
237
  "immutable": "4.3.0",
241
- "incremental-compiler": "16.100.7",
238
+ "incremental-compiler": "16.100.9",
242
239
  "inquirer": "7.3.3",
243
240
  "inquirer-autocomplete-prompt": "1.3.0",
244
241
  "is-elevated": "3.0.0",
245
- "isomorphic-region-loader": "16.100.6",
242
+ "isomorphic-region-loader": "16.100.8",
246
243
  "istanbul-instrumenter-loader": "2.0.0",
247
244
  "jest": "29.5.0",
248
245
  "jest-date-mock": "1.0.8",
@@ -253,16 +250,16 @@
253
250
  "joi": "17.9.2",
254
251
  "jscodeshift": "0.6.3",
255
252
  "json-stringify-safe": "5.0.1",
256
- "json10-writer": "16.100.7",
253
+ "json10-writer": "16.100.9",
257
254
  "json5-writer": "0.2.0",
258
255
  "jszip": "3.10.1",
259
256
  "karma-cli": "1.0.1",
260
257
  "lnk": "1.0.1",
261
258
  "localforage": "1.10.0",
262
259
  "lockfile": "1.0.4",
263
- "lodash-walk-object": "16.100.4",
260
+ "lodash-walk-object": "16.100.6",
264
261
  "lowdb": "7.0.1",
265
- "magic-renamer": "16.100.6",
262
+ "magic-renamer": "16.100.8",
266
263
  "material-design-icons": "3.0.1",
267
264
  "method-override": "2.3.10",
268
265
  "minimist": "1.2.0",
@@ -273,9 +270,9 @@
273
270
  "ng-in-viewport": "15.0.2",
274
271
  "ng-lock": "16.0.1",
275
272
  "ng-packagr": "16.0.1",
276
- "ng-talkback": "16.100.3",
273
+ "ng-talkback": "16.100.5",
277
274
  "ng2-pdfjs-viewer": "16.0.4",
278
- "ng2-rest": "16.100.3",
275
+ "ng2-rest": "16.100.5",
279
276
  "ngx-ace-wrapper": "14.0.0",
280
277
  "ngx-editor": "15.3.0",
281
278
  "ngx-highlightjs": "9.0.0",
@@ -288,7 +285,7 @@
288
285
  "ngx-scrolltop": "6.0.0",
289
286
  "ngx-store": "3.1.1",
290
287
  "ngx-typed-js": "2.1.1",
291
- "node-cli-tester": "16.100.3",
288
+ "node-cli-tester": "16.100.5",
292
289
  "node-localstorage": "2.1.6",
293
290
  "node-notifier": "6.0.0",
294
291
  "node-polyfill-webpack-plugin": "2.0.1",
@@ -316,7 +313,7 @@
316
313
  "q": "1.5.1",
317
314
  "rallax.js": "2.0.4",
318
315
  "randomcolor": "0.5.3",
319
- "record-replay-req-res-scenario": "16.100.3",
316
+ "record-replay-req-res-scenario": "16.100.5",
320
317
  "reflect-metadata": "0.1.10",
321
318
  "rimraf": "2.6.2",
322
319
  "rxjs": "~7.8.0",
@@ -327,7 +324,7 @@
327
324
  "socket.io": "2.4.1",
328
325
  "sort-package-json": "1.11.0",
329
326
  "sql.js": "1.8.0",
330
- "static-columns": "16.100.3",
327
+ "static-columns": "16.100.5",
331
328
  "string-similarity": "4.0.2",
332
329
  "sudo-block": "3.0.0",
333
330
  "supertest": "6.3.3",
@@ -335,12 +332,12 @@
335
332
  "systeminformation": "3.45.7",
336
333
  "task.js": "0.1.5",
337
334
  "threads": "1.7.0",
338
- "tnp-cli": "16.100.3",
339
- "tnp-config": "16.100.7",
340
- "tnp-core": "16.100.17",
341
- "tnp-db": "16.100.6",
342
- "tnp-helpers": "16.100.7",
343
- "tnp-models": "16.100.7",
335
+ "tnp-cli": "16.100.5",
336
+ "tnp-config": "16.100.9",
337
+ "tnp-core": "16.100.20",
338
+ "tnp-db": "16.100.8",
339
+ "tnp-helpers": "16.100.13",
340
+ "tnp-models": "16.100.9",
344
341
  "ts-debug": "1.3.0",
345
342
  "ts-json-schema-generator": "2.1.1",
346
343
  "ts-loader": "2.3.1",
@@ -349,13 +346,13 @@
349
346
  "tslint": "5.9.1",
350
347
  "turndown": "7.1.2",
351
348
  "typescript": "~5.0.2",
352
- "typescript-class-helpers": "~16.100.7",
349
+ "typescript-class-helpers": "~16.100.9",
353
350
  "typescript-formatter": "~7.2.2",
354
351
  "underscore": "1.9.1",
355
352
  "uuid": "8.3.2",
356
353
  "validator": "9.2.0",
357
354
  "video.js": "8.3.0",
358
- "vpn-split": "16.100.3",
355
+ "vpn-split": "16.100.5",
359
356
  "watch": "1.0.2",
360
357
  "webpack": "~5.80",
361
358
  "webpack-dev-middleware": "~6.0.2",
package/firedev.jsonc CHANGED
@@ -1,44 +1,44 @@
1
- {
2
- "resources": ["README.md"],
3
- "overrided": {
4
- "dependencies": {},
5
- "includeAsDev": [],
6
- "includeOnly": [
7
- "@types/diff",
8
- "diff",
9
- "axios",
10
- "lodash",
11
- "@types/lodash",
12
- "ng2-logger",
13
- "json5",
14
- "json10",
15
- ],
16
- "ignoreDepsPattern": [],
17
- "linkedFolders": [],
18
- "npmFixes": [],
19
- },
20
- "smartContainerBuildTarget": "",
21
- "linkedRepos": [],
22
- "libReleaseOptions": {
23
- "nodts": false,
24
- "obscure": false,
25
- "ugly": false,
26
- "includeNodeModules": false,
27
- "cliBuildNoDts": false,
28
- "cliBuildObscure": false,
29
- "cliBuildIncludeNodeModules": false,
30
- "cliBuildUglify": false,
31
- },
32
- "smartContainerTarget": "",
33
- "type": "isomorphic-lib",
34
- "version": "v4",
35
- "additionalNpmNames": ["firedev-rest"],
36
- "license": "MIT",
37
- "private": false,
38
- "author": {
39
- "name": "Dariusz Filipiak",
40
- },
41
- "homepage": "https://github.com/darekf77/ng2-rest#readme",
42
- "keywords": ["isomorphic", "logger", "log", "typescript"],
43
- "workerPlugins": {},
44
- }
1
+ {
2
+ "resources": ["README.md"],
3
+ "overrided": {
4
+ "dependencies": {},
5
+ "includeAsDev": [],
6
+ "includeOnly": [
7
+ "@types/diff",
8
+ "diff",
9
+ "axios",
10
+ "lodash",
11
+ "@types/lodash",
12
+ "ng2-logger",
13
+ "json5",
14
+ "json10",
15
+ ],
16
+ "ignoreDepsPattern": [],
17
+ "linkedFolders": [],
18
+ "npmFixes": [],
19
+ },
20
+ "smartContainerBuildTarget": "",
21
+ "linkedRepos": [],
22
+ "libReleaseOptions": {
23
+ "nodts": false,
24
+ "obscure": false,
25
+ "ugly": false,
26
+ "includeNodeModules": false,
27
+ "cliBuildNoDts": false,
28
+ "cliBuildObscure": false,
29
+ "cliBuildIncludeNodeModules": false,
30
+ "cliBuildUglify": false,
31
+ },
32
+ "smartContainerTarget": "",
33
+ "type": "isomorphic-lib",
34
+ "version": "v4",
35
+ "additionalNpmNames": ["firedev-rest"],
36
+ "license": "MIT",
37
+ "private": false,
38
+ "author": {
39
+ "name": "Dariusz Filipiak",
40
+ },
41
+ "homepage": "https://github.com/darekf77/ng2-rest#readme",
42
+ "keywords": ["isomorphic", "logger", "log", "typescript"],
43
+ "workerPlugins": {},
44
+ }
package/package.json CHANGED
@@ -53,10 +53,7 @@
53
53
  "workerPlugins": {}
54
54
  },
55
55
  "name": "ng2-rest",
56
- "version": "16.100.4",
57
- "scripts": {
58
- "build:watch": "npm-run watch \"morphi build\" src"
59
- },
56
+ "version": "16.100.6",
60
57
  "bugs": {
61
58
  "url": "https://github.com/darekf77/ng2-rest/issues"
62
59
  },
@@ -79,14 +76,14 @@
79
76
  "@types/lodash": "4.14.92",
80
77
  "axios": "1.3.5",
81
78
  "diff": "3.2.0",
82
- "json10": "16.100.4",
79
+ "json10": "16.100.6",
83
80
  "json5": "2.2.1",
84
81
  "lodash": "4.17.20",
85
- "ng2-logger": "16.100.7"
82
+ "ng2-logger": "16.100.9"
86
83
  },
87
84
  "license": "MIT",
88
85
  "private": false,
89
- "lastBuildTagHash": "90f3fd9cafcaa142417fa56980f35e25b4ef2f33",
86
+ "lastBuildTagHash": "486225e273743c84dffa284331081cbc6f6df9d5",
90
87
  "devDependencies": {},
91
88
  "main": "dist/app.electron.js"
92
89
  }
@@ -57,10 +57,7 @@
57
57
  "workerPlugins": {}
58
58
  },
59
59
  "name": "ng2-rest",
60
- "version": "16.100.4",
61
- "scripts": {
62
- "build:watch": "npm-run watch \"morphi build\" src"
63
- },
60
+ "version": "16.100.6",
64
61
  "bugs": {
65
62
  "url": "https://github.com/darekf77/ng2-rest/issues"
66
63
  },
@@ -83,14 +80,14 @@
83
80
  "@types/lodash": "4.14.92",
84
81
  "axios": "1.3.5",
85
82
  "diff": "3.2.0",
86
- "json10": "16.100.4",
83
+ "json10": "16.100.6",
87
84
  "json5": "2.2.1",
88
85
  "lodash": "4.17.20",
89
- "ng2-logger": "16.100.7"
86
+ "ng2-logger": "16.100.9"
90
87
  },
91
88
  "license": "MIT",
92
89
  "private": false,
93
- "lastBuildTagHash": "90f3fd9cafcaa142417fa56980f35e25b4ef2f33",
90
+ "lastBuildTagHash": "486225e273743c84dffa284331081cbc6f6df9d5",
94
91
  "devDependencies": {
95
92
  "@angular-builders/custom-webpack": "~16.0.2-beta.2",
96
93
  "@angular-devkit/build-angular": "~16.0.5",
@@ -170,8 +167,8 @@
170
167
  "angular-material-css-vars": "5.0.2",
171
168
  "angular-resize-event": "3.2.0",
172
169
  "animate.css": "4.1.1 ",
173
- "any-project-cli": "16.100.7",
174
- "background-worker-process": "16.100.4",
170
+ "any-project-cli": "16.100.9",
171
+ "background-worker-process": "16.100.10",
175
172
  "base32": "0.0.7",
176
173
  "bcryptjs": "2.4.3",
177
174
  "better-sqlite3": "9.5.0",
@@ -218,13 +215,13 @@
218
215
  "file-saver": "2.0.5",
219
216
  "file-type": "18.5.0",
220
217
  "firedev": "^16",
221
- "firedev-crud": "16.100.6",
222
- "firedev-crud-deamon": "16.100.6",
223
- "firedev-ports": "16.100.6",
224
- "firedev-storage": "16.100.3",
225
- "firedev-type-sql": "16.100.3",
226
- "firedev-typeorm": "16.100.3",
227
- "firedev-ui": "16.100.5",
218
+ "firedev-crud": "16.100.9",
219
+ "firedev-crud-deamon": "16.100.8",
220
+ "firedev-ports": "16.100.9",
221
+ "firedev-storage": "16.100.5",
222
+ "firedev-type-sql": "16.100.5",
223
+ "firedev-typeorm": "16.100.5",
224
+ "firedev-ui": "16.100.8",
228
225
  "fkill": "6.1.0",
229
226
  "font-awesome": "4.7.0",
230
227
  "form-data": "4.0.0",
@@ -242,11 +239,11 @@
242
239
  "image-focus": "1.2.1",
243
240
  "immer": "10.0.2",
244
241
  "immutable": "4.3.0",
245
- "incremental-compiler": "16.100.7",
242
+ "incremental-compiler": "16.100.9",
246
243
  "inquirer": "7.3.3",
247
244
  "inquirer-autocomplete-prompt": "1.3.0",
248
245
  "is-elevated": "3.0.0",
249
- "isomorphic-region-loader": "16.100.6",
246
+ "isomorphic-region-loader": "16.100.8",
250
247
  "istanbul-instrumenter-loader": "2.0.0",
251
248
  "jest": "29.5.0",
252
249
  "jest-date-mock": "1.0.8",
@@ -257,16 +254,16 @@
257
254
  "joi": "17.9.2",
258
255
  "jscodeshift": "0.6.3",
259
256
  "json-stringify-safe": "5.0.1",
260
- "json10-writer": "16.100.7",
257
+ "json10-writer": "16.100.9",
261
258
  "json5-writer": "0.2.0",
262
259
  "jszip": "3.10.1",
263
260
  "karma-cli": "1.0.1",
264
261
  "lnk": "1.0.1",
265
262
  "localforage": "1.10.0",
266
263
  "lockfile": "1.0.4",
267
- "lodash-walk-object": "16.100.4",
264
+ "lodash-walk-object": "16.100.6",
268
265
  "lowdb": "7.0.1",
269
- "magic-renamer": "16.100.6",
266
+ "magic-renamer": "16.100.8",
270
267
  "material-design-icons": "3.0.1",
271
268
  "method-override": "2.3.10",
272
269
  "minimist": "1.2.0",
@@ -277,9 +274,9 @@
277
274
  "ng-in-viewport": "15.0.2",
278
275
  "ng-lock": "16.0.1",
279
276
  "ng-packagr": "16.0.1",
280
- "ng-talkback": "16.100.3",
277
+ "ng-talkback": "16.100.5",
281
278
  "ng2-pdfjs-viewer": "16.0.4",
282
- "ng2-rest": "16.100.3",
279
+ "ng2-rest": "16.100.5",
283
280
  "ngx-ace-wrapper": "14.0.0",
284
281
  "ngx-editor": "15.3.0",
285
282
  "ngx-highlightjs": "9.0.0",
@@ -292,7 +289,7 @@
292
289
  "ngx-scrolltop": "6.0.0",
293
290
  "ngx-store": "3.1.1",
294
291
  "ngx-typed-js": "2.1.1",
295
- "node-cli-tester": "16.100.3",
292
+ "node-cli-tester": "16.100.5",
296
293
  "node-localstorage": "2.1.6",
297
294
  "node-notifier": "6.0.0",
298
295
  "node-polyfill-webpack-plugin": "2.0.1",
@@ -320,7 +317,7 @@
320
317
  "q": "1.5.1",
321
318
  "rallax.js": "2.0.4",
322
319
  "randomcolor": "0.5.3",
323
- "record-replay-req-res-scenario": "16.100.3",
320
+ "record-replay-req-res-scenario": "16.100.5",
324
321
  "reflect-metadata": "0.1.10",
325
322
  "rimraf": "2.6.2",
326
323
  "rxjs": "~7.8.0",
@@ -331,7 +328,7 @@
331
328
  "socket.io": "2.4.1",
332
329
  "sort-package-json": "1.11.0",
333
330
  "sql.js": "1.8.0",
334
- "static-columns": "16.100.3",
331
+ "static-columns": "16.100.5",
335
332
  "string-similarity": "4.0.2",
336
333
  "sudo-block": "3.0.0",
337
334
  "supertest": "6.3.3",
@@ -339,12 +336,12 @@
339
336
  "systeminformation": "3.45.7",
340
337
  "task.js": "0.1.5",
341
338
  "threads": "1.7.0",
342
- "tnp-cli": "16.100.3",
343
- "tnp-config": "16.100.7",
344
- "tnp-core": "16.100.17",
345
- "tnp-db": "16.100.6",
346
- "tnp-helpers": "16.100.7",
347
- "tnp-models": "16.100.7",
339
+ "tnp-cli": "16.100.5",
340
+ "tnp-config": "16.100.9",
341
+ "tnp-core": "16.100.20",
342
+ "tnp-db": "16.100.8",
343
+ "tnp-helpers": "16.100.13",
344
+ "tnp-models": "16.100.9",
348
345
  "ts-debug": "1.3.0",
349
346
  "ts-json-schema-generator": "2.1.1",
350
347
  "ts-loader": "2.3.1",
@@ -353,13 +350,13 @@
353
350
  "tslint": "5.9.1",
354
351
  "turndown": "7.1.2",
355
352
  "typescript": "~5.0.2",
356
- "typescript-class-helpers": "~16.100.7",
353
+ "typescript-class-helpers": "~16.100.9",
357
354
  "typescript-formatter": "~7.2.2",
358
355
  "underscore": "1.9.1",
359
356
  "uuid": "8.3.2",
360
357
  "validator": "9.2.0",
361
358
  "video.js": "8.3.0",
362
- "vpn-split": "16.100.3",
359
+ "vpn-split": "16.100.5",
363
360
  "watch": "1.0.2",
364
361
  "webpack": "~5.80",
365
362
  "webpack-dev-middleware": "~6.0.2",
@@ -370,14 +367,14 @@
370
367
  "main": "dist/app.electron.js"
371
368
  },
372
369
  "build": {
373
- "number": 911,
374
- "date": "2024-05-20T11:14:26.000Z",
375
- "hash": "131b5bbfb422231110b92eae24ec69647d6f1db5"
370
+ "number": 914,
371
+ "date": "2024-05-24T06:55:08.000Z",
372
+ "hash": "afe01dc4e615c7ce2bb501fa5452c965bb6d21bf"
376
373
  },
377
374
  "currentProjectName": "ng2-rest",
378
375
  "currentProjectGenericName": "ng2-rest",
379
376
  "currentProjectType": "isomorphic-lib",
380
- "currentFrameworkVersion": "16.100.7",
377
+ "currentFrameworkVersion": "16.100.11",
381
378
  "isStandaloneProject": true,
382
379
  "isSmartContainer": false,
383
380
  "pathesTsconfig": "\"paths\": {\"ng2-rest\":[\"./src/lib\"],\"ng2-rest/*\":[\"./src/lib/*\"]},",
package/websql/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.