metro-cache
Advanced tools
Comparing version 0.78.0 to 0.78.1
{ | ||
"name": "metro-cache", | ||
"version": "0.78.0", | ||
"version": "0.78.1", | ||
"description": "🚇 Cache layers for Metro.", | ||
@@ -15,7 +15,7 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"metro-core": "0.78.0", | ||
"metro-core": "0.78.1", | ||
"rimraf": "^3.0.2" | ||
}, | ||
"devDependencies": { | ||
"metro-memory-fs": "0.78.0" | ||
"metro-memory-fs": "0.78.1" | ||
}, | ||
@@ -22,0 +22,0 @@ "license": "MIT", |
@@ -23,4 +23,4 @@ /** | ||
get(key: Buffer): Promise<T | null>; | ||
set(key: Buffer, value: T): void; | ||
set(key: Buffer, value: T): Promise<void>; | ||
get isDisabled(): boolean; | ||
} |
@@ -66,3 +66,3 @@ /** | ||
} | ||
set(key, value) { | ||
async set(key, value) { | ||
const stores = this._stores; | ||
@@ -83,7 +83,3 @@ const stop = this._hits.get(key); | ||
} | ||
Promise.all(promises).catch((err) => { | ||
process.nextTick(() => { | ||
throw err; | ||
}); | ||
}); | ||
await Promise.all(promises); | ||
} | ||
@@ -90,0 +86,0 @@ |
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
37174
688
+ Addedmetro-core@0.78.1(transitive)
+ Addedmetro-resolver@0.78.1(transitive)
- Removedmetro-core@0.78.0(transitive)
- Removedmetro-resolver@0.78.0(transitive)
Updatedmetro-core@0.78.1