You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: Work around test failure in newer NodeJS versions (#12830)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"tsc": "tsc --project tsconfig.json",
|
||||
"watch": "tsc --watch --preserveWatchOutput --project tsconfig.json",
|
||||
"generatePluginTypes": "rm -rf ./plugin_types && yarn tsc --declaration --declarationDir ./plugin_types --project tsconfig.json",
|
||||
"test": "node --security-revert=CVE-2023-46809 ./node_modules/.bin/jest --verbose=false",
|
||||
"test": "jest",
|
||||
"test-ci": "yarn test"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@@ -6,6 +6,9 @@ const nodeRSAOptions: NodeRSA.Options = {
|
||||
// app when decrypted by RN-RSA.
|
||||
// https://github.com/amitaymolko/react-native-rsa-native/issues/66#issuecomment-932768139
|
||||
encryptionScheme: 'pkcs1',
|
||||
|
||||
// Allows NodeRSA to work with pkcs1-v1.5 in newer NodeJS versions:
|
||||
environment: 'browser',
|
||||
};
|
||||
|
||||
const rsa: RSA = {
|
||||
|
Reference in New Issue
Block a user