{"_id":"@apimatic/json-bigint","_rev":"17-fe5617ccf9710eb06e6b26ae4b3f8233","name":"@apimatic/json-bigint","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0-alpha.0":{"name":"@apimatic/json-bigint","version":"1.0.0-alpha.0","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.0.0-alpha.0","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/sidorares/json-bigint#readme","bugs":{"url":"https://github.com/sidorares/json-bigint/issues"},"dist":{"shasum":"8ce668db194fd64eaae091c7dd0ce355a62b3101","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.0.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-u9WcPcFJSd9zxjD8DKnN9AsUF8FY4htgGatUayLR3LuRRSwzexTPYoySjIEXZGZeLtRAds8sNocFPrVHHoVO5g==","signatures":[{"sig":"MEUCIQDxv7TaO//VrgrOHfILHocFs5aIHLeRzClwBZRs0qLaIQIgFHG+F3ZG/T8EXP8V14S67Bnhej/DHUjBLo0zpBfhGcM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL0ZSCRA9TVsSAnZWagAADrgP/0IvT5O3psimPMeeNiz4\nX8DQJDtQ4UFLo9GcLdIc7VDBeoj+98/g788YzjliTQ3lIAQXYBRkxgz1Aboc\nP5FUuZJwoPLzHXPO5cTPdStOFv+pOvxh0va25UI2q8uWpXv7vGNg54xAxw1S\n3ARMSUbDGmBzNNGGxES3RGEyOFWumcyB3vXxtgujbPq8OSOVnWN2ZFYzkCLN\nVIj1IOLLq8HrZjRLTWlE1LUZrLcBXqnEa266w7b/RXVerhBdcVdGQmnAcZu9\nJ36oQni0UBR9U24BbP0WVSGckJRqdaeKurGqTsqILvejX5JyPnxsppS/NhWU\n1esXqurUa/t9SzHREoUaRWX4D1DSfY+GDwn2OH6w3Z8OuklVJwJy7hZyuz/N\nmJtDJh0XD6aRymfQhUsip4PFCdQ4C3uvtt3sHVOG+7omBM8MDpa44naoO4da\nK47dLCWx/QgQVN6fQfTDGppQUriwsNxuhB8bLDLwSJ0JyB7Eqw3dednhGQyW\n62x6J9BYZSLTpGi5SDIA/vNmkvCTQoDLpvHlk+fMaZu1lIRgjvGCG8OxTQw7\nawrLmLB9fQz8D+z5D+L6A2FZImy8lLy/BuayZH0YUZO9qdB+CQ+cwvP5xfaL\nz1KEg6R6VEW0gPw89uavKmctcsgaH0OY2RkR4p/bHgjLFnPZYw7m61a8u7Us\nwJQs\r\n=Kh6R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"891aa3e8f93e80dab6b8115d62387cb688e64b9a","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/sidorares/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.0.0-alpha.0_1630488146219_0.39005259346694365","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@apimatic/json-bigint","version":"1.0.0","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.0.0","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/sidorares/json-bigint#readme","bugs":{"url":"https://github.com/sidorares/json-bigint/issues"},"dist":{"shasum":"59193024619ace293072eb9778bd5a6508c07bb4","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.0.0.tgz","fileCount":6,"integrity":"sha512-YLjgm8V3sj1d73GhPBseIwTlO9ILkgBTUke9sf+Xe78ADWW9EnQ67h0Zd8Bdrmk9fx3liq5iKFRyzqy45026aQ==","signatures":[{"sig":"MEUCIQDNb7ulLxBIs3kZiT8Tn8k4kcAEP5zNegyNPOfjW2X1owIgC44YpBM09T8zogLnIXJ9Ze2jAlI30euIB3AvQ8ReKbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOIIYCRA9TVsSAnZWagAAdgQP/3OOf9ibnFO6MxEm3zW3\n6wQrOjkrRuRzpkegv2MARhP1VNiwIAe+OVNod1ywuBxPo9xGSs0sWf1XR8vl\nYxO6LLLLPGm6pBmC+D1ClKnA/R5Akx3dXnQdVKhrTsSfoHJJhY08+lHOZRw3\nanqqNFL2Z9LS6oAzCy8Mh2MrBU/DDrs+3L+RUYMxJXoFJPPeDmqRCMzezm3I\nx8x8qMPmJucKQ1SagkA/MmyhYdQhmqqnrq3MgmAmDxEWuRUZfWfNmCXjm+8n\nkTmnubZiex+ENPvV1r4+dNbZrPAKkVugRQMmbRGZoZGo2VYlYC0BBcyKDaYo\n1d4gIfKJoI0JfZME0GZQOE+DdLant9w6ZRy9U2nkv5K0YnIvmx6mDfwE0org\nXRcnKCQ/dSTNgFx5Qgi/FR7IyWkV6buZqO2wrd27Pvk0YEUhn805hH2k6jZT\nJvNZRJlyx8BQNNHOOxj7LokIEdzmciPzb+2AqXn/KL1JtpryzbF2Mm4Y4WzG\n5i5qUR86CPfabZciLe/hAmLQWQhzDsfL91ykBdA7B/L6UvAoIIMvMrsgwT6r\nUuzAmpORBXgp/UdkoCpUhPfk7oMr2PJF8q1Co4zXjPkXBYLBpJlURNQJyz3i\nQZpJItCNcNjeQgmKHn2rXm94CbH9C3wY9ZMSjSnA+lrt2ELQ5u5M/CoV4pb5\n/X1R\r\n=newd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3b877dde21cfdc51ace35cd627f33847dfe583c2","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/sidorares/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.0.0_1631093271882_0.22516547908497397","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@apimatic/json-bigint","version":"1.0.1","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.0.1","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/apimatic/json-bigint#readme","bugs":{"url":"https://github.com/apimatic/json-bigint/issues"},"dist":{"shasum":"237c55cdc94fe543aef9dc0d8a0a4d1a455051a0","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.0.1.tgz","fileCount":6,"integrity":"sha512-tS9r/D4ZPjQbAKB6UNh9ZeeKNXQiaGRj8oRBZdaKUv8CE+72iul6ZK1an4nuLxFbaodCHOyUVwcnIZBiCkAmCQ==","signatures":[{"sig":"MEUCIAnbfPJoGg9VUaKFW9uInogO8BQ3/ELlfLyptI9nmt54AiEA4GxZiUNMW81IPnwPNwa5UIfvYG9LIf924FK7yPLW4V0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOIQwCRA9TVsSAnZWagAAS1QP/RQHgmuODrw/zCqXDMG8\nFJmOjOruOB1JC6AyzMOZOYE+g1c0VtrYxRAJJ/uBmowT5BAHyCOsZbivkbyD\nnvsd07IXwjw2W+5TZZwrgSiFt9gJFRXQ5pzLCzHV4cHFLk5hoQdr8va9xTfi\n0j0vodTnxZ3V/erpoZm8LcQy8nNxGevht/cZ557PUQFg9WrdaW0cgjPah3oU\nm87xxJuZKOzkRl9MBfM6OKodhgx8c5xkwvzHDnA0bPcy1iPSQeJR2bfxkbU/\nePTQ7dO1uSvf64TScPmg2nsWTuvm1SpBLZiNLPySPkJnneTnA14NwjgsCd9A\nZ70Yf4AJLj8DDA9vEhU7TXvPLcYMOIOOAWVZFzOXlCWusRtQUWqn6yI779rI\nbDTKC9WmZ1dyy0p/7noZILMWqlqNWUyaeFdbjMidQ/pHMvan3ND8s+LPMiLz\nZCgDKStBolKnY5+dNMQ8bMYWLbEtMXKqtfzEz6ePS8EAMDeALejg88z5Qv7o\njF1sYuC3UJxj6fvPFvjxZI+ZnA2Lw/zTQA7sWc2NQnA9WPSSzwL9SgyAA74e\nVDcoVSSzYXob7U75E5gEFkCTotiLewdN+oICECtpFZG8XivChZGp+LeRn/ld\nRXRqRbC6bpomuV7psE/WlsrMG+wzP2fOPTJvbnKpkUfnFEsxHq4I0chA1tB/\n8jOO\r\n=X6NR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d59f5a7987a42c324e26fb49173ec1c3cdecd7a9","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/apimatic/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.0.1_1631093808398_0.38881656872658144","host":"s3://npm-registry-packages"}},"1.1.0-alpha.0":{"name":"@apimatic/json-bigint","version":"1.1.0-alpha.0","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.1.0-alpha.0","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/apimatic/json-bigint#readme","bugs":{"url":"https://github.com/apimatic/json-bigint/issues"},"dist":{"shasum":"2f400ff430fa81315450de3c574b6eee4f816d90","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.1.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-3XKvSgvmWu7hI0BjeaYmyWHvkGnKmalpU3B9pzI+Pks47yqYBSdLNBNV/3/IyrdtcRaNp96Wh/UmIER/kyxATg==","signatures":[{"sig":"MEUCIQC9vbPXR1XERc/5FTOTfwmH8htUBe7tGwWTvD9nddRv2wIgBRUyb1lkTdQCPJ5DVxOURQ0KC0v1Ofsuk17jT6R6AvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36946},"main":"index.js","types":"types/index.d.ts","gitHead":"303c72088319d10e817395b67306c6b6e8230920","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/apimatic/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.1.0-alpha.0_1632817933906_0.5671451066461455","host":"s3://npm-registry-packages"}},"1.1.0-alpha.1":{"name":"@apimatic/json-bigint","version":"1.1.0-alpha.1","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.1.0-alpha.1","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/apimatic/json-bigint#readme","bugs":{"url":"https://github.com/apimatic/json-bigint/issues"},"dist":{"shasum":"3e607b6135aadfd93c43161bba1b6df4c19e9a9a","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.1.0-alpha.1.tgz","fileCount":7,"integrity":"sha512-BjVVL0MNzurjhH6wAowuec9cf5LCq1/NUE8D1Fs6YKBjZgmGTjP4u/zYoPYsV9wL7ucaBondB4MS2YEIS2ZGGg==","signatures":[{"sig":"MEYCIQC2AeOx7+j7EcUuTOyKStD4vV4Jn+qWDCJJ7PdRDEtsEAIhAKRMXnBe+zA8tSIMTKBeubozgRLNMb139FsCPIhd9Lcw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37583},"main":"index.js","types":"types/index.d.ts","gitHead":"6bdc93091a0fd0dec0cd0d7e1cadaabebaddddd7","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/apimatic/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.1.0-alpha.1_1632826787599_0.1998192290771792","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@apimatic/json-bigint","version":"1.1.0","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.1.0","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/apimatic/json-bigint#readme","bugs":{"url":"https://github.com/apimatic/json-bigint/issues"},"dist":{"shasum":"9f65d90ca25f51cf03bff8dae60f10dfa51f3c3a","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.1.0.tgz","fileCount":7,"integrity":"sha512-eQ4WC53kBm0JzaO1CWBgmpmc0QzOWLn940L3gPdGDrGbzyuDztzvVhiSUYQZ+FdswxITaBTz+VG05EU5QwRHpg==","signatures":[{"sig":"MEQCIDP2meDXzY12ZpCxp59deaniQLudFDEX2kqKHR+xle0lAiB2TvAUxyZ1Zv2rdIjWX8sqZLp6SgkvS9/OdGEv9UZenA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFhuCRA9TVsSAnZWagAAHNsP/jg2a29Vv0xTahwfMdRM\nORAkXJKaaGqjQJ5FAgSDQs/kjCY3XXes3sSacRwjonQ6nI/5gAkTLuh9CwXG\ng1YtVbXdfOBE0oJ2B7f21DnIJdCua3E/0xi6LKXfaaOqFAeB6+KEGA7PHSFw\nwX41rehEJkckcGg39NKpLtG3tT1FLUTFHeIq3oTliHt+anoSRpHR60zSrSh4\nmlgSMZSpR5ILzEAT7eotTvkd2sGVqfttojCIPKf7+AH48fZ9lkaBnaxOnYtZ\nXX8WLnk/N9T3G42RD+CU9vKXd5O3QgR1/v0POvScuK85TmPOZ5hIhKYGV0K+\ntnesQG0IB0UEhCUX7SILReehFeiMmJQGzPnpfQLaU33P7iHNbkVINAMOcY2+\nNi/YzdqFm+Et+1dmLawKIaO/Q2IjB4BqmoYBZtxbuMHKGfkLR8AroJgsSdzr\nqGSOgXvscgzw5uNe0bQq8y7Acp/sJRDyouTRq+vQSlMxkV75hSaelTJtjRq6\nuwbnQhpTm+WPYaQzZ1m+OS0US1IQ5qc9y3wALkR69HvnZlXwnBHKswBJJBLD\nLGJR5qC14DJE0WCSQN8eIC+W4s9yRuiBHUjaeNVkhsZ2o57I7tx+uHmTlf8x\nI3wFK8R8KUM4X/B8ftBH4wkE/TAyQjvMhunbIS4KQIjwkviXDe81UZbQqeG0\nX0EM\r\n=foZH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","gitHead":"da6e7c510940a8016558b4137c64b6686ace8c06","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/apimatic/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.1.0_1632827796692_0.10793775037807407","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@apimatic/json-bigint","version":"1.2.0","keywords":["JSON","bigint","parse","json"],"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","_id":"@apimatic/json-bigint@1.2.0","maintainers":[{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},{"name":"apimaticdev","email":"developer@apimatic.io"},{"name":"mehdi991","email":"mehdi991@gmail.com"}],"contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"homepage":"https://github.com/apimatic/json-bigint#readme","bugs":{"url":"https://github.com/apimatic/json-bigint/issues"},"dist":{"shasum":"05223455ec135976fe7a55456c2d21a3bbde56d8","tarball":"https://registry.npmjs.org/@apimatic/json-bigint/-/json-bigint-1.2.0.tgz","fileCount":7,"integrity":"sha512-+bmVzYMdZu0Ya5L+my4FXFUih54OvQA/qlZsFOYdOoostyUuB27UDrVWQs/WVCmS0ADdo5vTU0eeTrrBkHoySw==","signatures":[{"sig":"MEYCIQD7lYHW8gbGOrfhrXHKUTdX5pYaBBjv2GJJiMcvGIVikQIhAPKyGLg4hXYA6yqvCgQHl9uqCYVq2zD5iu/hiDjebB1g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLyPQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTHw//cn9PPilRiaHvKpgfOHxHKFVWt7MzESs8oSft2GcpKHErRHlP\r\n9nHZx7OI9/vjKe+ZfOc4RAxGVuZgp/i8piGIYaX8D/+5apIIp7HUMgG5nG5+\r\nvQFLtHtAd38DtDRBmdlBPXMa2OGkDoPvH44Jb0d2SICouph/fG09l0uhICDk\r\noz6+KiaV765Gf4rQg279WPt3zPkg8NvUSYCZ/3QGNaF6t0uRQSDx3x/W5gpr\r\ndRomuI5lPrHQrek8+1jaFczEQRAOn2JLZVHnGQmMvfUDFABaTv5zsH7BiL/H\r\n5DYi3Mlh9HvoJOV2ZAcGHjQtBIigskoPVQHwQgniUSEQInjJQz9EcV7eShba\r\nck291N8Kcm8Q+37BzkYRsWYkGKmUEI7emHGqzpRrzVVhR19nQpylpj3t1BmV\r\n3XYFsMhbX4NhYWUbK7pcG55Ph1peKXiM/NxCTdwOgzvX8RMt4X7psEaly7/Q\r\nmkYJQrBrYm1zWfY7j+vFWE/336E0NcEZ8NwwMve/D2SNgM5OVJSC2bCy8d/E\r\n7Mhyb5rFF04pgCwtsB2fjcPiXNg1r/0wDy3E3h9RDiNBLJNCbMb/I/3JJcVF\r\niYO2Bczr2koLgT0xLvPEYhfJxZ0KLy8wJ7WXcjrxeENK87RKtI+RFZj1G19a\r\naIF+FYMcvuj49s0O4D5Tmei2gRsoQVwqVV0=\r\n=OXO9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types/index.d.ts","gitHead":"cae1c8f3c04b0f42abeb1c81d2156c82a1ccbdcc","scripts":{"test":"node ./node_modules/mocha/bin/mocha -R spec --check-leaks test/*-test.js"},"_npmUser":{"name":"wajahatiqbal","email":"wajahatiqbal47@gmail.com"},"repository":{"url":"git+ssh://git@github.com/apimatic/json-bigint.git","type":"git"},"_npmVersion":"7.20.1","description":"JSON.parse with bigints support","directories":{},"_nodeVersion":"14.17.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","mocha":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/json-bigint_1.2.0_1647256527887_0.25066888846203206","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-09-01T09:22:26.134Z","modified":"2026-07-09T04:03:45.598Z","1.0.0-alpha.0":"2021-09-01T09:22:26.421Z","1.0.0":"2021-09-08T09:27:52.248Z","1.0.1":"2021-09-08T09:36:48.568Z","1.1.0-alpha.0":"2021-09-28T08:32:14.078Z","1.1.0-alpha.1":"2021-09-28T10:59:47.737Z","1.1.0":"2021-09-28T11:16:36.838Z","1.2.0":"2022-03-14T11:15:28.052Z"},"bugs":{"url":"https://github.com/apimatic/json-bigint/issues"},"author":{"name":"Andrey Sidorov","email":"sidorares@yandex.ru"},"license":"MIT","homepage":"https://github.com/apimatic/json-bigint#readme","keywords":["JSON","bigint","parse","json"],"repository":{"url":"git+ssh://git@github.com/apimatic/json-bigint.git","type":"git"},"description":"JSON.parse with bigints support","contributors":[{"name":"Wajahat Iqbal","email":"wajahat.iqbal@apimatic.io"}],"maintainers":[{"email":"developer@apimatic.io","name":"apimaticdev"},{"email":"mehdi991@gmail.com","name":"mehdi991"},{"email":"hamza.mahmood@apimatic.io","name":"hamzamahmood"},{"email":"14asadali@gmail.com","name":"asadali214"}],"readme":"# @apimatic/json-bigint\r\n\r\n[![Build Status](https://github.com/apimatic/json-bigint/actions/workflows/main.yml/badge.svg)](https://github.com/apimatic/json-bigint/actions/main.yml)\r\n\r\nJSON.parse/stringify with bigints support. Based on Douglas Crockford [JSON.js](https://github.com/douglascrockford/JSON-js) package. This is a fork of [json-bigint](https://github.com/sidorares/json-bigint). This module does not have the support for bignumber.js and thus has that dependeny removed.\r\n\r\nInstall the library using npm:\r\n```\r\n$ npm install @apimatic/json-bigint\r\n```\r\n\r\nWhile most JSON parsers assume numeric values have same precision restrictions as IEEE 754 double, JSON specification _does not_ say anything about number precision. Any floating point number in decimal (optionally scientific) notation is valid JSON value. It's a good idea to serialize values which might fall out of IEEE 754 integer precision as strings in your JSON api, but `{ \"value\" : 9223372036854775807}`, for example, is still a valid RFC4627 JSON string, and in most JS runtimes the result of `JSON.parse` is this object: `{ value: 9223372036854776000 }`\r\n\r\n==========\r\n\r\nexample:\r\n\r\n```js\r\nvar JSONbig = require('@apimatic/json-bigint');\r\n\r\nvar json = '{ \"value\" : 9223372036854775807, \"v2\": 123 }';\r\nconsole.log('Input:', json);\r\nconsole.log('');\r\n\r\nconsole.log('node.js built-in JSON:');\r\nvar r = JSON.parse(json);\r\nconsole.log('JSON.parse(input).value : ', r.value.toString());\r\nconsole.log('JSON.stringify(JSON.parse(input)):', JSON.stringify(r));\r\n\r\nconsole.log('\\n\\nbigint JSON:');\r\nvar r1 = JSONbig.parse(json);\r\nconsole.log('JSONbig.parse(input).value : ', r1.value.toString());\r\nconsole.log('JSONbig.stringify(JSONbig.parse(input)):', JSONbig.stringify(r1));\r\n```\r\n\r\nOutput:\r\n\r\n```\r\nInput: { \"value\" : 9223372036854775807, \"v2\": 123 }\r\n\r\nnode.js built-in JSON:\r\nJSON.parse(input).value :  9223372036854776000\r\nJSON.stringify(JSON.parse(input)): {\"value\":9223372036854776000,\"v2\":123}\r\n\r\n\r\nbigint JSON:\r\nJSONbig.parse(input).value :  9223372036854775807\r\nJSONbig.stringify(JSONbig.parse(input)): {\"value\":9223372036854775807,\"v2\":123}\r\n```\r\n\r\n### Options\r\n\r\nThe behaviour of the parser is somewhat configurable through 'options'\r\n\r\n#### options.strict, boolean, default false\r\n\r\nSpecifies the parsing should be \"strict\" towards reporting duplicate-keys in the parsed string.\r\nThe default follows what is allowed in standard json and resembles the behavior of JSON.parse, but overwrites any previous values with the last one assigned to the duplicate-key.\r\n\r\nSetting options.strict = true will fail-fast on such duplicate-key occurances and thus warn you upfront of possible lost information.\r\n\r\nexample:\r\n\r\n```js\r\nvar JSONbig = require('@apimatic/json-bigint');\r\nvar JSONstrict = require('@apimatic/json-bigint')({ strict: true });\r\n\r\nvar dupkeys = '{ \"dupkey\": \"value 1\", \"dupkey\": \"value 2\"}';\r\nconsole.log('\\n\\nDuplicate Key test with both lenient and strict JSON parsing');\r\nconsole.log('Input:', dupkeys);\r\nvar works = JSONbig.parse(dupkeys);\r\nconsole.log('JSON.parse(dupkeys).dupkey: %s', works.dupkey);\r\nvar fails = 'will stay like this';\r\ntry {\r\n  fails = JSONstrict.parse(dupkeys);\r\n  console.log('ERROR!! Should never get here');\r\n} catch (e) {\r\n  console.log(\r\n    'Succesfully catched expected exception on duplicate keys: %j',\r\n    e\r\n  );\r\n}\r\n```\r\n\r\nOutput\r\n\r\n```\r\nDuplicate Key test with big number JSON\r\nInput: { \"dupkey\": \"value 1\", \"dupkey\": \"value 2\"}\r\nJSON.parse(dupkeys).dupkey: value 2\r\nSuccesfully catched expected exception on duplicate keys: {\"name\":\"SyntaxError\",\"message\":\"Duplicate key \\\"dupkey\\\"\",\"at\":33,\"text\":\"{ \\\"dupkey\\\": \\\"value 1\\\", \\\"dupkey\\\": \\\"value 2\\\"}\"}\r\n\r\n```\r\n\r\n#### options.storeAsString, boolean, default false\r\n\r\nSpecifies if BigInts should be stored in the object as a string.\r\n\r\nNote that this is a dangerous behavior as it breaks the default functionality of being able to convert back-and-forth without data type changes (as this will convert all BigInts to be-and-stay strings).\r\n\r\nexample:\r\n\r\n```js\r\nvar JSONbig = require('@apimatic/json-bigintt');\r\nvar JSONbigString = require('@apimatic/json-bigint')({ storeAsString: true });\r\nvar key = '{ \"key\": 1234567890123456789 }';\r\nconsole.log('\\n\\nStoring the BigInt as a string, instead of a BigInt');\r\nconsole.log('Input:', key);\r\nvar withInt = JSONbig.parse(key);\r\nvar withString = JSONbigString.parse(key);\r\nconsole.log(\r\n  'Default type: %s, With option type: %s',\r\n  typeof withInt.key,\r\n  typeof withString.key\r\n);\r\n```\r\n\r\nOutput\r\n\r\n```\r\nStoring the BigInt as a string, instead of a BigInt\r\nInput: { \"key\": 1234567890123456789 }\r\nDefault type: bigint, With option type: string\r\n\r\n```\r\n\r\n#### options.alwaysParseAsBig, boolean, default false\r\n\r\nSpecifies if all numbers should be stored as BigInt.\r\n\r\nNote that this is a dangerous behavior as it breaks the default functionality of being able to convert back-and-forth without data type changes (as this will convert all Number to be-and-stay BigInt)\r\n\r\nexample:\r\n\r\n```js\r\nvar JSONbig = require('@apimatic/json-bigint');\r\nvar JSONbigAlways = require('@apimatic/json-bigint')({ alwaysParseAsBig: true });\r\nvar key = '{ \"key\": 123 }'; // there is no need for BigInt by default, but we're forcing it\r\nconsole.log(`\\n\\nStoring the Number as a BigInt, instead of a Number`);\r\nconsole.log('Input:', key);\r\nvar normal = JSONbig.parse(key);\r\nvar always = JSONbigAlways.parse(key);\r\nconsole.log(\r\n  'Default type: %s, With option type: %s',\r\n  typeof normal.key,\r\n  typeof always.key\r\n);\r\n```\r\n\r\nOutput\r\n\r\n```\r\nStoring the Number as a BigInt, instead of a Number\r\nInput: { \"key\": 123 }\r\nDefault type: number, With option type: bigint\r\n\r\n```\r\n\r\n#### options.protoAction, boolean, default: \"error\". Possible values: \"error\", \"ignore\", \"preserve\"\r\n\r\n#### options.constructorAction, boolean, default: \"error\". Possible values: \"error\", \"ignore\", \"preserve\"\r\n\r\nControls how `__proto__` and `constructor` properties are treated. If set to \"error\" they are not allowed and\r\nparse() call will throw an error. If set to \"ignore\" the prroperty and it;s value is skipped from parsing and object building.\r\nIf set to \"preserve\" the `__proto__` property is set. One should be extra careful and make sure any other library consuming generated data\r\nis not vulnerable to prototype poisoning attacks.\r\n\r\nexample:\r\n\r\n```js\r\nvar JSONbigAlways = require('@apimatic/json-bigint')({ protoAction: 'ignore' });\r\nconst user = JSONbig.parse('{ \"__proto__\": { \"admin\": true }, \"id\": 12345 }');\r\n// => result is { id: 12345 }\r\n```\r\n\r\n### Links:\r\n\r\n- [RFC4627: The application/json Media Type for JavaScript Object Notation (JSON)](http://www.ietf.org/rfc/rfc4627.txt)\r\n- [Re: \\[Json\\] Limitations on number size?](http://www.ietf.org/mail-archive/web/json/current/msg00297.html)\r\n- [Is there any proper way to parse JSON with large numbers? (long, bigint, int64)](http://stackoverflow.com/questions/18755125/node-js-is-there-any-proper-way-to-parse-json-with-large-numbers-long-bigint)\r\n- [What is JavaScript's Max Int? What's the highest Integer value a Number can go to without losing precision?](http://stackoverflow.com/questions/307179/what-is-javascripts-max-int-whats-the-highest-integer-value-a-number-can-go-t)\r\n- [Large numbers erroneously rounded in Javascript](http://stackoverflow.com/questions/1379934/large-numbers-erroneously-rounded-in-javascript)\r\n\r\n### Note on native BigInt support\r\n\r\n#### Stringifying\r\n\r\nFull support out-of-the-box, stringifies BigInts as pure numbers (no quotes, no `n`)\r\n\r\n#### Limitations\r\n\r\n- Roundtrip operations\r\n\r\n`s === JSONbig.stringify(JSONbig.parse(s))` but\r\n\r\n`o !== JSONbig.parse(JSONbig.stringify(o))`\r\n\r\nwhen `o` has a value with something like `123n`.\r\n\r\n`JSONbig` stringify `123n` as `123`, which becomes `number` (aka `123` not `123n`) by default when being reparsed.\r\n\r\nThere is currently no consistent way to deal with this issue, so we decided to leave it, handling this specific case is then up to users.\r\n","readmeFilename":"README.md"}