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

@vue/component-compiler-utils

Package Overview
Dependencies
Maintainers
10
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/component-compiler-utils - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

9

CHANGELOG.md

@@ -0,1 +1,10 @@

# [2.5.0](https://github.com/vuejs/component-compiler-utils/compare/v2.4.0...v2.5.0) (2019-01-08)
### Features
* add 'use' tag of SVG to 'transformAssetUrls' option as default ([#45](https://github.com/vuejs/component-compiler-utils/issues/45)) ([f4e3336](https://github.com/vuejs/component-compiler-utils/commit/f4e3336))
# [2.4.0](https://github.com/vuejs/component-compiler-utils/compare/v2.0.0...v2.4.0) (2019-01-02)

@@ -2,0 +11,0 @@

3

dist/templateCompilerModules/assetUrl.js

@@ -9,3 +9,4 @@ "use strict";

img: 'src',
image: ['xlink:href', 'href']
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
};

@@ -12,0 +13,0 @@ exports.default = (userOptions) => {

@@ -13,3 +13,4 @@ // vue compiler module for transforming `<tag>:<attribute>` to `require`

img: 'src',
image: ['xlink:href', 'href']
image: ['xlink:href', 'href'],
use: ['xlink:href', 'href']
}

@@ -16,0 +17,0 @@

{
"name": "@vue/component-compiler-utils",
"version": "2.4.0",
"version": "2.5.0",
"description": "Lower level utilities for compiling Vue single file components",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -27,3 +27,3 @@ # @vue/component-compiler-utils [![Build Status](https://circleci.com/gh/vuejs/component-compiler-utils/tree/master.svg?style=shield)](https://circleci.com/gh/vuejs/component-compiler-utils/)

// https://github.com/vuejs/vue/tree/dev/packages/vue-template-compiler#compilerparsecomponentfile-options
// defualt: { pad: 'line' }
// default: { pad: 'line' }
compilerParseOptions?: VueTemplateCompilerParseOptions

@@ -85,2 +85,3 @@ sourceRoot?: string

// image: 'xlink:href'
// use: 'xlink:href'
// }

@@ -87,0 +88,0 @@ transformAssetUrls?: AssetURLOptions | boolean

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