-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Upstash Redis implementation (#8350)
* New Upstash Redis implementation * Update packages/cache/upstash-redis/src/index.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update packages/cache/upstash-redis/src/index.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Fix tests * Fix tests * Lets go * Go * Better testing * Lets go * .. --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information
1 parent
fc44a1e
commit 40673d5
Showing
11 changed files
with
793 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@graphql-mesh/cache-upstash-redis': patch | ||
--- | ||
|
||
New Upstash Redis implementation |
21 changes: 21 additions & 0 deletions
21
.yarn/patches/jest-message-util-npm-29.7.0-7f88b6e8d1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/build/index.js b/build/index.js | ||
index d1cff260e9c9c17b57efde19268d563c35542682..a5c8543f3aa21f5a031f204e9f4c4a6d264cdabc 100644 | ||
--- a/build/index.js | ||
+++ b/build/index.js | ||
@@ -339,9 +339,13 @@ const getTopFrame = lines => { | ||
const parsedFrame = stackUtils.parseLine(line.trim()); | ||
if (parsedFrame && parsedFrame.file) { | ||
if (parsedFrame.file.startsWith('file://')) { | ||
- parsedFrame.file = (0, _slash.default)( | ||
- (0, _url.fileURLToPath)(parsedFrame.file) | ||
- ); | ||
+ try { | ||
+ parsedFrame.file = (0, _slash.default)( | ||
+ (0, _url.fileURLToPath)(parsedFrame.file) | ||
+ ); | ||
+ } catch(e) { | ||
+ console.error(e); | ||
+ } | ||
} | ||
return parsedFrame; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.