metro-cache
Advanced tools
Comparing version 0.80.1 to 0.80.2
{ | ||
"name": "metro-cache", | ||
"version": "0.80.1", | ||
"version": "0.80.2", | ||
"description": "🚇 Cache layers for Metro.", | ||
@@ -15,7 +15,7 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"metro-core": "0.80.1", | ||
"metro-core": "0.80.2", | ||
"rimraf": "^3.0.2" | ||
}, | ||
"devDependencies": { | ||
"metro-memory-fs": "0.80.1" | ||
"metro-memory-fs": "0.80.2" | ||
}, | ||
@@ -22,0 +22,0 @@ "license": "MIT", |
@@ -45,3 +45,8 @@ /** | ||
); | ||
Logger.createEntry(`CACHE_ERROR: ${err.message} (${err.code})`); | ||
Logger.log( | ||
Logger.createEntry({ | ||
action_name: "HttpGetStore:Warning", | ||
log_entry_label: `${err.message} (${err.code})`, | ||
}) | ||
); | ||
this._warned = true; | ||
@@ -48,0 +53,0 @@ } |
@@ -110,2 +110,5 @@ /** | ||
}); | ||
req.on("timeout", () => { | ||
req.destroy(new Error("Request timed out")); | ||
}); | ||
req.end(); | ||
@@ -146,2 +149,5 @@ }); | ||
}); | ||
req.on("timeout", () => { | ||
req.destroy(new Error("Request timed out")); | ||
}); | ||
gzip.pipe(req); | ||
@@ -148,0 +154,0 @@ if (value instanceof Buffer) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37761
699
+ Addedmetro-core@0.80.2(transitive)
+ Addedmetro-resolver@0.80.2(transitive)
- Removedmetro-core@0.80.1(transitive)
- Removedmetro-resolver@0.80.1(transitive)
Updatedmetro-core@0.80.2