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

vue-template-babel-compiler

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-template-babel-compiler - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0-0

2

lib/index.js

@@ -86,3 +86,3 @@ 'use strict';

sourceType: 'script',
plugins: ['@babel/plugin-proposal-optional-chaining', '@babel/plugin-transform-block-scoping', '@babel/plugin-transform-destructuring', '@babel/plugin-transform-spread', '@babel/plugin-transform-arrow-functions', '@babel/plugin-transform-parameters', parseWithStatementToVm]
plugins: ['@babel/plugin-proposal-nullish-coalescing-operator', '@babel/plugin-proposal-optional-chaining', '@babel/plugin-transform-block-scoping', '@babel/plugin-transform-destructuring', '@babel/plugin-transform-spread', '@babel/plugin-transform-arrow-functions', '@babel/plugin-transform-parameters', parseWithStatementToVm]
});

@@ -89,0 +89,0 @@ output.code = output.code.replace(matchWithRegex, 'var _vm=this;\nvar _h=_vm.$createElement;\nvar _c=_vm._self._c||_h;\n');

{
"name": "vue-template-babel-compiler",
"version": "0.6.0",
"version": "0.7.0-0",
"description": "Post compiler for Vue template render functions to support ES features with Babel",

@@ -38,2 +38,3 @@ "main": "lib/index.js",

"@babel/core": "^7.14.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.2",

@@ -40,0 +41,0 @@ "@babel/plugin-transform-arrow-functions": "^7.14.5",

@@ -21,3 +21,3 @@ # vue-template-babel-compiler

- [x] `Bigint`
- [ ] `nullish coalescing`
- [x] `nullish coalescing`
- [ ] ......

@@ -44,6 +44,4 @@

- [x] Support `__staticRenderFns__`
- [ ] More new ES features in SFC template:
- [x] `Bigint`
- [ ] `nullish coalescing`
- [ ] ......
- [ ] More new ES features in SFC <template>
- [ ] Customize options for babel and globals in SFC <template>
- [x] publish [NPM package](https://www.npmjs.com/package/vue-template-babel-compiler)

@@ -50,0 +48,0 @@ - [ ] More Usage

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