Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vuetify-loader

Package Overview
Dependencies
Maintainers
6
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuetify-loader - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

2

dev4/webpack.config.js

@@ -56,3 +56,3 @@ var path = require('path')

loader: 'url-loader',
options: { limit: 8000 }
options: { limit: 1024 }
}

@@ -59,0 +59,0 @@ ]

{
"name": "vuetify-loader",
"version": "1.7.1",
"version": "1.7.2",
"description": "A Webpack plugin for treeshaking Vuetify components and more",

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

@@ -21,6 +21,6 @@ const loaderUtils = require('loader-utils')

/** @see https://github.com/zouhir/lqip-loader */
const contentIsUrlExport = /^export default "data:(.*)base64,(.*)/.test(
const contentIsUrlExport = /^(export default|module.exports =) "data:(.*)base64,(.*)/.test(
content
)
const contentIsFileExport = /^export default (.*)/.test(content)
const contentIsFileExport = /^(export default|module.exports =) (.*)/.test(content)
let source = ''

@@ -36,3 +36,3 @@

}
source = content.match(/^export default (.*);/)[1]
source = content.match(/^(?:export default|module.exports =) (.*);/)[1]
}

@@ -47,3 +47,3 @@

null,
`export default {src:${source},` + JSON.stringify(result).slice(1)
`module.exports = {src:${source},` + JSON.stringify(result).slice(1)
)

@@ -50,0 +50,0 @@ }

@@ -32,3 +32,3 @@ const { hyphenate } = require('../lib/util')

}
return `require("${url}?vuetify-preload").default`
return `require("${url}?vuetify-preload")`
} else {

@@ -35,0 +35,0 @@ return `"${url}"`

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