mobiletto-base
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -1,2 +0,2 @@ | ||
import { LRUCache } from "lru-cache/dist/mjs"; | ||
import { LRUCache } from "lru-cache"; | ||
export type Cacheable = string | number | boolean | NonNullable<object>; | ||
@@ -3,0 +3,0 @@ export interface CacheLike { |
@@ -13,3 +13,3 @@ "use strict"; | ||
exports.DISABLED_CACHE = exports.AwaitableLRU = void 0; | ||
const mjs_1 = require("lru-cache/dist/mjs"); | ||
const lru_cache_1 = require("lru-cache"); | ||
class AwaitableLRU { | ||
@@ -25,3 +25,3 @@ constructor(size = 100) { | ||
this.flush = () => __awaiter(this, void 0, void 0, function* () { return Promise.resolve(this.lru.clear()); }); | ||
this.lru = new mjs_1.LRUCache({ max: size }); | ||
this.lru = new lru_cache_1.LRUCache({ max: size }); | ||
} | ||
@@ -28,0 +28,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { LRUCache } from "lru-cache/dist/mjs"; | ||
import { LRUCache } from "lru-cache"; | ||
export type Cacheable = string | number | boolean | NonNullable<object>; | ||
@@ -3,0 +3,0 @@ export interface CacheLike { |
@@ -10,3 +10,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { LRUCache } from "lru-cache/dist/mjs"; | ||
import { LRUCache } from "lru-cache"; | ||
export class AwaitableLRU { | ||
@@ -13,0 +13,0 @@ constructor(size = 100) { |
{ | ||
"name": "mobiletto-base", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A storage layer that presents a uniform interface to Amazon S3, Backblaze B2, local and other storage systems.", |
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
157258