Skip to content

Commit

Permalink
2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akdombrowski committed Oct 31, 2024
1 parent d446637 commit 8975b64
Show file tree
Hide file tree
Showing 9 changed files with 16,715 additions and 1,034 deletions.
13,397 changes: 13,397 additions & 0 deletions .pnp.cjs

Large diffs are not rendered by default.

2,126 changes: 2,126 additions & 0 deletions .pnp.loader.mjs

Large diffs are not rendered by default.

Binary file modified .yarn/install-state.gz
Binary file not shown.
697 changes: 353 additions & 344 deletions .yarn/releases/yarn-4.4.0.cjs → .yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarn/versions/0f74597d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
releases:
jwt-authn: minor
6 changes: 4 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
yarnPath: .yarn/releases/yarn-4.4.0.cjs
enableInlineBuilds: true
enableHardenedMode: false

enableInlineBuilds: true

yarnPath: .yarn/releases/yarn-4.5.1.cjs
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if(passphrase){try{pemKey=_crypto.default.createPrivateKey({key:privateKey,forma
// algorithm is dependent upon the key type
var isVerified=_crypto.default.verify(null,Buffer.from(headerPayload,"ascii"),{key:keyObject},Buffer.from(signature,"base64url"));/*
* Could also use this
*/ // const verify = crypto.createVerify("SHA256");
*/// const verify = crypto.createVerify("SHA256");
// verify.update(headerPayload, "ascii");
// verify.end();
// verify.verify(keyObject, signature, "base64")
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jwt-authn",
"version": "2.1.0",
"version": "2.2.0",
"description": "JWT decoder, encoder, and more with only Node >=18.18.2 as a requirement and clipboardy as the only dependency.",
"author": "Anthony Dombrowski",
"license": "MIT",
Expand Down Expand Up @@ -66,22 +66,22 @@
"node": ">=15.0"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/register": "^7.24.6",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"babel-plugin-istanbul": "^7.0.0",
"braces": ">=3.0.3",
"chai": "*",
"cross-env": "^7.0.3",
"mocha": "*",
"nyc": "^17.0.0",
"sinon": "^19.0.0",
"terser": "^5.31.5"
"nyc": "^17.1.0",
"sinon": "^19.0.2",
"terser": "^5.36.0"
},
"dependencies": {
"clipboardy": "^4.0.0"
},
"packageManager": "yarn@4.4.0"
"packageManager": "yarn@4.5.1"
}
Loading

0 comments on commit 8975b64

Please sign in to comment.