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

babel-plugin-ko-component-flatten

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-ko-component-flatten - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

index.js

@@ -55,2 +55,3 @@ var template = require('babel-template');

var tpl = null;
var value = null;

@@ -70,5 +71,11 @@ switch (node.key.name) {

if (node.key.name === 'constructor') {
value = t.functionExpression(node.id, node.params, node.body);
} else {
value = node.value;
}
return tpl({
NAME: node.key,
VALUE: node.value
VALUE: value
});

@@ -75,0 +82,0 @@ });

2

package.json
{
"name": "babel-plugin-ko-component-flatten",
"version": "0.1.0",
"version": "0.1.1",
"description": "Flatten ExportDefaultDeclaration",

@@ -5,0 +5,0 @@ "main": "index.js",

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