mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
chore: Upgrade pkce-challenge (no-changelog) (#14465)
This commit is contained in:
committed by
GitHub
parent
457870953a
commit
3816ca4b41
@@ -1,13 +0,0 @@
|
||||
diff --git a/dist/main.js b/dist/main.js
|
||||
index 86be84f44210b26583e0a7f1732acd8b98a5e701..a2b05be6a45355704fedf43b51a34793580eaf6c 100644
|
||||
--- a/dist/main.js
|
||||
+++ b/dist/main.js
|
||||
@@ -42,7 +42,7 @@ $parcel$export(module.exports, "verifyChallenge", () => $f5bfd4ce37214f4f$export
|
||||
* @param size The desired length of the string
|
||||
* @returns The random string
|
||||
*/ function $f5bfd4ce37214f4f$var$random(size) {
|
||||
- const mask = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~";
|
||||
+ const mask = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._";
|
||||
let result = "";
|
||||
const randomUints = $f5bfd4ce37214f4f$var$getRandomValues(size);
|
||||
for(let i = 0; i < size; i++){
|
||||
25
patches/pkce-challenge@5.0.0.patch
Normal file
25
patches/pkce-challenge@5.0.0.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff --git a/dist/index.node.js b/dist/index.node.js
|
||||
index 9a56dcef7f312d2061975dc496281b1673a229c4..8b86b4a7f07656d6711e54cb699d0dc79b08a8d3 100644
|
||||
--- a/dist/index.node.js
|
||||
+++ b/dist/index.node.js
|
||||
@@ -16,7 +16,7 @@ async function getRandomValues(size) {
|
||||
* @returns The random string
|
||||
*/
|
||||
async function random(size) {
|
||||
- const mask = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~";
|
||||
+ const mask = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._";
|
||||
let result = "";
|
||||
const randomUints = await getRandomValues(size);
|
||||
for (let i = 0; i < size; i++) {
|
||||
diff --git a/package.json b/package.json
|
||||
index a51ede0564b61a237e35e8c5e718251c666ccaa5..9a015872b2f8f45dc5306843599304ef9a3a83c1 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -4,6 +4,7 @@
|
||||
"description": "Generate or verify a Proof Key for Code Exchange (PKCE) challenge pair",
|
||||
"browser": "dist/index.browser.js",
|
||||
"type": "module",
|
||||
+ "types": "./dist/index.node.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": {
|
||||
Reference in New Issue
Block a user