@serwist/strategies
Advanced tools
Comparing version 9.0.0-preview.4 to 9.0.0-preview.5
import type { StrategyOptions } from "./Strategy.js"; | ||
import { Strategy } from "./Strategy.js"; | ||
import type { StrategyHandler } from "./StrategyHandler.js"; | ||
declare class StaleWhileRevalidate extends Strategy { | ||
export declare class StaleWhileRevalidate extends Strategy { | ||
/** | ||
@@ -34,3 +34,2 @@ * An implementation of the | ||
} | ||
export { StaleWhileRevalidate }; | ||
//# sourceMappingURL=StaleWhileRevalidate.d.ts.map |
@@ -30,3 +30,3 @@ import type { HandlerCallbackOptions, RouteHandlerObject, SerwistPlugin } from "@serwist/core"; | ||
*/ | ||
declare abstract class Strategy implements RouteHandlerObject { | ||
export declare abstract class Strategy implements RouteHandlerObject { | ||
cacheName: string; | ||
@@ -84,3 +84,2 @@ plugins: SerwistPlugin[]; | ||
} | ||
export { Strategy }; | ||
//# sourceMappingURL=Strategy.d.ts.map |
{ | ||
"name": "@serwist/strategies", | ||
"version": "9.0.0-preview.4", | ||
"version": "9.0.0-preview.5", | ||
"type": "module", | ||
@@ -33,3 +33,3 @@ "description": "A service worker helper library implementing common caching strategies.", | ||
"dependencies": { | ||
"@serwist/core": "9.0.0-preview.4" | ||
"@serwist/core": "9.0.0-preview.5" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
"typescript": "5.4.0-dev.20240206", | ||
"@serwist/constants": "9.0.0-preview.4" | ||
"@serwist/constants": "9.0.0-preview.5" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
@@ -33,3 +33,3 @@ /* | ||
* If the network request fails, this will throw a `SerwistError` exception. | ||
* | ||
* | ||
* @param options | ||
@@ -36,0 +36,0 @@ */ |
@@ -17,3 +17,3 @@ /* | ||
class StaleWhileRevalidate extends Strategy { | ||
export class StaleWhileRevalidate extends Strategy { | ||
/** | ||
@@ -110,3 +110,1 @@ * An implementation of the | ||
} | ||
export { StaleWhileRevalidate }; |
@@ -42,3 +42,3 @@ /* | ||
*/ | ||
abstract class Strategy implements RouteHandlerObject { | ||
export abstract class Strategy implements RouteHandlerObject { | ||
cacheName: string; | ||
@@ -205,3 +205,1 @@ plugins: SerwistPlugin[]; | ||
} | ||
export { Strategy }; |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
102983
2413
+ Added@serwist/core@9.0.0-preview.5(transitive)
- Removed@serwist/core@9.0.0-preview.4(transitive)