Browse Source

chore(deps): bump simplewebauthn to v13

pull/4407/head
KenTandrian 6 months ago
parent
commit
1a68f90c47
  1. 1
      apps/api/src/app/auth/web-auth.service.ts
  2. 41
      package-lock.json
  3. 5
      package.json

1
apps/api/src/app/auth/web-auth.service.ts

@ -58,7 +58,6 @@ export class WebAuthService {
userID: isoUint8Array.fromUTF8String(user.id), userID: isoUint8Array.fromUTF8String(user.id),
userName: '', userName: '',
timeout: 60000, timeout: 60000,
attestationType: 'indirect',
authenticatorSelection: { authenticatorSelection: {
authenticatorAttachment: 'platform', authenticatorAttachment: 'platform',
requireResidentKey: false, requireResidentKey: false,

41
package-lock.json

@ -41,8 +41,8 @@
"@nestjs/schedule": "4.1.2", "@nestjs/schedule": "4.1.2",
"@nestjs/serve-static": "4.0.2", "@nestjs/serve-static": "4.0.2",
"@prisma/client": "6.4.1", "@prisma/client": "6.4.1",
"@simplewebauthn/browser": "12.0.0", "@simplewebauthn/browser": "13.1.0",
"@simplewebauthn/server": "12.0.0", "@simplewebauthn/server": "13.1.1",
"@stripe/stripe-js": "5.4.0", "@stripe/stripe-js": "5.4.0",
"alphavantage": "2.2.0", "alphavantage": "2.2.0",
"big.js": "6.2.2", "big.js": "6.2.2",
@ -120,7 +120,6 @@
"@nx/web": "20.3.2", "@nx/web": "20.3.2",
"@nx/workspace": "20.3.2", "@nx/workspace": "20.3.2",
"@schematics/angular": "19.0.6", "@schematics/angular": "19.0.6",
"@simplewebauthn/types": "12.0.0",
"@storybook/addon-essentials": "8.4.7", "@storybook/addon-essentials": "8.4.7",
"@storybook/addon-interactions": "8.4.7", "@storybook/addon-interactions": "8.4.7",
"@storybook/angular": "8.4.7", "@storybook/angular": "8.4.7",
@ -9225,18 +9224,15 @@
} }
}, },
"node_modules/@simplewebauthn/browser": { "node_modules/@simplewebauthn/browser": {
"version": "12.0.0", "version": "13.1.0",
"resolved": "https://registry.npmjs.org/@simplewebauthn/browser/-/browser-12.0.0.tgz", "resolved": "https://registry.npmjs.org/@simplewebauthn/browser/-/browser-13.1.0.tgz",
"integrity": "sha512-0w6W8qkACycyaRMb2XnHfpA9kkgs5e2Aw2Ul9ObBYmvFBbtzipyWu9u2+WP1wy98chM+GIlQFnPheUbiMBQr8w==", "integrity": "sha512-WuHZ/PYvyPJ9nxSzgHtOEjogBhwJfC8xzYkPC+rR/+8chl/ft4ngjiK8kSU5HtRJfczupyOh33b25TjYbvwAcg==",
"license": "MIT", "license": "MIT"
"dependencies": {
"@simplewebauthn/types": "^12.0.0"
}
}, },
"node_modules/@simplewebauthn/server": { "node_modules/@simplewebauthn/server": {
"version": "12.0.0", "version": "13.1.1",
"resolved": "https://registry.npmjs.org/@simplewebauthn/server/-/server-12.0.0.tgz", "resolved": "https://registry.npmjs.org/@simplewebauthn/server/-/server-13.1.1.tgz",
"integrity": "sha512-aJdTe9GikOk40U7Q5Mm/Sqkxcq4a2oPZAcLcnyqMyFqrUaOS6vdsZW8/H3Mnsw9umcr88pcgB7kozPPt+5wOBw==", "integrity": "sha512-1hsLpRHfSuMB9ee2aAdh0Htza/X3f4djhYISrggqGe3xopNjOcePiSDkDDoPzDYaaMCrbqGP1H2TYU7bgL9PmA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@hexagon/base64": "^1.1.27", "@hexagon/base64": "^1.1.27",
@ -9245,29 +9241,12 @@
"@peculiar/asn1-ecc": "^2.3.8", "@peculiar/asn1-ecc": "^2.3.8",
"@peculiar/asn1-rsa": "^2.3.8", "@peculiar/asn1-rsa": "^2.3.8",
"@peculiar/asn1-schema": "^2.3.8", "@peculiar/asn1-schema": "^2.3.8",
"@peculiar/asn1-x509": "^2.3.8", "@peculiar/asn1-x509": "^2.3.8"
"@simplewebauthn/types": "^12.0.0",
"cross-fetch": "^4.0.0"
}, },
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=20.0.0"
} }
}, },
"node_modules/@simplewebauthn/server/node_modules/cross-fetch": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz",
"integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==",
"license": "MIT",
"dependencies": {
"node-fetch": "^2.7.0"
}
},
"node_modules/@simplewebauthn/types": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/@simplewebauthn/types/-/types-12.0.0.tgz",
"integrity": "sha512-q6y8MkoV8V8jB4zzp18Uyj2I7oFp2/ONL8c3j8uT06AOWu3cIChc1au71QYHrP2b+xDapkGTiv+9lX7xkTlAsA==",
"license": "MIT"
},
"node_modules/@sinclair/typebox": { "node_modules/@sinclair/typebox": {
"version": "0.27.8", "version": "0.27.8",
"resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",

5
package.json

@ -87,8 +87,8 @@
"@nestjs/schedule": "4.1.2", "@nestjs/schedule": "4.1.2",
"@nestjs/serve-static": "4.0.2", "@nestjs/serve-static": "4.0.2",
"@prisma/client": "6.4.1", "@prisma/client": "6.4.1",
"@simplewebauthn/browser": "12.0.0", "@simplewebauthn/browser": "13.1.0",
"@simplewebauthn/server": "12.0.0", "@simplewebauthn/server": "13.1.1",
"@stripe/stripe-js": "5.4.0", "@stripe/stripe-js": "5.4.0",
"alphavantage": "2.2.0", "alphavantage": "2.2.0",
"big.js": "6.2.2", "big.js": "6.2.2",
@ -166,7 +166,6 @@
"@nx/web": "20.3.2", "@nx/web": "20.3.2",
"@nx/workspace": "20.3.2", "@nx/workspace": "20.3.2",
"@schematics/angular": "19.0.6", "@schematics/angular": "19.0.6",
"@simplewebauthn/types": "12.0.0",
"@storybook/addon-essentials": "8.4.7", "@storybook/addon-essentials": "8.4.7",
"@storybook/addon-interactions": "8.4.7", "@storybook/addon-interactions": "8.4.7",
"@storybook/angular": "8.4.7", "@storybook/angular": "8.4.7",

Loading…
Cancel
Save