New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/workbox

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/workbox - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="1.1.1"></a>
## [1.1.1](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@1.1.0...@nuxtjs/workbox@1.1.1) (2017-07-19)
### Bug Fixes
* **workbox:** don't use regexs ([19502d9](https://github.com/nuxt/modules/commit/19502d9))
<a name="1.1.0"></a>

@@ -8,0 +19,0 @@ # [1.1.0](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@1.0.1...@nuxtjs/workbox@1.1.0) (2017-07-19)

5

index.js

@@ -5,3 +5,2 @@ const path = require('path')

const fixUrl = url => url.replace(/\/\//g, '/').replace(':/', '://')
const wildcardRegex = url => '/' + fixUrl(url + '/.*').replace(/\//g, '\\/') + '/'
const isUrl = url => url.indexOf('http') === 0 || url.indexOf('//') === 0

@@ -43,3 +42,3 @@

{
urlPattern: wildcardRegex(publicPath),
urlPattern: fixUrl(publicPath + '/**'),
handler: 'cacheFirst'

@@ -49,3 +48,3 @@ },

{
urlPattern: wildcardRegex(routerBase),
urlPattern: fixUrl(routerBase + '/**'),
handler: 'networkFirst'

@@ -52,0 +51,0 @@ }

2

package.json
{
"name": "@nuxtjs/workbox",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc