Comparing version 3.1.0 to 3.1.1
@@ -164,3 +164,3 @@ { | ||
"https://deno.land/x/test_suite@0.16.1/test_suite.ts": "7854f0ab37d920355fe2e1a2c386f104601449eb93fcf537dafe30d6915a32d4", | ||
"https://unpkg.com/asn1js@2.3.2/src/asn1.js?module": "600a03729e07075d7b3569f727a939c25e2f96c0fdb1f7bb3eb1c8f238549889", | ||
"https://unpkg.com/asn1js@3.0.1/build/index.es.js?module": "d063863645b8e27b2f1acb9b9f0206f0eabccd07050e06d0ab9e787ae18bac51", | ||
"https://unpkg.com/bytestreamjs@1.0.29/src/bytestream.js?module": "1e496c8bb962f28663bf239e279a31aebdbb00d2fc4ed55472a1930dfcebedef", | ||
@@ -274,3 +274,4 @@ "https://unpkg.com/pkijs@2.1.60/src/AccessDescription.js": "e32ca8d49e0d3f499e81cb714e192a4ba7df5a5ffea58b26a34d1f7466f9e0e1", | ||
"https://unpkg.com/pkijs@2.1.60/src/index.js": "6f06a1ce39e1af24976c2118ab957fa276facd6f23af42c8dbfcf54c0d863f2c", | ||
"https://unpkg.com/pvtsutils@1.3.2/build/index.es.js?module": "82e3289330c5ab2b1485084ef8bc621329bf817126951252cb336e619e322ecb", | ||
"https://unpkg.com/pvutils@1.1.3/build/utils.es.js?module": "6def4dab26340f2056fde9711dbf595396b64d53c720268b9f9a73c46940206f" | ||
} |
@@ -6,3 +6,3 @@ { | ||
"jose": "https://deno.land/x/jose@v4.7.0/index.ts?module", | ||
"asn1js": "https://unpkg.com/asn1js@2.3.2/src/asn1.js?module", | ||
"asn1js": "https://unpkg.com/asn1js@3.0.1?module", | ||
"cbor-x": "https://deno.land/x/cbor@v1.2.1/index.js?module", | ||
@@ -9,0 +9,0 @@ "std/": "https://deno.land/std@0.135.0/", |
{ | ||
"name": "fido2-lib", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "A library for performing FIDO 2.0 / WebAuthn functionality", | ||
@@ -52,5 +52,5 @@ "type": "module", | ||
"dependencies": { | ||
"@hexagon/base64": "^1.0.19", | ||
"@peculiar/webcrypto": "^1.3.3", | ||
"@hexagon/base64": "^1.0.19", | ||
"asn1js": "^2.3.2", | ||
"asn1js": "^3.0.2", | ||
"cbor-x": "^1.2.1", | ||
@@ -120,3 +120,6 @@ "jose": "^4.7.0", | ||
}, | ||
"ignorePatterns": ["dist/*","test/dist/*"], | ||
"ignorePatterns": [ | ||
"dist/*", | ||
"test/dist/*" | ||
], | ||
"overrides": [ | ||
@@ -123,0 +126,0 @@ { |
@@ -0,4 +1,50 @@ | ||
const devExternals = [ | ||
"chai", | ||
"chai-as-promised", | ||
"sinon", | ||
]; | ||
const externals = [ | ||
"@hexagon/base64", | ||
"url", | ||
"tldts", | ||
"punycode", | ||
"jose", | ||
"pkijs", | ||
"asn1js", | ||
"cbor-x", | ||
"crypto", | ||
"@peculiar/webcrypto", | ||
]; | ||
const tests = [ | ||
"test/certUtils.test.js", | ||
"test/extAppId.test.js", | ||
"test/ext.test.js", | ||
"test/keyUtils.test.js", | ||
"test/main.test.js", | ||
"test/mds.test.js", | ||
"test/parseAndroidSafetyNetAttestationData.test.js", | ||
"test/parseAssertion.test.js", | ||
"test/parseBadData.test.js", | ||
"test/parseClientData.test.js", | ||
"test/parseExpectations.test.js", | ||
"test/parseNoneAttestationData.test.js", | ||
"test/parsePackedAttestationData.test.js", | ||
"test/parsePackedSelfAttestationData.test.js", | ||
"test/parseTpmAttestationData.test.js", | ||
"test/parseU2fAttestationData.test.js", | ||
"test/response.test.js", | ||
"test/toolbox.test.js", | ||
"test/utils.test.js", | ||
"test/validator.test.js", | ||
]; | ||
function surpressWarnings(message, warn) { | ||
if (message.code === "CIRCULAR_DEPENDENCY") return; | ||
warn(message); | ||
} | ||
export default [ | ||
{ | ||
input: "lib/main.js", | ||
external: [...externals], | ||
output: { | ||
@@ -8,32 +54,13 @@ file: "dist/main.cjs", | ||
}, | ||
onwarn: surpressWarnings, | ||
}, | ||
{ | ||
input: [ | ||
"test/certUtils.test.js", | ||
"test/extAppId.test.js", | ||
"test/ext.test.js", | ||
"test/keyUtils.test.js", | ||
"test/main.test.js", | ||
"test/mds.test.js", | ||
"test/parseAndroidSafetyNetAttestationData.test.js", | ||
"test/parseAssertion.test.js", | ||
"test/parseBadData.test.js", | ||
"test/parseClientData.test.js", | ||
"test/parseExpectations.test.js", | ||
"test/parseNoneAttestationData.test.js", | ||
"test/parsePackedAttestationData.test.js", | ||
"test/parsePackedSelfAttestationData.test.js", | ||
"test/parseTpmAttestationData.test.js", | ||
"test/parseU2fAttestationData.test.js", | ||
"test/response.test.js", | ||
"test/toolbox.test.js", | ||
"test/utils.test.js", | ||
"test/validator.test.js", | ||
], | ||
input: [...tests], | ||
external: [...externals,...devExternals], | ||
output: { | ||
dir: "test/dist/", | ||
entryFileName: "[name].js", | ||
format: "cjs", | ||
}, | ||
onwarn: surpressWarnings, | ||
}, | ||
]; |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3903239
80126
0
- Removedasn1js@2.4.0(transitive)
Updatedasn1js@^3.0.2