@qubit-ltd/json 1.2.3 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  [![npm package](https://img.shields.io/npm/v/@qubit-ltd/json.svg)](https://npmjs.com/package/@qubit-ltd/json)
4
4
  [![License](https://img.shields.io/badge/License-Apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
5
5
  [![中文文档](https://img.shields.io/badge/文档-中文版-blue.svg)](README.zh_CN.md)
6
- [![CircleCI](https://dl.circleci.com/status-badge/img/gh/Haixing-Hu/js-json/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/Haixing-Hu/js-json/tree/master)
7
- [![Coverage Status](https://coveralls.io/repos/github/Haixing-Hu/js-json/badge.svg?branch=master)](https://coveralls.io/github/Haixing-Hu/js-json?branch=master)
6
+ [![CircleCI](https://dl.circleci.com/status-badge/img/gh/qubit-ltd/js-json/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/qubit-ltd/js-json/tree/master)
7
+ [![Coverage Status](https://coveralls.io/repos/github/qubit-ltd/js-json/badge.svg?branch=master)](https://coveralls.io/github/qubit-ltd/js-json?branch=master)
8
8
 
9
9
  [@qubit-ltd/json] is a JavaScript library that extends the functionality of the
10
10
  standard JSON object, providing robust support for working with numbers that
@@ -332,7 +332,7 @@ to open an issue or submit a pull request to the [GitHub repository].
332
332
 
333
333
  1. Clone the repository:
334
334
  ```sh
335
- git clone https://github.com/Haixing-Hu/js-json.git
335
+ git clone https://github.com/qubit-ltd/js-json.git
336
336
  cd js-json
337
337
  ```
338
338
 
@@ -390,7 +390,7 @@ We are grateful for the work of these contributors, which has been instrumental
390
390
  in shaping the functionality of this library.
391
391
 
392
392
  [@qubit-ltd/json]: https://npmjs.com/package/@qubit-ltd/json
393
- [GitHub repository]: https://github.com/Haixing-Hu/js-json
393
+ [GitHub repository]: https://github.com/qubit-ltd/js-json
394
394
  [Why does JSON.parse corrupt large numbers and how to solve this?]: https://jsoneditoronline.org/indepth/parse/why-does-json-parse-corrupt-large-numbers/
395
395
  [json-bigint]: https://github.com/sidorares/json-bigint
396
396
  [lossless-json]: https://github.com/josdejong/lossless-json
package/README.zh_CN.md CHANGED
@@ -3,8 +3,8 @@
3
3
  [![npm package](https://img.shields.io/npm/v/@qubit-ltd/json.svg)](https://npmjs.com/package/@qubit-ltd/json)
4
4
  [![License](https://img.shields.io/badge/License-Apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
5
5
  [![English Document](https://img.shields.io/badge/Document-English-blue.svg)](README.md)
6
- [![CircleCI](https://dl.circleci.com/status-badge/img/gh/Haixing-Hu/js-json/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/Haixing-Hu/js-json/tree/master)
7
- [![Coverage Status](https://coveralls.io/repos/github/Haixing-Hu/js-json/badge.svg?branch=master)](https://coveralls.io/github/Haixing-Hu/js-json?branch=master)
6
+ [![CircleCI](https://dl.circleci.com/status-badge/img/gh/qubit-ltd/js-json/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/qubit-ltd/js-json/tree/master)
7
+ [![Coverage Status](https://coveralls.io/repos/github/qubit-ltd/js-json/badge.svg?branch=master)](https://coveralls.io/github/qubit-ltd/js-json?branch=master)
8
8
 
9
9
  [@qubit-ltd/json] 是一个 JavaScript 库,它扩展了标准 JSON 对象的功能,提供了对超出 JavaScript
10
10
  安全范围的大数字的强大支持。该库增强了解析和字符串化能力,使其非常适合处理大型数据集和复杂的数值操作,
@@ -315,7 +315,7 @@ console.log(Json.stringify(data, null, 2));
315
315
 
316
316
  1. 克隆仓库:
317
317
  ```sh
318
- git clone https://github.com/Haixing-Hu/js-json.git
318
+ git clone https://github.com/qubit-ltd/js-json.git
319
319
  cd js-json
320
320
  ```
321
321
 
@@ -365,7 +365,7 @@ console.log(Json.stringify(data, null, 2));
365
365
  我们对这些贡献者的工作表示感谢,这些工作对本库功能的实现起到了至关重要的作用。
366
366
 
367
367
  [@qubit-ltd/json]: https://npmjs.com/package/@qubit-ltd/json
368
- [GitHub 仓库]: https://github.com/Haixing-Hu/js-json
368
+ [GitHub 仓库]: https://github.com/qubit-ltd/js-json
369
369
  [Why does JSON.parse corrupt large numbers and how to solve this?]: https://jsoneditoronline.org/indepth/parse/why-does-json-parse-corrupt-large-numbers/
370
370
  [json-bigint]: https://github.com/sidorares/json-bigint
371
371
  [lossless-json]: https://github.com/josdejong/lossless-json
package/dist/json.cjs CHANGED
@@ -110,7 +110,7 @@ p.add(s);}}while(n!==0);return y||void 0}K(C,"stringify");
110
110
 
111
111
  ////////////////////////////////////////////////////////////////////////////////
112
112
  //
113
- // Copyright (c) 2022 - 2024.
113
+ // Copyright (c) 2022 - 2026.
114
114
  // Haixing Hu, Qubit Co. Ltd.
115
115
  //
116
116
  // All rights reserved.
@@ -134,12 +134,15 @@ var INTEGER_REGEX = /^[+-]?\d+$/;
134
134
  * true if the string contains an integer; false otherwise.
135
135
  */
136
136
  function isInteger(value) {
137
+ if (typeof value !== 'string') {
138
+ return false;
139
+ }
137
140
  return INTEGER_REGEX.test(value);
138
141
  }
139
142
 
140
143
  ////////////////////////////////////////////////////////////////////////////////
141
144
  //
142
- // Copyright (c) 2022 - 2024.
145
+ // Copyright (c) 2022 - 2026.
143
146
  // Haixing Hu, Qubit Co. Ltd.
144
147
  //
145
148
  // All rights reserved.
@@ -167,15 +170,16 @@ var TRAILING_ZEROS_REGEX = /0+$/;
167
170
  * @private
168
171
  */
169
172
  function extractSignificantDigits(value) {
170
- return value.replace(EXPONENTIAL_PART_REGEX, '') // from "-0.250e+30" to "-0.250"
173
+ var result = value.replace(EXPONENTIAL_PART_REGEX, '') // from "-0.250e+30" to "-0.250"
171
174
  .replace(DOT_REGEX, '') // from "-0.250" to "-0250"
172
175
  .replace(TRAILING_ZEROS_REGEX, '') // from "-0250" to "-025"
173
176
  .replace(LEADING_MINUS_AND_ZEROS_REGEX, ''); // from "-025" to "25"
177
+ return result;
174
178
  }
175
179
 
176
180
  ////////////////////////////////////////////////////////////////////////////////
177
181
  //
178
- // Copyright (c) 2022 - 2024.
182
+ // Copyright (c) 2022 - 2026.
179
183
  // Haixing Hu, Qubit Co. Ltd.
180
184
  //
181
185
  // All rights reserved.
@@ -200,12 +204,15 @@ var NUMBER_REGEX = /^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/;
200
204
  * true if the string contains a number; false otherwise.
201
205
  */
202
206
  function isNumber(value) {
207
+ if (typeof value !== 'string') {
208
+ return false;
209
+ }
203
210
  return NUMBER_REGEX.test(value);
204
211
  }
205
212
 
206
213
  ////////////////////////////////////////////////////////////////////////////////
207
214
  //
208
- // Copyright (c) 2022 - 2024.
215
+ // Copyright (c) 2022 - 2026.
209
216
  // Haixing Hu, Qubit Co. Ltd.
210
217
  //
211
218
  // All rights reserved.
@@ -292,7 +299,7 @@ function isSafeNumber(value) {
292
299
 
293
300
  ////////////////////////////////////////////////////////////////////////////////
294
301
  //
295
- // Copyright (c) 2022 - 2024.
302
+ // Copyright (c) 2022 - 2026.
296
303
  // Haixing Hu, Qubit Co. Ltd.
297
304
  //
298
305
  // All rights reserved.
@@ -313,6 +320,12 @@ function isSafeNumber(value) {
313
320
  * The reason why the value is unsafe. Returns `'none'` when the value is safe.
314
321
  */
315
322
  function getUnsafeReason(value) {
323
+ if (typeof value !== 'string') {
324
+ value = String(value);
325
+ }
326
+ if (!isNumber(value) || value === '' || value === 'NaN') {
327
+ return 'none';
328
+ }
316
329
  var num = parseFloat(value);
317
330
  var str = String(num);
318
331
  if (value === str) {
@@ -420,7 +433,7 @@ var LosslessNumber = /*#__PURE__*/function () {
420
433
 
421
434
  ////////////////////////////////////////////////////////////////////////////////
422
435
  //
423
- // Copyright (c) 2022 - 2024.
436
+ // Copyright (c) 2022 - 2026.
424
437
  // Haixing Hu, Qubit Co. Ltd.
425
438
  //
426
439
  // All rights reserved.
@@ -456,7 +469,7 @@ function parseNumber(key, value) {
456
469
 
457
470
  ////////////////////////////////////////////////////////////////////////////////
458
471
  //
459
- // Copyright (c) 2022 - 2024.
472
+ // Copyright (c) 2022 - 2026.
460
473
  // Haixing Hu, Qubit Co. Ltd.
461
474
  //
462
475
  // All rights reserved.
@@ -498,7 +511,7 @@ function formatNumber(key, value, type) {
498
511
 
499
512
  ////////////////////////////////////////////////////////////////////////////////
500
513
  //
501
- // Copyright (c) 2022 - 2024.
514
+ // Copyright (c) 2022 - 2026.
502
515
  // Haixing Hu, Qubit Co. Ltd.
503
516
  //
504
517
  // All rights reserved.
@@ -731,7 +744,7 @@ var json = new Json();
731
744
 
732
745
  ////////////////////////////////////////////////////////////////////////////////
733
746
  //
734
- // Copyright (c) 2022 - 2024.
747
+ // Copyright (c) 2022 - 2026.
735
748
  // Haixing Hu, Qubit Co. Ltd.
736
749
  //
737
750
  // All rights reserved.
@@ -759,7 +772,7 @@ function isBigInt(value) {
759
772
 
760
773
  ////////////////////////////////////////////////////////////////////////////////
761
774
  //
762
- // Copyright (c) 2022 - 2024.
775
+ // Copyright (c) 2022 - 2026.
763
776
  // Haixing Hu, Qubit Co. Ltd.
764
777
  //
765
778
  // All rights reserved.
@@ -798,7 +811,7 @@ function toSafeNumberOrThrow(value) {
798
811
 
799
812
  ////////////////////////////////////////////////////////////////////////////////
800
813
  //
801
- // Copyright (c) 2022 - 2024.
814
+ // Copyright (c) 2022 - 2026.
802
815
  // Haixing Hu, Qubit Co. Ltd.
803
816
  //
804
817
  // All rights reserved.
package/dist/json.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"json.cjs","sources":["../node_modules/json-custom-numbers/parse.mjs","../node_modules/json-custom-numbers/stringify.mjs","../src/utils/is-integer.js","../src/utils/extract-significant-digits.js","../src/utils/is-number.js","../src/utils/is-safe-number.js","../src/utils/get-unsafe-reason.js","../src/utils/lossless-number.js","../src/parse-number.js","../src/format-number.js","../src/collection-replacer.js","../src/json.js","../src/utils/is-bigint.js","../src/utils/to-safe-number-or-throw.js","../src/index.js"],"sourcesContent":["var T=Object.defineProperty;var C=(t,a)=>T(t,\"name\",{value:a,configurable:!0});/**\n * https://github.com/jawj/json-custom-numbers\n * @copyright Copyright (c) 2023 George MacKerron\n * @license MIT\n * \n * This file implements a non-recursive JSON parser that's intended to\n * precisely match native `JSON.parse` behaviour but also allow for custom\n * number parsing.\n */const v=/[^\"\\\\\\u0000-\\u001f]*/y,D=/-?(0|[1-9][0-9]*)([.][0-9]+)?([eE][-+]?[0-9]+)?|true|false|null/y,\nJ=/[ \\n\\t\\r]*$/y,X=/^.{0,32}\\n[ \\t]/,h=/[ \\n\\t\\r]*/y,j=`........................\\\n..........\"............./.............................................\\\\......\\b..\\\n..\\f........\n....\\r..\t`.split(\".\"),x=C(()=>new Uint32Array(103),\"hlArr\"),k=x(),m=x(),w=x(),$=x();\nlet i=0;for(;i<48;i++)k[i]=m[i]=w[i]=$[i]=65536;for(;i<58;i++)k[i]=(m[i]=(w[i]=($[i]=\ni-48)<<4)<<4)<<4;for(;i<65;i++)k[i]=m[i]=w[i]=$[i]=65536;for(;i<71;i++)k[i]=(m[i]=\n(w[i]=($[i]=i-55)<<4)<<4)<<4;for(;i<97;i++)k[i]=m[i]=w[i]=$[i]=65536;for(;i<103;i++)\nk[i]=(m[i]=(w[i]=($[i]=i-87)<<4)<<4)<<4;function O(t,a=\"\"){if(!(t>=0))return\"end\\\n of JSON input\";if(t>31&&t<127)return`'${a}${String.fromCharCode(t)}'`;if(t===10)\nreturn\"\\\\n\";if(t===9)return\"\\\\t\";const p=t.toString(16),y=\"0000\".slice(p.length)+\np;return(t>31?`'${a}${String.fromCharCode(t)}' or `:\"\")+`\\\\u${y}`}C(O,\"chDesc\");\nfunction R(t,a){const p=Object.keys(a),y=p.length;for(let d=0;d<y;d++){const n=p[d],\ne=t.call(a,n,a[n]);e!==void 0?a[n]=e:delete a[n]}}C(R,\"revive\");function q(t,a,p){\nconst y=p===!0?\" in array\":p===!1?\" in object\":\"\",d=t.slice(0,a),n=d.match(/[^\\n]{0,69}$/)[0],\ne=n.length<d.length?\"...\"+n:n,o=a-(d.length-e.length),u=t.slice(a),r=u.match(/[^\\n]{0,5}/)[0],\nc=r.length<u.length?r+\"...\":r,A=e+c,I=\" \".repeat(o<1?0:o-1)+\"^\";return`${y}\nAt position ${a} in JSON:\n${A}\n${I}`}C(q,\"errContext\");const N={maxDepth:1/0};function K(t,a,p,y){var U;typeof t!=\n\"string\"&&(t=String(t)),typeof a!=\"function\"&&(a=void 0);const d=y===void 0?N.maxDepth:\ntypeof y==\"number\"?y:(U=y.maxDepth)!=null?U:N.maxDepth;let n=0,e,o,u,r,c;function A(l){\nthrow new SyntaxError(l+q(t,n,u))}C(A,\"err\");function I(){A(`JSON structure too \\\ndeeply nested (current max depth: ${d})`)}C(I,\"tooDeep\");function b(l){A(`Unexpe\\\ncted ${O(e)}, expecting ${l}`)}C(b,\"expected\");function E(){const l=n-1;if(D.lastIndex=\nl,D.test(t)!==!0&&b(\"JSON value\"),n=D.lastIndex,e<102){const g=t.slice(l,n);return p?\np.call(o,r,g):+g}return e===110?null:e===116}C(E,\"word\");function S(){let l=\"\";e:\nfor(;;){v.lastIndex=n,v.test(t);const f=v.lastIndex;for(f>n&&(l+=t.slice(n,f),n=\nf),e=t.charCodeAt(n++);;){switch(e){case 34:return l;case 92:if(e=t.charCodeAt(n++),\ne===117){const s=k[t.charCodeAt(n++)]+m[t.charCodeAt(n++)]+w[t.charCodeAt(n++)]+\n$[t.charCodeAt(n++)];if(s<65536){l+=String.fromCharCode(s);break}A(\"Invalid \\\\uXX\\\nXX escape in string\")}const g=j[e];if(g!==\"\"&&g!==void 0){l+=g;break}A(`Invalid \\\nescape sequence: ${O(e,\"\\\\\")} in string`);default:e>=0||A(\"Unterminated string\"),\nA(`Invalid unescaped ${O(e)} in string`)}if(e=t.charCodeAt(n),e!==92&&e!==34)continue e;\nn++}}}C(S,\"string\");e:{do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===\n13||e===9));switch(e){case 123:d===0&&I(),o={},r=void 0,u=!1;break;case 91:d===0&&\nI(),o=[],r=0,u=!0;break;case 34:c=S();break e;default:c=E();break e}const l=d+d-\n2,f=[],g=X.test(t);let s=0;t:for(;;)if(u===!0)for(;;){g===!0&&s>2&&(h.lastIndex=\nn,h.test(t),n=h.lastIndex);do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||\ne===13||e===9));if(e===93){if(a!==void 0&&R(a,o),c=o,s===0)break e;if(o=f[--s],r=\nf[--s],u=typeof r==\"number\",u===!0){o[r++]=c;continue}else{o[r]=c;continue t}}if(r!==\n0){e!==44&&b(\"',' or ']' after value\"),g===!0&&s>2&&(h.lastIndex=n,h.test(t),n=h.\nlastIndex);do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===13||e===9))}\nswitch(e){case 34:o[r++]=S();continue;case 123:s===l&&I(),f[s++]=r,f[s++]=o,o={},\nr=void 0,u=!1;continue t;case 91:s===l&&I(),f[s++]=r,f[s++]=o,o=[],r=0;continue;default:\no[r++]=E()}}else for(;;){g===!0&&s>2&&(h.lastIndex=n,h.test(t),n=h.lastIndex);do\ne=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===13||e===9));if(e===125){if(a!==\nvoid 0&&R(a,o),c=o,s===0)break e;if(o=f[--s],r=f[--s],u=typeof r==\"number\",u===!0){\no[r++]=c;continue t}else{o[r]=c;continue}}if(r!==void 0){e!==44&&b(\"',' or '}' a\\\nfter value\"),g===!0&&s>2&&(h.lastIndex=n,h.test(t),n=h.lastIndex);do e=t.charCodeAt(\nn++);while(e<=32&&(e===32||e===10||e===13||e===9))}e!==34&&b(\"'}' or double-quot\\\ned key\"),r=S();do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===13||e===\n9));e!==58&&b(\"':' after key\");do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===\n10||e===13||e===9));switch(e){case 34:o[r]=S();continue;case 123:s===l&&I(),f[s++]=\nr,f[s++]=o,o={},r=void 0;continue;case 91:s===l&&I(),f[s++]=r,f[s++]=o,o=[],r=0,\nu=!0;continue t;default:o[r]=E()}}}return J.lastIndex=n,J.test(t)===!1&&A(\"Unexp\\\nected data after end of JSON input\"),a!==void 0&&(c={\"\":c},R(a,c),c=c[\"\"]),c}C(K,\n\"parse\");export{K as parse};\n","var E=Object.defineProperty;var T=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var D=(t,e,i)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):\nt[e]=i,u=(t,e)=>{for(var i in e||(e={}))F.call(e,i)&&D(t,i,e[i]);if(T)for(var i of T(\ne))V.call(e,i)&&D(t,i,e[i]);return t};var K=(t,e)=>E(t,\"name\",{value:e,configurable:!0});/**\n * https://github.com/jawj/json-custom-numbers\n * @copyright Copyright (c) 2023 George MacKerron\n * @license MIT\n * \n * This file implements a non-recursive JSON stringifier that's intended to\n * precisely match native `JSON.stringify` behaviour but also allow for custom\n * stringifying of numbers.\n */const x=/[\"\\\\\\u0000-\\u001f]/,q=Object.prototype.hasOwnProperty,z={maxDepth:5e4,\nskipToJSON:!1};function C(t,e,i,j,g={}){typeof g==\"number\"&&(g={maxDepth:g}),g=u(\nu({},z),g);const{maxDepth:J,skipToJSON:L}=g;let O,S;e!==void 0&&(typeof e==\"func\\\ntion\"?O=e:Array.isArray(e)&&(S=e.map(l=>String(l)))),i!==void 0&&(i=typeof i==\"s\\\ntring\"?i.slice(0,10):typeof i==\"number\"?\" \".slice(0,i):void 0);const P=J*\n(i===void 0?5:6);let r,s={\"\":t},d=0,c=[\"\"],h=!1,k=1,f=[],n=0,y=\"\",b=`\n`,o,p=new Set([]);do{if(d===k){p.delete(s),i!==void 0&&(b=f[--n],y+=b),y+=c===void 0?\n\"]\":\"}\",k=f[--n],h=f[--n],c=f[--n],d=f[--n],s=f[--n];continue}let l,w;c===void 0?\n(r=String(d),t=s[d]):(r=c[d],t=s[r]);let a=typeof t;if(L===!1&&t&&a===\"object\"&&\ntypeof t.toJSON==\"function\"&&(t=t.toJSON(r),a=typeof t),O!==void 0&&(t=O.call(s,\nr,t),a=typeof t),j===void 0||(o=j(r,t,a))===void 0)switch(a){case\"string\":o=x.test(\nt)?JSON.stringify(t):'\"'+t+'\"';break;case\"number\":o=isFinite(t)?String(t):\"null\";\nbreak;case\"boolean\":o=t===!0?\"true\":\"false\";break;case\"object\":if(t===null){o=\"n\\\null\";break}if(Array.isArray(t)){const m=t.length;m===0?o=\"[]\":(o=\"[\",l=void 0,w=\nm);break}const N=S===void 0?Object.keys(t):S.filter(m=>q.call(t,m)),A=N.length;A===\n0?o=\"{}\":(o=\"{\",l=N,w=A);break;case\"bigint\":throw new TypeError(\"Do not know how\\\n to serialize a BigInt: please provide a custom serializer function\");default:o=\nvoid 0}if(c===void 0?(d>0&&(y+=\",\"),i!==void 0&&(y+=b),y+=o===void 0?\"null\":o):o!==\nvoid 0&&(h?y+=\",\":h=!0,n>0&&(y+=i===void 0?(x.test(r)?JSON.stringify(r):'\"'+r+'\"')+\n\":\":b+(x.test(r)?JSON.stringify(r):'\"'+r+'\"')+\": \"),y+=o),d++,w!==void 0){if(f[n++]=\ns,f[n++]=d,f[n++]=c,f[n++]=h,f[n++]=k,i!==void 0&&(f[n++]=b,b+=i),s=t,d=0,c=l,h=\n!1,k=w,n>P)throw new RangeError(`Maximum nesting depth exceeded (current maximum\\\n is ${J})`);if(p.has(s))throw new TypeError(\"Cannot stringify circular structure\");\np.add(s)}}while(n!==0);return y||void 0}K(C,\"stringify\");export{C as stringify};\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A regular expression for testing whether a string represents an integer.\n *\n * @type {RegExp}\n * @private\n */\nconst INTEGER_REGEX = /^[+-]?\\d+$/;\n\n/**\n * Test whether a string represents an integer.\n *\n * @param value\n * The string to test.\n * @return {boolean}\n * true if the string contains an integer; false otherwise.\n */\nfunction isInteger(value) {\n return INTEGER_REGEX.test(value);\n}\n\nexport default isInteger;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\nconst EXPONENTIAL_PART_REGEX = /[eE][+-]?\\d+$/;\nconst LEADING_MINUS_AND_ZEROS_REGEX = /^-?(0*)?/;\nconst DOT_REGEX = /\\./;\nconst TRAILING_ZEROS_REGEX = /0+$/;\n\n/**\n * Get the significant digits of a number.\n *\n * For example:\n * - '2.34' returns '234'\n * - '-77' returns '77'\n * - '0.003400' returns '34'\n * - '120.5e+30' returns '1205'\n *\n * @param {string} value\n * The string representation of the number.\n * @return {string}\n * The significant digits of the number.\n * @private\n */\nfunction extractSignificantDigits(value) {\n return value\n .replace(EXPONENTIAL_PART_REGEX, '') // from \"-0.250e+30\" to \"-0.250\"\n .replace(DOT_REGEX, '') // from \"-0.250\" to \"-0250\"\n .replace(TRAILING_ZEROS_REGEX, '') // from \"-0250\" to \"-025\"\n .replace(LEADING_MINUS_AND_ZEROS_REGEX, ''); // from \"-025\" to \"25\"\n}\n\nexport default extractSignificantDigits;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A regular expression for testing whether a string represents a number.\n *\n * @type {RegExp}\n * @see http://stackoverflow.com/questions/13340717/json-numbers-regular-expression\n * @private\n */\nconst NUMBER_REGEX = /^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$/;\n\n/**\n * Test whether a string represents a number\n *\n * @param {string} value\n * The string to test.\n * @return {boolean}\n * true if the string contains a number; false otherwise.\n */\nfunction isNumber(value) {\n return NUMBER_REGEX.test(value);\n}\n\nexport default isNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isInteger from './is-integer';\nimport extractSignificantDigits from './extract-significant-digits';\nimport isNumber from './is-number';\n\nconst DEFAULT_APPROX = false;\nconst DEFAULT_REQUIRED_DIGITS = 14;\n\n/**\n * Test whether a string can be safely represented with a number without\n * information loss.\n *\n * When the argument `approx` is true, floating point numbers that lose a few\n * digits but are still approximately equal in value are considered safe too.\n * Integer numbers must still be exactly equal.\n *\n * @param {string} value\n * The string to test.\n * @param {object} options\n * The options of the test. It may contain the following properties:\n * - `approx: boolean`: indicates whether to consider approximately equal\n * floating point numbers as safe. Default is `false`.\n * - `requiredDigits: number`: the number of significant digits required for\n * a floating point number to be considered approximately equal. Default\n * is `14`.\n * @return {boolean}\n * true if the string can be safely represented with a number; false\n * otherwise.\n */\nfunction isSafeNumber(value, options = undefined) {\n // handle the edge cases\n if (!isNumber(value) || value === '' || value === 'NaN') {\n return false;\n }\n\n const num = parseFloat(value);\n const str = String(num);\n if (value === str) {\n return true;\n }\n const v = extractSignificantDigits(value);\n const s = extractSignificantDigits(str);\n if (v === s) {\n return true;\n }\n\n // use the default options\n const approx = options?.approx ?? DEFAULT_APPROX;\n if (!approx) {\n return false;\n }\n\n // A value is approximately equal when:\n // 1. it is a floating point number, not an integer\n // 2. both v and s have at least requiredDigits digits\n // 3. the first requiredDigits digits are equal\n const requiredDigits = options?.requiredDigits ?? DEFAULT_REQUIRED_DIGITS;\n\n // check if the value is an integer\n const isIntegerVal = isInteger(value);\n if (isIntegerVal) {\n return true; // when the input is an integer and approx=true, return true\n }\n\n // check if s has at least requiredDigits digits\n const sLengthOk = s.length >= requiredDigits;\n if (!sLengthOk) {\n return false;\n }\n\n // check if v has at least requiredDigits digits\n const vLengthOk = v.length >= requiredDigits;\n\n if (vLengthOk) {\n // check if the first requiredDigits digits are equal\n const vPrefix = v.substring(0, requiredDigits);\n const sPrefix = s.substring(0, requiredDigits);\n return vPrefix === sPrefix;\n } else {\n // if v length is not enough, return true\n return true;\n }\n}\n\nexport {\n DEFAULT_APPROX,\n DEFAULT_REQUIRED_DIGITS,\n isSafeNumber,\n};\n\nexport default isSafeNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isInteger from './is-integer';\nimport extractSignificantDigits from './extract-significant-digits';\n\n/**\n * When the provided value is an unsafe number, describe what the reason is\n * - `'overflow'`\n * - `'underflow'`\n * - `'truncate_integer'`\n * - `'truncate_float'`\n * - `'none'` (when the value is safe)\n *\n * @param {string} value\n * The string represents a number to test.\n * @return {string}\n * The reason why the value is unsafe. Returns `'none'` when the value is safe.\n */\nfunction getUnsafeReason(value) {\n const num = parseFloat(value);\n const str = String(num);\n if (value === str) {\n return 'none';\n }\n const v = extractSignificantDigits(value);\n const s = extractSignificantDigits(str);\n if (v === s) {\n return 'none';\n }\n if (isInteger(value)) {\n return 'truncate_integer';\n }\n if (!Number.isFinite(num)) {\n return 'overflow';\n }\n if (num === 0) {\n return 'underflow';\n }\n return 'truncate_float';\n}\n\nexport default getUnsafeReason;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isNumber from './is-number';\nimport getUnsafeReason from './get-unsafe-reason';\n\n/**\n * The class of lossless numbers, which stores its numeric value as string.\n */\nclass LosslessNumber {\n /**\n * The string representation of the number.\n *\n * @type {string}\n */\n value = '';\n\n /**\n * Whether the value is a lossless number.\n *\n * @type {boolean}\n */\n isLosslessNumber = true;\n\n /**\n * Constructs a new instance of `LosslessNumber`.\n *\n * @param {string} value\n * The string representation of the number.\n */\n constructor(value) {\n if (!isNumber(value)) {\n throw new Error(`Invalid number (value: \"${value}\")`);\n }\n this.value = value;\n }\n\n /**\n * Get the value of the LosslessNumber as number or bigint.\n *\n * - a number is returned for safe numbers and decimal values that only lose\n * some insignificant digits;\n * - a bigint is returned for big integer numbers;\n * - an Error is thrown for values that will overflow or underflow;\n *\n * Note that you can implement your own strategy for conversion by just\n * getting the value as string via `.toString()`, and using util functions\n * like `isInteger`, `isSafeNumber`, `getUnsafeReason`, and `toSafeNumberOrThrow`\n * to convert it to a numeric value.\n *\n * @return {number|bigint}\n * the numeric value of the LosslessNumber, as number or bigint.\n */\n valueOf() {\n const unsafeReason = getUnsafeReason(this.value);\n switch (unsafeReason) {\n case 'none':\n return parseFloat(this.value);\n case 'truncate_float':\n return parseFloat(this.value);\n case 'truncate_integer':\n return BigInt(this.value);\n case 'overflow':\n case 'underflow':\n throw new Error('Cannot safely CONVERT TO NUMBER: '\n + `the value '${this.value}' would ${unsafeReason} `\n + `and become ${parseFloat(this.value)}`);\n default:\n throw new Error('Unknown unsafe reason');\n }\n }\n\n /**\n * Get the value of this `LosslessNumber` as string.\n *\n * @return {string}\n * the string representation of this `LosslessNumber`.\n */\n toString() {\n return this.value;\n }\n\n // Note: we do NOT implement a .toJSON() method, and you should not implement\n // or use that, it cannot safely turn the numeric value in the string into\n // stringified JSON since it has to be parsed into a number first.\n}\n\nexport default LosslessNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isInteger from './utils/is-integer';\nimport isSafeNumber from './utils/is-safe-number';\nimport LosslessNumber from './utils/lossless-number';\n\n/**\n * A custom function to parse a number from a string, which supports lossless\n * number parsing.\n *\n * @param {string} key\n * The key of the property.\n * @param {string} value\n * The value of the property.\n * @return {any}\n * The parsed value.\n * @private\n */\nfunction parseNumber(key, value) {\n // if (isBigInt(value)) {\n // return BigInt(value.slice(0, -1));\n // }\n if (isSafeNumber(value, { approx: false })) {\n return parseFloat(value);\n }\n if (isInteger(value)) {\n return BigInt(value);\n }\n return new LosslessNumber(value);\n}\n\nexport default parseNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport LosslessNumber from './utils/lossless-number';\n\n/**\n * Formats a number value.\n *\n * @param {string} key\n * The key of the property.\n * @param {string} value\n * The value of the property.\n * @param {string} type\n * The type of the value.\n * @return {undefined|string}\n * The formatted value. If the value is not a number, then return undefined.\n * @private\n */\nfunction formatNumber(key, value, type) {\n switch (type) {\n case 'bigint':\n return value.toString();\n case 'object':\n // if (value instanceof Set) {\n // return Array.from(value);\n // }\n // if (value instanceof Map) {\n // return Array.from(value);\n // }\n if (value instanceof LosslessNumber) {\n return value.toString();\n }\n return undefined;\n default:\n return undefined;\n }\n}\n\nexport default formatNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A JSON replacer which serialize collections as arrays.\n *\n * @param {string} key\n * The key of the property.\n * @param {any} value\n * The value of the property.\n * @param {undefined|null|function} fallbackReplacer\n * The fallback replacer.\n * @return {any}\n * The serialized value.\n * @private\n */\nfunction collectionReplacer(key, value, fallbackReplacer) {\n if (value instanceof Set) {\n return Array.from(value);\n }\n if (value instanceof Map) {\n return Array.from(value);\n }\n if (fallbackReplacer) {\n return fallbackReplacer(key, value);\n }\n return value;\n}\n\nexport default collectionReplacer;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { parse as parseJson, stringify as stringifyJson } from 'json-custom-numbers';\nimport parseNumber from './parse-number';\nimport formatNumber from './format-number';\nimport collectionReplacer from './collection-replacer';\n\n/**\n * A customized class for JSON object which supports lossless number parsing and\n * stringifying.\n *\n * The instance of this class is similar to the standard `JSON` object, but with\n * enhanced capabilities for handling large integers, floating-point numbers, and\n * collections like `Set` and `Map`.\n *\n * Features:\n * - Lossless parsing of large integers (converted to BigInt)\n * - Lossless parsing of large floating-point numbers (converted to LosslessNumber)\n * - Support for Set and Map serialization/deserialization\n * - Compatible with standard JSON.parse/stringify API\n *\n * @example\n * // Parse large integers without precision loss\n * const obj = json.parse('{\"bigInt\": 9007199254740993}');\n * console.log(typeof obj.bigInt); // 'bigint'\n *\n * // Parse large floats without precision loss\n * const obj2 = json.parse('{\"bigFloat\": 2.3e+500}');\n * console.log(obj2.bigFloat instanceof LosslessNumber); // true\n *\n * // Stringify collections\n * const obj3 = { set: new Set([1, 2, 3]), map: new Map([['a', 1]]) };\n * console.log(json.stringify(obj3)); // '{\"set\":[1,2,3],\"map\":[[\"a\",1]]}'\n *\n * @author Haixing Hu\n */\nclass Json {\n /**\n * The string tag used by Object.prototype.toString() to identify this object.\n *\n * This property makes instances of the Json class return '[object JSON]' when\n * converted to string via Object.prototype.toString.call(), providing better\n * debugging and inspection experience.\n *\n * @type {string}\n * @readonly\n * @example\n * const json = new Json();\n * console.log(Object.prototype.toString.call(json)); // '[object JSON]'\n */\n [Symbol.toStringTag] = 'JSON';\n\n /**\n * Parses the specified JSON string and returns the resulting object.\n *\n * This method works like the standard JSON.parse(), but with enhanced number\n * handling:\n * - Safe numbers are parsed as regular JavaScript numbers\n * - Large integers are parsed as BigInt\n * - Large floating-point numbers are parsed as LosslessNumber instances\n *\n * @param {string} text\n * The JSON string to be parsed. Must be a valid JSON string.\n * @param {Function} [reviver]\n * Optional function to transform the results. This function is called for\n * each member of the object. If a member contains nested objects, the nested\n * objects are transformed before the parent object is.\n * @returns {*}\n * The resulting JavaScript value/object. The type depends on the JSON content.\n * @throws {SyntaxError}\n * Thrown if the text is not valid JSON.\n * @example\n * // Parse regular JSON\n * const obj = json.parse('{\"name\": \"John\", \"age\": 30}');\n *\n * // Parse with large integer (becomes BigInt)\n * const obj2 = json.parse('{\"id\": 9007199254740993}');\n * console.log(typeof obj2.id); // 'bigint'\n *\n * // Parse with reviver function\n * const obj3 = json.parse('{\"date\": \"2023-01-01\"}', (key, value) => {\n * if (key === 'date') return new Date(value);\n * return value;\n * });\n */\n parse(text, reviver) {\n if (typeof text !== 'string') {\n throw new TypeError('JSON.parse requires a string argument');\n }\n if ((reviver != null) && (typeof reviver !== 'function')) {\n throw new TypeError('JSON.parse reviver argument must be a function');\n }\n try {\n return parseJson(text, reviver, parseNumber);\n } catch (error) {\n // Re-throw with more context if needed\n if (error instanceof SyntaxError) {\n throw new SyntaxError(`Invalid JSON: ${error.message}`);\n }\n throw error;\n }\n }\n\n /**\n * Stringifies the specified value and returns the resulting JSON string.\n *\n * This method works like the standard JSON.stringify(), but with enhanced\n * support for:\n * - BigInt values (converted to number strings)\n * - LosslessNumber instances (converted to their string representation)\n * - Set instances (converted to arrays)\n * - Map instances (converted to arrays of key-value pairs)\n *\n * @param {*} value\n * The value to be stringified. Can be any JavaScript value.\n * @param {Function|Array} [replacer]\n * Optional function or array to transform the results. If a function, it's\n * called for each member of the object. If an array, it specifies the\n * properties to be included in the result.\n * @param {string|number} [space]\n * Optional string or number to control spacing in the output. If a number,\n * it indicates the number of space characters to use as white space. If a\n * string, it's used as white space.\n * @returns {string|undefined}\n * The resulting JSON string, or undefined if the value cannot be serialized.\n * @example\n * // Stringify regular object\n * const str = json.stringify({name: \"John\", age: 30});\n *\n * // Stringify with BigInt (preserved as number)\n * const str2 = json.stringify({id: 9007199254740993n});\n * // Result: '{\"id\":9007199254740993}'\n *\n * // Stringify with collections\n * const str3 = json.stringify({\n * set: new Set([1, 2, 3]),\n * map: new Map([['a', 1], ['b', 2]])\n * });\n * // Result: '{\"set\":[1,2,3],\"map\":[[\"a\",1],[\"b\",2]]}'\n *\n * // Stringify with custom replacer\n * const str4 = json.stringify({a: 1, b: 2}, (key, value) => {\n * return key === 'a' ? undefined : value;\n * });\n * // Result: '{\"b\":2}'\n */\n stringify(value, replacer, space) {\n // Validate replacer parameter\n if ((replacer != null) && (typeof replacer !== 'function') && (!Array.isArray(replacer))) {\n throw new TypeError('JSON.stringify replacer argument must be a function or array');\n }\n // Validate space parameter\n if ((space != null) && (typeof space !== 'string') && (typeof space !== 'number')) {\n throw new TypeError('JSON.stringify space argument must be a string or number');\n }\n try {\n // Optimize: create combined replacer function only when needed\n const combinedReplacer = replacer\n ? (k, v) => collectionReplacer(k, v, replacer)\n : collectionReplacer;\n\n return stringifyJson(value, combinedReplacer, space, formatNumber);\n } catch (error) {\n // Handle circular reference and other stringify errors\n if ((error.message.includes('circular'))\n || (error.message.includes('Converting circular structure'))) {\n throw new TypeError('Converting circular structure to JSON');\n }\n throw error;\n }\n }\n}\n\n/**\n * A customized JSON object which supports lossless number parsing and stringifying.\n *\n * This object provides two methods: `parse` and `stringify`, which are the same as the\n * `JSON.parse` and `JSON.stringify` methods, except that they support lossless number\n * parsing and stringifying.\n *\n * Key differences from standard JSON:\n * - Large integers are preserved as BigInt instead of losing precision\n * - Large floating-point numbers are preserved as LosslessNumber instances\n * - Set and Map collections are automatically serialized as arrays\n * - Maintains full compatibility with standard JSON API\n *\n * @type {Json}\n * @example\n * import json from '@qubit-ltd/json';\n *\n * // Use exactly like standard JSON\n * const obj = json.parse('{\"value\": 9007199254740993}');\n * const str = json.stringify(obj);\n *\n * // Works with collections\n * const data = { items: new Set([1, 2, 3]) };\n * const serialized = json.stringify(data); // '{\"items\":[1,2,3]}'\n */\nconst json = new Json();\n\nexport default json;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n/**\n * A regular expression for testing whether a string represents a BigInt.\n *\n * @type {RegExp}\n * @private\n */\nconst BIG_INTEGER_REGEX = /^[+-]?\\d+n$/;\n\n/**\n * Test whether a string represents a BigInt.\n *\n * @param value\n * The string to test.\n * @return {boolean}\n * true if the string contains a BigInt; false otherwise.\n */\nfunction isBigInt(value) {\n return BIG_INTEGER_REGEX.test(value);\n}\n\nexport default isBigInt;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport getUnsafeReason from './get-unsafe-reason';\nimport { DEFAULT_APPROX } from './is-safe-number';\n\n/**\n * Convert a string into a number when it is safe to do so.\n * Throws an error otherwise, explaining the reason.\n *\n * @param {string} value\n * The string to convert into a number.\n * @param {object} options\n * The options for conversion.\n * @return {number}\n * The converted safe number.\n * @throws {Error}\n * When the value is not safe to convert.\n */\nexport function toSafeNumberOrThrow(value, options = undefined) {\n const number = parseFloat(value);\n const unsafeReason = getUnsafeReason(value);\n if (unsafeReason === 'none') {\n return number;\n }\n const approx = options?.approx ?? DEFAULT_APPROX;\n // when approx is true, we allow truncating float values\n if (approx && (unsafeReason === 'truncate_float')) {\n return number;\n }\n const unsafeReasonText = unsafeReason?.replace(/_/, ' ');\n throw new Error('Cannot safely convert to number: '\n + `the value '${value}' would ${unsafeReasonText} and become ${number}`);\n}\n\nexport default toSafeNumberOrThrow;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2024.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport Json from './json';\nimport LosslessNumber from './utils/lossless-number';\nimport isBigInt from './utils/is-bigint';\nimport isInteger from './utils/is-integer';\nimport isNumber from './utils/is-number';\nimport isSafeNumber from './utils/is-safe-number';\nimport getUnsafeReason from './utils/get-unsafe-reason';\nimport toSafeNumberOrThrow from './utils/to-safe-number-or-throw';\n\nexport {\n getUnsafeReason,\n isBigInt,\n isInteger,\n isNumber,\n isSafeNumber,\n Json,\n LosslessNumber,\n toSafeNumberOrThrow,\n};\n\nexport default Json;\n"],"names":["T","C","D","x","q","K","INTEGER_REGEX","isInteger","value","test","EXPONENTIAL_PART_REGEX","LEADING_MINUS_AND_ZEROS_REGEX","DOT_REGEX","TRAILING_ZEROS_REGEX","extractSignificantDigits","replace","NUMBER_REGEX","isNumber","DEFAULT_APPROX","DEFAULT_REQUIRED_DIGITS","isSafeNumber","_options$approx","_options$requiredDigi","options","arguments","length","undefined","num","parseFloat","str","String","v","s","approx","requiredDigits","isIntegerVal","sLengthOk","vLengthOk","vPrefix","substring","sPrefix","getUnsafeReason","Number","isFinite","LosslessNumber","_classCallCheck","_defineProperty","Error","concat","_createClass","key","valueOf","unsafeReason","BigInt","toString","parseNumber","formatNumber","type","collectionReplacer","fallbackReplacer","Set","Array","from","Map","Json","Symbol","toStringTag","parse","text","reviver","TypeError","parseJson","error","SyntaxError","message","stringify","replacer","space","isArray","combinedReplacer","k","stringifyJson","includes","json","BIG_INTEGER_REGEX","isBigInt","toSafeNumberOrThrow","number","unsafeReasonText"],"mappings":";;;;;;;;AAAA,IAAIA,GAAC,CAAC,MAAM,CAAC,cAAc,CAAC,IAAIC,GAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAGD,GAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,IAAE,CAAC,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,MAAM,CAAC,CAAC,uBAAuB,CAACE,GAAC,CAAC,kEAAkE;AACvG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AACxD;AACA;AACA,SAAS,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAACC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,CAACpB,KAAK,CAAC;AAChC,EAAA,IAAM4C,YAAY,GAAGX,eAAe,CAACjC,KAAK,CAAC;EAC3C,IAAI4C,YAAY,KAAK,MAAM,EAAE;AAC3B,IAAA,OAAOmC,MAAM;AACf,EAAA;AACA,EAAA,IAAMtD,MAAM,GAAA,CAAAZ,eAAA,GAAGE,OAAO,aAAPA,OAAO,KAAA,MAAA,GAAA,MAAA,GAAPA,OAAO,CAAEU,MAAM,MAAA,IAAA,IAAAZ,eAAA,KAAA,MAAA,GAAAA,eAAA,GAAIH,cAAc;AAChD;AACA,EAAA,IAAIe,MAAM,IAAKmB,YAAY,KAAK,gBAAiB,EAAE;AACjD,IAAA,OAAOmC,MAAM;AACf,EAAA;AACA,EAAA,IAAMC,gBAAgB,GAAGpC,YAAY,KAAA,IAAA,IAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAErC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC;AACxD,EAAA,MAAM,IAAIgC,KAAK,CAAC,mCAAmC,GAAA,aAAA,CAAAC,MAAA,CAC/BxC,KAAK,EAAA,UAAA,CAAA,CAAAwC,MAAA,CAAWwC,gBAAgB,EAAA,cAAA,CAAA,CAAAxC,MAAA,CAAeuC,MAAM,CAAE,CAAC;AAC9E;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"json.cjs","sources":["../node_modules/json-custom-numbers/parse.mjs","../node_modules/json-custom-numbers/stringify.mjs","../src/utils/is-integer.js","../src/utils/extract-significant-digits.js","../src/utils/is-number.js","../src/utils/is-safe-number.js","../src/utils/get-unsafe-reason.js","../src/utils/lossless-number.js","../src/parse-number.js","../src/format-number.js","../src/collection-replacer.js","../src/json.js","../src/utils/is-bigint.js","../src/utils/to-safe-number-or-throw.js","../src/index.js"],"sourcesContent":["var T=Object.defineProperty;var C=(t,a)=>T(t,\"name\",{value:a,configurable:!0});/**\n * https://github.com/jawj/json-custom-numbers\n * @copyright Copyright (c) 2023 George MacKerron\n * @license MIT\n * \n * This file implements a non-recursive JSON parser that's intended to\n * precisely match native `JSON.parse` behaviour but also allow for custom\n * number parsing.\n */const v=/[^\"\\\\\\u0000-\\u001f]*/y,D=/-?(0|[1-9][0-9]*)([.][0-9]+)?([eE][-+]?[0-9]+)?|true|false|null/y,\nJ=/[ \\n\\t\\r]*$/y,X=/^.{0,32}\\n[ \\t]/,h=/[ \\n\\t\\r]*/y,j=`........................\\\n..........\"............./.............................................\\\\......\\b..\\\n..\\f........\n....\\r..\t`.split(\".\"),x=C(()=>new Uint32Array(103),\"hlArr\"),k=x(),m=x(),w=x(),$=x();\nlet i=0;for(;i<48;i++)k[i]=m[i]=w[i]=$[i]=65536;for(;i<58;i++)k[i]=(m[i]=(w[i]=($[i]=\ni-48)<<4)<<4)<<4;for(;i<65;i++)k[i]=m[i]=w[i]=$[i]=65536;for(;i<71;i++)k[i]=(m[i]=\n(w[i]=($[i]=i-55)<<4)<<4)<<4;for(;i<97;i++)k[i]=m[i]=w[i]=$[i]=65536;for(;i<103;i++)\nk[i]=(m[i]=(w[i]=($[i]=i-87)<<4)<<4)<<4;function O(t,a=\"\"){if(!(t>=0))return\"end\\\n of JSON input\";if(t>31&&t<127)return`'${a}${String.fromCharCode(t)}'`;if(t===10)\nreturn\"\\\\n\";if(t===9)return\"\\\\t\";const p=t.toString(16),y=\"0000\".slice(p.length)+\np;return(t>31?`'${a}${String.fromCharCode(t)}' or `:\"\")+`\\\\u${y}`}C(O,\"chDesc\");\nfunction R(t,a){const p=Object.keys(a),y=p.length;for(let d=0;d<y;d++){const n=p[d],\ne=t.call(a,n,a[n]);e!==void 0?a[n]=e:delete a[n]}}C(R,\"revive\");function q(t,a,p){\nconst y=p===!0?\" in array\":p===!1?\" in object\":\"\",d=t.slice(0,a),n=d.match(/[^\\n]{0,69}$/)[0],\ne=n.length<d.length?\"...\"+n:n,o=a-(d.length-e.length),u=t.slice(a),r=u.match(/[^\\n]{0,5}/)[0],\nc=r.length<u.length?r+\"...\":r,A=e+c,I=\" \".repeat(o<1?0:o-1)+\"^\";return`${y}\nAt position ${a} in JSON:\n${A}\n${I}`}C(q,\"errContext\");const N={maxDepth:1/0};function K(t,a,p,y){var U;typeof t!=\n\"string\"&&(t=String(t)),typeof a!=\"function\"&&(a=void 0);const d=y===void 0?N.maxDepth:\ntypeof y==\"number\"?y:(U=y.maxDepth)!=null?U:N.maxDepth;let n=0,e,o,u,r,c;function A(l){\nthrow new SyntaxError(l+q(t,n,u))}C(A,\"err\");function I(){A(`JSON structure too \\\ndeeply nested (current max depth: ${d})`)}C(I,\"tooDeep\");function b(l){A(`Unexpe\\\ncted ${O(e)}, expecting ${l}`)}C(b,\"expected\");function E(){const l=n-1;if(D.lastIndex=\nl,D.test(t)!==!0&&b(\"JSON value\"),n=D.lastIndex,e<102){const g=t.slice(l,n);return p?\np.call(o,r,g):+g}return e===110?null:e===116}C(E,\"word\");function S(){let l=\"\";e:\nfor(;;){v.lastIndex=n,v.test(t);const f=v.lastIndex;for(f>n&&(l+=t.slice(n,f),n=\nf),e=t.charCodeAt(n++);;){switch(e){case 34:return l;case 92:if(e=t.charCodeAt(n++),\ne===117){const s=k[t.charCodeAt(n++)]+m[t.charCodeAt(n++)]+w[t.charCodeAt(n++)]+\n$[t.charCodeAt(n++)];if(s<65536){l+=String.fromCharCode(s);break}A(\"Invalid \\\\uXX\\\nXX escape in string\")}const g=j[e];if(g!==\"\"&&g!==void 0){l+=g;break}A(`Invalid \\\nescape sequence: ${O(e,\"\\\\\")} in string`);default:e>=0||A(\"Unterminated string\"),\nA(`Invalid unescaped ${O(e)} in string`)}if(e=t.charCodeAt(n),e!==92&&e!==34)continue e;\nn++}}}C(S,\"string\");e:{do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===\n13||e===9));switch(e){case 123:d===0&&I(),o={},r=void 0,u=!1;break;case 91:d===0&&\nI(),o=[],r=0,u=!0;break;case 34:c=S();break e;default:c=E();break e}const l=d+d-\n2,f=[],g=X.test(t);let s=0;t:for(;;)if(u===!0)for(;;){g===!0&&s>2&&(h.lastIndex=\nn,h.test(t),n=h.lastIndex);do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||\ne===13||e===9));if(e===93){if(a!==void 0&&R(a,o),c=o,s===0)break e;if(o=f[--s],r=\nf[--s],u=typeof r==\"number\",u===!0){o[r++]=c;continue}else{o[r]=c;continue t}}if(r!==\n0){e!==44&&b(\"',' or ']' after value\"),g===!0&&s>2&&(h.lastIndex=n,h.test(t),n=h.\nlastIndex);do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===13||e===9))}\nswitch(e){case 34:o[r++]=S();continue;case 123:s===l&&I(),f[s++]=r,f[s++]=o,o={},\nr=void 0,u=!1;continue t;case 91:s===l&&I(),f[s++]=r,f[s++]=o,o=[],r=0;continue;default:\no[r++]=E()}}else for(;;){g===!0&&s>2&&(h.lastIndex=n,h.test(t),n=h.lastIndex);do\ne=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===13||e===9));if(e===125){if(a!==\nvoid 0&&R(a,o),c=o,s===0)break e;if(o=f[--s],r=f[--s],u=typeof r==\"number\",u===!0){\no[r++]=c;continue t}else{o[r]=c;continue}}if(r!==void 0){e!==44&&b(\"',' or '}' a\\\nfter value\"),g===!0&&s>2&&(h.lastIndex=n,h.test(t),n=h.lastIndex);do e=t.charCodeAt(\nn++);while(e<=32&&(e===32||e===10||e===13||e===9))}e!==34&&b(\"'}' or double-quot\\\ned key\"),r=S();do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===10||e===13||e===\n9));e!==58&&b(\"':' after key\");do e=t.charCodeAt(n++);while(e<=32&&(e===32||e===\n10||e===13||e===9));switch(e){case 34:o[r]=S();continue;case 123:s===l&&I(),f[s++]=\nr,f[s++]=o,o={},r=void 0;continue;case 91:s===l&&I(),f[s++]=r,f[s++]=o,o=[],r=0,\nu=!0;continue t;default:o[r]=E()}}}return J.lastIndex=n,J.test(t)===!1&&A(\"Unexp\\\nected data after end of JSON input\"),a!==void 0&&(c={\"\":c},R(a,c),c=c[\"\"]),c}C(K,\n\"parse\");export{K as parse};\n","var E=Object.defineProperty;var T=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var D=(t,e,i)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):\nt[e]=i,u=(t,e)=>{for(var i in e||(e={}))F.call(e,i)&&D(t,i,e[i]);if(T)for(var i of T(\ne))V.call(e,i)&&D(t,i,e[i]);return t};var K=(t,e)=>E(t,\"name\",{value:e,configurable:!0});/**\n * https://github.com/jawj/json-custom-numbers\n * @copyright Copyright (c) 2023 George MacKerron\n * @license MIT\n * \n * This file implements a non-recursive JSON stringifier that's intended to\n * precisely match native `JSON.stringify` behaviour but also allow for custom\n * stringifying of numbers.\n */const x=/[\"\\\\\\u0000-\\u001f]/,q=Object.prototype.hasOwnProperty,z={maxDepth:5e4,\nskipToJSON:!1};function C(t,e,i,j,g={}){typeof g==\"number\"&&(g={maxDepth:g}),g=u(\nu({},z),g);const{maxDepth:J,skipToJSON:L}=g;let O,S;e!==void 0&&(typeof e==\"func\\\ntion\"?O=e:Array.isArray(e)&&(S=e.map(l=>String(l)))),i!==void 0&&(i=typeof i==\"s\\\ntring\"?i.slice(0,10):typeof i==\"number\"?\" \".slice(0,i):void 0);const P=J*\n(i===void 0?5:6);let r,s={\"\":t},d=0,c=[\"\"],h=!1,k=1,f=[],n=0,y=\"\",b=`\n`,o,p=new Set([]);do{if(d===k){p.delete(s),i!==void 0&&(b=f[--n],y+=b),y+=c===void 0?\n\"]\":\"}\",k=f[--n],h=f[--n],c=f[--n],d=f[--n],s=f[--n];continue}let l,w;c===void 0?\n(r=String(d),t=s[d]):(r=c[d],t=s[r]);let a=typeof t;if(L===!1&&t&&a===\"object\"&&\ntypeof t.toJSON==\"function\"&&(t=t.toJSON(r),a=typeof t),O!==void 0&&(t=O.call(s,\nr,t),a=typeof t),j===void 0||(o=j(r,t,a))===void 0)switch(a){case\"string\":o=x.test(\nt)?JSON.stringify(t):'\"'+t+'\"';break;case\"number\":o=isFinite(t)?String(t):\"null\";\nbreak;case\"boolean\":o=t===!0?\"true\":\"false\";break;case\"object\":if(t===null){o=\"n\\\null\";break}if(Array.isArray(t)){const m=t.length;m===0?o=\"[]\":(o=\"[\",l=void 0,w=\nm);break}const N=S===void 0?Object.keys(t):S.filter(m=>q.call(t,m)),A=N.length;A===\n0?o=\"{}\":(o=\"{\",l=N,w=A);break;case\"bigint\":throw new TypeError(\"Do not know how\\\n to serialize a BigInt: please provide a custom serializer function\");default:o=\nvoid 0}if(c===void 0?(d>0&&(y+=\",\"),i!==void 0&&(y+=b),y+=o===void 0?\"null\":o):o!==\nvoid 0&&(h?y+=\",\":h=!0,n>0&&(y+=i===void 0?(x.test(r)?JSON.stringify(r):'\"'+r+'\"')+\n\":\":b+(x.test(r)?JSON.stringify(r):'\"'+r+'\"')+\": \"),y+=o),d++,w!==void 0){if(f[n++]=\ns,f[n++]=d,f[n++]=c,f[n++]=h,f[n++]=k,i!==void 0&&(f[n++]=b,b+=i),s=t,d=0,c=l,h=\n!1,k=w,n>P)throw new RangeError(`Maximum nesting depth exceeded (current maximum\\\n is ${J})`);if(p.has(s))throw new TypeError(\"Cannot stringify circular structure\");\np.add(s)}}while(n!==0);return y||void 0}K(C,\"stringify\");export{C as stringify};\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A regular expression for testing whether a string represents an integer.\n *\n * @type {RegExp}\n * @private\n */\nconst INTEGER_REGEX = /^[+-]?\\d+$/;\n\n/**\n * Test whether a string represents an integer.\n *\n * @param value\n * The string to test.\n * @return {boolean}\n * true if the string contains an integer; false otherwise.\n */\nfunction isInteger(value) {\n if (typeof value !== 'string') {\n return false;\n }\n return INTEGER_REGEX.test(value);\n}\n\nexport default isInteger;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\nconst EXPONENTIAL_PART_REGEX = /[eE][+-]?\\d+$/;\nconst LEADING_MINUS_AND_ZEROS_REGEX = /^-?(0*)?/;\nconst DOT_REGEX = /\\./;\nconst TRAILING_ZEROS_REGEX = /0+$/;\n\n/**\n * Get the significant digits of a number.\n *\n * For example:\n * - '2.34' returns '234'\n * - '-77' returns '77'\n * - '0.003400' returns '34'\n * - '120.5e+30' returns '1205'\n *\n * @param {string} value\n * The string representation of the number.\n * @return {string}\n * The significant digits of the number.\n * @private\n */\nfunction extractSignificantDigits(value) {\n const result = value\n .replace(EXPONENTIAL_PART_REGEX, '') // from \"-0.250e+30\" to \"-0.250\"\n .replace(DOT_REGEX, '') // from \"-0.250\" to \"-0250\"\n .replace(TRAILING_ZEROS_REGEX, '') // from \"-0250\" to \"-025\"\n .replace(LEADING_MINUS_AND_ZEROS_REGEX, ''); // from \"-025\" to \"25\"\n return result;\n}\n\nexport default extractSignificantDigits;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A regular expression for testing whether a string represents a number.\n *\n * @type {RegExp}\n * @see http://stackoverflow.com/questions/13340717/json-numbers-regular-expression\n * @private\n */\nconst NUMBER_REGEX = /^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$/;\n\n/**\n * Test whether a string represents a number\n *\n * @param {string} value\n * The string to test.\n * @return {boolean}\n * true if the string contains a number; false otherwise.\n */\nfunction isNumber(value) {\n if (typeof value !== 'string') {\n return false;\n }\n return NUMBER_REGEX.test(value);\n}\n\nexport default isNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isInteger from './is-integer';\nimport extractSignificantDigits from './extract-significant-digits';\nimport isNumber from './is-number';\n\nconst DEFAULT_APPROX = false;\nconst DEFAULT_REQUIRED_DIGITS = 14;\n\n/**\n * Test whether a string can be safely represented with a number without\n * information loss.\n *\n * When the argument `approx` is true, floating point numbers that lose a few\n * digits but are still approximately equal in value are considered safe too.\n * Integer numbers must still be exactly equal.\n *\n * @param {string} value\n * The string to test.\n * @param {object} options\n * The options of the test. It may contain the following properties:\n * - `approx: boolean`: indicates whether to consider approximately equal\n * floating point numbers as safe. Default is `false`.\n * - `requiredDigits: number`: the number of significant digits required for\n * a floating point number to be considered approximately equal. Default\n * is `14`.\n * @return {boolean}\n * true if the string can be safely represented with a number; false\n * otherwise.\n */\nfunction isSafeNumber(value, options = undefined) {\n // handle the edge cases\n if (!isNumber(value) || value === '' || value === 'NaN') {\n return false;\n }\n\n const num = parseFloat(value);\n const str = String(num);\n if (value === str) {\n return true;\n }\n const v = extractSignificantDigits(value);\n const s = extractSignificantDigits(str);\n if (v === s) {\n return true;\n }\n\n // use the default options\n const approx = options?.approx ?? DEFAULT_APPROX;\n if (!approx) {\n return false;\n }\n\n // A value is approximately equal when:\n // 1. it is a floating point number, not an integer\n // 2. both v and s have at least requiredDigits digits\n // 3. the first requiredDigits digits are equal\n const requiredDigits = options?.requiredDigits ?? DEFAULT_REQUIRED_DIGITS;\n\n // check if the value is an integer\n const isIntegerVal = isInteger(value);\n if (isIntegerVal) {\n return true; // when the input is an integer and approx=true, return true\n }\n\n // check if s has at least requiredDigits digits\n const sLengthOk = s.length >= requiredDigits;\n if (!sLengthOk) {\n return false;\n }\n\n // check if v has at least requiredDigits digits\n const vLengthOk = v.length >= requiredDigits;\n\n if (vLengthOk) {\n // check if the first requiredDigits digits are equal\n const vPrefix = v.substring(0, requiredDigits);\n const sPrefix = s.substring(0, requiredDigits);\n return vPrefix === sPrefix;\n } else {\n // if v length is not enough, return true\n return true;\n }\n}\n\nexport {\n DEFAULT_APPROX,\n DEFAULT_REQUIRED_DIGITS,\n isSafeNumber,\n};\n\nexport default isSafeNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isInteger from './is-integer';\nimport extractSignificantDigits from './extract-significant-digits';\nimport isNumber from './is-number';\n\n/**\n * When the provided value is an unsafe number, describe what the reason is\n * - `'overflow'`\n * - `'underflow'`\n * - `'truncate_integer'`\n * - `'truncate_float'`\n * - `'none'` (when the value is safe)\n *\n * @param {string} value\n * The string represents a number to test.\n * @return {string}\n * The reason why the value is unsafe. Returns `'none'` when the value is safe.\n */\nfunction getUnsafeReason(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n if (!isNumber(value) || value === '' || value === 'NaN') {\n return 'none';\n }\n const num = parseFloat(value);\n const str = String(num);\n if (value === str) {\n return 'none';\n }\n const v = extractSignificantDigits(value);\n const s = extractSignificantDigits(str);\n if (v === s) {\n return 'none';\n }\n if (isInteger(value)) {\n return 'truncate_integer';\n }\n if (!Number.isFinite(num)) {\n return 'overflow';\n }\n if (num === 0) {\n return 'underflow';\n }\n return 'truncate_float';\n}\n\nexport default getUnsafeReason;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isNumber from './is-number';\nimport getUnsafeReason from './get-unsafe-reason';\n\n/**\n * The class of lossless numbers, which stores its numeric value as string.\n */\nclass LosslessNumber {\n /**\n * The string representation of the number.\n *\n * @type {string}\n */\n value = '';\n\n /**\n * Whether the value is a lossless number.\n *\n * @type {boolean}\n */\n isLosslessNumber = true;\n\n /**\n * Constructs a new instance of `LosslessNumber`.\n *\n * @param {string} value\n * The string representation of the number.\n */\n constructor(value) {\n if (!isNumber(value)) {\n throw new Error(`Invalid number (value: \"${value}\")`);\n }\n this.value = value;\n }\n\n /**\n * Get the value of the LosslessNumber as number or bigint.\n *\n * - a number is returned for safe numbers and decimal values that only lose\n * some insignificant digits;\n * - a bigint is returned for big integer numbers;\n * - an Error is thrown for values that will overflow or underflow;\n *\n * Note that you can implement your own strategy for conversion by just\n * getting the value as string via `.toString()`, and using util functions\n * like `isInteger`, `isSafeNumber`, `getUnsafeReason`, and `toSafeNumberOrThrow`\n * to convert it to a numeric value.\n *\n * @return {number|bigint}\n * the numeric value of the LosslessNumber, as number or bigint.\n */\n valueOf() {\n const unsafeReason = getUnsafeReason(this.value);\n switch (unsafeReason) {\n case 'none':\n return parseFloat(this.value);\n case 'truncate_float':\n return parseFloat(this.value);\n case 'truncate_integer':\n return BigInt(this.value);\n case 'overflow':\n case 'underflow':\n throw new Error('Cannot safely CONVERT TO NUMBER: '\n + `the value '${this.value}' would ${unsafeReason} `\n + `and become ${parseFloat(this.value)}`);\n default:\n throw new Error('Unknown unsafe reason');\n }\n }\n\n /**\n * Get the value of this `LosslessNumber` as string.\n *\n * @return {string}\n * the string representation of this `LosslessNumber`.\n */\n toString() {\n return this.value;\n }\n\n // Note: we do NOT implement a .toJSON() method, and you should not implement\n // or use that, it cannot safely turn the numeric value in the string into\n // stringified JSON since it has to be parsed into a number first.\n}\n\nexport default LosslessNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport isInteger from './utils/is-integer';\nimport isSafeNumber from './utils/is-safe-number';\nimport LosslessNumber from './utils/lossless-number';\n\n/**\n * A custom function to parse a number from a string, which supports lossless\n * number parsing.\n *\n * @param {string} key\n * The key of the property.\n * @param {string} value\n * The value of the property.\n * @return {any}\n * The parsed value.\n * @private\n */\nfunction parseNumber(key, value) {\n // if (isBigInt(value)) {\n // return BigInt(value.slice(0, -1));\n // }\n if (isSafeNumber(value, { approx: false })) {\n return parseFloat(value);\n }\n if (isInteger(value)) {\n return BigInt(value);\n }\n return new LosslessNumber(value);\n}\n\nexport default parseNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport LosslessNumber from './utils/lossless-number';\n\n/**\n * Formats a number value.\n *\n * @param {string} key\n * The key of the property.\n * @param {string} value\n * The value of the property.\n * @param {string} type\n * The type of the value.\n * @return {undefined|string}\n * The formatted value. If the value is not a number, then return undefined.\n * @private\n */\nfunction formatNumber(key, value, type) {\n switch (type) {\n case 'bigint':\n return value.toString();\n case 'object':\n // if (value instanceof Set) {\n // return Array.from(value);\n // }\n // if (value instanceof Map) {\n // return Array.from(value);\n // }\n if (value instanceof LosslessNumber) {\n return value.toString();\n }\n return undefined;\n default:\n return undefined;\n }\n}\n\nexport default formatNumber;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * A JSON replacer which serialize collections as arrays.\n *\n * @param {string} key\n * The key of the property.\n * @param {any} value\n * The value of the property.\n * @param {undefined|null|function} fallbackReplacer\n * The fallback replacer.\n * @return {any}\n * The serialized value.\n * @private\n */\nfunction collectionReplacer(key, value, fallbackReplacer) {\n if (value instanceof Set) {\n return Array.from(value);\n }\n if (value instanceof Map) {\n return Array.from(value);\n }\n if (fallbackReplacer) {\n return fallbackReplacer(key, value);\n }\n return value;\n}\n\nexport default collectionReplacer;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { parse as parseJson, stringify as stringifyJson } from 'json-custom-numbers';\nimport parseNumber from './parse-number';\nimport formatNumber from './format-number';\nimport collectionReplacer from './collection-replacer';\n\n/**\n * A customized class for JSON object which supports lossless number parsing and\n * stringifying.\n *\n * The instance of this class is similar to the standard `JSON` object, but with\n * enhanced capabilities for handling large integers, floating-point numbers, and\n * collections like `Set` and `Map`.\n *\n * Features:\n * - Lossless parsing of large integers (converted to BigInt)\n * - Lossless parsing of large floating-point numbers (converted to LosslessNumber)\n * - Support for Set and Map serialization/deserialization\n * - Compatible with standard JSON.parse/stringify API\n *\n * @example\n * // Parse large integers without precision loss\n * const obj = json.parse('{\"bigInt\": 9007199254740993}');\n * console.log(typeof obj.bigInt); // 'bigint'\n *\n * // Parse large floats without precision loss\n * const obj2 = json.parse('{\"bigFloat\": 2.3e+500}');\n * console.log(obj2.bigFloat instanceof LosslessNumber); // true\n *\n * // Stringify collections\n * const obj3 = { set: new Set([1, 2, 3]), map: new Map([['a', 1]]) };\n * console.log(json.stringify(obj3)); // '{\"set\":[1,2,3],\"map\":[[\"a\",1]]}'\n *\n * @author Haixing Hu\n */\nclass Json {\n /**\n * The string tag used by Object.prototype.toString() to identify this object.\n *\n * This property makes instances of the Json class return '[object JSON]' when\n * converted to string via Object.prototype.toString.call(), providing better\n * debugging and inspection experience.\n *\n * @type {string}\n * @readonly\n * @example\n * const json = new Json();\n * console.log(Object.prototype.toString.call(json)); // '[object JSON]'\n */\n [Symbol.toStringTag] = 'JSON';\n\n /**\n * Parses the specified JSON string and returns the resulting object.\n *\n * This method works like the standard JSON.parse(), but with enhanced number\n * handling:\n * - Safe numbers are parsed as regular JavaScript numbers\n * - Large integers are parsed as BigInt\n * - Large floating-point numbers are parsed as LosslessNumber instances\n *\n * @param {string} text\n * The JSON string to be parsed. Must be a valid JSON string.\n * @param {Function} [reviver]\n * Optional function to transform the results. This function is called for\n * each member of the object. If a member contains nested objects, the nested\n * objects are transformed before the parent object is.\n * @returns {*}\n * The resulting JavaScript value/object. The type depends on the JSON content.\n * @throws {SyntaxError}\n * Thrown if the text is not valid JSON.\n * @example\n * // Parse regular JSON\n * const obj = json.parse('{\"name\": \"John\", \"age\": 30}');\n *\n * // Parse with large integer (becomes BigInt)\n * const obj2 = json.parse('{\"id\": 9007199254740993}');\n * console.log(typeof obj2.id); // 'bigint'\n *\n * // Parse with reviver function\n * const obj3 = json.parse('{\"date\": \"2023-01-01\"}', (key, value) => {\n * if (key === 'date') return new Date(value);\n * return value;\n * });\n */\n parse(text, reviver) {\n if (typeof text !== 'string') {\n throw new TypeError('JSON.parse requires a string argument');\n }\n if ((reviver != null) && (typeof reviver !== 'function')) {\n throw new TypeError('JSON.parse reviver argument must be a function');\n }\n try {\n return parseJson(text, reviver, parseNumber);\n } catch (error) {\n // Re-throw with more context if needed\n if (error instanceof SyntaxError) {\n throw new SyntaxError(`Invalid JSON: ${error.message}`);\n }\n throw error;\n }\n }\n\n /**\n * Stringifies the specified value and returns the resulting JSON string.\n *\n * This method works like the standard JSON.stringify(), but with enhanced\n * support for:\n * - BigInt values (converted to number strings)\n * - LosslessNumber instances (converted to their string representation)\n * - Set instances (converted to arrays)\n * - Map instances (converted to arrays of key-value pairs)\n *\n * @param {*} value\n * The value to be stringified. Can be any JavaScript value.\n * @param {Function|Array} [replacer]\n * Optional function or array to transform the results. If a function, it's\n * called for each member of the object. If an array, it specifies the\n * properties to be included in the result.\n * @param {string|number} [space]\n * Optional string or number to control spacing in the output. If a number,\n * it indicates the number of space characters to use as white space. If a\n * string, it's used as white space.\n * @returns {string|undefined}\n * The resulting JSON string, or undefined if the value cannot be serialized.\n * @example\n * // Stringify regular object\n * const str = json.stringify({name: \"John\", age: 30});\n *\n * // Stringify with BigInt (preserved as number)\n * const str2 = json.stringify({id: 9007199254740993n});\n * // Result: '{\"id\":9007199254740993}'\n *\n * // Stringify with collections\n * const str3 = json.stringify({\n * set: new Set([1, 2, 3]),\n * map: new Map([['a', 1], ['b', 2]])\n * });\n * // Result: '{\"set\":[1,2,3],\"map\":[[\"a\",1],[\"b\",2]]}'\n *\n * // Stringify with custom replacer\n * const str4 = json.stringify({a: 1, b: 2}, (key, value) => {\n * return key === 'a' ? undefined : value;\n * });\n * // Result: '{\"b\":2}'\n */\n stringify(value, replacer, space) {\n // Validate replacer parameter\n if ((replacer != null) && (typeof replacer !== 'function') && (!Array.isArray(replacer))) {\n throw new TypeError('JSON.stringify replacer argument must be a function or array');\n }\n // Validate space parameter\n if ((space != null) && (typeof space !== 'string') && (typeof space !== 'number')) {\n throw new TypeError('JSON.stringify space argument must be a string or number');\n }\n try {\n // Optimize: create combined replacer function only when needed\n const combinedReplacer = replacer\n ? (k, v) => collectionReplacer(k, v, replacer)\n : collectionReplacer;\n\n return stringifyJson(value, combinedReplacer, space, formatNumber);\n } catch (error) {\n // Handle circular reference and other stringify errors\n if ((error.message.includes('circular'))\n || (error.message.includes('Converting circular structure'))) {\n throw new TypeError('Converting circular structure to JSON');\n }\n throw error;\n }\n }\n}\n\n/**\n * A customized JSON object which supports lossless number parsing and stringifying.\n *\n * This object provides two methods: `parse` and `stringify`, which are the same as the\n * `JSON.parse` and `JSON.stringify` methods, except that they support lossless number\n * parsing and stringifying.\n *\n * Key differences from standard JSON:\n * - Large integers are preserved as BigInt instead of losing precision\n * - Large floating-point numbers are preserved as LosslessNumber instances\n * - Set and Map collections are automatically serialized as arrays\n * - Maintains full compatibility with standard JSON API\n *\n * @type {Json}\n * @example\n * import json from '@qubit-ltd/json';\n *\n * // Use exactly like standard JSON\n * const obj = json.parse('{\"value\": 9007199254740993}');\n * const str = json.stringify(obj);\n *\n * // Works with collections\n * const data = { items: new Set([1, 2, 3]) };\n * const serialized = json.stringify(data); // '{\"items\":[1,2,3]}'\n */\nconst json = new Json();\n\nexport default json;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n/**\n * A regular expression for testing whether a string represents a BigInt.\n *\n * @type {RegExp}\n * @private\n */\nconst BIG_INTEGER_REGEX = /^[+-]?\\d+n$/;\n\n/**\n * Test whether a string represents a BigInt.\n *\n * @param value\n * The string to test.\n * @return {boolean}\n * true if the string contains a BigInt; false otherwise.\n */\nfunction isBigInt(value) {\n return BIG_INTEGER_REGEX.test(value);\n}\n\nexport default isBigInt;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport getUnsafeReason from './get-unsafe-reason';\nimport { DEFAULT_APPROX } from './is-safe-number';\n\n/**\n * Convert a string into a number when it is safe to do so.\n * Throws an error otherwise, explaining the reason.\n *\n * @param {string} value\n * The string to convert into a number.\n * @param {object} options\n * The options for conversion.\n * @return {number}\n * The converted safe number.\n * @throws {Error}\n * When the value is not safe to convert.\n */\nexport function toSafeNumberOrThrow(value, options = undefined) {\n const number = parseFloat(value);\n const unsafeReason = getUnsafeReason(value);\n if (unsafeReason === 'none') {\n return number;\n }\n const approx = options?.approx ?? DEFAULT_APPROX;\n // when approx is true, we allow truncating float values\n if (approx && (unsafeReason === 'truncate_float')) {\n return number;\n }\n const unsafeReasonText = unsafeReason?.replace(/_/, ' ');\n throw new Error('Cannot safely convert to number: '\n + `the value '${value}' would ${unsafeReasonText} and become ${number}`);\n}\n\nexport default toSafeNumberOrThrow;\n","////////////////////////////////////////////////////////////////////////////////\n//\n// Copyright (c) 2022 - 2026.\n// Haixing Hu, Qubit Co. Ltd.\n//\n// All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport Json from './json';\nimport LosslessNumber from './utils/lossless-number';\nimport isBigInt from './utils/is-bigint';\nimport isInteger from './utils/is-integer';\nimport isNumber from './utils/is-number';\nimport isSafeNumber from './utils/is-safe-number';\nimport getUnsafeReason from './utils/get-unsafe-reason';\nimport toSafeNumberOrThrow from './utils/to-safe-number-or-throw';\n\nexport {\n getUnsafeReason,\n isBigInt,\n isInteger,\n isNumber,\n isSafeNumber,\n Json,\n LosslessNumber,\n toSafeNumberOrThrow,\n};\n\nexport default Json;\n"],"names":["T","C","D","x","q","K","INTEGER_REGEX","isInteger","value","test","EXPONENTIAL_PART_REGEX","LEADING_MINUS_AND_ZEROS_REGEX","DOT_REGEX","TRAILING_ZEROS_REGEX","extractSignificantDigits","result","replace","NUMBER_REGEX","isNumber","DEFAULT_APPROX","DEFAULT_REQUIRED_DIGITS","isSafeNumber","_options$approx","_options$requiredDigi","options","arguments","length","undefined","num","parseFloat","str","String","v","s","approx","requiredDigits","isIntegerVal","sLengthOk","vLengthOk","vPrefix","substring","sPrefix","getUnsafeReason","Number","isFinite","LosslessNumber","_classCallCheck","_defineProperty","Error","concat","_createClass","key","valueOf","unsafeReason","BigInt","toString","parseNumber","formatNumber","type","collectionReplacer","fallbackReplacer","Set","Array","from","Map","Json","Symbol","toStringTag","parse","text","reviver","TypeError","parseJson","error","SyntaxError","message","stringify","replacer","space","isArray","combinedReplacer","k","stringifyJson","includes","json","BIG_INTEGER_REGEX","isBigInt","toSafeNumberOrThrow","number","unsafeReasonText"],"mappings":";;;;;;;;AAAA,IAAIA,GAAC,CAAC,MAAM,CAAC,cAAc,CAAC,IAAIC,GAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAGD,GAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,IAAE,CAAC,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,MAAM,CAAC,CAAC,uBAAuB,CAACE,GAAC,CAAC,kEAAkE;AACvG,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AACxD;AACA;AACA,SAA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