workbox-cacheable-response
Advanced tools
Comparing version 5.0.0-alpha.1 to 5.0.0-alpha.2
// @ts-ignore | ||
try { | ||
self['workbox:cacheable-response:5.0.0-alpha.1'] && _(); | ||
self['workbox:cacheable-response:5.0.0-alpha.2'] && _(); | ||
} | ||
catch (e) { } |
@@ -7,3 +7,3 @@ this.workbox = this.workbox || {}; | ||
try { | ||
self['workbox:cacheable-response:5.0.0-alpha.1'] && _(); | ||
self['workbox:cacheable-response:5.0.0-alpha.2'] && _(); | ||
} catch (e) {} | ||
@@ -187,10 +187,2 @@ | ||
/* | ||
Copyright 2018 Google LLC | ||
Use of this source code is governed by an MIT-style | ||
license that can be found in the LICENSE file or at | ||
https://opensource.org/licenses/MIT. | ||
*/ | ||
exports.CacheableResponse = CacheableResponse; | ||
@@ -197,0 +189,0 @@ exports.Plugin = Plugin; |
@@ -1,2 +0,2 @@ | ||
this.workbox=this.workbox||{},this.workbox.cacheableResponse=function(s){"use strict";try{self["workbox:cacheable-response:5.0.0-alpha.1"]&&_()}catch(s){}class t{constructor(s={}){this.s=s.statuses,this.t=s.headers}isResponseCacheable(s){let t=!0;return this.s&&(t=this.s.includes(s.status)),this.t&&t&&(t=Object.keys(this.t).some(t=>s.headers.get(t)===this.t[t])),t}}return s.CacheableResponse=t,s.Plugin=class{constructor(s){this.cacheWillUpdate=(async({response:s})=>this.i.isResponseCacheable(s)?s:null),this.i=new t(s)}},s}({}); | ||
this.workbox=this.workbox||{},this.workbox.cacheableResponse=function(s){"use strict";try{self["workbox:cacheable-response:5.0.0-alpha.2"]&&_()}catch(s){}class t{constructor(s={}){this.s=s.statuses,this.t=s.headers}isResponseCacheable(s){let t=!0;return this.s&&(t=this.s.includes(s.status)),this.t&&t&&(t=Object.keys(this.t).some(t=>s.headers.get(t)===this.t[t])),t}}return s.CacheableResponse=t,s.Plugin=class{constructor(s){this.cacheWillUpdate=(async({response:s})=>this.i.isResponseCacheable(s)?s:null),this.i=new t(s)}},s}({}); | ||
//# sourceMappingURL=workbox-cacheable-response.prod.js.map |
{ | ||
"name": "workbox-cacheable-response", | ||
"version": "5.0.0-alpha.1", | ||
"version": "5.0.0-alpha.2", | ||
"license": "MIT", | ||
@@ -30,5 +30,5 @@ "author": "Google's Web DevRel Team", | ||
"dependencies": { | ||
"workbox-core": "^5.0.0-alpha.1" | ||
"workbox-core": "^5.0.0-alpha.2" | ||
}, | ||
"gitHead": "20d2110ddace710a46af06addd4977cae08f5942" | ||
"gitHead": "0cb0029b692c3802545238fe59b6d6179ca32f6c" | ||
} |
// @ts-ignore | ||
try{self['workbox:cacheable-response:5.0.0-alpha.1']&&_()}catch(e){} | ||
try{self['workbox:cacheable-response:5.0.0-alpha.2']&&_()}catch(e){} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
0
66454
653
Updatedworkbox-core@^5.0.0-alpha.2