workbox-cacheable-response
Advanced tools
Comparing version 6.4.2 to 6.5.0
"use strict"; | ||
// @ts-ignore | ||
try { | ||
self['workbox:cacheable-response:6.4.1'] && _(); | ||
self['workbox:cacheable-response:6.4.2'] && _(); | ||
} | ||
catch (e) { } |
@@ -6,3 +6,3 @@ this.workbox = this.workbox || {}; | ||
try { | ||
self['workbox:cacheable-response:6.4.1'] && _(); | ||
self['workbox:cacheable-response:6.4.2'] && _(); | ||
} catch (e) {} | ||
@@ -23,3 +23,3 @@ | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -147,3 +147,3 @@ | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -150,0 +150,0 @@ |
@@ -1,2 +0,2 @@ | ||
this.workbox=this.workbox||{},this.workbox.cacheableResponse=function(s){"use strict";try{self["workbox:cacheable-response:6.4.1"]&&_()}catch(s){}class t{constructor(s={}){this.O=s.statuses,this._=s.headers}isResponseCacheable(s){let t=!0;return this.O&&(t=this.O.includes(s.status)),this._&&t&&(t=Object.keys(this._).some((t=>s.headers.get(t)===this._[t]))),t}}return s.CacheableResponse=t,s.CacheableResponsePlugin=class{constructor(s){this.cacheWillUpdate=async({response:s})=>this.G.isResponseCacheable(s)?s:null,this.G=new t(s)}},s}({}); | ||
this.workbox=this.workbox||{},this.workbox.cacheableResponse=function(s){"use strict";try{self["workbox:cacheable-response:6.4.2"]&&_()}catch(s){}class t{constructor(s={}){this.O=s.statuses,this._=s.headers}isResponseCacheable(s){let t=!0;return this.O&&(t=this.O.includes(s.status)),this._&&t&&(t=Object.keys(this._).some((t=>s.headers.get(t)===this._[t]))),t}}return s.CacheableResponse=t,s.CacheableResponsePlugin=class{constructor(s){this.cacheWillUpdate=async({response:s})=>this.G.isResponseCacheable(s)?s:null,this.G=new t(s)}},s}({}); | ||
//# sourceMappingURL=workbox-cacheable-response.prod.js.map |
@@ -14,3 +14,3 @@ import './_version.js'; | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -17,0 +17,0 @@ declare class CacheableResponse { |
@@ -19,3 +19,3 @@ /* | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -22,0 +22,0 @@ class CacheableResponse { |
@@ -9,3 +9,3 @@ import { WorkboxPlugin } from 'workbox-core/types.js'; | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -12,0 +12,0 @@ declare class CacheableResponsePlugin implements WorkboxPlugin { |
@@ -15,3 +15,3 @@ /* | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -18,0 +18,0 @@ class CacheableResponsePlugin { |
{ | ||
"name": "workbox-cacheable-response", | ||
"version": "6.4.2", | ||
"version": "6.5.0", | ||
"license": "MIT", | ||
@@ -25,5 +25,5 @@ "author": "Google's Web DevRel Team", | ||
"dependencies": { | ||
"workbox-core": "6.4.2" | ||
"workbox-core": "6.5.0" | ||
}, | ||
"gitHead": "9fae1320327a3a75bf71df9a76708978bd252428" | ||
"gitHead": "d796009eadcba556b2795e0fea7d71a241f535e0" | ||
} |
// @ts-ignore | ||
try{self['workbox:cacheable-response:6.4.2']&&_()}catch(e){} | ||
try{self['workbox:cacheable-response:6.5.0']&&_()}catch(e){} |
@@ -26,3 +26,3 @@ /* | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -29,0 +29,0 @@ class CacheableResponse { |
@@ -21,3 +21,3 @@ /* | ||
* | ||
* @memberof module:workbox-cacheable-response | ||
* @memberof workbox-cacheable-response | ||
*/ | ||
@@ -24,0 +24,0 @@ class CacheableResponsePlugin implements WorkboxPlugin { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
68498
+ Addedworkbox-core@6.5.0(transitive)
- Removedworkbox-core@6.4.2(transitive)
Updatedworkbox-core@6.5.0