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

vue-loader

Package Overview
Dependencies
Maintainers
2
Versions
304
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-loader - npm Package Compare versions

Comparing version 16.0.0-beta.9 to 16.0.0-beta.10

5

dist/index.js

@@ -118,4 +118,7 @@ "use strict";

let hasCSSModules = false;
const nonWhitespaceRE = /\S+/;
if (descriptor.styles.length) {
descriptor.styles.forEach((style, i) => {
descriptor.styles
.filter((style) => style.src || nonWhitespaceRE.test(style.content))
.forEach((style, i) => {
const src = style.src || resourcePath;

@@ -122,0 +125,0 @@ const attrsQuery = attrsToQuery(style.attrs, 'css');

9

dist/pluginWebpack5.js

@@ -12,2 +12,3 @@ "use strict";

const BasicMatcherRulePlugin = require('webpack/lib/rules/BasicMatcherRulePlugin');
const DescriptionDataMatcherRulePlugin = require('webpack/lib/rules/DescriptionDataMatcherRulePlugin');
const UseEffectRulePlugin = require('webpack/lib/rules/UseEffectRulePlugin');

@@ -17,10 +18,14 @@ const RuleSetCompiler = require('webpack/lib/rules/RuleSetCompiler');

new BasicMatcherRulePlugin('test', 'resource'),
new BasicMatcherRulePlugin('mimetype'),
new BasicMatcherRulePlugin('dependency'),
new BasicMatcherRulePlugin('include', 'resource'),
new BasicMatcherRulePlugin('exclude', 'resource', true),
new BasicMatcherRulePlugin('conditions'),
new BasicMatcherRulePlugin('resource'),
new BasicMatcherRulePlugin('conditions'),
new BasicMatcherRulePlugin('resourceQuery'),
new BasicMatcherRulePlugin('resourceFragment'),
new BasicMatcherRulePlugin('realResource'),
new BasicMatcherRulePlugin('issuer'),
new BasicMatcherRulePlugin('compiler'),
new DescriptionDataMatcherRulePlugin(),
new BasicEffectRulePlugin('type'),

@@ -30,3 +35,3 @@ new BasicEffectRulePlugin('sideEffects'),

new BasicEffectRulePlugin('resolve'),
new UseEffectRulePlugin(),
new UseEffectRulePlugin()
]);

@@ -33,0 +38,0 @@ class VueLoaderPlugin {

{
"name": "vue-loader",
"version": "16.0.0-beta.9",
"version": "16.0.0-beta.10",
"license": "MIT",

@@ -15,3 +15,3 @@ "author": "Evan You",

"pretest": "tsc",
"test": "jest",
"test": "jest --coverage",
"dev-example": "webpack-dev-server --config example/webpack.config.js --inline --hot",

@@ -62,2 +62,3 @@ "build-example": "rm -rf example/dist && webpack --config example/webpack.config.js --env.prod",

"null-loader": "^4.0.1",
"postcss-loader": "^4.0.4",
"prettier": "^2.1.1",

@@ -67,5 +68,6 @@ "pug": "^2.0.0",

"source-map": "^0.6.1",
"style-loader": "^1.2.1",
"style-loader": "^2.0.0",
"stylus": "^0.54.7",
"stylus-loader": "^3.0.2",
"stylus-loader": "^4.1.1",
"sugarss": "^3.0.1",
"ts-jest": "^26.2.0",

@@ -72,0 +74,0 @@ "ts-loader": "^8.0.6",

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