json10 18.0.13 → 18.0.15
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.
|
@@ -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 (json10@18.0.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (json10@18.0.15)
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-dist/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-dist/json10/projects/json10/src/json10.ts"],"sourcesContent":["\n\nimport { _ } from 'tnp-core/browser';\nimport { walk, Models } from 'lodash-walk-object/browser';\nexport type Circ = Models.Circ;\nimport { CLASS } from 'typescript-class-helpers/browser';\n\n\n\n\n\nexport class JSON10 {\n\n public static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[] }) {\n let pathes = []\n const { include, exclude } = options || {} as any;\n walk.Object(anyJSON, (value, lodashPath) => {\n\n if (!_.isUndefined(value)) {\n pathes.push(lodashPath)\n }\n\n }, { include, exclude, checkCircural: true })\n return pathes;\n }\n\n\n public static cleaned(json, onCircs?: (circs: Circ[]) => any, options?:\n {\n exclude?: string[];\n include?: string[];\n breadthWalk?: boolean;\n }) {\n\n const result = _.isArray(json) ? [] : {}\n const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);\n\n const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };\n\n const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {\n\n if (_.isObject(value) && options.isCircural) {\n _.set(result, lodashPath, null)\n } else {\n _.set(result, lodashPath, _.cloneDeep(value))\n }\n\n }, { include, exclude, breadthWalk, checkCircural: true });\n\n if (_.isFunction(onCircs)) {\n onCircs(circs)\n }\n\n return _.isFunction(classFN) ? _.merge(new (classFN as any)(), result) : result;\n }\n\n public static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any) {\n const json = this.cleaned(anyJSON, onCircs);\n return JSON.stringify(json, replace, spaces);\n }\n\n public static parse(json: string, circs: Circ[] = []) {\n let res = JSON.parse(json);\n if (_.isArray(circs)) {\n circs.forEach(({ circuralTargetPath, pathToObj }) => {\n\n if (circuralTargetPath === '') {\n _.set(res, pathToObj, res)\n } else {\n let v = _.get(res, circuralTargetPath);\n _.set(res, pathToObj, v)\n }\n\n })\n }\n return res;\n }\n}\n\n ;({}); // @--end-of-file-for-module=json10 lib/index.ts","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-dist/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-dist/json10/projects/json10/src/json10.ts"],"sourcesContent":["\n\nimport { _ } from 'tnp-core/browser';\nimport { walk, Models } from 'lodash-walk-object/browser';\nexport type Circ = Models.Circ;\nimport { CLASS } from 'typescript-class-helpers/browser';\n\n\n\n\n\nexport class JSON10 {\n\n public static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[] }) {\n let pathes = []\n const { include, exclude } = options || {} as any;\n walk.Object(anyJSON, (value, lodashPath) => {\n\n if (!_.isUndefined(value)) {\n pathes.push(lodashPath)\n }\n\n }, { include, exclude, checkCircural: true })\n return pathes;\n }\n\n\n public static cleaned(json, onCircs?: (circs: Circ[]) => any, options?:\n {\n exclude?: string[];\n include?: string[];\n breadthWalk?: boolean;\n }) {\n\n const result = _.isArray(json) ? [] : {}\n const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);\n\n const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };\n\n const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {\n\n if (_.isObject(value) && options.isCircural) {\n _.set(result, lodashPath, null)\n } else {\n _.set(result, lodashPath, _.cloneDeep(value))\n }\n\n }, { include, exclude, breadthWalk, checkCircural: true });\n\n if (_.isFunction(onCircs)) {\n onCircs(circs)\n }\n\n return _.isFunction(classFN) ? _.merge(new (classFN as any)(), result) : result;\n }\n\n public static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any) {\n const json = this.cleaned(anyJSON, onCircs);\n return JSON.stringify(json, replace, spaces);\n }\n\n public static parse(json: string, circs: Circ[] = []) {\n let res = JSON.parse(json);\n if (_.isArray(circs)) {\n circs.forEach(({ circuralTargetPath, pathToObj }) => {\n\n if (circuralTargetPath === '') {\n _.set(res, pathToObj, res)\n } else {\n let v = _.get(res, circuralTargetPath);\n _.set(res, pathToObj, v)\n }\n\n })\n }\n return res;\n }\n}\n\n ;({}); // @--end-of-file-for-module=json10 lib/index.ts","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE;QACf,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,IAAI,EAAS;QACjD,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAI;YAEzC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;AACzB,gBAAA,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;;SAG1B,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;AAC7C,QAAA,OAAO,MAAM;;AA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,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;QAC3C,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC;;AAGvC,IAAA,OAAO,KAAK,CAAC,IAAY,EAAE,QAAgB,EAAE,EAAA;QAClD,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;AAC1B,QAAA,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACpB,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,kBAAkB,EAAE,SAAS,EAAE,KAAI;AAElD,gBAAA,IAAI,kBAAkB,KAAK,EAAE,EAAE;oBAC7B,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC;;qBACrB;oBACL,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC;oBACtC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC;;AAG5B,aAAC,CAAC;;AAEJ,QAAA,OAAO,GAAG;;AAEb;AAEA;AAAC,CAAC,EAAE,EAAE;;AC/EP;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-dist/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-dist/json10/projects/json10/src/json10.ts"],"sourcesContent":["\n\nimport { _ } from 'tnp-core/browser';\nimport { walk, Models } from 'lodash-walk-object/browser';\nexport type Circ = Models.Circ;\nimport { CLASS } from 'typescript-class-helpers/browser';\n\n\n\n\n\nexport class JSON10 {\n\n public static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[] }) {\n let pathes = []\n const { include, exclude } = options || {} as any;\n walk.Object(anyJSON, (value, lodashPath) => {\n\n if (!_.isUndefined(value)) {\n pathes.push(lodashPath)\n }\n\n }, { include, exclude, checkCircural: true })\n return pathes;\n }\n\n\n public static cleaned(json, onCircs?: (circs: Circ[]) => any, options?:\n {\n exclude?: string[];\n include?: string[];\n breadthWalk?: boolean;\n }) {\n\n const result = _.isArray(json) ? [] : {}\n const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);\n\n const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };\n\n const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {\n\n if (_.isObject(value) && options.isCircural) {\n _.set(result, lodashPath, null)\n } else {\n _.set(result, lodashPath, _.cloneDeep(value))\n }\n\n }, { include, exclude, breadthWalk, checkCircural: true });\n\n if (_.isFunction(onCircs)) {\n onCircs(circs)\n }\n\n return _.isFunction(classFN) ? _.merge(new (classFN as any)(), result) : result;\n }\n\n public static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any) {\n const json = this.cleaned(anyJSON, onCircs);\n return JSON.stringify(json, replace, spaces);\n }\n\n public static parse(json: string, circs: Circ[] = []) {\n let res = JSON.parse(json);\n if (_.isArray(circs)) {\n circs.forEach(({ circuralTargetPath, pathToObj }) => {\n\n if (circuralTargetPath === '') {\n _.set(res, pathToObj, res)\n } else {\n let v = _.get(res, circuralTargetPath);\n _.set(res, pathToObj, v)\n }\n\n })\n }\n return res;\n }\n}\n\n ;({}); // @--end-of-file-for-module=json10 lib/index.ts","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-dist/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-dist/json10/projects/json10/src/json10.ts"],"sourcesContent":["\n\nimport { _ } from 'tnp-core/browser';\nimport { walk, Models } from 'lodash-walk-object/browser';\nexport type Circ = Models.Circ;\nimport { CLASS } from 'typescript-class-helpers/browser';\n\n\n\n\n\nexport class JSON10 {\n\n public static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[] }) {\n let pathes = []\n const { include, exclude } = options || {} as any;\n walk.Object(anyJSON, (value, lodashPath) => {\n\n if (!_.isUndefined(value)) {\n pathes.push(lodashPath)\n }\n\n }, { include, exclude, checkCircural: true })\n return pathes;\n }\n\n\n public static cleaned(json, onCircs?: (circs: Circ[]) => any, options?:\n {\n exclude?: string[];\n include?: string[];\n breadthWalk?: boolean;\n }) {\n\n const result = _.isArray(json) ? [] : {}\n const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);\n\n const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };\n\n const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {\n\n if (_.isObject(value) && options.isCircural) {\n _.set(result, lodashPath, null)\n } else {\n _.set(result, lodashPath, _.cloneDeep(value))\n }\n\n }, { include, exclude, breadthWalk, checkCircural: true });\n\n if (_.isFunction(onCircs)) {\n onCircs(circs)\n }\n\n return _.isFunction(classFN) ? _.merge(new (classFN as any)(), result) : result;\n }\n\n public static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any) {\n const json = this.cleaned(anyJSON, onCircs);\n return JSON.stringify(json, replace, spaces);\n }\n\n public static parse(json: string, circs: Circ[] = []) {\n let res = JSON.parse(json);\n if (_.isArray(circs)) {\n circs.forEach(({ circuralTargetPath, pathToObj }) => {\n\n if (circuralTargetPath === '') {\n _.set(res, pathToObj, res)\n } else {\n let v = _.get(res, circuralTargetPath);\n _.set(res, pathToObj, v)\n }\n\n })\n }\n return res;\n }\n}\n\n ;({}); // @--end-of-file-for-module=json10 lib/index.ts","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MA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JSON",
|
|
50
|
-
"version": "18.0.
|
|
50
|
+
"version": "18.0.15",
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "mocha --require ts-node/register src/**/*.spec.ts",
|
|
53
53
|
"test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
},
|
|
68
68
|
"homepage": "https://github.com/darekf77/json10#readme",
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"lodash-walk-object": "~18.0.
|
|
70
|
+
"lodash-walk-object": "~18.0.15"
|
|
71
71
|
},
|
|
72
72
|
"license": "MIT",
|
|
73
73
|
"private": false,
|
|
74
|
-
"lastBuildTagHash": "
|
|
74
|
+
"lastBuildTagHash": "39001a054068196f009ffc5ea8ea95263aaa2fad",
|
|
75
75
|
"devDependencies": {},
|
|
76
76
|
"main": "dist/app.electron.js"
|
|
77
77
|
}
|
package/tmp-environment.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"name": "json10",
|
|
53
53
|
"description": "Handle circural references, comments and many more inside JSON",
|
|
54
|
-
"version": "18.0.
|
|
54
|
+
"version": "18.0.15",
|
|
55
55
|
"scripts": {
|
|
56
56
|
"test": "mocha --require ts-node/register src/**/*.spec.ts",
|
|
57
57
|
"test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
},
|
|
72
72
|
"homepage": "https://github.com/darekf77/json10#readme",
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"lodash-walk-object": "~18.0.
|
|
74
|
+
"lodash-walk-object": "~18.0.15"
|
|
75
75
|
},
|
|
76
76
|
"license": "MIT",
|
|
77
77
|
"private": false,
|
|
78
|
-
"lastBuildTagHash": "
|
|
78
|
+
"lastBuildTagHash": "39001a054068196f009ffc5ea8ea95263aaa2fad",
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@angular-builders/custom-webpack": "~18.0.0",
|
|
81
81
|
"@angular-devkit/build-angular": "~18.1.4",
|
|
@@ -133,6 +133,7 @@
|
|
|
133
133
|
"@types/chokidar": "2.1.3",
|
|
134
134
|
"@types/dateformat": "1.0.1",
|
|
135
135
|
"@types/diff": "5.2.1",
|
|
136
|
+
"@types/dockerode": "3.3.32",
|
|
136
137
|
"@types/express": "4.17.21",
|
|
137
138
|
"@types/express-fileupload": "1.5.0",
|
|
138
139
|
"@types/fs-extra": "7.0.0",
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
"@types/semver": "7.5.8",
|
|
156
157
|
"@types/systeminformation": "3.54.1",
|
|
157
158
|
"@types/vinyl": "2.0.12",
|
|
159
|
+
"@types/wait-on": "5.3.4",
|
|
158
160
|
"@types/watch": "1.0.6",
|
|
159
161
|
"@typescript-eslint/eslint-plugin": "8.0.1",
|
|
160
162
|
"@typescript-eslint/parser": "8.0.1",
|
|
@@ -165,7 +167,7 @@
|
|
|
165
167
|
"angular-resize-event": "3.2.0",
|
|
166
168
|
"animate.css": "4.1.1",
|
|
167
169
|
"app-root-path": "3.1.0",
|
|
168
|
-
"axios": "1.7.
|
|
170
|
+
"axios": "1.7.7",
|
|
169
171
|
"base32": "0.0.7",
|
|
170
172
|
"bcryptjs": "2.4.3",
|
|
171
173
|
"body-parser": "1.20.2",
|
|
@@ -173,6 +175,7 @@
|
|
|
173
175
|
"buffer-shims": "1.0.0",
|
|
174
176
|
"bun": "1.1.22",
|
|
175
177
|
"callsite-record": "4.1.5",
|
|
178
|
+
"cfonts": "3.3.0",
|
|
176
179
|
"chai": "4.5.0",
|
|
177
180
|
"chalk": "2.3.2",
|
|
178
181
|
"check-node-version": "3.2.0",
|
|
@@ -182,6 +185,7 @@
|
|
|
182
185
|
"class-transformer": "0.5.1",
|
|
183
186
|
"class-validator": "0.14.1",
|
|
184
187
|
"cli-highlight": "2.1.11",
|
|
188
|
+
"columnify": "1.6.0",
|
|
185
189
|
"command-exists": "1.2.2",
|
|
186
190
|
"compression": "1.7.4",
|
|
187
191
|
"concurrently": "8.2.2",
|
|
@@ -196,6 +200,7 @@
|
|
|
196
200
|
"dateformat": "3.0.3",
|
|
197
201
|
"detect-mocha": "0.1.0",
|
|
198
202
|
"diff": "4.0.2",
|
|
203
|
+
"dockerode": "4.0.2",
|
|
199
204
|
"electron": "25.2.0",
|
|
200
205
|
"electron-builder": "24.4.0",
|
|
201
206
|
"electron-debug": "3.2.0",
|
|
@@ -234,13 +239,13 @@
|
|
|
234
239
|
"image-focus": "1.2.1",
|
|
235
240
|
"immer": "10.0.2",
|
|
236
241
|
"immutable": "4.3.7",
|
|
237
|
-
"incremental-compiler": "~18.0.
|
|
242
|
+
"incremental-compiler": "~18.0.15",
|
|
238
243
|
"inquirer": "7.3.3",
|
|
239
244
|
"inquirer-autocomplete-prompt": "1.4.0",
|
|
240
245
|
"inquirer-autocomplete-standalone": "0.8.1",
|
|
241
246
|
"inquirer-select-pro": "1.0.0-alpha.7",
|
|
242
247
|
"is-elevated": "3.0.0",
|
|
243
|
-
"isomorphic-region-loader": "~18.0.
|
|
248
|
+
"isomorphic-region-loader": "~18.0.15",
|
|
244
249
|
"istanbul-instrumenter-loader": "3.0.1",
|
|
245
250
|
"jest": "29.7.0",
|
|
246
251
|
"jest-date-mock": "1.0.10",
|
|
@@ -251,8 +256,8 @@
|
|
|
251
256
|
"joi": "17.13.3",
|
|
252
257
|
"jscodeshift": "0.6.3",
|
|
253
258
|
"json-stringify-safe": "5.0.1",
|
|
254
|
-
"json10": "~18.0.
|
|
255
|
-
"json10-writer": "~18.0.
|
|
259
|
+
"json10": "~18.0.14",
|
|
260
|
+
"json10-writer": "~18.0.14",
|
|
256
261
|
"json5": "2.2.3",
|
|
257
262
|
"json5-writer": "0.2.0",
|
|
258
263
|
"jszip": "3.10.1",
|
|
@@ -262,7 +267,7 @@
|
|
|
262
267
|
"lockfile": "1.0.4",
|
|
263
268
|
"lodash": "4.17.21",
|
|
264
269
|
"lowdb": "7.0.1",
|
|
265
|
-
"magic-renamer": "~18.0.
|
|
270
|
+
"magic-renamer": "~18.0.14",
|
|
266
271
|
"material-design-icons": "3.0.1",
|
|
267
272
|
"method-override": "2.3.10",
|
|
268
273
|
"minimist": "1.2.8",
|
|
@@ -273,11 +278,11 @@
|
|
|
273
278
|
"ng-in-viewport": "16.1.0",
|
|
274
279
|
"ng-lock": "18.0.1",
|
|
275
280
|
"ng-packagr": "18.1.0",
|
|
276
|
-
"ng-talkback": "~18.0.
|
|
277
|
-
"ng2-logger": "~18.0.
|
|
281
|
+
"ng-talkback": "~18.0.13",
|
|
282
|
+
"ng2-logger": "~18.0.17",
|
|
278
283
|
"ng2-pdfjs-viewer": "18.0.0",
|
|
279
|
-
"ng2-rest": "~18.0.
|
|
280
|
-
"ng2-rest-swagger-generator": "18.0.
|
|
284
|
+
"ng2-rest": "~18.0.14",
|
|
285
|
+
"ng2-rest-swagger-generator": "18.0.11",
|
|
281
286
|
"ngx-ace-wrapper": "17.0.0",
|
|
282
287
|
"ngx-editor": "17.5.4",
|
|
283
288
|
"ngx-highlightjs": "12.0.0",
|
|
@@ -291,7 +296,7 @@
|
|
|
291
296
|
"ngx-scrolltop": "18.0.0",
|
|
292
297
|
"ngx-store": "3.1.1",
|
|
293
298
|
"ngx-typed-js": "2.1.1",
|
|
294
|
-
"node-cli-tester": "~18.0.
|
|
299
|
+
"node-cli-tester": "~18.0.13",
|
|
295
300
|
"node-localstorage": "2.1.6",
|
|
296
301
|
"node-notifier": "10.0.1",
|
|
297
302
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -307,6 +312,7 @@
|
|
|
307
312
|
"path-to-regexp": "6.2.2",
|
|
308
313
|
"pica": "9.0.1",
|
|
309
314
|
"playwright": "1.43.1",
|
|
315
|
+
"pm2": "5.4.3",
|
|
310
316
|
"portfinder": "1.0.21",
|
|
311
317
|
"prettier": "3.3.3",
|
|
312
318
|
"prettier-eslint": "16.3.0",
|
|
@@ -321,7 +327,7 @@
|
|
|
321
327
|
"q": "1.5.1",
|
|
322
328
|
"rallax.js": "2.0.4",
|
|
323
329
|
"randomcolor": "0.5.3",
|
|
324
|
-
"record-replay-req-res-scenario": "~18.0.
|
|
330
|
+
"record-replay-req-res-scenario": "~18.0.13",
|
|
325
331
|
"reflect-metadata": "0.2.2",
|
|
326
332
|
"rimraf": "2.6.2",
|
|
327
333
|
"rxjs": "~7.8.1",
|
|
@@ -333,23 +339,23 @@
|
|
|
333
339
|
"socket.io-client": "4.7.5",
|
|
334
340
|
"sort-package-json": "1.11.0",
|
|
335
341
|
"sql.js": "1.8.0",
|
|
336
|
-
"static-columns": "~18.0.
|
|
342
|
+
"static-columns": "~18.0.15",
|
|
337
343
|
"string-similarity": "4.0.4",
|
|
338
344
|
"sudo-block": "3.0.0",
|
|
339
345
|
"supertest": "7.0.0",
|
|
340
346
|
"sweetalert2": "11.7.32",
|
|
341
347
|
"systeminformation": "3.45.7",
|
|
342
348
|
"taon": "^18",
|
|
343
|
-
"taon-storage": "18.0.
|
|
344
|
-
"taon-type-sql": "18.0.
|
|
345
|
-
"taon-typeorm": "18.0.
|
|
349
|
+
"taon-storage": "18.0.23",
|
|
350
|
+
"taon-type-sql": "18.0.14",
|
|
351
|
+
"taon-typeorm": "18.0.13",
|
|
346
352
|
"task.js": "0.1.5",
|
|
347
353
|
"threads": "1.7.0",
|
|
348
|
-
"tnp": "~18.0.
|
|
349
|
-
"tnp-config": "~18.0.
|
|
350
|
-
"tnp-core": "~18.0.
|
|
351
|
-
"tnp-helpers": "~18.0.
|
|
352
|
-
"tnp-models": "~18.0.
|
|
354
|
+
"tnp": "~18.0.14",
|
|
355
|
+
"tnp-config": "~18.0.17",
|
|
356
|
+
"tnp-core": "~18.0.40",
|
|
357
|
+
"tnp-helpers": "~18.0.14",
|
|
358
|
+
"tnp-models": "~18.0.16",
|
|
353
359
|
"ts-debug": "1.3.0",
|
|
354
360
|
"ts-json-schema-generator": "2.3.0-next.5",
|
|
355
361
|
"ts-loader": "2.3.1",
|
|
@@ -361,16 +367,16 @@
|
|
|
361
367
|
"typedoc": "0.26.5",
|
|
362
368
|
"typedoc-plugin-markdown": "4.2.3",
|
|
363
369
|
"typescript": "~5.5.4",
|
|
364
|
-
"typescript-class-helpers": "~18.0.
|
|
370
|
+
"typescript-class-helpers": "~18.0.16",
|
|
365
371
|
"typescript-formatter": "~7.2.2",
|
|
366
372
|
"typescript-string-enums": "~1.0.0",
|
|
367
373
|
"underscore": "1.13.7",
|
|
368
374
|
"uuid": "10.0.0",
|
|
369
375
|
"validator": "13.5.2",
|
|
370
376
|
"video.js": "8.3.0",
|
|
371
|
-
"vpn-split": "~18.0.
|
|
377
|
+
"vpn-split": "~18.0.13",
|
|
372
378
|
"vscode": "1.1.37",
|
|
373
|
-
"wait-on": "
|
|
379
|
+
"wait-on": "8.0.1",
|
|
374
380
|
"watch": "1.0.2",
|
|
375
381
|
"webpack": "~5.80",
|
|
376
382
|
"webpack-dev-middleware": "~6.1.3",
|
|
@@ -381,14 +387,14 @@
|
|
|
381
387
|
"main": "dist/app.electron.js"
|
|
382
388
|
},
|
|
383
389
|
"build": {
|
|
384
|
-
"number":
|
|
385
|
-
"date": "2024-
|
|
386
|
-
"hash": "
|
|
390
|
+
"number": 348,
|
|
391
|
+
"date": "2024-11-17T06:55:06.000Z",
|
|
392
|
+
"hash": "647588a33ff01b1a9a13c156c5cea2329e5dab9e"
|
|
387
393
|
},
|
|
388
394
|
"currentProjectName": "json10",
|
|
389
395
|
"currentProjectGenericName": "json10",
|
|
390
396
|
"currentProjectType": "isomorphic-lib",
|
|
391
|
-
"currentFrameworkVersion": "18.0.
|
|
397
|
+
"currentFrameworkVersion": "18.0.14",
|
|
392
398
|
"isStandaloneProject": true,
|
|
393
399
|
"isSmartContainer": false,
|
|
394
400
|
"pathesTsconfig": "\"paths\": {\"json10\":[\"./src/lib\"],\"json10/*\":[\"./src/lib/*\"]},",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-dist-websql/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-dist-websql/json10/projects/json10/src/json10.ts"],"sourcesContent":["\n\nimport { _ } from 'tnp-core/websql';\nimport { walk, Models } from 'lodash-walk-object/websql';\nexport type Circ = Models.Circ;\nimport { CLASS } from 'typescript-class-helpers/websql';\n\n\n\n\n\nexport class JSON10 {\n\n public static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[] }) {\n let pathes = []\n const { include, exclude } = options || {} as any;\n walk.Object(anyJSON, (value, lodashPath) => {\n\n if (!_.isUndefined(value)) {\n pathes.push(lodashPath)\n }\n\n }, { include, exclude, checkCircural: true })\n return pathes;\n }\n\n\n public static cleaned(json, onCircs?: (circs: Circ[]) => any, options?:\n {\n exclude?: string[];\n include?: string[];\n breadthWalk?: boolean;\n }) {\n\n const result = _.isArray(json) ? [] : {}\n const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);\n\n const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };\n\n const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {\n\n if (_.isObject(value) && options.isCircural) {\n _.set(result, lodashPath, null)\n } else {\n _.set(result, lodashPath, _.cloneDeep(value))\n }\n\n }, { include, exclude, breadthWalk, checkCircural: true });\n\n if (_.isFunction(onCircs)) {\n onCircs(circs)\n }\n\n return _.isFunction(classFN) ? _.merge(new (classFN as any)(), result) : result;\n }\n\n public static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any) {\n const json = this.cleaned(anyJSON, onCircs);\n return JSON.stringify(json, replace, spaces);\n }\n\n public static parse(json: string, circs: Circ[] = []) {\n let res = JSON.parse(json);\n if (_.isArray(circs)) {\n circs.forEach(({ circuralTargetPath, pathToObj }) => {\n\n if (circuralTargetPath === '') {\n _.set(res, pathToObj, res)\n } else {\n let v = _.get(res, circuralTargetPath);\n _.set(res, pathToObj, v)\n }\n\n })\n }\n return res;\n }\n}\n\n ;({}); // @--end-of-file-for-module=json10 lib/index.ts","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-dist-websql/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-dist-websql/json10/projects/json10/src/json10.ts"],"sourcesContent":["\n\nimport { _ } from 'tnp-core/websql';\nimport { walk, Models } from 'lodash-walk-object/websql';\nexport type Circ = Models.Circ;\nimport { CLASS } from 'typescript-class-helpers/websql';\n\n\n\n\n\nexport class JSON10 {\n\n public static structureArray(anyJSON: Object, options?: { include?: string[]; exclude?: string[] }) {\n let pathes = []\n const { include, exclude } = options || {} as any;\n walk.Object(anyJSON, (value, lodashPath) => {\n\n if (!_.isUndefined(value)) {\n pathes.push(lodashPath)\n }\n\n }, { include, exclude, checkCircural: true })\n return pathes;\n }\n\n\n public static cleaned(json, onCircs?: (circs: Circ[]) => any, options?:\n {\n exclude?: string[];\n include?: string[];\n breadthWalk?: boolean;\n }) {\n\n const result = _.isArray(json) ? [] : {}\n const classFN = CLASS.OBJECT(json).isClassObject && CLASS.getFromObject(json);\n\n const { exclude, include, breadthWalk } = options || { exclude: [], include: [], breadthWalk: false };\n\n const { circs } = walk.Object(json, (value, lodashPath, changeValueTo, options) => {\n\n if (_.isObject(value) && options.isCircural) {\n _.set(result, lodashPath, null)\n } else {\n _.set(result, lodashPath, _.cloneDeep(value))\n }\n\n }, { include, exclude, breadthWalk, checkCircural: true });\n\n if (_.isFunction(onCircs)) {\n onCircs(circs)\n }\n\n return _.isFunction(classFN) ? _.merge(new (classFN as any)(), result) : result;\n }\n\n public static stringify(anyJSON: Object, replace?: any, spaces?: number, onCircs?: (circs: Circ[]) => any) {\n const json = this.cleaned(anyJSON, onCircs);\n return JSON.stringify(json, replace, spaces);\n }\n\n public static parse(json: string, circs: Circ[] = []) {\n let res = JSON.parse(json);\n if (_.isArray(circs)) {\n circs.forEach(({ circuralTargetPath, pathToObj }) => {\n\n if (circuralTargetPath === '') {\n _.set(res, pathToObj, res)\n } else {\n let v = _.get(res, circuralTargetPath);\n _.set(res, pathToObj, v)\n }\n\n })\n }\n return res;\n }\n}\n\n ;({}); // @--end-of-file-for-module=json10 lib/index.ts","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAWa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE;QACf,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,IAAI,EAAS;QACjD,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAI;YAEzC,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;AACzB,gBAAA,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;;SAG1B,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;AAC7C,QAAA,OAAO,MAAM;;AAIR,IAAA,OAAO,OAAO,CAAC,IAAI,EAAE,OAAgC,EAAE,OAK3D,EAAA;AAED,QAAA,MAAM,MAAM,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE;AACxC,QAAA,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC;QAE7E,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,OAAO,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;AAErG,QAAA,MAAM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