Socket
Socket
Sign inDemoInstall

vue-style-loader

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-style-loader - npm Package Compare versions

Comparing version 4.0.2 to 4.1.0

9

index.js

@@ -9,2 +9,3 @@ /*

var hash = require('hash-sum')
var qs = require('querystring')

@@ -14,4 +15,2 @@ module.exports = function () {}

module.exports.pitch = function (remainingRequest) {
if (this.cacheable) this.cacheable()
var isServer = this.target === 'node'

@@ -30,3 +29,7 @@ var isProduction = this.minimize || process.env.NODE_ENV === 'production'

// style embedded in vue file --> component lifecycle linked
var isVue = /"vue":true/.test(remainingRequest) || options.manualInject
var isVue = (
/"vue":true/.test(remainingRequest) ||
options.manualInject ||
qs.parse(this.resourceQuery.slice(1)).vue != null
)

@@ -33,0 +36,0 @@ var shared = [

{
"name": "vue-style-loader",
"version": "4.0.2",
"version": "4.1.0",
"author": "Evan You",

@@ -5,0 +5,0 @@ "description": "Vue.js style loader module for webpack",

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