@vue/component-compiler-utils
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -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 @@ |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
64157
1560
152
0