File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ cp node_modules/@openpgp/web-stream-tools/lib/*.js $OUTDIR/lib/streams
73
73
STREAMS_REGEX=" s/'\.\/(streams|util|writer|reader|node-conversions)'/'\.\/\1\.js'/g"
74
74
STREAMS_FILES=$OUTDIR /lib/streams/*
75
75
# patch isUint8Array until https://github.com/openpgpjs/web-stream-tools/pull/23 is resolved
76
- ISUINT8ARRAY_REGEX=" s/^ (\s*)return\x20Uint8Array\.prototype\.isPrototypeOf\(input\);/\1return\x20Uint8Array\.prototype\.isPrototypeOf\(input\)\x20\|\|\x20globalThis\.Uint8Array\.prototype\.isPrototypeOf\(input\);/mg "
76
+ ISUINT8ARRAY_REGEX=" s/(\s*)return\x20Uint8Array\.prototype\.isPrototypeOf\(input\);/\1return\x20Uint8Array\.prototype\.isPrototypeOf\(input\)\x20\|\|\x20globalThis\.Uint8Array\.prototype\.isPrototypeOf\(input\);/g "
77
77
OPENPGP_FILE=$OUTDIR /lib/openpgp.js
78
78
if [[ " $OSTYPE " =~ ^darwin ]]; then # macOS needs additional parameter for backup files
79
79
sed -i ' ' -E $STREAMS_REGEX $STREAMS_FILES
You can’t perform that action at this time.
0 commit comments