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 3.0.0 to 3.0.1

13

lib/addStylesServer.js

@@ -8,13 +8,7 @@ var listToStyles = require('./listToStyles')

if (context) {
var styles = context._styles
if (!styles) {
styles = context._styles = {}
if (!context.hasOwnProperty('styles')) {
Object.defineProperty(context, 'styles', {
enumberable: true,
get : function() {
return (
context._renderedStyles ||
(context._renderedStyles = renderStyles(styles))
)
get: function() {
return renderStyles(context._styles)
}

@@ -24,2 +18,3 @@ })

var styles = context._styles || (context._styles = {})
list = listToStyles(parentId, list)

@@ -26,0 +21,0 @@ if (isProduction) {

{
"name": "vue-style-loader",
"version": "3.0.0",
"version": "3.0.1",
"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