json10 1.0.35 → 13.0.1
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/browser/fesm2015/json10.mjs.map +1 -1
- package/browser/fesm2020/json10.mjs.map +1 -1
- package/client/fesm2015/json10.mjs.map +1 -1
- package/client/fesm2020/json10.mjs.map +1 -1
- package/package.json +2 -2
- package/{package.json_tnp.json → package.json_tnp.json5} +6 -3
- package/tmp-environment.json +66 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM;
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE,CAAA;QACf,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,IAAI,EAAS,CAAC;QAClD,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAI;AAEzC,YAAA,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;AACzB,gBAAA,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;AACxB,aAAA;SAEF,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAA;AAC7C,QAAA,OAAO,MAAM,CAAC;KACf;AAGM,IAAA,OAAO,OAAO,CAAC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,OAAa,EAAE,MAAe,EAAE,OAAgC,EAAA;QACvG,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;KAC9C;AAEM,IAAA,OAAO,KAAK,CAAC,IAAY,EAAE,QAAgB,EAAE,EAAA;QAClD,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC3B,QAAA,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACpB,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,kBAAkB,EAAE,SAAS,EAAE,KAAI;gBAElD,IAAI,kBAAkB,KAAK,EAAE,EAAE;oBAC7B,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,CAAA;AAC3B,iBAAA;AAAM,qBAAA;oBACL,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC;oBACvC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;AACzB,iBAAA;AAEH,aAAC,CAAC,CAAA;AACH,SAAA;AACD,QAAA,OAAO,GAAG,CAAC;KACZ;AACF;;AC7ED;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM;
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport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C,GAAG,EAAE,kBAAkB,CAAC,CAAC;oBACvC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;AACzB,iBAAA;AAEH,aAAC,CAAC,CAAA;AACH,SAAA;AACD,QAAA,OAAO,GAAG,CAAC;KACZ;AACF;;AC7ED;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM;
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM,CAAA;AAEV,IAAA,OAAO,cAAc,CAAC,OAAe,EAAE,OAAoD,EAAA;QAChG,IAAI,MAAM,GAAG,EAAE,CAAA;QACf,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,IAAI,EAAS,CAAC;QAClD,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAI;AAEzC,YAAA,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE;AACzB,gBAAA,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;AACxB,aAAA;SAEF,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAA;AAC7C,QAAA,OAAO,MAAM,CAAC;KACf;AAGM,IAAA,OAAO,OAAO,CAAC,IAAI,EAAE,OAAgC,EAAE,OAK3D,EAAA;;AAED,QAAA,MAAM,MAAM,GAAG,CAAC,C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AO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;KAC9C;AAEM,IAAA,OAAO,KAAK,CAAC,IAAY,EAAE,QAAgB,EAAE,EAAA;QAClD,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC3B,QAAA,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACpB,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,kBAAkB,EAAE,SAAS,EAAE,KAAI;gBAElD,IAAI,kBAAkB,KAAK,EAAE,EAAE;oBAC7B,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,CAAC,CAAA;AAC3B,iBAAA;AAAM,qBAAA;oBACL,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC;oBACvC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;AACzB,iBAAA;AAEH,aAAC,CAAC,CAAA;AACH,SAAA;AACD,QAAA,OAAO,GAAG,CAAC;KACZ;AACF;;AC7ED;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM;
|
|
1
|
+
{"version":3,"file":"json10.mjs","sources":["../../../tmp-libs-for-bundle/json10/projects/json10/src/lib/index.ts","../../../tmp-libs-for-bundle/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// import { Log } from 'ng2-logger/browser'\n// const log = Log.create('JSON10')\n\n// let counter = 0\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 // console.log('BETTER SRUGUB', json)\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAMA;AACA;AAEA;MAEa,MAAM,CAAA;AAEV,IAAA,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,SAAS,EAAE,CAAC,CAAC,CAAA;AACzB,iBAAA;AAEH,aAAC,CAAC,CAAA;AACH,SAAA;AACD,QAAA,OAAO,GAAG,CAAC;KACZ;AACF;;AC7ED;;AAEG;;;;"}
|
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": "
|
|
4
|
+
"version": "13.0.1",
|
|
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,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/darekf77/json10#readme",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"lodash-walk-object": "~
|
|
24
|
+
"lodash-walk-object": "~13.0.1"
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"private": false,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"resources": [],
|
|
3
|
-
"type": "isomorphic-lib",
|
|
4
|
-
"version": "v3",
|
|
5
3
|
"overrided": {
|
|
6
4
|
"includeAsDev": "*",
|
|
7
5
|
"includeOnly": [
|
|
@@ -17,6 +15,11 @@
|
|
|
17
15
|
"obscure": false,
|
|
18
16
|
"ugly": false
|
|
19
17
|
},
|
|
18
|
+
"type": "isomorphic-lib",
|
|
19
|
+
"version": "v3",
|
|
20
|
+
"additionalNpmNames": [
|
|
21
|
+
"firedev-json"
|
|
22
|
+
],
|
|
20
23
|
"license": "MIT",
|
|
21
24
|
"private": false,
|
|
22
25
|
"scripts": {
|
|
@@ -32,4 +35,4 @@
|
|
|
32
35
|
"documentation"
|
|
33
36
|
],
|
|
34
37
|
"workerPlugins": {}
|
|
35
|
-
}
|
|
38
|
+
}
|
package/tmp-environment.json
CHANGED
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
"packageJSON": {
|
|
7
7
|
"tnp": {
|
|
8
8
|
"resources": [],
|
|
9
|
-
"type": "isomorphic-lib",
|
|
10
|
-
"version": "v3",
|
|
11
9
|
"overrided": {
|
|
12
10
|
"includeAsDev": "*",
|
|
13
11
|
"includeOnly": [
|
|
@@ -23,6 +21,11 @@
|
|
|
23
21
|
"obscure": false,
|
|
24
22
|
"ugly": false
|
|
25
23
|
},
|
|
24
|
+
"type": "isomorphic-lib",
|
|
25
|
+
"version": "v3",
|
|
26
|
+
"additionalNpmNames": [
|
|
27
|
+
"firedev-json"
|
|
28
|
+
],
|
|
26
29
|
"license": "MIT",
|
|
27
30
|
"private": false,
|
|
28
31
|
"scripts": {
|
|
@@ -41,7 +44,7 @@
|
|
|
41
44
|
},
|
|
42
45
|
"name": "json10",
|
|
43
46
|
"description": "Handle circural references, comments and many more inside JSON",
|
|
44
|
-
"version": "
|
|
47
|
+
"version": "13.0.1",
|
|
45
48
|
"scripts": {
|
|
46
49
|
"test": "mocha --require ts-node/register src/**/*.spec.ts",
|
|
47
50
|
"test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
|
|
@@ -60,6 +63,12 @@
|
|
|
60
63
|
"url": "https://github.com/darekf77/json10/issues"
|
|
61
64
|
},
|
|
62
65
|
"homepage": "https://github.com/darekf77/json10#readme",
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"lodash-walk-object": "~13.0.1"
|
|
68
|
+
},
|
|
69
|
+
"license": "MIT",
|
|
70
|
+
"private": false,
|
|
71
|
+
"lastBuildTagHash": "e1b1a1b14addc2b3805bbc5845279e846dce596d",
|
|
63
72
|
"devDependencies": {
|
|
64
73
|
"@angular-devkit/build-angular": "~13.2.5",
|
|
65
74
|
"@angular/animations": "~13.2.0",
|
|
@@ -69,6 +78,7 @@
|
|
|
69
78
|
"@angular/compiler": "~13.2.0",
|
|
70
79
|
"@angular/compiler-cli": "~13.2.0",
|
|
71
80
|
"@angular/core": "~13.2.0",
|
|
81
|
+
"@angular/flex-layout": "~13.0.0-beta.38",
|
|
72
82
|
"@angular/forms": "~13.2.0",
|
|
73
83
|
"@angular/material": "~13.2.4",
|
|
74
84
|
"@angular/platform-browser": "~13.2.0",
|
|
@@ -76,7 +86,9 @@
|
|
|
76
86
|
"@angular/pwa": "~13.2.5",
|
|
77
87
|
"@angular/router": "~13.2.0",
|
|
78
88
|
"@angular/service-worker": "~13.2.0",
|
|
79
|
-
"@
|
|
89
|
+
"@iconify/icons-fa-solid": "1.2.2",
|
|
90
|
+
"@iconify/icons-mdi": "1.2.1",
|
|
91
|
+
"@mdi/js": "6.5.95",
|
|
80
92
|
"@ngrx/component-store": "~13.0.2",
|
|
81
93
|
"@ngrx/data": "~13.0.2",
|
|
82
94
|
"@ngrx/effects": "~13.0.2",
|
|
@@ -85,6 +97,16 @@
|
|
|
85
97
|
"@ngrx/schematics": "~13.0.2",
|
|
86
98
|
"@ngrx/store": "~13.0.2",
|
|
87
99
|
"@ngrx/store-devtools": "~13.0.2",
|
|
100
|
+
"@ngx-formly/bootstrap": "6.0.0-next.8",
|
|
101
|
+
"@ngx-formly/core": "6.0.0-next.8",
|
|
102
|
+
"@ngx-formly/ionic": "6.0.0-next.8",
|
|
103
|
+
"@ngx-formly/material": "6.0.0-next.8",
|
|
104
|
+
"@ngx-loading-bar/core": "6.0.2",
|
|
105
|
+
"@ngx-loading-bar/http-client": "6.0.2",
|
|
106
|
+
"@ngx-loading-bar/router": "6.0.2",
|
|
107
|
+
"@ngx-translate/core": "14.0.0",
|
|
108
|
+
"@ngx-translate/http-loader": "7.0.0",
|
|
109
|
+
"@swimlane/ngx-datatable": "20.0.0",
|
|
88
110
|
"@types/chai": "4.1.2",
|
|
89
111
|
"@types/chokidar": "2.1.3",
|
|
90
112
|
"@types/dateformat": "1.0.1",
|
|
@@ -115,11 +137,11 @@
|
|
|
115
137
|
"@types/watch": "1.0.0",
|
|
116
138
|
"accepts": "1.3.4",
|
|
117
139
|
"axios": "0.17.1",
|
|
118
|
-
"background-worker-process": "~
|
|
140
|
+
"background-worker-process": "~13.0.1",
|
|
119
141
|
"bcryptjs": "2.4.3",
|
|
120
142
|
"body-parser": "1.18.2",
|
|
121
143
|
"bootstrap": "5.1.3",
|
|
122
|
-
"bs4-breakpoint": "~2.0.
|
|
144
|
+
"bs4-breakpoint": "~2.0.42",
|
|
123
145
|
"buffer-shims": "1.0.0",
|
|
124
146
|
"callsite-record": "4.1.3",
|
|
125
147
|
"chai": "4.2.0",
|
|
@@ -152,6 +174,10 @@
|
|
|
152
174
|
"express-fileupload": "0.4.0",
|
|
153
175
|
"fbgraph": "1.4.1",
|
|
154
176
|
"file-loader": "1.1.5",
|
|
177
|
+
"firedev-crud": "~13.0.3",
|
|
178
|
+
"firedev-crud-deamon": "~13.0.1",
|
|
179
|
+
"firedev-ports": "~13.0.1",
|
|
180
|
+
"firedev-storage": "3.1.3",
|
|
155
181
|
"fkill": "6.1.0",
|
|
156
182
|
"font-awesome": "4.7.0",
|
|
157
183
|
"fs-extra": "8.1.0",
|
|
@@ -169,7 +195,7 @@
|
|
|
169
195
|
"istanbul-instrumenter-loader": "2.0.0",
|
|
170
196
|
"jasmine-core": "4.0.0",
|
|
171
197
|
"json-stringify-safe": "5.0.1",
|
|
172
|
-
"json10": "~1.0.
|
|
198
|
+
"json10": "~1.0.39",
|
|
173
199
|
"json5": "2.1.3",
|
|
174
200
|
"json5-writer": "0.2.0",
|
|
175
201
|
"karma": "6.3.0",
|
|
@@ -181,6 +207,10 @@
|
|
|
181
207
|
"lnk": "1.0.1",
|
|
182
208
|
"lockfile": "1.0.4",
|
|
183
209
|
"lodash": "4.17.4",
|
|
210
|
+
"lodash.get": ">= 4",
|
|
211
|
+
"lodash.isequal": ">= 4",
|
|
212
|
+
"lodash.merge": ">= 4",
|
|
213
|
+
"lodash.set": ">= 4",
|
|
184
214
|
"lowdb": "1.0.0",
|
|
185
215
|
"magic-renamer": "~0.0.20",
|
|
186
216
|
"material-design-icons": "3.0.1",
|
|
@@ -189,11 +219,20 @@
|
|
|
189
219
|
"mkdirp": "0.5.1",
|
|
190
220
|
"mocha": "5.2.0",
|
|
191
221
|
"moment": "2.22.2",
|
|
192
|
-
"morphi": "~
|
|
222
|
+
"morphi": "~13.0.3",
|
|
193
223
|
"ng-packagr": "13.0.0",
|
|
194
224
|
"ng-talkback": "~2.4.25",
|
|
195
|
-
"ng2-logger": "~
|
|
196
|
-
"ng2-rest": "~
|
|
225
|
+
"ng2-logger": "~13.0.1",
|
|
226
|
+
"ng2-rest": "~13.0.3",
|
|
227
|
+
"ng4-icons": "~13.0.3",
|
|
228
|
+
"ng4-modal": "~13.0.2",
|
|
229
|
+
"ngx-bootstrap": "8.0.0",
|
|
230
|
+
"ngx-editor": "12.2.1",
|
|
231
|
+
"ngx-moment": "6.0.2",
|
|
232
|
+
"ngx-pipes": "3.0.0",
|
|
233
|
+
"ngx-store": "3.1.1",
|
|
234
|
+
"ngx-toastr": "14.2.2",
|
|
235
|
+
"ngx-wig": "13.0.3",
|
|
197
236
|
"node-cli-test": "0.0.2",
|
|
198
237
|
"node-cli-tester": "~0.0.22",
|
|
199
238
|
"node-localstorage": "2.1.6",
|
|
@@ -208,6 +247,7 @@
|
|
|
208
247
|
"passport-http-bearer": "1.0.1",
|
|
209
248
|
"password-hash": "1.2.2",
|
|
210
249
|
"portfinder": "1.0.21",
|
|
250
|
+
"prettier": "2.5.1",
|
|
211
251
|
"progress": "2.0.3",
|
|
212
252
|
"prompts": "0.1.8",
|
|
213
253
|
"ps-list": "6.1.0",
|
|
@@ -226,18 +266,20 @@
|
|
|
226
266
|
"sudo-block": "3.0.0",
|
|
227
267
|
"systeminformation": "3.45.7",
|
|
228
268
|
"task.js": "0.1.5",
|
|
229
|
-
"tnp-cli": "~
|
|
230
|
-
"tnp-config": "~
|
|
231
|
-
"tnp-core": "~
|
|
232
|
-
"tnp-db": "~
|
|
233
|
-
"tnp-helpers": "~
|
|
234
|
-
"tnp-models": "~
|
|
269
|
+
"tnp-cli": "~13.0.1",
|
|
270
|
+
"tnp-config": "~13.0.1",
|
|
271
|
+
"tnp-core": "~13.0.1",
|
|
272
|
+
"tnp-db": "~13.0.3",
|
|
273
|
+
"tnp-helpers": "~13.0.5",
|
|
274
|
+
"tnp-models": "~13.0.3",
|
|
235
275
|
"tnp-tools": "~0.0.46",
|
|
236
|
-
"tnp-ui": "~
|
|
276
|
+
"tnp-ui": "~13.0.1",
|
|
277
|
+
"ts-debug": "1.3.0",
|
|
278
|
+
"ts-node": "10.7.0",
|
|
237
279
|
"tslib": "~2.3.0",
|
|
238
|
-
"typeorm": "~0.2.
|
|
280
|
+
"typeorm": "~0.2.45",
|
|
239
281
|
"typescript": "~4.5.2",
|
|
240
|
-
"typescript-class-helpers": "~
|
|
282
|
+
"typescript-class-helpers": "~13.0.1",
|
|
241
283
|
"typescript-formatter": "~7.2.2",
|
|
242
284
|
"underscore": "1.9.1",
|
|
243
285
|
"uuid": "8.3.2",
|
|
@@ -245,18 +287,12 @@
|
|
|
245
287
|
"vpn-split": "~0.0.18",
|
|
246
288
|
"watch": "1.0.2",
|
|
247
289
|
"zone.js": "~0.11.4"
|
|
248
|
-
}
|
|
249
|
-
"dependencies": {
|
|
250
|
-
"lodash-walk-object": "~1.0.37"
|
|
251
|
-
},
|
|
252
|
-
"license": "MIT",
|
|
253
|
-
"private": false,
|
|
254
|
-
"lastBuildTagHash": "e1b1a1b14addc2b3805bbc5845279e846dce596d"
|
|
290
|
+
}
|
|
255
291
|
},
|
|
256
292
|
"build": {
|
|
257
|
-
"number":
|
|
258
|
-
"date": "2022-03-
|
|
259
|
-
"hash": "
|
|
293
|
+
"number": 140,
|
|
294
|
+
"date": "2022-03-12T20:03:12.000Z",
|
|
295
|
+
"hash": "1ba108b836f27b9d2e33c123c49d71d45536203b",
|
|
260
296
|
"options": {}
|
|
261
297
|
},
|
|
262
298
|
"currentProjectName": "json10",
|
|
@@ -264,7 +300,7 @@
|
|
|
264
300
|
"currentProjectLaunchConfiguration": "{\"version\":\"0.2.0\",\"configurations\":[{\"type\":\"node\",\"request\":\"launch\",\"name\":\"Launch Server standalone\",\"program\":\"${workspaceFolder}/run.js\",\"args\":[\"--ENVoverride=%7B%0A%20%20%20%20%22clientProjectName%22%3A%20%22json10%22%0A%7D\"],\"runtimeArgs\":[\"--nolazy\",\"-r\",\"ts-node/register\",\"--experimental-worker\"]},{\"name\":\"Debugger with ng serve\",\"type\":\"chrome\",\"request\":\"launch\",\"preLaunchTask\":\"Ng Serve\",\"postDebugTask\":\"terminateall\",\"sourceMaps\":true,\"webRoot\":\"${workspaceFolder}\",\"sourceMapPathOverrides\":{\"webpack:/*\":\"${webRoot}/*\",\"/./*\":\"${webRoot}/*\",\"/tmp-src/*\":\"${webRoot}/*\",\"/*\":\"*\",\"/./~/*\":\"${webRoot}/node_modules/*\"}},{\"type\":\"node\",\"request\":\"attach\",\"name\":\"Attach to global cli tool\",\"port\":9229,\"skipFiles\":[\"<node_internals>/**\"]}],\"compounds\":[{\"name\":\"Debug backend/frontend\",\"configurations\":[\"Launch Server standalone\",\"Debugger with ng serve\"]}]}",
|
|
265
301
|
"currentProjectTasksConfiguration": "{\"version\":\"2.0.0\",\"tasks\":[{\"label\":\"terminateall\",\"command\":\"echo ${input:terminate}\",\"type\":\"shell\",\"problemMatcher\":[]},{\"label\":\"Ng Serve\",\"type\":\"shell\",\"command\":\"tnp build\",\"isBackground\":true,\"presentation\":{\"reveal\":\"always\"},\"group\":{\"kind\":\"build\",\"isDefault\":true},\"problemMatcher\":{\"owner\":\"typescript\",\"source\":\"ts\",\"applyTo\":\"closedDocuments\",\"fileLocation\":[\"relative\",\"${cwd}\"],\"pattern\":\"$tsc\",\"background\":{\"activeOnStart\":true,\"beginsPattern\":{\"regexp\":\"(.*?)\"},\"endsPattern\":{\"regexp\":\"Compiled |Failed to compile.\"}}}}],\"inputs\":[{\"id\":\"terminate\",\"type\":\"command\",\"command\":\"workbench.action.tasks.terminate\",\"args\":\"terminateAll\"}]}",
|
|
266
302
|
"currentProjectType": "isomorphic-lib",
|
|
267
|
-
"currentFrameworkVersion": "0.0
|
|
303
|
+
"currentFrameworkVersion": "13.0.0",
|
|
268
304
|
"currentProjectIsStrictSite": false,
|
|
269
305
|
"currentProjectIsDependencySite": false,
|
|
270
306
|
"currentProjectIsStatic": false,
|