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.4 to 16.0.0-beta.5

2

dist/index.d.ts

@@ -7,3 +7,3 @@ import webpack from 'webpack';

transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'];
compiler?: TemplateCompiler;
compiler?: TemplateCompiler | string;
compilerOptions?: CompilerOptions;

@@ -10,0 +10,0 @@ hotReload?: boolean;

@@ -25,2 +25,9 @@ "use strict";

const scopeId = query.scoped ? `data-v-${query.id}` : null;
let compiler;
if (typeof options.compiler === 'string') {
compiler = require(options.compiler);
}
else {
compiler = options.compiler;
}
const compiled = compiler_sfc_1.compileTemplate({

@@ -30,3 +37,3 @@ source,

filename: loaderContext.resourcePath,
compiler: options.compiler,
compiler,
compilerOptions: Object.assign(Object.assign({}, options.compilerOptions), { scopeId }),

@@ -33,0 +40,0 @@ transformAssetUrls: options.transformAssetUrls || true

{
"name": "vue-loader",
"version": "16.0.0-beta.4",
"version": "16.0.0-beta.5",
"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