diff --git a/package-lock.json b/package-lock.json index d1702c11..2e486d1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "form-data": "^4.0.5", "husky": "^9.1.7", "lodash": "^4.17.21", - "otplib": "^12.0.1", + "otplib": "^13.0.1", "qs": "6.14.1", "stream-browserify": "^3.0.0" }, @@ -3036,6 +3036,18 @@ "eslint-scope": "5.1.1" } }, + "node_modules/@noble/hashes": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", + "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3075,50 +3087,59 @@ } }, "node_modules/@otplib/core": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/@otplib/core/-/core-12.0.1.tgz", - "integrity": "sha512-4sGntwbA/AC+SbPhbsziRiD+jNDdIzsZ3JUyfZwjtKyc/wufl1pnSIaG4Uqx8ymPagujub0o92kgBnB89cuAMA==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@otplib/core/-/core-13.0.1.tgz", + "integrity": "sha512-K3E2TKmDs84jhKWQOQc5HXDhOrkdCogQx+8a29Jf9PPxtev9R0MGv8LdlPKHbXzfZmO3wIDjn0wBrBjtzPnG9w==", "license": "MIT" }, - "node_modules/@otplib/plugin-crypto": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/@otplib/plugin-crypto/-/plugin-crypto-12.0.1.tgz", - "integrity": "sha512-qPuhN3QrT7ZZLcLCyKOSNhuijUi9G5guMRVrxq63r9YNOxxQjPm59gVxLM+7xGnHnM6cimY57tuKsjK7y9LM1g==", + "node_modules/@otplib/hotp": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@otplib/hotp/-/hotp-13.0.1.tgz", + "integrity": "sha512-7Hc0KEqvuVyZNTdYOSN6fIsbMGGHRplGkvyTUvAFZuhVYVyFkkKxq3dwKn3inSGIJ/Tz0sqO/ImQMxIdfRuvmw==", + "license": "MIT", + "dependencies": { + "@otplib/core": "13.0.1", + "@otplib/uri": "13.0.1" + } + }, + "node_modules/@otplib/plugin-base32-scure": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@otplib/plugin-base32-scure/-/plugin-base32-scure-13.0.1.tgz", + "integrity": "sha512-gp/wWyWg9aw81QrvJTPID7+VGei4byTbidLg8hvSkC6TADQei3xByqCgbxzIv3jZsE510e3jLxXD6+F4A4ZG8g==", "license": "MIT", "dependencies": { - "@otplib/core": "^12.0.1" + "@otplib/core": "13.0.1", + "@scure/base": "^1.1.7" } }, - "node_modules/@otplib/plugin-thirty-two": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/@otplib/plugin-thirty-two/-/plugin-thirty-two-12.0.1.tgz", - "integrity": "sha512-MtT+uqRso909UkbrrYpJ6XFjj9D+x2Py7KjTO9JDPhL0bJUYVu5kFP4TFZW4NFAywrAtFRxOVY261u0qwb93gA==", + "node_modules/@otplib/plugin-crypto-noble": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@otplib/plugin-crypto-noble/-/plugin-crypto-noble-13.0.1.tgz", + "integrity": "sha512-Jv2ggK5N8o8sOGxG/sSn4eCwj/dvIjlNaIRNibWeRAY6g/KOMWK+D+NT6YyZp93zH7u1EmR8pBIRh0lUBGII8w==", "license": "MIT", "dependencies": { - "@otplib/core": "^12.0.1", - "thirty-two": "^1.0.2" + "@noble/hashes": "^1.3.3", + "@otplib/core": "13.0.1" } }, - "node_modules/@otplib/preset-default": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/@otplib/preset-default/-/preset-default-12.0.1.tgz", - "integrity": "sha512-xf1v9oOJRyXfluBhMdpOkr+bsE+Irt+0D5uHtvg6x1eosfmHCsCC6ej/m7FXiWqdo0+ZUI6xSKDhJwc8yfiOPQ==", + "node_modules/@otplib/totp": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@otplib/totp/-/totp-13.0.1.tgz", + "integrity": "sha512-17t2qhM7f2PAEhfwo7RI7cLG2ANN1JBFHybXvnHwzlgAX2Owi/uZ9+RC9s//ns4FATX3gaQlMUgufntOs03eXg==", "license": "MIT", "dependencies": { - "@otplib/core": "^12.0.1", - "@otplib/plugin-crypto": "^12.0.1", - "@otplib/plugin-thirty-two": "^12.0.1" + "@otplib/core": "13.0.1", + "@otplib/hotp": "13.0.1", + "@otplib/uri": "13.0.1" } }, - "node_modules/@otplib/preset-v11": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/@otplib/preset-v11/-/preset-v11-12.0.1.tgz", - "integrity": "sha512-9hSetMI7ECqbFiKICrNa4w70deTUfArtwXykPUvSHWOdzOlfa9ajglu7mNCntlvxycTiOAXkQGwjQCzzDEMRMg==", + "node_modules/@otplib/uri": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/@otplib/uri/-/uri-13.0.1.tgz", + "integrity": "sha512-jxET/qEhK1XT614GmSg3bfvn/wo/E+U8kV+c/YDt+kfGayyafMrnvBJhwx701niE1yOlMFpbqN6bhVy0EiVKaA==", "license": "MIT", "dependencies": { - "@otplib/core": "^12.0.1", - "@otplib/plugin-crypto": "^12.0.1", - "@otplib/plugin-thirty-two": "^12.0.1" + "@otplib/core": "13.0.1" } }, "node_modules/@pkgjs/parseargs": { @@ -3139,6 +3160,15 @@ "dev": true, "license": "MIT" }, + "node_modules/@scure/base": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz", + "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==", + "license": "MIT", + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@sinclair/typebox": { "version": "0.24.51", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.51.tgz", @@ -11984,14 +12014,17 @@ "license": "MIT" }, "node_modules/otplib": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/otplib/-/otplib-12.0.1.tgz", - "integrity": "sha512-xDGvUOQjop7RDgxTQ+o4pOol0/3xSZzawTiPKRrHnQWAy0WjhNs/5HdIDJCrqC4MBynmjXgULc6YfioaxZeFgg==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/otplib/-/otplib-13.0.1.tgz", + "integrity": "sha512-YbvS7FwY2ZSzO5Zuw4vqz1eL8PvWzd+8Lgvstrc6XeD/NpAwI/EAujRs0kotlXbsAcPCMYuM3KxR+YYdOyIkyw==", "license": "MIT", "dependencies": { - "@otplib/core": "^12.0.1", - "@otplib/preset-default": "^12.0.1", - "@otplib/preset-v11": "^12.0.1" + "@otplib/core": "13.0.1", + "@otplib/hotp": "13.0.1", + "@otplib/plugin-base32-scure": "13.0.1", + "@otplib/plugin-crypto-noble": "13.0.1", + "@otplib/totp": "13.0.1", + "@otplib/uri": "13.0.1" } }, "node_modules/own-keys": { @@ -14222,14 +14255,6 @@ "dev": true, "license": "MIT" }, - "node_modules/thirty-two": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/thirty-two/-/thirty-two-1.0.2.tgz", - "integrity": "sha512-OEI0IWCe+Dw46019YLl6V10Us5bi574EvlJEOcAkB29IzQ/mYD1A6RyNHLjZPiHCmuodxvgF6U+vZO1L15lxVA==", - "engines": { - "node": ">=0.2.6" - } - }, "node_modules/tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", diff --git a/package.json b/package.json index 5f091008..94aa0e15 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "form-data": "^4.0.5", "husky": "^9.1.7", "lodash": "^4.17.21", - "otplib": "^12.0.1", + "otplib": "^13.0.1", "qs": "6.14.1", "stream-browserify": "^3.0.0" },