vue-template-babel-compiler
Advanced tools
Comparing version 0.6.0 to 0.7.0-0
@@ -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 |
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
7506
9
52
+ Added@babel/plugin-proposal-nullish-coalescing-operator@^7.14.5
+ Added@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(transitive)
+ Added@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(transitive)