@vue/component-compiler-utils
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,10 @@ | ||
## [3.0.1](https://github.com/vuejs/component-compiler-utils/compare/v3.0.0...v3.0.1) (2019-11-04) | ||
### Bug Fixes | ||
* should not crash when prettier failed ([89e7900](https://github.com/vuejs/component-compiler-utils/commit/89e7900)) | ||
# [3.0.0](https://github.com/vuejs/component-compiler-utils/compare/v2.6.0...v3.0.0) (2019-04-11) | ||
@@ -2,0 +11,0 @@ |
@@ -100,6 +100,11 @@ "use strict"; | ||
if (prettify) { | ||
code = require('prettier').format(code, { | ||
semi: false, | ||
parser: 'babel' | ||
}); | ||
try { | ||
code = require('prettier').format(code, { | ||
semi: false, | ||
parser: 'babel' | ||
}); | ||
} | ||
catch (e) { | ||
tips.push(`Failed to prettify component ${options.filename} template source after compilation.`); | ||
} | ||
} | ||
@@ -106,0 +111,0 @@ } |
import * as postcss from 'postcss'; | ||
declare const _default: postcss.Plugin<{}>; | ||
declare const _default: postcss.Plugin<unknown>; | ||
export default _default; |
{ | ||
"name": "@vue/component-compiler-utils", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Lower level utilities for compiling Vue single file components", | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -61,3 +64,3 @@ "lint": "prettier --write \"{lib,test}/**/*.ts\"", | ||
"postcss-selector-parser": "^5.0.0", | ||
"prettier": "1.16.3", | ||
"prettier": "^1.18.2", | ||
"source-map": "~0.6.1", | ||
@@ -64,0 +67,0 @@ "vue-template-es2015-compiler": "^1.9.0" |
@@ -69,3 +69,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/) | ||
compiler: VueTemplateCompiler | ||
https://github.com/vuejs/vue/tree/dev/packages/vue-template-compiler#compilercompiletemplate-options | ||
// https://github.com/vuejs/vue/tree/dev/packages/vue-template-compiler#compilercompiletemplate-options | ||
// default: {} | ||
@@ -72,0 +72,0 @@ compilerOptions?: VueTemplateCompilerOptions |
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
0
45475
25
777
+ Addedprettier@1.19.1(transitive)
- Removedprettier@1.16.3(transitive)
Updatedprettier@^1.18.2