json10 13.1.42 → 13.1.44
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/README.md +24 -24
- package/browser/esm2020/json10.mjs +4 -4
- package/browser/esm2020/lib/index.mjs +53 -53
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/fesm2015/json10.mjs +51 -51
- package/browser/fesm2020/json10.mjs +51 -51
- package/browser/json10.d.ts +4 -4
- package/browser/lib/index.d.ts +14 -14
- package/client/README.md +24 -24
- package/client/esm2020/json10.mjs +4 -4
- package/client/esm2020/lib/index.mjs +53 -53
- package/client/esm2020/public-api.mjs +1 -1
- package/client/fesm2015/json10.mjs +51 -51
- package/client/fesm2020/json10.mjs +51 -51
- package/client/json10.d.ts +4 -4
- package/client/lib/index.d.ts +14 -14
- package/client/package.json +42 -41
- package/index.d.ts +1 -1
- package/index.js.map +1 -1
- package/lib/index.d.ts +15 -15
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/package.json_devDependencies.json +224 -224
- package/package.json_tnp.json5 +54 -51
- package/tmp-environment.json +49 -46
- package/websql/README.md +24 -24
- package/websql/esm2020/json10.mjs +4 -4
- package/websql/esm2020/lib/index.mjs +53 -53
- package/websql/esm2020/public-api.mjs +1 -1
- package/websql/fesm2015/json10.mjs +51 -51
- package/websql/fesm2020/json10.mjs +51 -51
- package/websql/json10.d.ts +4 -4
- package/websql/lib/index.d.ts +14 -14
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './lib';
|
|
1
|
+
export * from './lib';
|
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3RtcC1saWJzLWZvci1idW5kbGUvanNvbjEwL3Byb2plY3RzL2pzb24xMC9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcbiJdfQ==
|
|
@@ -2,59 +2,59 @@ import { _ } from 'tnp-core/browser';
|
|
|
2
2
|
import { walk } from 'lodash-walk-object/browser';
|
|
3
3
|
import { CLASS } from 'typescript-class-helpers/browser';
|
|
4
4
|
|
|
5
|
-
class JSON10 {
|
|
6
|
-
static structureArray(anyJSON, options) {
|
|
7
|
-
let pathes = [];
|
|
8
|
-
const { include, exclude } = options || {};
|
|
9
|
-
walk.Object(anyJSON, (value, lodashPath) => {
|
|
10
|
-
if (!_.isUndefined(value)) {
|
|
11
|
-
pathes.push(lodashPath);
|
|
12
|
-
}
|
|
13
|
-
}, { include, exclude, checkCircural: true });
|
|
14
|
-
return pathes;
|
|
15
|
-
}
|
|
16
|
-
static cleaned(json, onCircs, options) {
|
|
17
|
-
const result = _.isArray(json) ? [] : {};
|
|
18
|
-
const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);
|
|
19
|
-
const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };
|
|
20
|
-
const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {
|
|
21
|
-
if (_.isObject(value) && options.isCircural) {
|
|
22
|
-
_.set(result, lodashPath, null);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
_.set(result, lodashPath, _.cloneDeep(value));
|
|
26
|
-
}
|
|
27
|
-
}, { include, exclude, breadthWalk, checkCircural: true });
|
|
28
|
-
if (_.isFunction(onCircs)) {
|
|
29
|
-
onCircs(circs);
|
|
30
|
-
}
|
|
31
|
-
return _.isFunction(classFN) ? _.merge(new classFN(), result) : result;
|
|
32
|
-
}
|
|
33
|
-
static stringify(anyJSON, replace, spaces, onCircs) {
|
|
34
|
-
const json = this.cleaned(anyJSON, onCircs);
|
|
35
|
-
return JSON.stringify(json, replace, spaces);
|
|
36
|
-
}
|
|
37
|
-
static parse(json, circs = []) {
|
|
38
|
-
let res = JSON.parse(json);
|
|
39
|
-
if (_.isArray(circs)) {
|
|
40
|
-
circs.forEach(({ circuralTargetPath, pathToObj }) => {
|
|
41
|
-
if (circuralTargetPath === '') {
|
|
42
|
-
_.set(res, pathToObj, res);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
let v = _.get(res, circuralTargetPath);
|
|
46
|
-
_.set(res, pathToObj, v);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return res;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
;
|
|
5
|
+
class JSON10 {
|
|
6
|
+
static structureArray(anyJSON, options) {
|
|
7
|
+
let pathes = [];
|
|
8
|
+
const { include, exclude } = options || {};
|
|
9
|
+
walk.Object(anyJSON, (value, lodashPath) => {
|
|
10
|
+
if (!_.isUndefined(value)) {
|
|
11
|
+
pathes.push(lodashPath);
|
|
12
|
+
}
|
|
13
|
+
}, { include, exclude, checkCircural: true });
|
|
14
|
+
return pathes;
|
|
15
|
+
}
|
|
16
|
+
static cleaned(json, onCircs, options) {
|
|
17
|
+
const result = _.isArray(json) ? [] : {};
|
|
18
|
+
const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);
|
|
19
|
+
const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };
|
|
20
|
+
const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {
|
|
21
|
+
if (_.isObject(value) && options.isCircural) {
|
|
22
|
+
_.set(result, lodashPath, null);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
_.set(result, lodashPath, _.cloneDeep(value));
|
|
26
|
+
}
|
|
27
|
+
}, { include, exclude, breadthWalk, checkCircural: true });
|
|
28
|
+
if (_.isFunction(onCircs)) {
|
|
29
|
+
onCircs(circs);
|
|
30
|
+
}
|
|
31
|
+
return _.isFunction(classFN) ? _.merge(new classFN(), result) : result;
|
|
32
|
+
}
|
|
33
|
+
static stringify(anyJSON, replace, spaces, onCircs) {
|
|
34
|
+
const json = this.cleaned(anyJSON, onCircs);
|
|
35
|
+
return JSON.stringify(json, replace, spaces);
|
|
36
|
+
}
|
|
37
|
+
static parse(json, circs = []) {
|
|
38
|
+
let res = JSON.parse(json);
|
|
39
|
+
if (_.isArray(circs)) {
|
|
40
|
+
circs.forEach(({ circuralTargetPath, pathToObj }) => {
|
|
41
|
+
if (circuralTargetPath === '') {
|
|
42
|
+
_.set(res, pathToObj, res);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
let v = _.get(res, circuralTargetPath);
|
|
46
|
+
_.set(res, pathToObj, v);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
return res;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
;
|
|
54
54
|
({}); // @--end-of-file-for-module=json10 lib/index.ts
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Generated bundle index. Do not edit.
|
|
56
|
+
/**
|
|
57
|
+
* Generated bundle index. Do not edit.
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
60
|
export { JSON10 };
|
|
@@ -2,59 +2,59 @@ import { _ } from 'tnp-core/browser';
|
|
|
2
2
|
import { walk } from 'lodash-walk-object/browser';
|
|
3
3
|
import { CLASS } from 'typescript-class-helpers/browser';
|
|
4
4
|
|
|
5
|
-
class JSON10 {
|
|
6
|
-
static structureArray(anyJSON, options) {
|
|
7
|
-
let pathes = [];
|
|
8
|
-
const { include, exclude } = options || {};
|
|
9
|
-
walk.Object(anyJSON, (value, lodashPath) => {
|
|
10
|
-
if (!_.isUndefined(value)) {
|
|
11
|
-
pathes.push(lodashPath);
|
|
12
|
-
}
|
|
13
|
-
}, { include, exclude, checkCircural: true });
|
|
14
|
-
return pathes;
|
|
15
|
-
}
|
|
16
|
-
static cleaned(json, onCircs, options) {
|
|
17
|
-
const result = _.isArray(json) ? [] : {};
|
|
18
|
-
const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);
|
|
19
|
-
const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };
|
|
20
|
-
const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {
|
|
21
|
-
if (_.isObject(value) && options.isCircural) {
|
|
22
|
-
_.set(result, lodashPath, null);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
_.set(result, lodashPath, _.cloneDeep(value));
|
|
26
|
-
}
|
|
27
|
-
}, { include, exclude, breadthWalk, checkCircural: true });
|
|
28
|
-
if (_.isFunction(onCircs)) {
|
|
29
|
-
onCircs(circs);
|
|
30
|
-
}
|
|
31
|
-
return _.isFunction(classFN) ? _.merge(new classFN(), result) : result;
|
|
32
|
-
}
|
|
33
|
-
static stringify(anyJSON, replace, spaces, onCircs) {
|
|
34
|
-
const json = this.cleaned(anyJSON, onCircs);
|
|
35
|
-
return JSON.stringify(json, replace, spaces);
|
|
36
|
-
}
|
|
37
|
-
static parse(json, circs = []) {
|
|
38
|
-
let res = JSON.parse(json);
|
|
39
|
-
if (_.isArray(circs)) {
|
|
40
|
-
circs.forEach(({ circuralTargetPath, pathToObj }) => {
|
|
41
|
-
if (circuralTargetPath === '') {
|
|
42
|
-
_.set(res, pathToObj, res);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
let v = _.get(res, circuralTargetPath);
|
|
46
|
-
_.set(res, pathToObj, v);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return res;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
;
|
|
5
|
+
class JSON10 {
|
|
6
|
+
static structureArray(anyJSON, options) {
|
|
7
|
+
let pathes = [];
|
|
8
|
+
const { include, exclude } = options || {};
|
|
9
|
+
walk.Object(anyJSON, (value, lodashPath) => {
|
|
10
|
+
if (!_.isUndefined(value)) {
|
|
11
|
+
pathes.push(lodashPath);
|
|
12
|
+
}
|
|
13
|
+
}, { include, exclude, checkCircural: true });
|
|
14
|
+
return pathes;
|
|
15
|
+
}
|
|
16
|
+
static cleaned(json, onCircs, options) {
|
|
17
|
+
const result = _.isArray(json) ? [] : {};
|
|
18
|
+
const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);
|
|
19
|
+
const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };
|
|
20
|
+
const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {
|
|
21
|
+
if (_.isObject(value) && options.isCircural) {
|
|
22
|
+
_.set(result, lodashPath, null);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
_.set(result, lodashPath, _.cloneDeep(value));
|
|
26
|
+
}
|
|
27
|
+
}, { include, exclude, breadthWalk, checkCircural: true });
|
|
28
|
+
if (_.isFunction(onCircs)) {
|
|
29
|
+
onCircs(circs);
|
|
30
|
+
}
|
|
31
|
+
return _.isFunction(classFN) ? _.merge(new classFN(), result) : result;
|
|
32
|
+
}
|
|
33
|
+
static stringify(anyJSON, replace, spaces, onCircs) {
|
|
34
|
+
const json = this.cleaned(anyJSON, onCircs);
|
|
35
|
+
return JSON.stringify(json, replace, spaces);
|
|
36
|
+
}
|
|
37
|
+
static parse(json, circs = []) {
|
|
38
|
+
let res = JSON.parse(json);
|
|
39
|
+
if (_.isArray(circs)) {
|
|
40
|
+
circs.forEach(({ circuralTargetPath, pathToObj }) => {
|
|
41
|
+
if (circuralTargetPath === '') {
|
|
42
|
+
_.set(res, pathToObj, res);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
let v = _.get(res, circuralTargetPath);
|
|
46
|
+
_.set(res, pathToObj, v);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
return res;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
;
|
|
54
54
|
({}); // @--end-of-file-for-module=json10 lib/index.ts
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Generated bundle index. Do not edit.
|
|
56
|
+
/**
|
|
57
|
+
* Generated bundle index. Do not edit.
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
60
|
export { JSON10 };
|
package/client/json10.d.ts
CHANGED
package/client/lib/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Models } from 'lodash-walk-object/browser';
|
|
3
|
-
export declare type Circ = Models.Circ;
|
|
4
|
-
export declare class JSON10 {
|
|
5
|
-
static structureArray(anyJSON: Object, options?: {
|
|
6
|
-
include?: string[];
|
|
7
|
-
exclude?: string[];
|
|
8
|
-
}): any[];
|
|
9
|
-
static cleaned(json: any, onCircs?: (circs: Circ[]) => any, options?: {
|
|
10
|
-
exclude?: string[];
|
|
11
|
-
include?: string[];
|
|
12
|
-
breadthWalk?: boolean;
|
|
13
|
-
}): any;
|
|
14
|
-
static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any): string;
|
|
15
|
-
static parse(json: string, circs?: Circ[]): any;
|
|
2
|
+
import { Models } from 'lodash-walk-object/browser';
|
|
3
|
+
export declare type Circ = Models.Circ;
|
|
4
|
+
export declare class JSON10 {
|
|
5
|
+
static structureArray(anyJSON: Object, options?: {
|
|
6
|
+
include?: string[];
|
|
7
|
+
exclude?: string[];
|
|
8
|
+
}): any[];
|
|
9
|
+
static cleaned(json: any, onCircs?: (circs: Circ[]) => any, options?: {
|
|
10
|
+
exclude?: string[];
|
|
11
|
+
include?: string[];
|
|
12
|
+
breadthWalk?: boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any): string;
|
|
15
|
+
static parse(json: string, circs?: Circ[]): any;
|
|
16
16
|
}
|
package/client/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json10",
|
|
3
3
|
"description": "Handle circural references, comments and many more inside JSON",
|
|
4
|
-
"version": "13.1.
|
|
4
|
+
"version": "13.1.44",
|
|
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"
|
|
@@ -21,14 +21,15 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/darekf77/json10#readme",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"lodash-walk-object": "~13.1.
|
|
24
|
+
"lodash-walk-object": "~13.1.44"
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"private": false,
|
|
28
|
-
"lastBuildTagHash": "
|
|
28
|
+
"lastBuildTagHash": "81100ef6e51faf630a26e8a67abba06260697806",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@angular-devkit/build-angular": "~13.3.9",
|
|
31
31
|
"@angular-devkit/core": "~13.3.9",
|
|
32
|
+
"@angular-material-extensions/fab-menu": "~6.1.0",
|
|
32
33
|
"@angular/animations": "~13.3.0",
|
|
33
34
|
"@angular/cdk": "~13.3.9",
|
|
34
35
|
"@angular/cli": "~13.3.9",
|
|
@@ -48,6 +49,11 @@
|
|
|
48
49
|
"@iconify/icons-fa-solid": "1.2.2",
|
|
49
50
|
"@iconify/icons-mdi": "1.2.1",
|
|
50
51
|
"@mdi/js": "6.5.95",
|
|
52
|
+
"@ng-matero/extensions": "13.3.2",
|
|
53
|
+
"@ngneat/falso": "6.4.0",
|
|
54
|
+
"@ngneat/hot-toast": "4",
|
|
55
|
+
"@ngneat/overview": "3.0.0",
|
|
56
|
+
"@ngneat/until-destroy": "9.2.3",
|
|
51
57
|
"@ngrx/component-store": "~13.0.2",
|
|
52
58
|
"@ngrx/data": "~13.0.2",
|
|
53
59
|
"@ngrx/effects": "~13.0.2",
|
|
@@ -56,16 +62,10 @@
|
|
|
56
62
|
"@ngrx/schematics": "~13.0.2",
|
|
57
63
|
"@ngrx/store": "~13.0.2",
|
|
58
64
|
"@ngrx/store-devtools": "~13.0.2",
|
|
59
|
-
"@ngx-formly/bootstrap": "6.0.0-next.8",
|
|
60
65
|
"@ngx-formly/core": "6.0.0-next.8",
|
|
61
|
-
"@ngx-formly/ionic": "4.6.3",
|
|
62
66
|
"@ngx-formly/material": "6.0.0-next.8",
|
|
63
|
-
"@ngx-loading-bar/core": "6.0.2",
|
|
64
|
-
"@ngx-loading-bar/http-client": "6.0.2",
|
|
65
|
-
"@ngx-loading-bar/router": "6.0.2",
|
|
66
67
|
"@ngx-translate/core": "14.0.0",
|
|
67
68
|
"@ngx-translate/http-loader": "7.0.0",
|
|
68
|
-
"@swimlane/ngx-datatable": "20.0.0",
|
|
69
69
|
"@types/chai": "4.1.2",
|
|
70
70
|
"@types/chokidar": "2.1.3",
|
|
71
71
|
"@types/dateformat": "1.0.1",
|
|
@@ -96,14 +96,16 @@
|
|
|
96
96
|
"@types/vinyl": "2.0.2",
|
|
97
97
|
"@types/watch": "1.0.0",
|
|
98
98
|
"accepts": "1.3.4",
|
|
99
|
-
"
|
|
99
|
+
"angular-material-css-vars": "5.0.0",
|
|
100
|
+
"any-project-cli": "~13.1.26",
|
|
100
101
|
"axios": "1.3.5",
|
|
101
|
-
"background-worker-process": "~13.1.
|
|
102
|
+
"background-worker-process": "~13.1.43",
|
|
102
103
|
"base32": "0.0.7",
|
|
103
104
|
"bcryptjs": "2.4.3",
|
|
104
105
|
"better-sqlite3": "7.6.2",
|
|
105
106
|
"body-parser": "1.18.2",
|
|
106
107
|
"bootstrap": "4.6.2",
|
|
108
|
+
"bs4-breakpoint": "13.0.33",
|
|
107
109
|
"buffer-shims": "1.0.0",
|
|
108
110
|
"callsite-record": "4.1.3",
|
|
109
111
|
"chai": "4.2.0",
|
|
@@ -112,6 +114,7 @@
|
|
|
112
114
|
"cheerio": "1.0.0-rc.3",
|
|
113
115
|
"chokidar": "3.5.1",
|
|
114
116
|
"circular-json": "0.5.1",
|
|
117
|
+
"class-validator": "0.14.0",
|
|
115
118
|
"command-exists": "1.2.2",
|
|
116
119
|
"compression": "1.7.4",
|
|
117
120
|
"concurrently": "3.5.1",
|
|
@@ -135,16 +138,15 @@
|
|
|
135
138
|
"express": "4.16.3",
|
|
136
139
|
"express-fileupload": "1.4.0",
|
|
137
140
|
"express-session": "1.17.3",
|
|
138
|
-
"fbgraph": "1.4.1",
|
|
139
141
|
"file-loader": "1.1.5",
|
|
140
142
|
"file-saver": "2.0.5",
|
|
141
143
|
"firedev": "^13",
|
|
142
|
-
"firedev-crud": "~13.1.
|
|
143
|
-
"firedev-crud-deamon": "~13.1.
|
|
144
|
-
"firedev-ports": "~13.1.
|
|
145
|
-
"firedev-storage": "~13.
|
|
146
|
-
"firedev-typeorm": "~13.1.
|
|
147
|
-
"firedev-ui": "~13.
|
|
144
|
+
"firedev-crud": "~13.1.48",
|
|
145
|
+
"firedev-crud-deamon": "~13.1.38",
|
|
146
|
+
"firedev-ports": "~13.1.42",
|
|
147
|
+
"firedev-storage": "~13.2.35",
|
|
148
|
+
"firedev-typeorm": "~13.1.30",
|
|
149
|
+
"firedev-ui": "~13.2.7",
|
|
148
150
|
"fkill": "6.1.0",
|
|
149
151
|
"font-awesome": "4.7.0",
|
|
150
152
|
"form-data": "4.0.0",
|
|
@@ -153,21 +155,22 @@
|
|
|
153
155
|
"glob": "7.1.2",
|
|
154
156
|
"gulp": "3.9.1",
|
|
155
157
|
"hostile": "1.3.3",
|
|
158
|
+
"howler": "2.2.3",
|
|
156
159
|
"http-proxy": "1.16.2",
|
|
157
160
|
"http-proxy-middleware": "0.19.1",
|
|
158
161
|
"http-server": "0.11.1",
|
|
159
162
|
"immutable": "4.3.0",
|
|
160
|
-
"incremental-compiler": "~13.1.
|
|
163
|
+
"incremental-compiler": "~13.1.25",
|
|
161
164
|
"inquirer": "7.3.3",
|
|
162
165
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
163
166
|
"is-elevated": "3.0.0",
|
|
164
|
-
"isomorphic-region-loader": "~13.1.
|
|
167
|
+
"isomorphic-region-loader": "~13.1.36",
|
|
165
168
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
166
169
|
"jasmine-core": "4.0.0",
|
|
167
170
|
"jscodeshift": "0.6.3",
|
|
168
171
|
"json-stringify-safe": "5.0.1",
|
|
169
|
-
"json10": "~13.1.
|
|
170
|
-
"json10-writer": "~13.1.
|
|
172
|
+
"json10": "~13.1.43",
|
|
173
|
+
"json10-writer": "~13.1.39",
|
|
171
174
|
"json5": "2.1.3",
|
|
172
175
|
"json5-writer": "0.2.0",
|
|
173
176
|
"jszip": "3.10.1",
|
|
@@ -182,23 +185,20 @@
|
|
|
182
185
|
"lockfile": "1.0.4",
|
|
183
186
|
"lodash": "4.17.4",
|
|
184
187
|
"lowdb": "1.0.0",
|
|
185
|
-
"magic-renamer": "~13.1.
|
|
188
|
+
"magic-renamer": "~13.1.40",
|
|
186
189
|
"material-design-icons": "3.0.1",
|
|
187
190
|
"method-override": "2.3.10",
|
|
188
191
|
"minimist": "1.2.0",
|
|
189
192
|
"mkdirp": "0.5.1",
|
|
190
193
|
"mocha": "5.2.0",
|
|
191
194
|
"moment": "2.22.2",
|
|
192
|
-
"morphi": "~13.2.
|
|
195
|
+
"morphi": "~13.2.10",
|
|
196
|
+
"ng-in-viewport": "13.0.1",
|
|
193
197
|
"ng-packagr": "13.0.0",
|
|
194
198
|
"ng-talkback": "~13.1.19",
|
|
195
|
-
"ng2-
|
|
196
|
-
"ng2-
|
|
197
|
-
"ng2-rest": "~13.2.4",
|
|
198
|
-
"ng4-icons": "~13.1.21",
|
|
199
|
-
"ng4-modal": "~13.1.23",
|
|
199
|
+
"ng2-logger": "~13.1.24",
|
|
200
|
+
"ng2-rest": "~13.2.7",
|
|
200
201
|
"ngx-ace-wrapper": "12",
|
|
201
|
-
"ngx-bootstrap": "2.0.2",
|
|
202
202
|
"ngx-editor": "12.2.1",
|
|
203
203
|
"ngx-highlightjs": "6.1.3",
|
|
204
204
|
"ngx-moment": "6.0.2",
|
|
@@ -206,8 +206,7 @@
|
|
|
206
206
|
"ngx-progressbar": "8.0.0",
|
|
207
207
|
"ngx-scrollbar": "9.0.2",
|
|
208
208
|
"ngx-store": "3.1.1",
|
|
209
|
-
"ngx-
|
|
210
|
-
"ngx-wig": "1.2.7",
|
|
209
|
+
"ngx-typed-js": "2.1.1",
|
|
211
210
|
"node-cli-tester": "~13.1.19",
|
|
212
211
|
"node-localstorage": "2.1.6",
|
|
213
212
|
"node-notifier": "6.0.0",
|
|
@@ -220,6 +219,7 @@
|
|
|
220
219
|
"passport": "0.3.2",
|
|
221
220
|
"passport-http-bearer": "1.0.1",
|
|
222
221
|
"password-hash": "1.2.2",
|
|
222
|
+
"pica": "9.0.1",
|
|
223
223
|
"portfinder": "1.0.21",
|
|
224
224
|
"prettier": "2.5.1",
|
|
225
225
|
"progress": "2.0.3",
|
|
@@ -238,29 +238,30 @@
|
|
|
238
238
|
"socket.io": "2.4.1",
|
|
239
239
|
"sort-package-json": "1.11.0",
|
|
240
240
|
"sql.js": "1.8.0",
|
|
241
|
-
"static-columns": "~13.3.
|
|
241
|
+
"static-columns": "~13.3.6",
|
|
242
242
|
"string-similarity": "4.0.2",
|
|
243
243
|
"sudo-block": "3.0.0",
|
|
244
244
|
"systeminformation": "3.45.7",
|
|
245
245
|
"task.js": "0.1.5",
|
|
246
|
-
"
|
|
247
|
-
"tnp-
|
|
248
|
-
"tnp-
|
|
249
|
-
"tnp-
|
|
250
|
-
"tnp-
|
|
251
|
-
"tnp-
|
|
252
|
-
"tnp-
|
|
246
|
+
"threads": "1.7.0",
|
|
247
|
+
"tnp-cli": "~13.1.59",
|
|
248
|
+
"tnp-config": "~13.1.75",
|
|
249
|
+
"tnp-core": "~13.2.19",
|
|
250
|
+
"tnp-db": "~13.1.20",
|
|
251
|
+
"tnp-helpers": "~13.1.37",
|
|
252
|
+
"tnp-models": "~13.1.26",
|
|
253
253
|
"ts-debug": "1.3.0",
|
|
254
254
|
"ts-loader": "2.3.1",
|
|
255
255
|
"ts-node": "10.7.0",
|
|
256
256
|
"tslib": "~2.3.0",
|
|
257
257
|
"typeorm": "~0.3.10",
|
|
258
258
|
"typescript": "~4.6.2",
|
|
259
|
-
"typescript-class-helpers": "~13.2.
|
|
259
|
+
"typescript-class-helpers": "~13.2.12",
|
|
260
260
|
"typescript-formatter": "~7.2.2",
|
|
261
261
|
"underscore": "1.9.1",
|
|
262
262
|
"uuid": "8.3.2",
|
|
263
263
|
"validator": "9.2.0",
|
|
264
|
+
"video.js": "8.3.0",
|
|
264
265
|
"vpn-split": "~13.1.23",
|
|
265
266
|
"watch": "1.0.2",
|
|
266
267
|
"yup": "1.1.1",
|
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib';
|
|
1
|
+
export * from './lib';
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["C:/Users/darek/projects/npm/firedev-io/json10/tmp-bundle-release/bundle/project/json10/src/index.ts"],"names":[],"mappings":";;;AAAA,gDAAsB"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Models } from 'lodash-walk-object';
|
|
2
|
-
export declare type Circ = Models.Circ;
|
|
3
|
-
export declare class JSON10 {
|
|
4
|
-
static structureArray(anyJSON: Object, options?: {
|
|
5
|
-
include?: string[];
|
|
6
|
-
exclude?: string[];
|
|
7
|
-
}): any[];
|
|
8
|
-
static cleaned(json: any, onCircs?: (circs: Circ[]) => any, options?: {
|
|
9
|
-
exclude?: string[];
|
|
10
|
-
include?: string[];
|
|
11
|
-
breadthWalk?: boolean;
|
|
12
|
-
}): any;
|
|
13
|
-
static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any): string;
|
|
14
|
-
static parse(json: string, circs?: Circ[]): any;
|
|
15
|
-
}
|
|
1
|
+
import { Models } from 'lodash-walk-object';
|
|
2
|
+
export declare type Circ = Models.Circ;
|
|
3
|
+
export declare class JSON10 {
|
|
4
|
+
static structureArray(anyJSON: Object, options?: {
|
|
5
|
+
include?: string[];
|
|
6
|
+
exclude?: string[];
|
|
7
|
+
}): any[];
|
|
8
|
+
static cleaned(json: any, onCircs?: (circs: Circ[]) => any, options?: {
|
|
9
|
+
exclude?: string[];
|
|
10
|
+
include?: string[];
|
|
11
|
+
breadthWalk?: boolean;
|
|
12
|
+
}): any;
|
|
13
|
+
static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any): string;
|
|
14
|
+
static parse(json: string, circs?: Circ[]): any;
|
|
15
|
+
}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["C:/Users/darek/projects/npm/firedev-io/json10/tmp-bundle-release/bundle/project/json10/src/lib/index.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json10",
|
|
3
3
|
"description": "Handle circural references, comments and many more inside JSON",
|
|
4
|
-
"version": "13.1.
|
|
4
|
+
"version": "13.1.44",
|
|
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"
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/darekf77/json10#readme",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"lodash-walk-object": "~13.1.
|
|
24
|
+
"lodash-walk-object": "~13.1.44"
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"private": false,
|
|
28
|
-
"lastBuildTagHash": "
|
|
28
|
+
"lastBuildTagHash": "81100ef6e51faf630a26e8a67abba06260697806",
|
|
29
29
|
"devDependencies": {}
|
|
30
30
|
}
|