Skip to content

Commit

Permalink
refactor(signer): add u unicode flag to regex (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Oct 21, 2023
1 parent 091d7c0 commit 71cf6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

const crypto = require('node:crypto')

const base64PaddingRE = /=/g
const base64PaddingRE = /=/gu

function Signer (secrets, algorithm = 'sha256') {
if (!(this instanceof Signer)) {
Expand Down

0 comments on commit 71cf6f5

Please sign in to comment.