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

babel-plugin-transform-vue-jsx

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-vue-jsx - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

9

index.js

@@ -103,2 +103,3 @@ var esutils = require('esutils')

pushProps()
prop.argument._isSpread = true
objs.push(prop.argument)

@@ -112,3 +113,3 @@ } else {

if (objs[0] && t.isObjectExpression(objs[0])) {
if (!objs[0]._isSpread) {
objs[0] = groupProps(objs[0].properties, t)

@@ -120,7 +121,3 @@ }

attribs = objs[0]
} else {
// looks like we have multiple objects
if (!t.isObjectExpression(objs[0])) {
objs.unshift(t.objectExpression([]))
}
} else if (objs.length) {
// add prop merging helper

@@ -127,0 +124,0 @@ file.addImport('babel-helper-vue-jsx-merge-props', 'default', '_mergeJSXProps')

{
"name": "babel-plugin-transform-vue-jsx",
"version": "1.1.0",
"version": "1.1.1",
"description": "Babel plugin for Vue 2.0 JSX",

@@ -13,3 +13,3 @@ "main": "index.js",

"test": "npm run lint && mocha --compilers js:babel-register",
"build": "babel example/example.js -o example/example.build.js"
"build": "cd example && webpack"
},

@@ -41,2 +41,3 @@ "repository": {

"babel-helper-vue-jsx-merge-props": "^1.0.0",
"babel-loader": "^6.2.4",
"babel-plugin-syntax-jsx": "^6.8.0",

@@ -49,4 +50,5 @@ "babel-preset-es2015": "^6.9.0",

"mocha": "^2.5.3",
"vue": "^2.0.0-alpha.5"
"vue": "^2.0.0-alpha.5",
"webpack": "^1.13.1"
}
}
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