Socket
Socket
Sign inDemoInstall

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.1.0 to 16.1.1

dist/customBlocks.d.ts

9

dist/index.js

@@ -44,8 +44,9 @@ "use strict";

const isProduction = mode === 'production';
const filename = resourcePath.replace(/\?.*$/, '');
const { descriptor, errors } = compiler_sfc_1.parse(source, {
filename: resourcePath,
filename,
sourceMap,
});
// cache descriptor
descriptorCache_1.setDescriptor(resourcePath, descriptor);
descriptorCache_1.setDescriptor(filename, descriptor);
if (errors.length) {

@@ -60,5 +61,5 @@ errors.forEach((err) => {

const rawShortFilePath = path
.relative(rootContext || process.cwd(), resourcePath)
.relative(rootContext || process.cwd(), filename)
.replace(/^(\.\.[\/\\])+/, '');
const shortFilePath = rawShortFilePath.replace(/\\/g, '/') + resourceQuery;
const shortFilePath = rawShortFilePath.replace(/\\/g, '/');
const id = hash(isProduction

@@ -65,0 +66,0 @@ ? shortFilePath + '\n' + source.replace(/\r\n/g, '\n')

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

const vueLoaderUseIndex = vueUse.findIndex((u) => {
// FIXME: this code logic is incorrect when project paths starts with `vue-loader-something`
return /^vue-loader|(\/|\\|@)vue-loader/.test(u.loader || '');

@@ -37,0 +38,0 @@ });

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

const vueLoaderUseIndex = vueUse.findIndex((u) => {
// FIXME: this code logic is incorrect when project paths starts with `vue-loader-something`
return /^vue-loader|(\/|\\|@)vue-loader/.test(u.loader);

@@ -73,0 +74,0 @@ });

{
"name": "vue-loader",
"version": "16.1.0",
"version": "16.1.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Evan You",

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