Bump @noble/ciphers to v2

This commit is contained in:
dependabot[bot] 2025-10-17 15:48:23 +00:00 committed by larabr
parent c40eb64743
commit d378219031
No known key found for this signature in database
GPG Key ID: 2A4BEC40729185DD
8 changed files with 12 additions and 12 deletions

10
package-lock.json generated
View File

@ -10,7 +10,7 @@
"license": "LGPL-3.0+", "license": "LGPL-3.0+",
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.37.0", "@eslint/js": "^9.37.0",
"@noble/ciphers": "^1.3.0", "@noble/ciphers": "^2.0.1",
"@noble/curves": "^2.0.1", "@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1", "@noble/hashes": "^2.0.1",
"@openpgp/jsdoc": "^3.6.11", "@openpgp/jsdoc": "^3.6.11",
@ -1028,13 +1028,13 @@
} }
}, },
"node_modules/@noble/ciphers": { "node_modules/@noble/ciphers": {
"version": "1.3.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz", "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.0.1.tgz",
"integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==", "integrity": "sha512-xHK3XHPUW8DTAobU+G0XT+/w+JLM7/8k1UFdB5xg/zTFPnFCobhftzw8wl4Lw2aq/Rvir5pxfZV5fEazmeCJ2g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": "^14.21.3 || >=16" "node": ">= 20.19.0"
}, },
"funding": { "funding": {
"url": "https://paulmillr.com/funding/" "url": "https://paulmillr.com/funding/"

View File

@ -64,7 +64,7 @@
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.37.0", "@eslint/js": "^9.37.0",
"@noble/ciphers": "^1.3.0", "@noble/ciphers": "^2.0.1",
"@noble/curves": "^2.0.1", "@noble/curves": "^2.0.1",
"@noble/hashes": "^2.0.1", "@noble/hashes": "^2.0.1",
"@openpgp/jsdoc": "^3.6.11", "@openpgp/jsdoc": "^3.6.11",

View File

@ -21,7 +21,7 @@
* @module crypto/aes_kw * @module crypto/aes_kw
*/ */
import { aeskw as nobleAesKW } from '@noble/ciphers/aes'; import { aeskw as nobleAesKW } from '@noble/ciphers/aes.js';
import { getCipherParams } from './cipher'; import { getCipherParams } from './cipher';
import util from '../util'; import util from '../util';

View File

@ -21,7 +21,7 @@
* @module crypto/mode/cfb * @module crypto/mode/cfb
*/ */
import { cfb as nobleAesCfb, unsafe as nobleAesHelpers } from '@noble/ciphers/aes'; import { cfb as nobleAesCfb, unsafe as nobleAesHelpers } from '@noble/ciphers/aes.js';
import { transform as streamTransform } from '@openpgp/web-stream-tools'; import { transform as streamTransform } from '@openpgp/web-stream-tools';
import util from '../../util'; import util from '../../util';

View File

@ -21,7 +21,7 @@
* @module crypto/mode/eax * @module crypto/mode/eax
*/ */
import { ctr as nobleAesCtr } from '@noble/ciphers/aes'; import { ctr as nobleAesCtr } from '@noble/ciphers/aes.js';
import CMAC from '../cmac'; import CMAC from '../cmac';
import util from '../../util'; import util from '../../util';
import enums from '../../enums'; import enums from '../../enums';

View File

@ -21,7 +21,7 @@
* @module crypto/mode/gcm * @module crypto/mode/gcm
*/ */
import { gcm as nobleAesGcm } from '@noble/ciphers/aes'; import { gcm as nobleAesGcm } from '@noble/ciphers/aes.js';
import util from '../../util'; import util from '../../util';
import enums from '../../enums'; import enums from '../../enums';

View File

@ -20,7 +20,7 @@
* @module crypto/mode/ocb * @module crypto/mode/ocb
*/ */
import { cbc as nobleAesCbc } from '@noble/ciphers/aes'; import { cbc as nobleAesCbc } from '@noble/ciphers/aes.js';
import { getCipherParams } from '../cipher'; import { getCipherParams } from '../cipher';
import util from '../../util'; import util from '../../util';

View File

@ -4,7 +4,7 @@
* @module crypto/cmac * @module crypto/cmac
*/ */
import { cbc as nobleAesCbc } from '@noble/ciphers/aes'; import { cbc as nobleAesCbc } from '@noble/ciphers/aes.js';
import util from '../util'; import util from '../util';
const webCrypto = util.getWebCrypto(); const webCrypto = util.getWebCrypto();