{"_id":"@chainsafe/persistent-merkle-tree","_rev":"4628628","name":"@chainsafe/persistent-merkle-tree","description":"Merkle tree implemented as a persistent datastructure","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"time":{"modified":"2026-04-10T18:44:43.000Z","created":"2020-02-11T01:54:37.793Z","1.2.1":"2025-08-25T12:50:06.542Z","1.2.0":"2025-05-30T14:59:13.369Z","1.0.2":"2025-03-13T14:26:26.379Z","1.1.0":"2025-03-12T16:41:11.965Z","1.0.1":"2025-01-23T20:49:21.611Z","1.0.0":"2025-01-23T19:26:17.590Z","0.9.1":"2025-01-20T17:16:03.108Z","0.9.0":"2025-01-16T14:43:17.011Z","0.8.0":"2024-08-07T14:39:00.061Z","0.7.2":"2024-05-06T22:35:57.215Z","0.7.1":"2024-03-15T14:44:59.422Z","0.6.1":"2023-04-21T14:14:37.014Z","0.6.0":"2023-04-05T15:36:29.123Z","0.5.0":"2023-01-24T09:05:35.628Z","0.4.2":"2022-05-31T06:35:43.816Z","0.4.1":"2022-04-14T16:04:42.283Z","0.4.0":"2022-03-24T15:57:29.049Z","0.3.7":"2021-08-26T10:58:18.369Z","0.3.6":"2021-08-24T16:37:53.077Z","0.3.5":"2021-08-19T09:43:43.558Z","0.3.4":"2021-08-18T15:32:25.338Z","0.3.3":"2021-06-18T15:21:55.616Z","0.3.2":"2021-05-07T14:35:47.943Z","0.3.1":"2021-05-04T20:57:27.242Z","0.3.0":"2021-03-29T02:09:07.686Z","0.2.3":"2021-02-16T22:58:16.791Z","0.2.2":"2021-02-11T15:57:05.418Z","0.2.1":"2020-07-31T19:37:00.852Z","0.2.0":"2020-07-27T15:43:46.169Z","0.1.3":"2020-06-07T17:20:12.274Z","0.1.2":"2020-02-26T21:52:20.404Z","0.1.1":"2020-02-11T04:23:47.266Z","0.1.0":"2020-02-11T01:54:37.793Z"},"users":{},"author":{"name":"ChainSafe Systems"},"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"versions":{"1.2.1":{"name":"@chainsafe/persistent-merkle-tree","version":"1.2.1","description":"Merkle tree implemented as a persistent datastructure","type":"module","exports":{".":{"import":"./lib/index.js","types":"./lib/index.d.ts"},"./hasher/hashtree":{"import":"./lib/hasher/hashtree.js","types":"./lib/hasher/hashtree.d.ts"},"./hasher/noble":{"import":"./lib/hasher/noble.js","types":"./lib/hasher/noble.d.ts"},"./hasher/as-sha256":{"import":"./lib/hasher/as-sha256.js","types":"./lib/hasher/as-sha256.d.ts"}},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"tsc -p tsconfig.build.json","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm/transpile-only ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test:unit":"vitest run --dir test/unit"},"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"1.2.0","@chainsafe/hashtree":"1.0.2","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@1.2.1","gitHead":"7f5580c2ea69f9307300ddb6010a8bc7ce2fc471","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"80f052e4a04c63304d5198dbf2fa49e104a0365a","size":53647,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-1.2.1.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_1.2.1_1756126206329_0.2609937721693605"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-25T12:50:06.542Z","publish_time":1756126206542,"_source_registry_name":"default","_cnpm_publish_time":1756126206542},"1.2.0":{"name":"@chainsafe/persistent-merkle-tree","version":"1.2.0","description":"Merkle tree implemented as a persistent datastructure","type":"module","exports":{".":{"import":"./lib/index.js","types":"./lib/index.d.ts"},"./hasher/hashtree":{"import":"./lib/hasher/hashtree.js","types":"./lib/hasher/hashtree.d.ts"},"./hasher/noble":{"import":"./lib/hasher/noble.js","types":"./lib/hasher/noble.d.ts"},"./hasher/as-sha256":{"import":"./lib/hasher/as-sha256.js","types":"./lib/hasher/as-sha256.d.ts"}},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"tsc -p tsconfig.build.json","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm/transpile-only ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test:unit":"vitest run --dir test/unit"},"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"1.2.0","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@1.2.0","gitHead":"fa5a987719f88904effff436169bf2f208aeea78","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"a402debcae6b386c51564c8cbacc9b0d56f64486","size":53641,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-1.2.0.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_1.2.0_1748617153167_0.3199291053693767"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-30T14:59:13.369Z","publish_time":1748617153369,"_source_registry_name":"default","_cnpm_publish_time":1748617153369},"1.0.2":{"name":"@chainsafe/persistent-merkle-tree","version":"1.0.2","description":"Merkle tree implemented as a persistent datastructure","type":"module","exports":{".":{"import":"./lib/index.js","types":"./lib/index.d.ts"},"./hasher/hashtree":{"import":"./lib/hasher/hashtree.js","types":"./lib/hasher/hashtree.d.ts"},"./hasher/noble":{"import":"./lib/hasher/noble.js","types":"./lib/hasher/noble.d.ts"},"./hasher/as-sha256":{"import":"./lib/hasher/as-sha256.js","types":"./lib/hasher/as-sha256.d.ts"}},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"tsc -p tsconfig.build.json","lint":"eslint --color --ext .ts src/","lint:fix":"yarn run lint --fix","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test":"vitest run --dir test/unit"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^1.0.1","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"gitHead":"424c3ddaa691e4cd0bad7eb1b119223f7caf9dbc","_id":"@chainsafe/persistent-merkle-tree@1.0.2","_nodeVersion":"22.5.1","_npmVersion":"lerna/8.1.3/node@v22.5.1+x64 (linux)","dist":{"shasum":"e6154d3f6a2046c06f0ff64ac5634b72057959f3","size":54375,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-1.0.2.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_1.0.2_1741875986172_0.6147082812574525"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-13T14:26:26.379Z","publish_time":1741875986379,"_source_registry_name":"default","_cnpm_publish_time":1741875986379},"1.1.0":{"name":"@chainsafe/persistent-merkle-tree","version":"1.1.0","description":"Merkle tree implemented as a persistent datastructure","type":"module","exports":{".":{"import":"./lib/index.js","types":"./lib/index.d.ts"},"./hasher/hashtree":{"import":"./lib/hasher/hashtree.js","types":"./lib/hasher/hashtree.d.ts"},"./hasher/noble":{"import":"./lib/hasher/noble.js","types":"./lib/hasher/noble.d.ts"},"./hasher/as-sha256":{"import":"./lib/hasher/as-sha256.js","types":"./lib/hasher/as-sha256.d.ts"}},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"tsc -p tsconfig.build.json","lint":"eslint --color --ext .ts src/","lint:fix":"yarn run lint --fix","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test:unit":"vitest run --dir test/unit"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"1.1.0","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"gitHead":"2964a57ef84fd2fac9faba868e6042c433b48bbe","_id":"@chainsafe/persistent-merkle-tree@1.1.0","_nodeVersion":"22.5.1","_npmVersion":"lerna/8.1.3/node@v22.5.1+x64 (linux)","dist":{"shasum":"d10d9e926f2c5751d02a188b8fb6823821572aca","size":54377,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-1.1.0.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_1.1.0_1741797671722_0.45051497104820526"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-12T16:41:11.965Z","publish_time":1741797671965,"_source_registry_name":"default","_cnpm_publish_time":1741797671965},"1.0.1":{"name":"@chainsafe/persistent-merkle-tree","version":"1.0.1","description":"Merkle tree implemented as a persistent datastructure","type":"module","exports":{".":{"import":"./lib/index.js","types":"./lib/index.d.ts"},"./hasher/hashtree":{"import":"./lib/hasher/hashtree.js","types":"./lib/hasher/hashtree.d.ts"},"./hasher/noble":{"import":"./lib/hasher/noble.js","types":"./lib/hasher/noble.d.ts"},"./hasher/as-sha256":{"import":"./lib/hasher/as-sha256.js","types":"./lib/hasher/as-sha256.d.ts"}},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"tsc -p tsconfig.build.json","lint":"eslint --color --ext .ts src/","lint:fix":"yarn run lint --fix","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test":"vitest run --dir test/unit"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"1.0.0","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"gitHead":"26d605e4e1d189aabbbc4c963a02e35fed82237c","_id":"@chainsafe/persistent-merkle-tree@1.0.1","_nodeVersion":"22.5.1","_npmVersion":"lerna/8.1.3/node@v22.5.1+x64 (linux)","dist":{"shasum":"4eb5a8e3367bc3957c88c8b9bad9610209e00fed","size":54375,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-1.0.1.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_1.0.1_1737665361365_0.4532413578002834"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-23T20:49:21.611Z","publish_time":1737665361611,"_source_registry_name":"default","_cnpm_publish_time":1737665361611},"1.0.0":{"name":"@chainsafe/persistent-merkle-tree","version":"1.0.0","keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","_id":"@chainsafe/persistent-merkle-tree@1.0.0","maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"dist":{"shasum":"c351fe11598f9906eedbbaa3cb460b45e7393ba5","size":53431,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-1.0.0.tgz"},"type":"module","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./noble":{"types":"./lib/hasher/noble.d.ts","import":"./lib/hasher/noble.js"},"./hashtree":{"types":"./lib/hasher/hashtree.d.ts","import":"./lib/hasher/hashtree.js"},"./as-sha256":{"types":"./lib/hasher/as-sha256.d.ts","import":"./lib/hasher/as-sha256.js"}},"gitHead":"7e0a540aea78fdf800d25a71b9932c0b0079dce3","scripts":{"lint":"eslint --color --ext .ts src/","test":"vitest run --dir test/unit","build":"tsc -p tsconfig.build.json","clean":"rm -rf lib","lint:fix":"yarn run lint --fix","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","check-types":"tsc --noEmit","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark","benchmark:local":"yarn benchmark --local"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"pre-push":["lint"],"repository":{"url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git","type":"git"},"_npmVersion":"10.8.2","description":"Merkle tree implemented as a persistent datastructure","directories":{},"_nodeVersion":"22.5.1","dependencies":{"@noble/hashes":"^1.3.0","@chainsafe/hashtree":"1.0.1","@chainsafe/as-sha256":"1.0.0"},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/persistent-merkle-tree_1.0.0_1737660377338_0.6547987450524693","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-01-23T19:26:17.590Z","publish_time":1737660377590,"_source_registry_name":"default","_cnpm_publish_time":1737660377590},"0.9.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.9.1","description":"Merkle tree implemented as a persistent datastructure","type":"module","module":"./lib/index.js","main":"./lib/cjs/index.js","types":"./lib/index.d.ts","scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"yarn build:cjs && yarn build:esm && yarn build:types","build:esm":"tsc -p tsconfig.build.esm.json","build:cjs":"tsc -p tsconfig.build.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/cjs/package.json","build:types":"tsc -p tsconfig.build.types.json","lint":"eslint --color --ext .ts src/","lint:fix":"yarn run lint --fix","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test":"vitest run --dir test/unit"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"0.6.1","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.9.1","gitHead":"4d8e795810338a57c475c6fd52f98c1c6ddce9d0","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"fd29d36381f53e1d04c3ffbbb92eb91a9f460f96","size":64283,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.9.1.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_0.9.1_1737393362808_0.7994165756829583"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-20T17:16:03.108Z","publish_time":1737393363108,"_source_registry_name":"default","_cnpm_publish_time":1737393363108},"0.9.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.9.0","description":"Merkle tree implemented as a persistent datastructure","type":"module","module":"./lib/index.js","main":"./lib/cjs/index.js","types":"./lib/index.d.ts","scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"yarn build:cjs && yarn build:esm && yarn build:types","build:esm":"tsc -p tsconfig.build.esm.json","build:cjs":"tsc -p tsconfig.build.cjs.json && echo '{\"type\": \"commonjs\"}' > ./lib/cjs/package.json","build:types":"tsc -p tsconfig.build.types.json","lint":"eslint --color --ext .ts src/","lint:fix":"yarn run lint --fix","benchmark:files":"node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test":"vitest run --dir test/unit"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"0.6.0","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.9.0","gitHead":"5f641be4666ed1baa975c47fc656514c0d171e86","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"c05ff2f03f9c9b00d2107e936221b95a4b802734","size":64283,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.9.0.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persistent-merkle-tree_0.9.0_1737038596797_0.43516455892053085"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-16T14:43:17.011Z","publish_time":1737038597011,"_source_registry_name":"default","_cnpm_publish_time":1737038597011},"0.8.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.8.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"tsc --noEmit","clean":"rm -rf lib","build":"tsc","lint":"eslint --color --ext .ts src/","lint:fix":"yarn run lint --fix","benchmark:files":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ../../node_modules/.bin/benchmark","benchmark":"yarn benchmark:files 'test/perf/*.test.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"0.5.0","@chainsafe/hashtree":"1.0.1","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.8.0","gitHead":"35e9953a4a3fc620c7ef286a31e77146a5d04119","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"18e2f0a5de3a0b59c6e5be8797a78e0d209dd7dc","size":51461,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.8.0.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.8.0_1723041539717_0.7351820207352073"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-07T14:39:00.061Z","publish_time":1723041540061,"_source_registry_name":"default","_cnpm_publish_time":1723041540061},"0.7.2":{"name":"@chainsafe/persistent-merkle-tree","version":"0.7.2","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"run -T tsc --noEmit","clean":"rm -rf lib","build":"run -T tsc","lint":"run -T eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"run -T mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":"ChainSafe Systems","license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.4.2","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.7.2","gitHead":"8d4d8bc9338e2f984dba5f7fb759ef6f4bb6610a","dist":{"shasum":"f0ef91daf36752f827432333cbc965f4bf6e750e","size":28322,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.7.2.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.7.2_1715034957054_0.33585148811053944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-06T22:35:57.215Z","publish_time":1715034957215,"_source_registry_name":"default","_cnpm_publish_time":1715034957215},"0.7.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.7.1","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"run -T tsc --noEmit","clean":"rm -rf lib","build":"run -T tsc","lint":"run -T eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"run -T mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":"ChainSafe Systems","license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.4.1","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.7.1","gitHead":"9889e7ad5a6d5449548f0ead966bf7c1dac2d822","dist":{"shasum":"bfe6b3f4296ed3a578bb4fe69f9a7c232822a1dc","size":28316,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.7.1.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.7.1_1710513899197_0.5191095213222214"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-15T14:44:59.422Z","publish_time":1710513899422,"_source_registry_name":"default","_cnpm_publish_time":1710513899422},"0.6.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.6.1","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"run -T tsc --noEmit","clean":"rm -rf lib","build":"run -T tsc","lint":"run -T eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"run -T mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":"ChainSafe Systems","license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.4.1","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.6.1","gitHead":"46dee18f3cd21d1b6d594778a0dd1db8a984c812","dist":{"shasum":"37bde25cf6cbe1660ad84311aa73157dc86ec7f2","size":27773,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.6.1.tgz"},"_npmUser":{"name":"dapplion","email":"dapplion@chainsafe.io"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.6.1_1682086476847_0.37981499538095664"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-21T14:14:37.014Z","publish_time":1682086477014,"_cnpm_publish_time":1682086477014},"0.6.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.6.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","exports":{".":"./lib/index.js","./hasher":"./lib/hasher/index.js","./hasher/as-sha256":"./lib/hasher/as-sha256.js","./hasher/noble":"./lib/hasher/noble.js"},"typesVersions":{"*":{"*":["*","lib/*","lib/*/index"]}},"scripts":{"check-types":"run -T tsc --noEmit","clean":"rm -rf lib","build":"run -T tsc","lint":"run -T eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"run -T mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":"ChainSafe Systems","license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.4.0","@noble/hashes":"^1.3.0"},"_id":"@chainsafe/persistent-merkle-tree@0.6.0","gitHead":"0efce88eb3d289f45618536ce08d903f3f105191","dist":{"shasum":"6b46532f1379663ee01eda020c243f8177fb7232","size":27724,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.6.0.tgz"},"_npmUser":{"name":"dapplion","email":"dapplion@chainsafe.io"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.6.0_1680708988979_0.4288267451398817"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-05T15:36:29.123Z","publish_time":1680708989123,"_cnpm_publish_time":1680708989123},"0.5.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.5.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"run -T tsc --noEmit","clean":"rm -rf lib","build":"run -T tsc","lint":"run -T eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"run -T mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":"ChainSafe Systems","license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.3.1"},"_id":"@chainsafe/persistent-merkle-tree@0.5.0","gitHead":"18baeaa7b47fcda67bdba8380cbf430827e1eb3d","dist":{"shasum":"2b4a62c9489a5739dedd197250d8d2f5427e9f63","size":27014,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.5.0.tgz"},"_npmUser":{"name":"dapplion","email":"dapplion@chainsafe.io"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.5.0_1674551135447_0.2850015349430004"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T09:05:35.628Z","publish_time":1674551135628,"_cnpm_publish_time":1674551135628},"0.4.2":{"name":"@chainsafe/persistent-merkle-tree","version":"0.4.2","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.3.1"},"gitHead":"2199073977689e7949428561a1df970812ac668b","_id":"@chainsafe/persistent-merkle-tree@0.4.2","_nodeVersion":"14.19.2","_npmVersion":"lerna/3.22.1/node@v14.19.2+x64 (linux)","dist":{"shasum":"4c9ee80cc57cd3be7208d98c40014ad38f36f7ff","size":27580,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.4.2.tgz"},"_npmUser":{"name":"dapplion","email":"dapplion@chainsafe.io"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.4.2_1653978943642_0.5893120491644082"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-31T08:47:29.336Z","publish_time":1653978943816,"_cnpm_publish_time":1653978943816},"0.4.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.4.1","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.3.1"},"gitHead":"42c30c4c797ef1ec06ef0139d4967c4725dca4e7","_id":"@chainsafe/persistent-merkle-tree@0.4.1","_nodeVersion":"14.19.1","_npmVersion":"lerna/3.22.1/node@v14.19.1+x64 (linux)","dist":{"shasum":"b14163eb7f0240e5b821ced17355bd957704c110","size":25795,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.4.1.tgz"},"_npmUser":{"name":"dapplion","email":"dapplion@chainsafe.io"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.4.1_1649952282139_0.02619214987147389"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-14T16:11:05.148Z","publish_time":1649952282283,"_cnpm_publish_time":1649952282283},"0.4.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.4.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","dependencies":{"@chainsafe/as-sha256":"^0.3.0"},"gitHead":"59065e6965a04d829d49dfaa870f237a38280c4e","_id":"@chainsafe/persistent-merkle-tree@0.4.0","_nodeVersion":"16.13.1","_npmVersion":"lerna/3.22.1/node@v16.13.1+x64 (linux)","dist":{"shasum":"249abef9623d45889d71f0f7e807d3aa93472d21","size":25730,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.4.0.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.4.0_1648137448888_0.9552460039176094"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-24T16:22:13.220Z","publish_time":1648137449049,"_cnpm_publish_time":1648137449049},"0.3.7":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.7","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@dapplion/benchmark":"^0.1.6","@types/chai":"^4.2.0","@types/mocha":"^9.0.0","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^8.3.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.1","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.3"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"@chainsafe/persistent-merkle-tree@0.3.7","dist":{"shasum":"d257674fcacf1770e54df1e7e476bb55efcb3ed4","size":16587,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.7.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.7_1629975498152_0.5361066794312139"},"_hasShrinkwrap":false,"publish_time":1629975498369,"_cnpm_publish_time":1629975498369,"_cnpmcore_publish_time":"2021-12-16T10:04:21.372Z"},"0.3.6":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.6","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@dapplion/benchmark":"^0.1.6","@types/chai":"^4.2.0","@types/mocha":"^9.0.0","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^8.3.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.1","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.3"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"@chainsafe/persistent-merkle-tree@0.3.6","dist":{"shasum":"a1b3b9d08e9cdae58304d0729760e5ac986056f5","size":16182,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.6.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.6_1629823072947_0.5261750212193694"},"_hasShrinkwrap":false,"publish_time":1629823073077,"_cnpm_publish_time":1629823073077,"_cnpmcore_publish_time":"2021-12-16T10:04:21.635Z"},"0.3.5":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.5","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@dapplion/benchmark":"^0.1.6","@types/chai":"^4.2.0","@types/mocha":"^9.0.0","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^8.3.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.1","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.3"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"@chainsafe/persistent-merkle-tree@0.3.5","dist":{"shasum":"39ae7e266b8029b4e227b8f46b3757960253d47f","size":15977,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.5.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.5_1629366223248_0.1673926883071064"},"_hasShrinkwrap":false,"publish_time":1629366223558,"_cnpm_publish_time":1629366223558,"_cnpmcore_publish_time":"2021-12-16T10:04:21.877Z"},"0.3.4":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.4","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","benchmark":"node --max-old-space-size=4096 --expose-gc -r ts-node/register ./node_modules/.bin/benchmark 'test/perf/*.perf.ts'","benchmark:local":"yarn benchmark --local","test":"mocha -r ts-node/register 'test/unit/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@dapplion/benchmark":"^0.1.6","@types/chai":"^4.2.0","@types/mocha":"^9.0.0","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^8.3.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.1","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.3"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"@chainsafe/persistent-merkle-tree@0.3.4","dist":{"shasum":"00ef99340754c30bbbe0209854fb8b7a9c1ee6a0","size":16047,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.4.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.4_1629300745221_0.9970925207167707"},"_hasShrinkwrap":false,"publish_time":1629300745338,"_cnpm_publish_time":1629300745338,"_cnpmcore_publish_time":"2021-12-16T10:04:22.134Z"},"0.3.3":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.3","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/mocha":"^5.2.7","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.0","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.2"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"@chainsafe/persistent-merkle-tree@0.3.3","dist":{"shasum":"00dab8c2af8fe2943b23bc4ba133a96444d40eb7","size":14959,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.3.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.3_1624029715374_0.6256686195897596"},"_hasShrinkwrap":false,"publish_time":1624029715616,"_cnpm_publish_time":1624029715616,"_cnpmcore_publish_time":"2021-12-16T10:04:22.375Z"},"0.3.2":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.2","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/mocha":"^5.2.7","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.0","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.2"},"gitHead":"055a628f3f8f79f8adaa5d86451b01953a9b0460","_id":"@chainsafe/persistent-merkle-tree@0.3.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"ec2d0c71d84e280c758ef5d828b05a8634df649e","size":15701,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.2.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.2_1620398147774_0.11589010529884014"},"_hasShrinkwrap":false,"publish_time":1620398147943,"_cnpm_publish_time":1620398147943,"_cnpmcore_publish_time":"2021-12-16T10:04:22.610Z"},"0.3.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.1","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/mocha":"^5.2.7","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.0","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.1"},"gitHead":"9754d3e3d97a0afe94d97cadcb500b743e17bf63","_id":"@chainsafe/persistent-merkle-tree@0.3.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"bfe229d3b3941408854740037a5d60b16a771400","size":15674,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.1.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.1_1620161847125_0.9070182360972616"},"_hasShrinkwrap":false,"publish_time":1620161847242,"_cnpm_publish_time":1620161847242,"_cnpmcore_publish_time":"2021-12-16T10:04:23.127Z"},"0.3.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.3.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/mocha":"^5.2.7","@types/node":"^14.14.0","@typescript-eslint/eslint-plugin":"4.9.0","@typescript-eslint/parser":"4.9.0","chai":"^4.2.0","eslint":"^7.14.0","eslint-plugin-import":"^2.22.1","eslint-plugin-no-only-tests":"^2.4.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","prettier":"^2.2.1","ts-node":"^9.1.0","typescript":"^4.1.3"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"e3ed674bee995822d747cdf7f5cd5222e76fdec0","_id":"@chainsafe/persistent-merkle-tree@0.3.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"a289a0e58dc07f37580c1d3ab70de9a0ebdb0bc8","size":15525,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.3.0.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.3.0_1616983747557_0.6336409314163811"},"_hasShrinkwrap":false,"publish_time":1616983747686,"_cnpm_publish_time":1616983747686,"_cnpmcore_publish_time":"2021-12-16T10:04:23.382Z"},"0.2.3":{"name":"@chainsafe/persistent-merkle-tree","version":"0.2.3","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"9c1eceee5ed0e209620f21b24909b83cf2e048d0","_id":"@chainsafe/persistent-merkle-tree@0.2.3","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"shasum":"ab94436d620ec80f849e6c3362f3e94cb4408e11","size":13989,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.2.3.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.2.3_1613516296662_0.8070876139682706"},"_hasShrinkwrap":false,"publish_time":1613516296791,"_cnpm_publish_time":1613516296791,"_cnpmcore_publish_time":"2021-12-16T10:04:23.603Z"},"0.2.2":{"name":"@chainsafe/persistent-merkle-tree","version":"0.2.2","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"843788b57d81244dd789cfcb7a192ee5b079a9da","_id":"@chainsafe/persistent-merkle-tree@0.2.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"shasum":"1005d97ede84cbff14a2a0b147214c0a4d90b2c7","size":10713,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.2.2.tgz"},"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.2.2_1613059025193_0.3212038572107414"},"_hasShrinkwrap":false,"publish_time":1613059025418,"_cnpm_publish_time":1613059025418,"_cnpmcore_publish_time":"2021-12-16T10:04:23.852Z"},"0.2.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.2.1","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"c7f94f1819d941a96257773da6cf2fcc93a665b0","_id":"@chainsafe/persistent-merkle-tree@0.2.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"38eb5fd5772fd256e94639d0621fa606addebab1","size":10544,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.2.1.tgz"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.2.1_1596224220651_0.7218441210096969"},"_hasShrinkwrap":false,"publish_time":1596224220852,"_cnpm_publish_time":1596224220852,"_cnpmcore_publish_time":"2021-12-16T10:04:24.054Z"},"0.2.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.2.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"ff90b62801688c62c046b3a2c5443438a13108cb","_id":"@chainsafe/persistent-merkle-tree@0.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"2b00ea7e18ec9440af54082abe8a596c7ec1135d","size":10467,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.2.0.tgz"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.2.0_1595864626082_0.2893883371770878"},"_hasShrinkwrap":false,"publish_time":1595864626169,"_cnpm_publish_time":1595864626169,"_cnpmcore_publish_time":"2021-12-16T10:04:24.428Z"},"0.1.3":{"name":"@chainsafe/persistent-merkle-tree","version":"0.1.3","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"0858de60971f624785b2029a08fb446c8e17f072","_id":"@chainsafe/persistent-merkle-tree@0.1.3","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"95d16f5faefc4d75f2861859ec5474f34767a4f7","size":9495,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.1.3.tgz"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.1.3_1591550412149_0.25115789683860834"},"_hasShrinkwrap":false,"publish_time":1591550412274,"_cnpm_publish_time":1591550412274,"_cnpmcore_publish_time":"2021-12-16T10:04:24.652Z"},"0.1.2":{"name":"@chainsafe/persistent-merkle-tree","version":"0.1.2","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"@chainsafe/as-sha256":"^0.2.0"},"gitHead":"db038756f50045107e247171ed0f27c52d2919ee","_id":"@chainsafe/persistent-merkle-tree@0.1.2","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"d052e068fa69be60117f47d686b28caf4b6d9b5a","size":8807,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.1.2.tgz"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.1.2_1582753940285_0.17094905205633504"},"_hasShrinkwrap":false,"publish_time":1582753940404,"_cnpm_publish_time":1582753940404,"_cnpmcore_publish_time":"2021-12-16T10:04:24.835Z"},"0.1.1":{"name":"@chainsafe/persistent-merkle-tree","version":"0.1.1","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"bcrypto":"^4.2.8"},"gitHead":"8b5ad7e97e138cdd7770b24c581311cc6bf361de","_id":"@chainsafe/persistent-merkle-tree@0.1.1","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"6a8384b80595ea87dc8b6aee11e4ee236d9854b1","size":8714,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.1.1.tgz"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.1.1_1581395027165_0.352473315418258"},"_hasShrinkwrap":false,"publish_time":1581395027266,"_cnpm_publish_time":1581395027266,"_cnpmcore_publish_time":"2021-12-16T10:04:25.029Z"},"0.1.0":{"name":"@chainsafe/persistent-merkle-tree","version":"0.1.0","description":"Merkle tree implemented as a persistent datastructure","main":"lib/index.js","scripts":{"check-types":"tsc --noEmit","build":"tsc --declaration --outDir lib","lint":"eslint --color --ext .ts src/","test":"mocha -r ts-node/register 'test/**/*.test.ts'"},"pre-push":["lint"],"repository":{"type":"git","url":"git+https://github.com/ChainSafe/persistent-merkle-tree.git"},"keywords":["hash","ethereum","merkle","tree"],"author":{"name":"ChainSafe Systems"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","devDependencies":{"@types/chai":"^4.2.0","@types/eslint":"^6.1.3","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@typescript-eslint/eslint-plugin":"^2.7.0","@typescript-eslint/parser":"^2.7.0","chai":"^4.2.0","eslint":"^6.6.0","karma":"^4.3.0","mocha":"^6.2.0","nyc":"^14.1.1","ts-node":"^8.3.0","typescript":"^3.7.2"},"dependencies":{"bcrypto":"^4.2.8"},"gitHead":"139a9a794eedb21e88dd245046682befff9ce833","_id":"@chainsafe/persistent-merkle-tree@0.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.12.1","dist":{"shasum":"ead0e1c63a965252dcc08eb517281bb8888c3414","size":8714,"noattachment":false,"key":"/@chainsafe/persistent-merkle-tree/-/@chainsafe/persistent-merkle-tree-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@chainsafe/persistent-merkle-tree/download/@chainsafe/persistent-merkle-tree-0.1.0.tgz"},"maintainers":[{"name":"philknows","email":""},{"name":"wemeetagain","email":""}],"_npmUser":{"name":"wemeetagain","email":"caymannava@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/persistent-merkle-tree_0.1.0_1581386077378_0.8526866850816508"},"_hasShrinkwrap":false,"publish_time":1581386077793,"_cnpm_publish_time":1581386077793,"_cnpmcore_publish_time":"2021-12-16T10:04:25.257Z"}},"readme":"# Persistent Merkle Tree\n\n![ES Version](https://img.shields.io/badge/ES-2020-yellow)\n![Node Version](https://img.shields.io/badge/node-12.x-green)\n\nA binary merkle tree implemented as a [persistent data structure](https://en.wikipedia.org/wiki/Persistent_data_structure).\n\n## Example\n\n```typescript\n\n// LeafNode and BranchNode are used to build nodes in a tree\n// Nodes may not be changed once initialized\n\nimport {LeafNode, BranchNode} from \"@chainsafe/persistent-merkle-tree\";\n\nconst leaf = LeafNode.fromRoot(Buffer.alloc(32, 0xaa));\nconst otherLeaf = LeafNode.fromRoot(Buffer.alloc(32, 0xbb));\n\nconst branch = new BranchNode(leaf, otherLeaf);\n\n// The `root` property returns the merkle root of a Node\n\n// this is equal to `hash(leaf.root, otherLeaf.root));`\nconst r: Uint8Array = branch.root;\n\n// The `isLeaf` method returns true if the Node is a LeafNode\n\nbranch.isLeaf() === false;\nleaf.isLeaf() === true;\n\n// Well-known zero nodes are provided\n\nimport {zeroNode} from \"@chainsafe/persistent-merkle-tree\";\n\n// 0x0\nconst zero0 = zeroNode(0);\n\n// hash(0, 0)\nconst zero1 = zeroNode(1);\n\n// hash(hash(0, 0), hash(0, 0))\nconst zero1 = zeroNode(2);\n\n// Tree provides a mutable wrapper around a \"root\" Node\n\nimport {Tree} from \"@chainsafe/persistent-merkle-tree\";\n\nconst tree = new Tree(zeroNode(10));\n\n// `rootNode` property returns the root Node of a Tree\n\nconst rootNode: Node = tree.rootNode;\n\n// `root` property returns the merkle root of a Tree\n\nconst rr: Uint8Array = tree.root;\n\n// A Tree is navigated by Gindex\n\nconst gindex = BigInt(...);\n\nconst n: Node = tree.getNode(gindex); // the Node at gindex\nconst rrr: Uint8Array = tree.getRoot(gindex); // the Uint8Array root at gindex\nconst subtree: Tree = tree.getSubtree(gindex); // the Tree wrapping the Node at gindex. Updates to `subtree` will be propagated to `tree`\n\n// A merkle proof for a gindex can be generated\n\nconst proof: Uint8Array[] = tree.getSingleProof(gindex);\n\n// Multiple types of proofs are supported through the `getProof` interface\n\n// For example, a multiproof for multiple gindices can be generated like so\n\nimport {ProofType} from \"@chainsafe/persistent-merkle-tree\";\n\nconst gindices: BigInt[] = [...];\n\nconst proof: Proof = tree.getProof({\n  type: ProofType.treeOffset,\n  gindices,\n});\n\n// `Proof` objects can be used to recreate `Tree` objects\n// These `Tree` objects can be navigated as usual for all nodes contained in the proof\n// Navigating to unknown/unproven nodes results in an error\n\nconst partialTree: Tree = Tree.createFromProof(proof);\n\nconst unknownGindex: BigInt = ...;\n\ngindices.includes(unknownGindex) // false\n\npartialTree.getRoot(unknownGindex) // throws\n\n```\n\n## Motivation\n\nWhen dealing with large datasets, it is very expensive to merkleize them in their entirety. In cases where large datasets are remerkleized often between updates and additions, using ephemeral structures for intermediate hashes results in significant duplicated work, as many intermediate hashes will be recomputed and thrown away on each merkleization. In these cases, maintaining structures for the entire tree, intermediate nodes included, can mitigate these issues and allow for additional usecases (eg: proof generation). This implementation also uses the known immutability of nodes to share data between common subtrees across different versions of the data.\n\n## Features\n\n#### Intermediate nodes with cached, lazily computed hashes\n\nThe tree is represented as a linked tree of `Node`s, currently either `BranchNode`s or `LeafNode`s.\nA `BranchNode` has a `left` and `right` child `Node`, and a `root`, 32 byte `Uint8Array`.\nA `LeafNode` has a `root`.\nThe `root` of a `Node` is not computed until requested, and cached thereafter.\n\n#### Shared data betwen common subtrees\n\nAny update to a tree (either to a leaf or intermediate node) is performed as a rebinding that yields a new, updated tree that maximally shares data between versions. Garbage collection allows memory from unused nodes to be eventually reclaimed.\n\n#### Mutable wrapper for the persistent core\n\nA `Tree` object wraps `Node` and provides an API for tree navigation and transparent rebinding on updates.\n\n#### Navigation by gindex or (depth, index)\n\nMany tree methods allow navigation with a gindex. A gindex (or generalized index) describes a path through the tree, starting from the root and nagivating downwards.\n\n```\n     1\n   /   \\\n  2     3\n/  \\   /  \\\n4  5   6  7\n```\n\nIt can also be interpreted as a bitstring, starting with \"1\", then appending \"0\" for each navigation left, or \"1\" for each navigation right.\n\n```\n        1\n    /      \\\n   10       11\n /    \\    /    \\\n100  101  110  111\n```\n\nAlternatively, several tree methods, with names ending with `AtDepth`, allow navigation by (depth, index). Depth and index navigation works by first navigating down levels into the tree from the top, starting at 0 (depth), and indexing nodes from the left, starting at 0 (index).\n\n```\n     0          <- depth 0\n   /   \\\n  0     1       <- depth 1\n/  \\   /  \\\n0  1   2  3     <- depth 2\n```\n\n#### Memory efficiency\n\nAs an implementation detail, nodes hold their values as a `HashObject` (a javascript object with `h0`, ... `h7` uint32 `number` values) internally, rather than as a 32 byte `Uint8Array`. Memory benchmarking shows that this results in a ~3x reduction in memory over `Uint8Array`. This optimization allows this library to practically scale to trees with millions of nodes.\n\n#### Navigation efficiency\n\nIn performance-critical applications performing many reads and writes to trees, being smart with tree navigation is crucial. This library correctly provides tree navigation methods that handle several important optimized cases: multi-node get and set, and get-then-set operations.\n\n## See also:\n\nhttps://github.com/protolambda/remerkleable\n\n### Audit\n\nThis repo was audited by Least Authority as part of [this security audit](https://github.com/ChainSafe/lodestar/blob/master/audits/2020-03-23_UTILITY_LIBRARIES.pdf), released 2020-03-23. Commit [`8b5ad7`](https://github.com/ChainSafe/bls-hd-key/commit/8b5ad7) verified in the report.\n\n## License\n\nApache-2.0\n","_attachments":{},"homepage":"https://github.com/ChainSafe/persistent-merkle-tree#readme","bugs":{"url":"https://github.com/ChainSafe/persistent-merkle-tree/issues"},"license":"Apache-2.0"}