Skip to content

Commit

Permalink
chore: bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 22, 2025
1 parent 2cd915e commit 1421bfa
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .electron_flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ echo $(electron -i <<< 'process.exit(0)' 2> /dev/null | grep "Using" | awk '{$1=

electron -i <<< 'process.exit(parseInt(process.versions.node, 10))' &> /dev/null
NODE_VERSION=$?
export NODE_OPTIONS='--import=tsx/esm --conditions=browser --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'
export NODE_OPTIONS='--import=tsx/esm --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'
2 changes: 1 addition & 1 deletion .node_flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ echo "Using Node.js $(node --version)"

node -e 'process.exit(parseInt(process.versions.node, 10))' &> /dev/null
NODE_VERSION=$?
export NODE_OPTIONS='--import=tsx/esm --conditions=browser --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'
export NODE_OPTIONS='--import=tsx/esm --tls-cipher-list="ECDHE-RSA-AES128-GCM-SHA256 ECDHE-RSA-AES256-GCM-SHA384 ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384"'
2 changes: 1 addition & 1 deletion conformance/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ switch (plan.name) {
}

async function importPrivateKey(alg: string, jwk: JWK) {
const key = await importJWK<CryptoKey>(jwk, alg)
const key = await importJWK(jwk, alg)
if (!('type' in key)) {
throw new Error()
}
Expand Down
18 changes: 14 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"test": "bash -c 'source .node_flags.sh && ava'"
},
"dependencies": {
"jose": "^5.10.0",
"jose": "^6.0.1",
"oauth4webapi": "^3.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ async function decrypt(
},
{ keyManagementAlgorithms, contentEncryptionAlgorithms },
)
.catch((err) => {
.catch((err: Error) => {
if (err instanceof JOSEError) {
throw e('decryption failed', err, 'OAUTH_DECRYPTION_FAILED')
}
Expand Down
4 changes: 2 additions & 2 deletions tap/import_map.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"imports": {
"oauth4webapi": "../node_modules/oauth4webapi/build/index.js",
"jose": "../node_modules/jose/dist/browser/index.js",
"jose/errors": "../node_modules/jose/dist/browser/util/errors.js",
"jose": "../node_modules/jose/dist/webapi/index.js",
"jose/errors": "../node_modules/jose/dist/webapi/util/errors.js",
"qunit": "../node_modules/qunit/qunit/qunit.js",
"../src/index.js": "../src/index.ts",
"./end2end-client-credentials.js": "./end2end-client-credentials.ts",
Expand Down

0 comments on commit 1421bfa

Please sign in to comment.