-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sdk jwt revocation verification (#231)
Signed-off-by: Javier Ribó <[email protected]>
- Loading branch information
1 parent
a8c0b21
commit 115c2c6
Showing
18 changed files
with
7,381 additions
and
3,767 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,14 @@ | ||
#!/bin/bash | ||
FILE="./node_modules/rxdb" | ||
set -e | ||
# Patching RXDB package for 2 main reasons | ||
# 1. Its using crypto-js which is an insecure dependency we don't want to even | ||
# include in our package-locks, its 100% not used as we have created as we have | ||
# created our own package | ||
# 2. The second one is around a replication package that rxdb uses | ||
# firebase which includes a medium severity vuleranility which we also don't | ||
# want to be including in our package locks, despite 100% not being used. | ||
# Workaround: We install | ||
rm -rf ./package-lock.json | ||
rm -rf ./node_modules/.package-lock.json | ||
npm i --ignore-scripts |
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 @@ | ||
#!/bin/bash | ||
FILE="./node_modules/rxdb" | ||
set -e | ||
|
||
|
||
|
||
|
||
if [ -z "./node_modules/rxdb/patched/done" ]; then | ||
echo "preinstall completed" | ||
else | ||
npm i [email protected] --ignore-scripts | ||
npx patch-package | ||
touch ./node_modules/rxdb/patched/done | ||
fi | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
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
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
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
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.