forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path@expo+cli+0.22.28.patch
More file actions
26 lines (26 loc) · 1.22 KB
/
Copy path@expo+cli+0.22.28.patch
File metadata and controls
26 lines (26 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/node_modules/@expo/cli/build/src/utils/npm.js b/node_modules/@expo/cli/build/src/utils/npm.js
index b861322..289472e 100644
--- a/node_modules/@expo/cli/build/src/utils/npm.js
+++ b/node_modules/@expo/cli/build/src/utils/npm.js
@@ -170,7 +170,7 @@ async function extractNpmTarballAsync(stream, props) {
transformStream.on("data", (chunk)=>{
hash.update(chunk);
});
- await pipeline(stream, transformStream, _tar().default.extract({
+ await pipeline(stream, transformStream, _tar().extract({
cwd,
filter,
onentry: (0, _createFileTransform.createEntryResolver)(name),
diff --git a/node_modules/@expo/cli/build/src/utils/tar.js b/node_modules/@expo/cli/build/src/utils/tar.js
index 8bf12d8..091c43a 100644
--- a/node_modules/@expo/cli/build/src/utils/tar.js
+++ b/node_modules/@expo/cli/build/src/utils/tar.js
@@ -86,7 +86,7 @@ async function extractAsync(input, output) {
debug(`Extracting ${input} to ${output} using JS tar module`);
// tar node module has previously had problems with big files, and seems to
// be slower, so only use it as a backup.
- await _tar().default.extract({
+ await _tar().extract({
file: input,
cwd: output
});