json10 18.0.14 → 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",
|
|
@@ -183,6 +185,7 @@
|
|
|
183
185
|
"class-transformer": "0.5.1",
|
|
184
186
|
"class-validator": "0.14.1",
|
|
185
187
|
"cli-highlight": "2.1.11",
|
|
188
|
+
"columnify": "1.6.0",
|
|
186
189
|
"command-exists": "1.2.2",
|
|
187
190
|
"compression": "1.7.4",
|
|
188
191
|
"concurrently": "8.2.2",
|
|
@@ -197,6 +200,7 @@
|
|
|
197
200
|
"dateformat": "3.0.3",
|
|
198
201
|
"detect-mocha": "0.1.0",
|
|
199
202
|
"diff": "4.0.2",
|
|
203
|
+
"dockerode": "4.0.2",
|
|
200
204
|
"electron": "25.2.0",
|
|
201
205
|
"electron-builder": "24.4.0",
|
|
202
206
|
"electron-debug": "3.2.0",
|
|
@@ -235,13 +239,13 @@
|
|
|
235
239
|
"image-focus": "1.2.1",
|
|
236
240
|
"immer": "10.0.2",
|
|
237
241
|
"immutable": "4.3.7",
|
|
238
|
-
"incremental-compiler": "~18.0.
|
|
242
|
+
"incremental-compiler": "~18.0.15",
|
|
239
243
|
"inquirer": "7.3.3",
|
|
240
244
|
"inquirer-autocomplete-prompt": "1.4.0",
|
|
241
245
|
"inquirer-autocomplete-standalone": "0.8.1",
|
|
242
246
|
"inquirer-select-pro": "1.0.0-alpha.7",
|
|
243
247
|
"is-elevated": "3.0.0",
|
|
244
|
-
"isomorphic-region-loader": "~18.0.
|
|
248
|
+
"isomorphic-region-loader": "~18.0.15",
|
|
245
249
|
"istanbul-instrumenter-loader": "3.0.1",
|
|
246
250
|
"jest": "29.7.0",
|
|
247
251
|
"jest-date-mock": "1.0.10",
|
|
@@ -252,8 +256,8 @@
|
|
|
252
256
|
"joi": "17.13.3",
|
|
253
257
|
"jscodeshift": "0.6.3",
|
|
254
258
|
"json-stringify-safe": "5.0.1",
|
|
255
|
-
"json10": "~18.0.
|
|
256
|
-
"json10-writer": "~18.0.
|
|
259
|
+
"json10": "~18.0.14",
|
|
260
|
+
"json10-writer": "~18.0.14",
|
|
257
261
|
"json5": "2.2.3",
|
|
258
262
|
"json5-writer": "0.2.0",
|
|
259
263
|
"jszip": "3.10.1",
|
|
@@ -263,7 +267,7 @@
|
|
|
263
267
|
"lockfile": "1.0.4",
|
|
264
268
|
"lodash": "4.17.21",
|
|
265
269
|
"lowdb": "7.0.1",
|
|
266
|
-
"magic-renamer": "~18.0.
|
|
270
|
+
"magic-renamer": "~18.0.14",
|
|
267
271
|
"material-design-icons": "3.0.1",
|
|
268
272
|
"method-override": "2.3.10",
|
|
269
273
|
"minimist": "1.2.8",
|
|
@@ -274,11 +278,11 @@
|
|
|
274
278
|
"ng-in-viewport": "16.1.0",
|
|
275
279
|
"ng-lock": "18.0.1",
|
|
276
280
|
"ng-packagr": "18.1.0",
|
|
277
|
-
"ng-talkback": "~18.0.
|
|
278
|
-
"ng2-logger": "~18.0.
|
|
281
|
+
"ng-talkback": "~18.0.13",
|
|
282
|
+
"ng2-logger": "~18.0.17",
|
|
279
283
|
"ng2-pdfjs-viewer": "18.0.0",
|
|
280
|
-
"ng2-rest": "~18.0.
|
|
281
|
-
"ng2-rest-swagger-generator": "18.0.
|
|
284
|
+
"ng2-rest": "~18.0.14",
|
|
285
|
+
"ng2-rest-swagger-generator": "18.0.11",
|
|
282
286
|
"ngx-ace-wrapper": "17.0.0",
|
|
283
287
|
"ngx-editor": "17.5.4",
|
|
284
288
|
"ngx-highlightjs": "12.0.0",
|
|
@@ -292,7 +296,7 @@
|
|
|
292
296
|
"ngx-scrolltop": "18.0.0",
|
|
293
297
|
"ngx-store": "3.1.1",
|
|
294
298
|
"ngx-typed-js": "2.1.1",
|
|
295
|
-
"node-cli-tester": "~18.0.
|
|
299
|
+
"node-cli-tester": "~18.0.13",
|
|
296
300
|
"node-localstorage": "2.1.6",
|
|
297
301
|
"node-notifier": "10.0.1",
|
|
298
302
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
@@ -308,6 +312,7 @@
|
|
|
308
312
|
"path-to-regexp": "6.2.2",
|
|
309
313
|
"pica": "9.0.1",
|
|
310
314
|
"playwright": "1.43.1",
|
|
315
|
+
"pm2": "5.4.3",
|
|
311
316
|
"portfinder": "1.0.21",
|
|
312
317
|
"prettier": "3.3.3",
|
|
313
318
|
"prettier-eslint": "16.3.0",
|
|
@@ -322,7 +327,7 @@
|
|
|
322
327
|
"q": "1.5.1",
|
|
323
328
|
"rallax.js": "2.0.4",
|
|
324
329
|
"randomcolor": "0.5.3",
|
|
325
|
-
"record-replay-req-res-scenario": "~18.0.
|
|
330
|
+
"record-replay-req-res-scenario": "~18.0.13",
|
|
326
331
|
"reflect-metadata": "0.2.2",
|
|
327
332
|
"rimraf": "2.6.2",
|
|
328
333
|
"rxjs": "~7.8.1",
|
|
@@ -334,23 +339,23 @@
|
|
|
334
339
|
"socket.io-client": "4.7.5",
|
|
335
340
|
"sort-package-json": "1.11.0",
|
|
336
341
|
"sql.js": "1.8.0",
|
|
337
|
-
"static-columns": "~18.0.
|
|
342
|
+
"static-columns": "~18.0.15",
|
|
338
343
|
"string-similarity": "4.0.4",
|
|
339
344
|
"sudo-block": "3.0.0",
|
|
340
345
|
"supertest": "7.0.0",
|
|
341
346
|
"sweetalert2": "11.7.32",
|
|
342
347
|
"systeminformation": "3.45.7",
|
|
343
348
|
"taon": "^18",
|
|
344
|
-
"taon-storage": "18.0.
|
|
345
|
-
"taon-type-sql": "18.0.
|
|
346
|
-
"taon-typeorm": "18.0.
|
|
349
|
+
"taon-storage": "18.0.23",
|
|
350
|
+
"taon-type-sql": "18.0.14",
|
|
351
|
+
"taon-typeorm": "18.0.13",
|
|
347
352
|
"task.js": "0.1.5",
|
|
348
353
|
"threads": "1.7.0",
|
|
349
|
-
"tnp": "~18.0.
|
|
350
|
-
"tnp-config": "~18.0.
|
|
351
|
-
"tnp-core": "~18.0.
|
|
352
|
-
"tnp-helpers": "~18.0.
|
|
353
|
-
"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",
|
|
354
359
|
"ts-debug": "1.3.0",
|
|
355
360
|
"ts-json-schema-generator": "2.3.0-next.5",
|
|
356
361
|
"ts-loader": "2.3.1",
|
|
@@ -362,16 +367,16 @@
|
|
|
362
367
|
"typedoc": "0.26.5",
|
|
363
368
|
"typedoc-plugin-markdown": "4.2.3",
|
|
364
369
|
"typescript": "~5.5.4",
|
|
365
|
-
"typescript-class-helpers": "~18.0.
|
|
370
|
+
"typescript-class-helpers": "~18.0.16",
|
|
366
371
|
"typescript-formatter": "~7.2.2",
|
|
367
372
|
"typescript-string-enums": "~1.0.0",
|
|
368
373
|
"underscore": "1.13.7",
|
|
369
374
|
"uuid": "10.0.0",
|
|
370
375
|
"validator": "13.5.2",
|
|
371
376
|
"video.js": "8.3.0",
|
|
372
|
-
"vpn-split": "~18.0.
|
|
377
|
+
"vpn-split": "~18.0.13",
|
|
373
378
|
"vscode": "1.1.37",
|
|
374
|
-
"wait-on": "
|
|
379
|
+
"wait-on": "8.0.1",
|
|
375
380
|
"watch": "1.0.2",
|
|
376
381
|
"webpack": "~5.80",
|
|
377
382
|
"webpack-dev-middleware": "~6.1.3",
|
|
@@ -382,14 +387,14 @@
|
|
|
382
387
|
"main": "dist/app.electron.js"
|
|
383
388
|
},
|
|
384
389
|
"build": {
|
|
385
|
-
"number":
|
|
386
|
-
"date": "2024-11-
|
|
387
|
-
"hash": "
|
|
390
|
+
"number": 348,
|
|
391
|
+
"date": "2024-11-17T06:55:06.000Z",
|
|
392
|
+
"hash": "647588a33ff01b1a9a13c156c5cea2329e5dab9e"
|
|
388
393
|
},
|
|
389
394
|
"currentProjectName": "json10",
|
|
390
395
|
"currentProjectGenericName": "json10",
|
|
391
396
|
"currentProjectType": "isomorphic-lib",
|
|
392
|
-
"currentFrameworkVersion": "18.0.
|
|
397
|
+
"currentFrameworkVersion": "18.0.14",
|
|
393
398
|
"isStandaloneProject": true,
|
|
394
399
|
"isSmartContainer": false,
|
|
395
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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