chore: upgrade @simplewebauthn packages

This commit is contained in:
Karol Sójko
2023-01-23 11:08:00 +01:00
parent 6193f4b87a
commit 1d316e17cb
45 changed files with 682 additions and 321 deletions

322
.pnp.cjs generated
View File

@@ -914,6 +914,60 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["@cbor-extract/cbor-extract-darwin-arm64", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/@cbor-extract-cbor-extract-darwin-arm64-npm-2.1.1-7f6025512f/node_modules/@cbor-extract/cbor-extract-darwin-arm64/",\
"packageDependencies": [\
["@cbor-extract/cbor-extract-darwin-arm64", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@cbor-extract/cbor-extract-darwin-x64", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/@cbor-extract-cbor-extract-darwin-x64-npm-2.1.1-9c0e0a67cc/node_modules/@cbor-extract/cbor-extract-darwin-x64/",\
"packageDependencies": [\
["@cbor-extract/cbor-extract-darwin-x64", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@cbor-extract/cbor-extract-linux-arm", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/@cbor-extract-cbor-extract-linux-arm-npm-2.1.1-95d0b66b34/node_modules/@cbor-extract/cbor-extract-linux-arm/",\
"packageDependencies": [\
["@cbor-extract/cbor-extract-linux-arm", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@cbor-extract/cbor-extract-linux-arm64", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/@cbor-extract-cbor-extract-linux-arm64-npm-2.1.1-23a641c278/node_modules/@cbor-extract/cbor-extract-linux-arm64/",\
"packageDependencies": [\
["@cbor-extract/cbor-extract-linux-arm64", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@cbor-extract/cbor-extract-linux-x64", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/@cbor-extract-cbor-extract-linux-x64-npm-2.1.1-4471164400/node_modules/@cbor-extract/cbor-extract-linux-x64/",\
"packageDependencies": [\
["@cbor-extract/cbor-extract-linux-x64", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@cbor-extract/cbor-extract-win32-x64", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/@cbor-extract-cbor-extract-win32-x64-npm-2.1.1-b206bdfc73/node_modules/@cbor-extract/cbor-extract-win32-x64/",\
"packageDependencies": [\
["@cbor-extract/cbor-extract-win32-x64", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@colors/colors", [\
["npm:1.5.0", {\
"packageLocation": "./.yarn/cache/@colors-colors-npm-1.5.0-875af3a8b4-5e08870799.zip/node_modules/@colors/colors/",\
@@ -1216,6 +1270,15 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["@hexagon/base64", [\
["npm:1.1.25", {\
"packageLocation": "./.yarn/cache/@hexagon-base64-npm-1.1.25-44c8260698-0b42e9b676.zip/node_modules/@hexagon/base64/",\
"packageDependencies": [\
["@hexagon/base64", "npm:1.1.25"]\
],\
"linkType": "HARD"\
}]\
]],\
["@humanwhocodes/config-array", [\
["npm:0.11.8", {\
"packageLocation": "./.yarn/cache/@humanwhocodes-config-array-npm-0.11.8-7955bfecc2-010892ba3c.zip/node_modules/@humanwhocodes/config-array/",\
@@ -1954,15 +2017,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["@noble/ed25519", [\
["npm:1.7.1", {\
"packageLocation": "./.yarn/cache/@noble-ed25519-npm-1.7.1-177d9beb01-b1aa4b9264.zip/node_modules/@noble/ed25519/",\
"packageDependencies": [\
["@noble/ed25519", "npm:1.7.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@nodelib/fs.scandir", [\
["npm:2.1.5", {\
"packageLocation": "./.yarn/cache/@nodelib-fs.scandir-npm-2.1.5-89c67370dd-5f309a3b37.zip/node_modules/@nodelib/fs.scandir/",\
@@ -2331,6 +2385,32 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["@peculiar/asn1-ecc", [\
["npm:2.3.4", {\
"packageLocation": "./.yarn/cache/@peculiar-asn1-ecc-npm-2.3.4-d498135879-351f9e0a4f.zip/node_modules/@peculiar/asn1-ecc/",\
"packageDependencies": [\
["@peculiar/asn1-ecc", "npm:2.3.4"],\
["@peculiar/asn1-schema", "npm:2.3.3"],\
["@peculiar/asn1-x509", "npm:2.3.4"],\
["asn1js", "npm:3.0.5"],\
["tslib", "npm:2.4.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@peculiar/asn1-rsa", [\
["npm:2.3.4", {\
"packageLocation": "./.yarn/cache/@peculiar-asn1-rsa-npm-2.3.4-5015f8b5ba-89bcb894f4.zip/node_modules/@peculiar/asn1-rsa/",\
"packageDependencies": [\
["@peculiar/asn1-rsa", "npm:2.3.4"],\
["@peculiar/asn1-schema", "npm:2.3.3"],\
["@peculiar/asn1-x509", "npm:2.3.4"],\
["asn1js", "npm:3.0.5"],\
["tslib", "npm:2.4.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["@peculiar/asn1-schema", [\
["npm:2.3.3", {\
"packageLocation": "./.yarn/cache/@peculiar-asn1-schema-npm-2.3.3-7c2b9469c4-f584f79d5a.zip/node_modules/@peculiar/asn1-schema/",\
@@ -2531,30 +2611,39 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["@simplewebauthn/server", [\
["npm:6.2.2", {\
"packageLocation": "./.yarn/cache/@simplewebauthn-server-npm-6.2.2-ca870b05c2-5ffb9b1c15.zip/node_modules/@simplewebauthn/server/",\
["@simplewebauthn/iso-webcrypto", [\
["npm:7.0.0", {\
"packageLocation": "./.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.0-352babf4a0-c1644f9b68.zip/node_modules/@simplewebauthn/iso-webcrypto/",\
"packageDependencies": [\
["@simplewebauthn/server", "npm:6.2.2"],\
["@noble/ed25519", "npm:1.7.1"],\
["@simplewebauthn/iso-webcrypto", "npm:7.0.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@simplewebauthn/server", [\
["npm:7.0.0", {\
"packageLocation": "./.yarn/cache/@simplewebauthn-server-npm-7.0.0-e34589f137-836eb9fb97.zip/node_modules/@simplewebauthn/server/",\
"packageDependencies": [\
["@simplewebauthn/server", "npm:7.0.0"],\
["@hexagon/base64", "npm:1.1.25"],\
["@peculiar/asn1-android", "npm:2.3.3"],\
["@peculiar/asn1-ecc", "npm:2.3.4"],\
["@peculiar/asn1-rsa", "npm:2.3.4"],\
["@peculiar/asn1-schema", "npm:2.3.3"],\
["@peculiar/asn1-x509", "npm:2.3.4"],\
["base64url", "npm:3.0.1"],\
["cbor", "npm:5.2.0"],\
["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.4"],\
["jsrsasign", "npm:10.6.1"],\
["jwk-to-pem", "npm:2.0.5"],\
["node-fetch", "virtual:25a5f5382d53dbf298bf7a1191760bc2e0a523a619eeb0e667b99a8649e8ad183f9e2e0b45f6fb831b92f4078b61622aa567cf79565f6aa5af9597e3c84864f6#npm:2.6.7"]\
["@simplewebauthn/iso-webcrypto", "npm:7.0.0"],\
["cbor-x", "npm:1.5.0"],\
["cross-fetch", "npm:3.1.5"],\
["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.4"]\
],\
"linkType": "HARD"\
}]\
]],\
["@simplewebauthn/typescript-types", [\
["npm:6.3.0-alpha.1", {\
"packageLocation": "./.yarn/cache/@simplewebauthn-typescript-types-npm-6.3.0-alpha.1-629da05c10-5667c214e9.zip/node_modules/@simplewebauthn/typescript-types/",\
["npm:7.0.0", {\
"packageLocation": "./.yarn/cache/@simplewebauthn-typescript-types-npm-7.0.0-cc6ca20415-124238ea18.zip/node_modules/@simplewebauthn/typescript-types/",\
"packageDependencies": [\
["@simplewebauthn/typescript-types", "npm:6.3.0-alpha.1"]\
["@simplewebauthn/typescript-types", "npm:7.0.0"]\
],\
"linkType": "HARD"\
}]\
@@ -2715,8 +2804,8 @@ const RAW_RUNTIME_STATE =
["@newrelic/winston-enricher", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:4.0.0"],\
["@sentry/node", "npm:7.28.1"],\
["@sentry/tracing", "npm:7.28.1"],\
["@simplewebauthn/server", "npm:6.2.2"],\
["@simplewebauthn/typescript-types", "npm:6.3.0-alpha.1"],\
["@simplewebauthn/server", "npm:7.0.0"],\
["@simplewebauthn/typescript-types", "npm:7.0.0"],\
["@standardnotes/api", "npm:1.24.9"],\
["@standardnotes/common", "workspace:packages/common"],\
["@standardnotes/domain-core", "workspace:packages/domain-core"],\
@@ -4770,19 +4859,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["asn1.js", [\
["npm:5.4.1", {\
"packageLocation": "./.yarn/cache/asn1.js-npm-5.4.1-37c7edbcb0-5c36f81388.zip/node_modules/asn1.js/",\
"packageDependencies": [\
["asn1.js", "npm:5.4.1"],\
["bn.js", "npm:4.12.0"],\
["inherits", "npm:2.0.4"],\
["minimalistic-assert", "npm:1.0.1"],\
["safer-buffer", "npm:2.1.2"]\
],\
"linkType": "HARD"\
}]\
]],\
["asn1js", [\
["npm:3.0.5", {\
"packageLocation": "./.yarn/cache/asn1js-npm-3.0.5-cf5558af33-d0bc57da97.zip/node_modules/asn1js/",\
@@ -5008,15 +5084,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["base64url", [\
["npm:3.0.1", {\
"packageLocation": "./.yarn/cache/base64url-npm-3.0.1-4c171c4917-72e1401ffe.zip/node_modules/base64url/",\
"packageDependencies": [\
["base64url", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["bcryptjs", [\
["npm:2.4.3", {\
"packageLocation": "./.yarn/cache/bcryptjs-npm-2.4.3-32de4957eb-bf6a43e9c4.zip/node_modules/bcryptjs/",\
@@ -5035,15 +5102,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["bignumber.js", [\
["npm:9.1.1", {\
"packageLocation": "./.yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-e44d008049.zip/node_modules/bignumber.js/",\
"packageDependencies": [\
["bignumber.js", "npm:9.1.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["binary-extensions", [\
["npm:2.2.0", {\
"packageLocation": "./.yarn/cache/binary-extensions-npm-2.2.0-180c33fec7-16cf7c0cfd.zip/node_modules/binary-extensions/",\
@@ -5065,15 +5123,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["bn.js", [\
["npm:4.12.0", {\
"packageLocation": "./.yarn/cache/bn.js-npm-4.12.0-3ec6c884f6-bfb4590775.zip/node_modules/bn.js/",\
"packageDependencies": [\
["bn.js", "npm:4.12.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["body-parser", [\
["npm:1.20.1", {\
"packageLocation": "./.yarn/cache/body-parser-npm-1.20.1-759fd14db9-33f202c9d5.zip/node_modules/body-parser/",\
@@ -5141,15 +5190,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["brorand", [\
["npm:1.1.0", {\
"packageLocation": "./.yarn/cache/brorand-npm-1.1.0-ea86634c4b-f736e127fb.zip/node_modules/brorand/",\
"packageDependencies": [\
["brorand", "npm:1.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["browserslist", [\
["npm:4.21.1", {\
"packageLocation": "./.yarn/cache/browserslist-npm-4.21.1-930e90b93a-617d624493.zip/node_modules/browserslist/",\
@@ -5385,13 +5425,29 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["cbor", [\
["npm:5.2.0", {\
"packageLocation": "./.yarn/cache/cbor-npm-5.2.0-4f6440587f-d60986b9d0.zip/node_modules/cbor/",\
["cbor-extract", [\
["npm:2.1.1", {\
"packageLocation": "./.yarn/unplugged/cbor-extract-npm-2.1.1-bcad1459e1/node_modules/cbor-extract/",\
"packageDependencies": [\
["cbor", "npm:5.2.0"],\
["bignumber.js", "npm:9.1.1"],\
["nofilter", "npm:1.0.4"]\
["cbor-extract", "npm:2.1.1"],\
["@cbor-extract/cbor-extract-darwin-arm64", "npm:2.1.1"],\
["@cbor-extract/cbor-extract-darwin-x64", "npm:2.1.1"],\
["@cbor-extract/cbor-extract-linux-arm", "npm:2.1.1"],\
["@cbor-extract/cbor-extract-linux-arm64", "npm:2.1.1"],\
["@cbor-extract/cbor-extract-linux-x64", "npm:2.1.1"],\
["@cbor-extract/cbor-extract-win32-x64", "npm:2.1.1"],\
["node-gyp", "npm:9.0.0"],\
["node-gyp-build-optional-packages", "npm:5.0.3"]\
],\
"linkType": "HARD"\
}]\
]],\
["cbor-x", [\
["npm:1.5.0", {\
"packageLocation": "./.yarn/cache/cbor-x-npm-1.5.0-9baf767c60-c9de4515b0.zip/node_modules/cbor-x/",\
"packageDependencies": [\
["cbor-x", "npm:1.5.0"],\
["cbor-extract", "npm:2.1.1"]\
],\
"linkType": "HARD"\
}]\
@@ -6079,6 +6135,16 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["cross-fetch", [\
["npm:3.1.5", {\
"packageLocation": "./.yarn/cache/cross-fetch-npm-3.1.5-e414995db9-83fa7b1318.zip/node_modules/cross-fetch/",\
"packageDependencies": [\
["cross-fetch", "npm:3.1.5"],\
["node-fetch", "virtual:25a5f5382d53dbf298bf7a1191760bc2e0a523a619eeb0e667b99a8649e8ad183f9e2e0b45f6fb831b92f4078b61622aa567cf79565f6aa5af9597e3c84864f6#npm:2.6.7"]\
],\
"linkType": "HARD"\
}]\
]],\
["cross-spawn", [\
["npm:7.0.3", {\
"packageLocation": "./.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-37ec685f91.zip/node_modules/cross-spawn/",\
@@ -6520,22 +6586,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["elliptic", [\
["npm:6.5.4", {\
"packageLocation": "./.yarn/cache/elliptic-npm-6.5.4-0ca8204a86-4453b008cf.zip/node_modules/elliptic/",\
"packageDependencies": [\
["elliptic", "npm:6.5.4"],\
["bn.js", "npm:4.12.0"],\
["brorand", "npm:1.1.0"],\
["hash.js", "npm:1.1.7"],\
["hmac-drbg", "npm:1.0.1"],\
["inherits", "npm:2.0.4"],\
["minimalistic-assert", "npm:1.0.1"],\
["minimalistic-crypto-utils", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["emittery", [\
["npm:0.10.2", {\
"packageLocation": "./.yarn/cache/emittery-npm-0.10.2-aac10498b5-c55b286714.zip/node_modules/emittery/",\
@@ -7997,17 +8047,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["hash.js", [\
["npm:1.1.7", {\
"packageLocation": "./.yarn/cache/hash.js-npm-1.1.7-f1ad187358-e4266370d1.zip/node_modules/hash.js/",\
"packageDependencies": [\
["hash.js", "npm:1.1.7"],\
["inherits", "npm:2.0.4"],\
["minimalistic-assert", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["helmet", [\
["npm:6.0.0", {\
"packageLocation": "./.yarn/cache/helmet-npm-6.0.0-2285459f57-73b6ba802d.zip/node_modules/helmet/",\
@@ -8026,18 +8065,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["hmac-drbg", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/hmac-drbg-npm-1.0.1-3499ad31cd-4e88d58ffc.zip/node_modules/hmac-drbg/",\
"packageDependencies": [\
["hmac-drbg", "npm:1.0.1"],\
["hash.js", "npm:1.1.7"],\
["minimalistic-assert", "npm:1.0.1"],\
["minimalistic-crypto-utils", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["hosted-git-info", [\
["npm:2.8.9", {\
"packageLocation": "./.yarn/cache/hosted-git-info-npm-2.8.9-62c44fa93f-c24da52f98.zip/node_modules/hosted-git-info/",\
@@ -9630,15 +9657,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["jsrsasign", [\
["npm:10.6.1", {\
"packageLocation": "./.yarn/cache/jsrsasign-npm-10.6.1-a8fa295369-e8e9c1b24f.zip/node_modules/jsrsasign/",\
"packageDependencies": [\
["jsrsasign", "npm:10.6.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["jwa", [\
["npm:1.4.1", {\
"packageLocation": "./.yarn/cache/jwa-npm-1.4.1-4f19d6572c-0cc3e68b68.zip/node_modules/jwa/",\
@@ -9651,18 +9669,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["jwk-to-pem", [\
["npm:2.0.5", {\
"packageLocation": "./.yarn/cache/jwk-to-pem-npm-2.0.5-aff7d9f125-fced3a75b0.zip/node_modules/jwk-to-pem/",\
"packageDependencies": [\
["jwk-to-pem", "npm:2.0.5"],\
["asn1.js", "npm:5.4.1"],\
["elliptic", "npm:6.5.4"],\
["safe-buffer", "npm:5.2.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["jws", [\
["npm:3.2.2", {\
"packageLocation": "./.yarn/cache/jws-npm-3.2.2-c1ae59c7af-347ed7c334.zip/node_modules/jws/",\
@@ -10218,24 +10224,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["minimalistic-assert", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/minimalistic-assert-npm-1.0.1-dc8bb23d29-e2310081d8.zip/node_modules/minimalistic-assert/",\
"packageDependencies": [\
["minimalistic-assert", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["minimalistic-crypto-utils", [\
["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/minimalistic-crypto-utils-npm-1.0.1-e66b10822e-7d909decd2.zip/node_modules/minimalistic-crypto-utils/",\
"packageDependencies": [\
["minimalistic-crypto-utils", "npm:1.0.1"]\
],\
"linkType": "HARD"\
}]\
]],\
["minimatch", [\
["npm:3.1.2", {\
"packageLocation": "./.yarn/cache/minimatch-npm-3.1.2-9405269906-97f5615ee8.zip/node_modules/minimatch/",\
@@ -10603,6 +10591,15 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["node-gyp-build-optional-packages", [\
["npm:5.0.3", {\
"packageLocation": "./.yarn/cache/node-gyp-build-optional-packages-npm-5.0.3-50b9c76481-18e2444d34.zip/node_modules/node-gyp-build-optional-packages/",\
"packageDependencies": [\
["node-gyp-build-optional-packages", "npm:5.0.3"]\
],\
"linkType": "HARD"\
}]\
]],\
["node-int64", [\
["npm:0.4.0", {\
"packageLocation": "./.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-5333c7f5b1.zip/node_modules/node-int64/",\
@@ -10640,15 +10637,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["nofilter", [\
["npm:1.0.4", {\
"packageLocation": "./.yarn/cache/nofilter-npm-1.0.4-1cbdc6c03a-9a26874e7d.zip/node_modules/nofilter/",\
"packageDependencies": [\
["nofilter", "npm:1.0.4"]\
],\
"linkType": "HARD"\
}]\
]],\
["nopt", [\
["npm:1.0.10", {\
"packageLocation": "./.yarn/cache/nopt-npm-1.0.10-f3db192976-efa5a9c2c1.zip/node_modules/nopt/",\

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
Platform specific binary for cbor-extract on darwin OS with x64 architecture

View File

@@ -0,0 +1,17 @@
{
"name": "@cbor-extract/cbor-extract-darwin-x64",
"version": "2.1.1",
"os": [
"darwin"
],
"cpu": [
"x64"
],
"license": "MIT",
"author": "Kris Zyp",
"repository": {
"type": "git",
"url": "http://github.com/kriszyp/cbor-extract"
},
"description": "Platform specific binary for cbor-extract on darwin OS with x64 architecture"
}

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Kris Zyp
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,5 @@
## Summary
This module is designed to do fast and efficient native/C-level extraction of strings from CBOR binary data. This works by calling `extractStrings(buffer, start, end)`, and it will extract strings by doing partial CBOR parsing, and scanning to find the string data in the range specified in the buffer. It will return an array of strings that it finds. When it finds strings that can be represented with latin-1/one-byte strings (and important V8 optimization), it will attempt return a continuous string of CBOR data that contains multiple sub-strings, so the decoder can slice off strings by offset. When a string contains non-latin characters, and must be represented as a two-byte string, this will always be returned as the string alone without combination with any other strings. The extractor will return an array of a maximum of 256 strings. The decoder can call the extractStrings again, with a new offset to continue extracting more strings as necessary.
## License
MIT

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env node
const { dirname } = require('path');
const { fileURLToPath } = require('url');
const { exec } = require('child_process');
process.chdir(dirname(__dirname));
exec('prebuildify-ci download', (error, stdout, stderr) => {
console.error(stderr);
console.log(stdout);
});

View File

@@ -0,0 +1,60 @@
{
"variables": {
"os_linux_compiler%": "gcc",
"enable_v8%": "true",
"enable_pointer_compression%": "false",
"build_v8_with_gn": "false"
},
"conditions": [
['OS=="win"', {
"variables": {
"enable_v8%": "<!(echo %ENABLE_V8_FUNCTIONS%)",
}
}],
['OS!="win"', {
"variables": {
"enable_v8%": "<!(echo $ENABLE_V8_FUNCTIONS)",
}
}]
],
"targets": [
{
"target_name": "extract",
"sources": [
"src/extract.cpp",
],
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
"conditions": [
["OS=='linux'", {
"variables": {
"gcc_version" : "<!(<(os_linux_compiler) -dumpversion | cut -d '.' -f 1)",
},
"cflags_cc": [
"-fPIC",
"-fvisibility=hidden",
"-fvisibility-inlines-hidden",
],
"conditions": [
["gcc_version>=7", {
"cflags": [
"-Wimplicit-fallthrough=2",
],
}],
],
"ldflags": [
"-fPIC",
"-fvisibility=hidden"
],
"cflags": [
"-fPIC",
"-fvisibility=hidden",
"-O3"
],
}],
["enable_v8!='false'", {
"defines": ["ENABLE_V8_API=1"]
}],
],
}
]
}

View File

@@ -0,0 +1 @@
module.exports = require('node-gyp-build-optional-packages')(__dirname)

View File

@@ -0,0 +1,48 @@
{
"name": "cbor-extract",
"author": "Kris Zyp",
"version": "2.1.1",
"description": "Node addon for string extraction for cbor-x",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/kriszyp/cbor-extract"
},
"scripts": {
"install": "node-gyp-build-optional-packages",
"recompile": "node-gyp rebuild",
"before-publish": "prebuildify-ci download && node set-optional-deps.cjs",
"prebuild": "prebuildify-platform-packages --target 18.12.0",
"prebuild-win32": "prebuildify-platform-packages --target 18.12.0 && set ENABLE_V8_FUNCTIONS=false&& prebuildify-platform-packages --platform-packages --napi --target 18.12.0",
"prebuild-libc": "prebuildify-platform-packages --tag-libc --target 18.12.0 && prebuildify-platform-packages --platform-packages --napi --tag-libc --target 16.14.2 && ENABLE_V8_FUNCTIONS=false prebuildify-platform-packages --platform-packages --napi --tag-libc --target 18.12.0",
"prebuild-libc-alpine": "prebuildify-cross --image alpine --tag-libc --target 18.12.0",
"publish-all": "cd prebuilds/win32-x64 && npm publish --access public && cd ../darwin-x64 && npm publish --access public && cd ../darwin-arm64 && npm publish --access public && cd ../linux-x64 && npm publish --access public && cd ../linux-arm64 && npm publish --access public && cd ../linux-arm && npm publish --access public && cd ../.. && npm publish --access public",
"test": "node ./index.js"
},
"main": "./index.js",
"gypfile": true,
"dependencies": {
"node-gyp-build-optional-packages": "5.0.3"
},
"files": [
"index.js",
"/src",
"/*.gyp",
"/bin"
],
"bin": {
"download-cbor-prebuilds": "./bin/download-prebuilds.js"
},
"devDependencies": {
"prebuildify-platform-packages": "5.0.2",
"prebuildify-ci": "^1.0.5"
},
"optionalDependencies": {
"@cbor-extract/cbor-extract-darwin-arm64": "2.1.1",
"@cbor-extract/cbor-extract-darwin-x64": "2.1.1",
"@cbor-extract/cbor-extract-linux-arm": "2.1.1",
"@cbor-extract/cbor-extract-linux-arm64": "2.1.1",
"@cbor-extract/cbor-extract-linux-x64": "2.1.1",
"@cbor-extract/cbor-extract-win32-x64": "2.1.1"
}
}

View File

@@ -0,0 +1,198 @@
/*
This is responsible for extracting the strings, in bulk, from a CBOR buffer. Creating strings from buffers can
be one of the biggest performance bottlenecks of parsing, but creating an array of extracting strings all at once
provides much better performance. This will parse and produce up to 256 strings at once .The JS parser can call this multiple
times as necessary to get more strings. This must be partially capable of parsing CBOR so it can know where to
find the string tokens and determine their position and length. All strings are decoded as UTF-8.
*/
#include <node_api.h>
#if ENABLE_V8_API
#include <v8.h>
#endif
#ifndef thread_local
#ifdef __GNUC__
# define thread_local __thread
#elif __STDC_VERSION__ >= 201112L
# define thread_local _Thread_local
#elif defined(_MSC_VER)
# define thread_local __declspec(thread)
#else
# define thread_local
#endif
#endif
const int MAX_TARGET_SIZE = 255;
napi_value unexpectedEnd(napi_env env) {
napi_value returnValue;
napi_get_undefined(env, &returnValue);
napi_throw_type_error(env, NULL, "Unexpected end of buffer reading string");
return returnValue;
}
class Extractor {
public:
napi_value target[MAX_TARGET_SIZE + 1]; // leave one for the queued string
uint8_t* source;
int position = 0;
int writePosition = 0;
int stringStart = 0;
int lastStringEnd = 0;
void readString(napi_env env, int length, bool allowStringBlocks) {
int start = position;
int end = position + length;
if (allowStringBlocks) { // for larger strings, we don't bother to check every character for being latin, and just go right to creating a new string
while(position < end) {
if (source[position] < 0x80) // ensure we character is latin and can be decoded as one byte
position++;
else {
break;
}
}
}
if (position < end) {
// non-latin character
if (lastStringEnd) {
napi_value value;
napi_create_string_latin1(env, (const char*) source + stringStart, lastStringEnd - stringStart, &value);
target[writePosition++] = value;
lastStringEnd = 0;
}
// use standard utf-8 conversion
napi_value value;
napi_create_string_utf8(env, (const char*) source + start, (int) length, &value);
target[writePosition++] = value;
position = end;
return;
}
if (lastStringEnd) {
if (start - lastStringEnd > 40 || end - stringStart > 6000) {
napi_value value;
napi_create_string_latin1(env, (const char*) source + stringStart, lastStringEnd - stringStart, &value);
target[writePosition++] = value;
stringStart = start;
}
} else {
stringStart = start;
}
lastStringEnd = end;
}
napi_value extractStrings(napi_env env, int startingPosition, int size, int firstStringSize, uint8_t* inputSource) {
writePosition = 0;
lastStringEnd = 0;
position = startingPosition;
source = inputSource;
readString(env, firstStringSize, firstStringSize < 0x100);
while (position < size) {
uint8_t token = source[position++];
uint8_t majorType = token >> 5;
token = token & 0x1f;
if (majorType == 2 || majorType == 3) {
int length;
switch (token) {
case 0x18:
if (position + 1 > size) {
return unexpectedEnd(env);
}
length = source[position++];
break;
case 0x19:
if (position + 2 > size) {
return unexpectedEnd(env);
}
length = source[position++] << 8;
length += source[position++];
break;
case 0x1a:
if (position + 4 > size) {
return unexpectedEnd(env);
}
length = source[position++] << 24;
length += source[position++] << 16;
length += source[position++] << 8;
length += source[position++];
break;
case 0x1b:
return unexpectedEnd(env);
default:
length = token;
}
if (majorType == 3) {
// string
if (length + position > size) {
return unexpectedEnd(env);
}
readString(env, length, length < 0x100);
if (writePosition >= MAX_TARGET_SIZE)
break;
} else { // binary data
position += length;
}
} else { // all other tokens
switch (token) {
case 0x18:
position++;
break;
case 0x19:
position += 2;
break;
case 0x1a:
position += 4;
break;
case 0x1b:
position += 8;
break;
}
}
}
if (lastStringEnd) {
napi_value value;
napi_create_string_latin1(env, (const char*) source + stringStart, lastStringEnd - stringStart, &value);
if (writePosition == 0) {
return value;
}
target[writePosition++] = value;
} else if (writePosition == 1) {
return target[0];
}
napi_value array;
#if ENABLE_V8_API
v8::Local<v8::Array> v8Array = v8::Array::New(v8::Isolate::GetCurrent(), (v8::Local<v8::Value>*) target, writePosition);
memcpy(&array, &v8Array, sizeof(array));
#else
napi_create_array_with_length(env, writePosition, &array);
for (int i = 0; i < writePosition; i++) {
napi_set_element(env, array, i, target[i]);
}
#endif
return array;
}
};
static thread_local Extractor* extractor;
napi_value extractStrings(napi_env env, napi_callback_info info) {
size_t argc = 4;
napi_value args[4];
napi_get_cb_info(env, info, &argc, args, NULL, NULL);
uint32_t position;
uint32_t size;
uint32_t firstStringSize;
napi_get_value_uint32(env, args[0], &position);
napi_get_value_uint32(env, args[1], &size);
napi_get_value_uint32(env, args[2], &firstStringSize);
uint8_t* source;
size_t buffer_size;
napi_get_buffer_info(env, args[3], (void**) &source, &buffer_size);
return extractor->extractStrings(env, position, size, firstStringSize, source);
}
#define EXPORT_NAPI_FUNCTION(name, func) { napi_property_descriptor desc = { name, 0, func, 0, 0, 0, (napi_property_attributes) (napi_writable | napi_configurable), 0 }; napi_define_properties(env, exports, 1, &desc); }
NAPI_MODULE_INIT() {
extractor = new Extractor(); // create our thread-local extractor
EXPORT_NAPI_FUNCTION("extractStrings", extractStrings);
return exports;
}

View File

@@ -35,8 +35,8 @@
"@newrelic/winston-enricher": "^4.0.0",
"@sentry/node": "^7.28.1",
"@sentry/tracing": "^7.28.1",
"@simplewebauthn/server": "^6.2.2",
"@simplewebauthn/typescript-types": "^6.3.0-alpha.1",
"@simplewebauthn/server": "^7.0.0",
"@simplewebauthn/typescript-types": "^7.0.0",
"@standardnotes/api": "^1.24.9",
"@standardnotes/common": "workspace:*",
"@standardnotes/domain-core": "workspace:^",

315
yarn.lock
View File

@@ -400,6 +400,48 @@ __metadata:
languageName: node
linkType: hard
"@cbor-extract/cbor-extract-darwin-arm64@npm:2.1.1":
version: 2.1.1
resolution: "@cbor-extract/cbor-extract-darwin-arm64@npm:2.1.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@cbor-extract/cbor-extract-darwin-x64@npm:2.1.1":
version: 2.1.1
resolution: "@cbor-extract/cbor-extract-darwin-x64@npm:2.1.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@cbor-extract/cbor-extract-linux-arm64@npm:2.1.1":
version: 2.1.1
resolution: "@cbor-extract/cbor-extract-linux-arm64@npm:2.1.1"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"@cbor-extract/cbor-extract-linux-arm@npm:2.1.1":
version: 2.1.1
resolution: "@cbor-extract/cbor-extract-linux-arm@npm:2.1.1"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
"@cbor-extract/cbor-extract-linux-x64@npm:2.1.1":
version: 2.1.1
resolution: "@cbor-extract/cbor-extract-linux-x64@npm:2.1.1"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"@cbor-extract/cbor-extract-win32-x64@npm:2.1.1":
version: 2.1.1
resolution: "@cbor-extract/cbor-extract-win32-x64@npm:2.1.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@colors/colors@npm:1.5.0":
version: 1.5.0
resolution: "@colors/colors@npm:1.5.0"
@@ -676,6 +718,13 @@ __metadata:
languageName: node
linkType: hard
"@hexagon/base64@npm:^1.1.25":
version: 1.1.25
resolution: "@hexagon/base64@npm:1.1.25"
checksum: 0b42e9b67640921ee817fe09404e46c7f1e1432b44a962e27115e55d2284062136a9406d5422dea2b87db00f2511ea81b888f02624e24e5d62df2091c8478a96
languageName: node
linkType: hard
"@humanwhocodes/config-array@npm:^0.11.8":
version: 0.11.8
resolution: "@humanwhocodes/config-array@npm:0.11.8"
@@ -1306,13 +1355,6 @@ __metadata:
languageName: node
linkType: hard
"@noble/ed25519@npm:^1.6.1":
version: 1.7.1
resolution: "@noble/ed25519@npm:1.7.1"
checksum: b1aa4b9264c2a26d1905b01493c81c124eb05758c00464fcc9ae92880f9696fc4b525d9ff2a22c859ca753982172ba7b180242a6adb0b8ecc52a944d2173e77c
languageName: node
linkType: hard
"@nodelib/fs.scandir@npm:2.1.5":
version: 2.1.5
resolution: "@nodelib/fs.scandir@npm:2.1.5"
@@ -1615,6 +1657,30 @@ __metadata:
languageName: node
linkType: hard
"@peculiar/asn1-ecc@npm:^2.3.4":
version: 2.3.4
resolution: "@peculiar/asn1-ecc@npm:2.3.4"
dependencies:
"@peculiar/asn1-schema": "npm:^2.3.3"
"@peculiar/asn1-x509": "npm:^2.3.4"
asn1js: "npm:^3.0.5"
tslib: "npm:^2.4.0"
checksum: 351f9e0a4ffec063bbd7957cb57b76d3fddd34e96fb22408c377ac0426c0fe3b491ec763f0346253c821ec7ec2ddc8f202af1fe664a2e76581ebe494b3d2a82b
languageName: node
linkType: hard
"@peculiar/asn1-rsa@npm:^2.3.4":
version: 2.3.4
resolution: "@peculiar/asn1-rsa@npm:2.3.4"
dependencies:
"@peculiar/asn1-schema": "npm:^2.3.3"
"@peculiar/asn1-x509": "npm:^2.3.4"
asn1js: "npm:^3.0.5"
tslib: "npm:^2.4.0"
checksum: 89bcb894f4e0299a8736185a7cdc3b161a47a3e055909301ff317d48984ea698a4af9ff7e5015418bed638c52b76d18aecdb3e0fba99f9f948f85f5b5959e737
languageName: node
linkType: hard
"@peculiar/asn1-schema@npm:^2.1.7, @peculiar/asn1-schema@npm:^2.3.3":
version: 2.3.3
resolution: "@peculiar/asn1-schema@npm:2.3.3"
@@ -1626,7 +1692,7 @@ __metadata:
languageName: node
linkType: hard
"@peculiar/asn1-x509@npm:^2.1.7":
"@peculiar/asn1-x509@npm:^2.1.7, @peculiar/asn1-x509@npm:^2.3.4":
version: 2.3.4
resolution: "@peculiar/asn1-x509@npm:2.3.4"
dependencies:
@@ -1786,28 +1852,35 @@ __metadata:
languageName: node
linkType: hard
"@simplewebauthn/server@npm:^6.2.2":
version: 6.2.2
resolution: "@simplewebauthn/server@npm:6.2.2"
dependencies:
"@noble/ed25519": "npm:^1.6.1"
"@peculiar/asn1-android": "npm:^2.1.7"
"@peculiar/asn1-schema": "npm:^2.1.7"
"@peculiar/asn1-x509": "npm:^2.1.7"
base64url: "npm:^3.0.1"
cbor: "npm:^5.1.0"
debug: "npm:^4.3.2"
jsrsasign: "npm:^10.4.0"
jwk-to-pem: "npm:^2.0.4"
node-fetch: "npm:^2.6.0"
checksum: 5ffb9b1c15a69ca74c80adf70d890ba1e0bba21040653d79dc4a443d505aefe9d085763918e491479b0e64dd32c214c2acdc96d44de0384e542411944d01e09b
"@simplewebauthn/iso-webcrypto@npm:^7.0.0":
version: 7.0.0
resolution: "@simplewebauthn/iso-webcrypto@npm:7.0.0"
checksum: c1644f9b68dafc0e4afc76e671a3a59f5b86b7f6846f4e947718b97e3656afbf2a6499f2dff4cfc0ca302cf81564755774505863c76798da61e3d5daae55a837
languageName: node
linkType: hard
"@simplewebauthn/typescript-types@npm:^6.3.0-alpha.1":
version: 6.3.0-alpha.1
resolution: "@simplewebauthn/typescript-types@npm:6.3.0-alpha.1"
checksum: 5667c214e9271c568dae2d5fe1e7d074f058415112a8f1c1138eefb5ca23735eef4be90185f454a96593624efe7c69135a8041070cb6ad419869bfa95ce2f7f5
"@simplewebauthn/server@npm:^7.0.0":
version: 7.0.0
resolution: "@simplewebauthn/server@npm:7.0.0"
dependencies:
"@hexagon/base64": "npm:^1.1.25"
"@peculiar/asn1-android": "npm:^2.1.7"
"@peculiar/asn1-ecc": "npm:^2.3.4"
"@peculiar/asn1-rsa": "npm:^2.3.4"
"@peculiar/asn1-schema": "npm:^2.1.7"
"@peculiar/asn1-x509": "npm:^2.1.7"
"@simplewebauthn/iso-webcrypto": "npm:^7.0.0"
cbor-x: "npm:^1.4.1"
cross-fetch: "npm:^3.1.5"
debug: "npm:^4.3.2"
checksum: 836eb9fb97961e01fdb5f1b2719b5be1d4f28abd5aa24081584c2209a071aa37146235621d1005ba4c8a585661e7fb1c134f041a0d1c123012b1f198757a7b28
languageName: node
linkType: hard
"@simplewebauthn/typescript-types@npm:^7.0.0":
version: 7.0.0
resolution: "@simplewebauthn/typescript-types@npm:7.0.0"
checksum: 124238ea1859c80761c4cdbf19107e2e8e96fdefa64affb55fb4fc67d1ac5e3354c3098c908729d2de439a633115d98da77ded7289286fe576559306fa933815
languageName: node
linkType: hard
@@ -1953,8 +2026,8 @@ __metadata:
"@newrelic/winston-enricher": "npm:^4.0.0"
"@sentry/node": "npm:^7.28.1"
"@sentry/tracing": "npm:^7.28.1"
"@simplewebauthn/server": "npm:^6.2.2"
"@simplewebauthn/typescript-types": "npm:^6.3.0-alpha.1"
"@simplewebauthn/server": "npm:^7.0.0"
"@simplewebauthn/typescript-types": "npm:^7.0.0"
"@standardnotes/api": "npm:^1.24.9"
"@standardnotes/common": "workspace:*"
"@standardnotes/domain-core": "workspace:^"
@@ -3593,18 +3666,6 @@ __metadata:
languageName: node
linkType: hard
"asn1.js@npm:^5.3.0":
version: 5.4.1
resolution: "asn1.js@npm:5.4.1"
dependencies:
bn.js: "npm:^4.0.0"
inherits: "npm:^2.0.1"
minimalistic-assert: "npm:^1.0.0"
safer-buffer: "npm:^2.1.0"
checksum: 5c36f81388e344c9417866bd20acd2d4164d2bc2827d4fd0e35714f8701a249b9c6118c70720758fe710a4723d65699c5be1e827f89e9eff1dbd1bfe910300fd
languageName: node
linkType: hard
"asn1js@npm:^3.0.5":
version: 3.0.5
resolution: "asn1js@npm:3.0.5"
@@ -3756,13 +3817,6 @@ __metadata:
languageName: node
linkType: hard
"base64url@npm:^3.0.1":
version: 3.0.1
resolution: "base64url@npm:3.0.1"
checksum: 72e1401ffe08693524f35bc2912a519bb3bf58f8911f3c4045d8c4bb6b5112187eae2eb45db895f464debe3ff562d46b76305e7cc4de4857365c47f73442c228
languageName: node
linkType: hard
"bcryptjs@npm:2.4.3":
version: 2.4.3
resolution: "bcryptjs@npm:2.4.3"
@@ -3777,13 +3831,6 @@ __metadata:
languageName: node
linkType: hard
"bignumber.js@npm:^9.0.1":
version: 9.1.1
resolution: "bignumber.js@npm:9.1.1"
checksum: e44d00804916c299d01e1a83b435111dbced54c6f165df4a0034a8a0a27182d6698f93f408ec804b3ae80896fd6ad8ad43f37939883dc03ecd04a125742f1483
languageName: node
linkType: hard
"binary-extensions@npm:^2.0.0":
version: 2.2.0
resolution: "binary-extensions@npm:2.2.0"
@@ -3802,13 +3849,6 @@ __metadata:
languageName: node
linkType: hard
"bn.js@npm:^4.0.0, bn.js@npm:^4.11.9":
version: 4.12.0
resolution: "bn.js@npm:4.12.0"
checksum: bfb4590775a29dad10c8d42da5ba7fca9d4f796f6d278cb27f53c6a6272df5e58a3ca58d879487c9584db9e7a8f73ac843117183bebea2d627c1f0db95848ec8
languageName: node
linkType: hard
"body-parser@npm:1.20.1":
version: 1.20.1
resolution: "body-parser@npm:1.20.1"
@@ -3873,13 +3913,6 @@ __metadata:
languageName: node
linkType: hard
"brorand@npm:^1.1.0":
version: 1.1.0
resolution: "brorand@npm:1.1.0"
checksum: f736e127fbac2d704b0b55935c297ec261112b93a178e15170da19c17500d448ebacff3b1edb075821363e8daecc739c062b40e920aa19b8cbed7f4fbe1ff6aa
languageName: node
linkType: hard
"browserslist@npm:^4.20.2":
version: 4.21.1
resolution: "browserslist@npm:4.21.1"
@@ -4093,13 +4126,46 @@ __metadata:
languageName: node
linkType: hard
"cbor@npm:^5.1.0":
version: 5.2.0
resolution: "cbor@npm:5.2.0"
"cbor-extract@npm:^2.1.1":
version: 2.1.1
resolution: "cbor-extract@npm:2.1.1"
dependencies:
bignumber.js: "npm:^9.0.1"
nofilter: "npm:^1.0.4"
checksum: d60986b9d006dd60e462293629830afe2db89db6a06ee2665ac59618b7a76af5e8cef880e4eb484345c8e978fa8425b1cf1e5f3840b97f39ad9e3d2fa8f28bc6
"@cbor-extract/cbor-extract-darwin-arm64": "npm:2.1.1"
"@cbor-extract/cbor-extract-darwin-x64": "npm:2.1.1"
"@cbor-extract/cbor-extract-linux-arm": "npm:2.1.1"
"@cbor-extract/cbor-extract-linux-arm64": "npm:2.1.1"
"@cbor-extract/cbor-extract-linux-x64": "npm:2.1.1"
"@cbor-extract/cbor-extract-win32-x64": "npm:2.1.1"
node-gyp: "npm:latest"
node-gyp-build-optional-packages: "npm:5.0.3"
dependenciesMeta:
"@cbor-extract/cbor-extract-darwin-arm64":
optional: true
"@cbor-extract/cbor-extract-darwin-x64":
optional: true
"@cbor-extract/cbor-extract-linux-arm":
optional: true
"@cbor-extract/cbor-extract-linux-arm64":
optional: true
"@cbor-extract/cbor-extract-linux-x64":
optional: true
"@cbor-extract/cbor-extract-win32-x64":
optional: true
bin:
download-cbor-prebuilds: bin/download-prebuilds.js
checksum: b73b9084a3434035ded20883190706a962a0437e34cda2d13088bf8225da78d1e4f0e84ccd36629bffb6e49ef93cfc1c28799e2d3f8526bd1de723014bc3f951
languageName: node
linkType: hard
"cbor-x@npm:^1.4.1":
version: 1.5.0
resolution: "cbor-x@npm:1.5.0"
dependencies:
cbor-extract: "npm:^2.1.1"
dependenciesMeta:
cbor-extract:
optional: true
checksum: c9de4515b01375a83f57b530c859b04e6fe421a6b8cbf0a067a198b07d7634151e37cda5f0b11d81645ad23b25e6a65e091fb2c8b60abe9736361437fc98efeb
languageName: node
linkType: hard
@@ -4705,6 +4771,15 @@ __metadata:
languageName: node
linkType: hard
"cross-fetch@npm:^3.1.5":
version: 3.1.5
resolution: "cross-fetch@npm:3.1.5"
dependencies:
node-fetch: "npm:2.6.7"
checksum: 83fa7b13186c55abf289d6907b7d0be13e8c85066fb7d82a99b1b16ebcbf4cb49bcd9806020e386c94d69c7c09e15c4aade7de56ece40f86dba0147915d5c196
languageName: node
linkType: hard
"cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
@@ -5048,21 +5123,6 @@ __metadata:
languageName: node
linkType: hard
"elliptic@npm:^6.5.4":
version: 6.5.4
resolution: "elliptic@npm:6.5.4"
dependencies:
bn.js: "npm:^4.11.9"
brorand: "npm:^1.1.0"
hash.js: "npm:^1.0.0"
hmac-drbg: "npm:^1.0.1"
inherits: "npm:^2.0.4"
minimalistic-assert: "npm:^1.0.1"
minimalistic-crypto-utils: "npm:^1.0.1"
checksum: 4453b008cf9e741a87f8e1935398c10124291026e7f2b99a512205a645c59586deaeefbb1e7149574481ec2c4cc7f34efc6ae6ae5bc35a94431be71c0375367e
languageName: node
linkType: hard
"emittery@npm:^0.10.2":
version: 0.10.2
resolution: "emittery@npm:0.10.2"
@@ -6270,16 +6330,6 @@ __metadata:
languageName: node
linkType: hard
"hash.js@npm:^1.0.0, hash.js@npm:^1.0.3":
version: 1.1.7
resolution: "hash.js@npm:1.1.7"
dependencies:
inherits: "npm:^2.0.3"
minimalistic-assert: "npm:^1.0.1"
checksum: e4266370d194fd31ed7bb51f5a943cf4e3b361321ea19a0dfcaab2e21400c3e581d8dec897364ed4530845c2c1b58d44dd6a9b3682cfd5ec02d0ce7bc802f1db
languageName: node
linkType: hard
"helmet@npm:^6.0.0":
version: 6.0.0
resolution: "helmet@npm:6.0.0"
@@ -6294,17 +6344,6 @@ __metadata:
languageName: node
linkType: hard
"hmac-drbg@npm:^1.0.1":
version: 1.0.1
resolution: "hmac-drbg@npm:1.0.1"
dependencies:
hash.js: "npm:^1.0.3"
minimalistic-assert: "npm:^1.0.0"
minimalistic-crypto-utils: "npm:^1.0.1"
checksum: 4e88d58ffc03e027990bbc31c0aa7b90dc4d2b3642ac3a8f3b71e3c43eb03416179ac601f36417312f0375cc382a9e39d80ade1ae239aff188701162bc84226d
languageName: node
linkType: hard
"hosted-git-info@npm:^2.1.4":
version: 2.8.9
resolution: "hosted-git-info@npm:2.8.9"
@@ -7679,13 +7718,6 @@ __metadata:
languageName: node
linkType: hard
"jsrsasign@npm:^10.4.0":
version: 10.6.1
resolution: "jsrsasign@npm:10.6.1"
checksum: e8e9c1b24f78d506eccd3b0e68e6e9dc8011f2ca4bd5baedc33a3a64b63c5ff7e21d00a73ef95624fd9fd594743cc6dd60b39b17d6938c7a6a712242698bac14
languageName: node
linkType: hard
"jwa@npm:^1.4.1":
version: 1.4.1
resolution: "jwa@npm:1.4.1"
@@ -7697,17 +7729,6 @@ __metadata:
languageName: node
linkType: hard
"jwk-to-pem@npm:^2.0.4":
version: 2.0.5
resolution: "jwk-to-pem@npm:2.0.5"
dependencies:
asn1.js: "npm:^5.3.0"
elliptic: "npm:^6.5.4"
safe-buffer: "npm:^5.0.1"
checksum: fced3a75b0fcc6145e703669e210b670789df5d85dbcbf11d3f97e2bb24954e70e889b69ddb1c6404089ae45c435a9bf09137dfd0290931b49c8ccd09fa5e704
languageName: node
linkType: hard
"jws@npm:^3.2.2":
version: 3.2.2
resolution: "jws@npm:3.2.2"
@@ -8197,20 +8218,6 @@ __metadata:
languageName: node
linkType: hard
"minimalistic-assert@npm:^1.0.0, minimalistic-assert@npm:^1.0.1":
version: 1.0.1
resolution: "minimalistic-assert@npm:1.0.1"
checksum: e2310081d82a7f8a6ee7f338d167c82b3eb5378929b9eda3a9eb633cf0f0f19c029b69e6868264447d4f726644b52fdc4dda3bc985793a1aeba9b02b13ca3f8e
languageName: node
linkType: hard
"minimalistic-crypto-utils@npm:^1.0.1":
version: 1.0.1
resolution: "minimalistic-crypto-utils@npm:1.0.1"
checksum: 7d909decd241bd658f941981ce53db4061c834daba807a5082d08fd2a0c488b8ef67904c90af38b70445e0220951a533ae3a181be5724ad342df4d9454286476
languageName: node
linkType: hard
"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
@@ -8504,7 +8511,7 @@ __metadata:
languageName: node
linkType: hard
"node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.7":
"node-fetch@npm:2.6.7, node-fetch@npm:^2.6.7":
version: 2.6.7
resolution: "node-fetch@npm:2.6.7"
dependencies:
@@ -8518,6 +8525,17 @@ __metadata:
languageName: node
linkType: hard
"node-gyp-build-optional-packages@npm:5.0.3":
version: 5.0.3
resolution: "node-gyp-build-optional-packages@npm:5.0.3"
bin:
node-gyp-build-optional-packages: bin.js
node-gyp-build-optional-packages-optional: optional.js
node-gyp-build-optional-packages-test: build-test.js
checksum: 18e2444d34cdd4d943e21f20785ccff484326b827459e2fb65054555820d714925dfc0fc1e1a88d6f0f0745ccd59d7dcd231c074185caf11be38f309968f0b6e
languageName: node
linkType: hard
"node-gyp-build@npm:^4.4.0":
version: 4.5.0
resolution: "node-gyp-build@npm:4.5.0"
@@ -8583,13 +8601,6 @@ __metadata:
languageName: node
linkType: hard
"nofilter@npm:^1.0.4":
version: 1.0.4
resolution: "nofilter@npm:1.0.4"
checksum: 9a26874e7d5505acbee413d33311ed6d934ff2695e021b1ea1c9f83adc02e6e8038ed2702fcbcfc022bcf5a10cae6e79c6ad7ec23ecb512cdbfa7994fef6532f
languageName: node
linkType: hard
"nopt@npm:^5.0.0":
version: 5.0.0
resolution: "nopt@npm:5.0.0"
@@ -10017,7 +10028,7 @@ __metadata:
languageName: node
linkType: hard
"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.1.0":
"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0":
version: 2.1.2
resolution: "safer-buffer@npm:2.1.2"
checksum: d4199666e9e792968c0b88c2c35dd400f56d3eecb9affbcf5207922822eadf30cc06995bae3c5d0a653851bbd40fc0af578bf046bbf734199ce22433ba4da659