Socket
Socket
Sign inDemoInstall

zpin-templates

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zpin-templates - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

4

dist/reactTemplates.js

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

val = val.trim();
if (val.indexOf("{this.styles.") < 0) {
if (val.indexOf("{") < 0) {
var arr = val.split(" ");

@@ -226,2 +226,4 @@ var result = "";

result = '{[' + result + '].join(\' \')}';
} else {
result = val;
}

@@ -228,0 +230,0 @@ props[propKey] = existing + utils.convertText(node, context, result);

{
"name": "zpin-templates",
"version": "0.0.26",
"version": "0.0.27",
"description": "Light weight templates for react -> write html get valid react code",

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

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

val=val.trim();
if(val.indexOf("{this.styles.")<0){
if(val.indexOf("{")<0){
var arr=val.split(" ");

@@ -241,2 +241,4 @@ var result="";

result=`{[${result}].join(' ')}`;
}else{
result=val;
}

@@ -243,0 +245,0 @@ props[propKey] = existing + utils.convertText(node, context,result);

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