{"_id":"@ungap/structured-clone","_rev":"3682503","name":"@ungap/structured-clone","description":"A structuredClone polyfill","dist-tags":{"latest":"1.3.0"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"time":{"modified":"2025-02-13T05:44:22.000Z","created":"2021-10-29T18:41:57.277Z","1.3.0":"2025-01-23T14:13:01.275Z","1.2.1":"2024-12-07T20:39:06.273Z","1.2.0":"2023-05-04T08:22:20.434Z","1.1.2":"2023-05-03T13:13:53.464Z","1.1.1":"2023-05-03T12:55:29.726Z","1.1.0":"2023-04-29T06:02:08.255Z","1.0.2":"2023-02-14T09:57:17.615Z","1.0.1":"2022-05-11T06:47:45.860Z","1.0.0":"2022-05-10T16:50:13.101Z","0.3.4":"2021-11-07T12:21:35.508Z","0.3.3":"2021-11-04T12:00:19.941Z","0.3.2":"2021-11-04T11:42:29.039Z","0.3.1":"2021-11-04T11:25:17.482Z","0.3.0":"2021-11-02T13:58:41.741Z","0.2.3":"2021-10-30T21:41:27.820Z","0.2.2":"2021-10-30T06:26:42.790Z","0.2.1":"2021-10-30T06:17:23.360Z","0.2.0":"2021-10-30T06:13:34.792Z","0.1.0":"2021-10-29T22:09:30.816Z","0.0.2":"2021-10-29T19:52:10.822Z","0.0.1":"2021-10-29T18:48:36.009Z","0.0.0":"2021-10-29T18:41:57.277Z"},"users":{},"author":{"name":"Andrea Giammarchi"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"versions":{"1.3.0":{"name":"@ungap/structured-clone","version":"1.3.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^16.0.0","@rollup/plugin-terser":"^0.4.4","ascjs":"^6.0.3","c8":"^10.1.3","coveralls":"^3.1.1","rollup":"^4.31.0"},"module":"./esm/index.js","type":"module","sideEffects":false,"exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","_id":"@ungap/structured-clone@1.3.0","gitHead":"4a9d039fd266495f8b9e5485f73747ef3ea46d85","_nodeVersion":"23.4.0","_npmVersion":"11.0.0","dist":{"shasum":"d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8","size":7266,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.3.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/structured-clone_1.3.0_1737641581069_0.6700397134620162"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-23T14:13:01.275Z","publish_time":1737641581275,"_source_registry_name":"default","_cnpm_publish_time":1737641581275},"1.2.1":{"name":"@ungap/structured-clone","version":"1.2.1","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^15.3.0","@rollup/plugin-terser":"^0.4.4","ascjs":"^6.0.3","c8":"^10.1.2","coveralls":"^3.1.1","rollup":"^4.28.1"},"module":"./esm/index.js","type":"module","sideEffects":false,"exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","_id":"@ungap/structured-clone@1.2.1","gitHead":"1a255c58e32387d03c95574ee9d2f4dc89a06061","_nodeVersion":"23.1.0","_npmVersion":"10.9.0","dist":{"shasum":"28fa185f67daaf7b7a1a8c1d445132c5d979f8bd","size":7069,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.2.1.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.2.1_1733603946084_0.9680224301233455"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-07T20:39:06.273Z","publish_time":1733603946273,"_source_registry_name":"default","_cnpm_publish_time":1733603946273},"1.2.0":{"name":"@ungap/structured-clone","version":"1.2.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","ascjs":"^5.0.1","c8":"^7.13.0","coveralls":"^3.1.1","rollup":"^3.21.4"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"68e41b1f898343db1bd6b681e947e08cb7500299","_id":"@ungap/structured-clone@1.2.0","_nodeVersion":"19.9.0","_npmVersion":"8.19.2","dist":{"shasum":"756641adb587851b5ccb3e095daf27ae581c8406","size":7054,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.2.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.2.0_1683188540246_0.7143919619403676"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-04T08:22:20.434Z","publish_time":1683188540434,"_source_registry_name":"default","_cnpm_publish_time":1683188540434},"1.1.2":{"name":"@ungap/structured-clone","version":"1.1.2","description":"A structuredClone polyfill","main":"./cjs/index.js","types":"./esm/index.d.ts","scripts":{"build":"npm run cjs && npm run rollup:json && npm run copy-d-ts-into-cjs && npm run test","cjs":"ascjs esm cjs","copy-d-ts-into-cjs":"node ./copy-d-ts.js","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","ascjs":"^5.0.1","c8":"^7.13.0","coveralls":"^3.1.1","rollup":"^3.21.1"},"module":"./esm/index.js","type":"module","exports":{".":{"types":"./esm/index.d.ts","import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"types":"./esm/json.d.ts","import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"a7b5f812d628bd01f9d776740734be771fbc4d02","_id":"@ungap/structured-clone@1.1.2","_nodeVersion":"19.9.0","_npmVersion":"8.19.2","dist":{"shasum":"251224107402bde1f70b3e96634ac9fc39a871da","size":9385,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.1.2.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.1.2_1683119633268_0.8290978780667055"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-03T13:13:53.464Z","publish_time":1683119633464,"_source_registry_name":"default","_cnpm_publish_time":1683119633464},"1.1.1":{"name":"@ungap/structured-clone","version":"1.1.1","description":"A structuredClone polyfill","main":"./cjs/index.js","types":"./esm/index.d.ts","scripts":{"build":"npm run cjs && npm run rollup:json && npm run copy-d-ts-into-cjs && npm run test","cjs":"ascjs esm cjs","copy-d-ts-into-cjs":"node ./copy-d-ts.js","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","ascjs":"^5.0.1","c8":"^7.13.0","coveralls":"^3.1.1","rollup":"^3.21.1"},"module":"./esm/index.js","type":"module","exports":{".":{"types":"./esm/index.d.ts","import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"types":"./esm/json.d.ts","import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"6c7a23aba12e6e8b930232d2ca855c8cb9d02754","_id":"@ungap/structured-clone@1.1.1","_nodeVersion":"19.9.0","_npmVersion":"8.19.2","dist":{"shasum":"a93f0875a6a146c03066cdbfdffa6de9edd6641e","size":9385,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.1.1.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.1.1_1683118529588_0.6349779714156245"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-03T12:55:29.726Z","publish_time":1683118529726,"_source_registry_name":"default","_cnpm_publish_time":1683118529726},"1.1.0":{"name":"@ungap/structured-clone","version":"1.1.0","description":"A structuredClone polyfill","main":"./cjs/index.js","types":"./esm/index.d.ts","scripts":{"build":"npm run cjs && npm run rollup:json && npm run copy-d-ts-into-cjs && npm run test","cjs":"ascjs esm cjs","copy-d-ts-into-cjs":"node ./copy-d-ts.js","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","ascjs":"^5.0.1","c8":"^7.13.0","coveralls":"^3.1.1","rollup":"^3.21.1"},"module":"./esm/index.js","type":"module","exports":{".":{"types":"./esm/index.d.ts","import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"types":"./esm/json.d.ts","import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"8d363e51250ef2f1c2ef314425b6265424cf1a93","_id":"@ungap/structured-clone@1.1.0","_nodeVersion":"19.9.0","_npmVersion":"8.19.2","dist":{"shasum":"b0a0c84346777b0c62054ced8f2302df03987457","size":9392,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.1.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.1.0_1682748128116_0.6900311567042559"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-29T06:02:08.255Z","publish_time":1682748128255,"_source_registry_name":"default","_cnpm_publish_time":1682748128255},"1.0.2":{"name":"@ungap/structured-clone","version":"1.0.2","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^13.0.6","ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"8a3b9d98d108f8b6ab21d1f37c379df73d16214e","_id":"@ungap/structured-clone@1.0.2","_nodeVersion":"19.6.0","_npmVersion":"8.19.2","dist":{"shasum":"112bd30f3c27cb4c7b85d59ee3918c13803238ad","size":6683,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.0.2.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.0.2_1676368637403_0.5118072958915796"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-14T09:57:17.615Z","publish_time":1676368637615,"_cnpm_publish_time":1676368637615},"1.0.1":{"name":"@ungap/structured-clone","version":"1.0.1","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^13.0.6","ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"e95ae4e171c10d81e4bc1cf2f4b09e7dfd2d36c6","_id":"@ungap/structured-clone@1.0.1","_nodeVersion":"18.1.0","_npmVersion":"8.5.5","dist":{"shasum":"549ce746c163d0869a61cfdabafe625a13ab5d0f","size":6628,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.0.1.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.0.1_1652251665702_0.9384861856690425"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-11T08:07:53.223Z","publish_time":1652251665860,"_cnpm_publish_time":1652251665860},"1.0.0":{"name":"@ungap/structured-clone","version":"1.0.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^13.0.6","ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"9ab44fab0c0f5d26db165dc2150ec9daa53ee913","_id":"@ungap/structured-clone@1.0.0","_nodeVersion":"18.1.0","_npmVersion":"8.5.5","dist":{"shasum":"d92d046be5226323a9233a528af11784e5699642","size":6521,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-1.0.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_1.0.0_1652201412956_0.9126758580893888"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-10T16:58:02.830Z","publish_time":1652201413101,"_cnpm_publish_time":1652201413101},"0.3.4":{"name":"@ungap/structured-clone","version":"0.3.4","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^13.0.6","ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"bc4f42b61438df62ef18a6aa5f831c63b36a6c59","_id":"@ungap/structured-clone@0.3.4","_nodeVersion":"16.11.1","_npmVersion":"8.1.3","dist":{"shasum":"f6d804e185591373992781361e4aa5bb81ffba35","size":6406,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.3.4.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.3.4_1636287695394_0.37606336944824825"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:54.401Z","publish_time":1636287695508,"_cnpm_publish_time":1636287695508},"0.3.3":{"name":"@ungap/structured-clone","version":"0.3.3","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^13.0.6","ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1","rollup":"^2.59.0","rollup-plugin-terser":"^7.0.2"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"14ca0a41318781e2d83fde7e9ef5710f96106db8","_id":"@ungap/structured-clone@0.3.3","_nodeVersion":"16.11.1","_npmVersion":"8.1.2","dist":{"shasum":"dc3216a5e98f7ffe6b356647282408cf1dfc0e96","size":6400,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.3.3.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.3.3_1636027219830_0.28906711836611376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:52.704Z","publish_time":1636027219941,"_cnpm_publish_time":1636027219941},"0.3.2":{"name":"@ungap/structured-clone","version":"0.3.2","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run rollup:json && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","rollup:json":"rollup --config rollup/json.config.js","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"@rollup/plugin-node-resolve":"^13.0.6","ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1","rollup":"^2.59.0"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"906797764ff39aa0c9c73f048fe041caa7310d33","_id":"@ungap/structured-clone@0.3.2","_nodeVersion":"16.11.1","_npmVersion":"8.1.2","dist":{"shasum":"5bb08721b1ef9e59a1c9d9cb5ec241ff5474532a","size":6150,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.3.2.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.3.2_1636026148865_0.5608757129106186"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:51.019Z","publish_time":1636026149039,"_cnpm_publish_time":1636026149039},"0.3.1":{"name":"@ungap/structured-clone","version":"0.3.1","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./json":{"import":"./esm/json.js","default":"./cjs/json.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"162db584904950c597aa2d65752f68680a40e57a","_id":"@ungap/structured-clone@0.3.1","_nodeVersion":"16.11.1","_npmVersion":"8.1.2","dist":{"shasum":"6957a39e55db2e7af3528fd2f8d87554f12cff7c","size":5380,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.3.1.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.3.1_1636025117307_0.6397286248517493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:49.327Z","publish_time":1636025117482,"_cnpm_publish_time":1636025117482},"0.3.0":{"name":"@ungap/structured-clone","version":"0.3.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"9afbc8762a35af5d232d803ce12fb3703948ef9c","_id":"@ungap/structured-clone@0.3.0","_nodeVersion":"16.11.1","_npmVersion":"8.1.2","dist":{"shasum":"a4022657412a412234baaf07f8ee252d1394210b","size":5002,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.3.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.3.0_1635861521612_0.6023829768023199"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:47.641Z","publish_time":1635861521741,"_cnpm_publish_time":1635861521741},"0.2.3":{"name":"@ungap/structured-clone","version":"0.2.3","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"e8077bf38f43f4ea7207f397d788f9811e5bc672","_id":"@ungap/structured-clone@0.2.3","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"f820d569647faed152ad7cfc5db8a7141697825c","size":4172,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.2.3.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.2.3_1635630087681_0.4111002883277477"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:45.987Z","publish_time":1635630087820,"_cnpm_publish_time":1635630087820},"0.2.2":{"name":"@ungap/structured-clone","version":"0.2.2","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"2b56cb9ac8d2d67c6b59b632768366f8a8045f88","_id":"@ungap/structured-clone@0.2.2","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"ac8fa5256978e749e8e07d3bc3ebbfc20f2485fb","size":4000,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.2.2.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.2.2_1635575202626_0.7201657820557925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:44.328Z","publish_time":1635575202790,"_cnpm_publish_time":1635575202790},"0.2.1":{"name":"@ungap/structured-clone","version":"0.2.1","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"49942ddc88c90ea9a6189afbe98541ccc6b2c060","_id":"@ungap/structured-clone@0.2.1","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"55227fa13a3dd3157daf8d2b24cce76f2200163f","size":3985,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.2.1.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.2.1_1635574643228_0.7401258841469438"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:42.643Z","publish_time":1635574643360,"_cnpm_publish_time":1635574643360},"0.2.0":{"name":"@ungap/structured-clone","version":"0.2.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coverage":"c8 report --reporter=text-lcov > ./coverage/lcov.info","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"ee3753df7badb1c7950401a33bd9821f2d7b5c1b","_id":"@ungap/structured-clone@0.2.0","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"e7f27c4fa0b24072a95e31d8f136810547505263","size":3940,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.2.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.2.0_1635574414655_0.3362000891438395"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:40.963Z","publish_time":1635574414792,"_cnpm_publish_time":1635574414792},"0.1.0":{"name":"@ungap/structured-clone","version":"0.1.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","test":"c8 node test/index.js"},"keywords":["recursion","structured","clone","algorithm"],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/ungap/structured-clone.git"},"bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"homepage":"https://github.com/ungap/structured-clone#readme","gitHead":"abf898c2afbce3ea9b3bc937aec0214e4111b0bb","_id":"@ungap/structured-clone@0.1.0","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"f9c54ee12c02a725ae11e416a2ed1e0a323450f7","size":2965,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.1.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.1.0_1635545370498_0.8422427663649255"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:39.279Z","publish_time":1635545370816,"_cnpm_publish_time":1635545370816},"0.0.2":{"name":"@ungap/structured-clone","version":"0.0.2","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","test":"c8 node test/index.js"},"keywords":[],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"f490dff2ae24d367f5a666287ed5e0f2211cf1ca","_id":"@ungap/structured-clone@0.0.2","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"e40d39677515f2c462f5a4c8e3f4e16458d23dbf","size":1977,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.0.2.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.0.2_1635537130642_0.7607155870824736"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:37.598Z","publish_time":1635537130822,"_cnpm_publish_time":1635537130822},"0.0.1":{"name":"@ungap/structured-clone","version":"0.0.1","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","test":"c8 node test/index.js"},"keywords":[],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"7d734471207d8087097b4697a7822652e40cf391","_id":"@ungap/structured-clone@0.0.1","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"aebbcb1b02d9755160882b47acbc64ecf63f8fdd","size":1970,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.0.1.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.0.1_1635533315453_0.2980637337024661"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:35.907Z","publish_time":1635533316009,"_cnpm_publish_time":1635533316009},"0.0.0":{"name":"@ungap/structured-clone","version":"0.0.0","description":"A structuredClone polyfill","main":"./cjs/index.js","scripts":{"build":"npm run cjs && npm run test","cjs":"ascjs esm cjs","coveralls":"c8 report --reporter=text-lcov | coveralls","test":"c8 node test/index.js"},"keywords":[],"author":{"name":"Andrea Giammarchi"},"license":"ISC","devDependencies":{"ascjs":"^5.0.1","c8":"^7.10.0","coveralls":"^3.1.1"},"module":"./esm/index.js","type":"module","exports":{".":{"import":"./esm/index.js","default":"./cjs/index.js"},"./package.json":"./package.json"},"gitHead":"62edce6a91cfc639a720cd6aba511d16b22b352f","_id":"@ungap/structured-clone@0.0.0","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"8d419db84ec486be1d591b4b0319be44f70c3485","size":1989,"noattachment":false,"key":"/@ungap/structured-clone/-/@ungap/structured-clone-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ungap/structured-clone/download/@ungap/structured-clone-0.0.0.tgz"},"_npmUser":{"name":"webreflection","email":"andrea.giammarchi@gmail.com"},"directories":{},"maintainers":[{"name":"webreflection","email":"andrea.giammarchi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/structured-clone_0.0.0_1635532917137_0.018146682751382093"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T00:14:34.200Z","publish_time":1635532917277,"_cnpm_publish_time":1635532917277}},"readme":"# structuredClone polyfill\n\n[![Downloads](https://img.shields.io/npm/dm/@ungap/structured-clone.svg)](https://www.npmjs.com/package/@ungap/structured-clone) [![build status](https://github.com/ungap/structured-clone/actions/workflows/node.js.yml/badge.svg)](https://github.com/ungap/structured-clone/actions) [![Coverage Status](https://coveralls.io/repos/github/ungap/structured-clone/badge.svg?branch=main)](https://coveralls.io/github/ungap/structured-clone?branch=main)\n\nAn env agnostic serializer and deserializer with recursion ability and types beyond *JSON* from the *HTML* standard itself.\n\n  * [Supported Types](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types)\n    * *not supported yet*: Blob, File, FileList, ImageBitmap, ImageData or others non *JS* types but typed arrays are supported without major issues, but u/int8, u/int16, and u/int32 are the only safely suppored (right now).\n    * *not possible to implement*: the `{transfer: []}` option can be passed but it's completely ignored.\n  * [MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)\n  * [Serializer](https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal)\n  * [Deserializer](https://html.spec.whatwg.org/multipage/structured-data.html#structureddeserialize)\n\nSerialized values can be safely stringified as *JSON* too, and deserialization resurrect all values, even recursive, or more complex than what *JSON* allows.\n\n\n### Examples\n\nCheck the [100% test coverage](./test/index.js) to know even more.\n\n```js\n// as default export\nimport structuredClone from '@ungap/structured-clone';\nconst cloned = structuredClone({any: 'serializable'});\n\n// as independent serializer/deserializer\nimport {serialize, deserialize} from '@ungap/structured-clone';\n\n// the result can be stringified as JSON without issues\n// even if there is recursive data, bigint values,\n// typed arrays, and so on\nconst serialized = serialize({any: 'serializable'});\n\n// the result will be a replica of the original object\nconst deserialized = deserialize(serialized);\n```\n\n#### Global Polyfill\nNote: Only monkey patch the global if needed. This polyfill works just fine as an explicit import: `import structuredClone from \"@ungap/structured-clone\"`\n```js\n// Attach the polyfill as a Global function\nimport structuredClone from \"@ungap/structured-clone\";\nif (!(\"structuredClone\" in globalThis)) {\n  globalThis.structuredClone = structuredClone;\n}\n\n// Or don't monkey patch\nimport structuredClone from \"@ungap/structured-clone\"\n// Just use it in the file\nstructuredClone()\n```\n\n**Note**: Do not attach this module's default export directly to the global scope, whithout a conditional guard to detect a native implementation. In environments where there is a native global implementation of `structuredClone()` already, assignment to the global object will result in an infinite loop when `globalThis.structuredClone()` is called. See the example above for a safe way to provide the polyfill globally in your project.\n\n### Extra Features\n\nThere is no middle-ground between the structured clone algorithm and JSON:\n\n  * JSON is more relaxed about incompatible values: it just ignores these\n  * Structured clone is inflexible regarding incompatible values, yet it makes specialized instances impossible to reconstruct, plus it doesn't offer any helper, such as `toJSON()`, to make serialization possible, or better, with specific cases\n\nThis module specialized `serialize` export offers, within the optional extra argument, a **lossy** property to avoid throwing when incompatible types are found down the road (function, symbol, ...), so that it is possible to send with less worrying about thrown errors.\n\n```js\n// as default export\nimport structuredClone from '@ungap/structured-clone';\nconst cloned = structuredClone(\n  {\n    method() {\n      // ignored, won't be cloned\n    },\n    special: Symbol('also ignored')\n  },\n  {\n    // avoid throwing\n    lossy: true,\n    // avoid throwing *and* looks for toJSON\n    json: true\n  }\n);\n```\n\nThe behavior is the same found in *JSON* when it comes to *Array*, so that unsupported values will result as `null` placeholders instead.\n\n#### toJSON\n\nIf `lossy` option is not enough, `json` will actually enforce `lossy` and also check for `toJSON` method when objects are parsed.\n\nAlternative, the `json` exports combines all features:\n\n```js\nimport {stringify, parse} from '@ungap/structured-clone/json';\n\nparse(stringify({any: 'serializable'}));\n```\n","_attachments":{},"homepage":"https://github.com/ungap/structured-clone#readme","bugs":{"url":"https://github.com/ungap/structured-clone/issues"},"license":"ISC"}