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
11
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 3.0.0 to 3.0.1

9

CHANGELOG.md

@@ -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 @@

13

dist/compileTemplate.js

@@ -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

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