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.4 to 1.1.5

11

CHANGELOG.md

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

<a name="1.1.5"></a>
## [1.1.5](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@1.1.4...@nuxtjs/workbox@1.1.5) (2017-08-11)
### Bug Fixes
* **workbox:** explicitly provide globDirectory ([6c4f984](https://github.com/nuxt/modules/commit/6c4f984))
<a name="1.1.4"></a>

@@ -8,0 +19,0 @@ ## [1.1.4](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@1.1.3...@nuxtjs/workbox@1.1.4) (2017-08-06)

5

index.js
const path = require('path')
const workboxPlugin = require('workbox-webpack-plugin')
const WorkboxPlugin = require('workbox-webpack-plugin')

@@ -28,3 +28,3 @@ const fixUrl = url => url.replace(/\/\//g, '/').replace(':/', '://')

this.options.build.plugins.push(new workboxPlugin(Object.assign({
this.options.build.plugins.push(new WorkboxPlugin(Object.assign({
swDest: path.resolve(this.options.srcDir, 'static', swFileName),

@@ -35,2 +35,3 @@ directoryIndex: '/',

globPatterns: ['**\/*.{js,css}'],
globDirectory: this.options.rootDir,
modifyUrlPrefix: {

@@ -37,0 +38,0 @@ '': fixUrl(publicPath)

2

package.json
{
"name": "@nuxtjs/workbox",
"version": "1.1.4",
"version": "1.1.5",
"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