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

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.20 to 0.0.21

10

dist/reactTemplates.js

@@ -379,5 +379,5 @@ 'use strict';

//为循环加上key
if (node.name != "rt-virtual" && !node.attribs["key"]) {
node.attribs["key"] = "{Math.random()}";
}
// if (node.name != "rt-virtual"&&!node.attribs["key"]) {
// node.attribs["key"] = "{Math.random()}";
// }

@@ -629,2 +629,6 @@ var arr = node.attribs[repeatAttr].split(' in ');

} else if (tag.name === importAttr) {
//2016.12.05
if (tag.attribs.from == "modules") {
tag.attribs.from = "../../../compile/modules.js";
}
handleImport(tag, context);

@@ -631,0 +635,0 @@ } else if (firstTag === null) {

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

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

@@ -395,5 +395,5 @@ 'use strict';

//为循环加上key
if (node.name != "rt-virtual"&&!node.attribs["key"]) {
node.attribs["key"] = "{Math.random()}";
}
// if (node.name != "rt-virtual"&&!node.attribs["key"]) {
// node.attribs["key"] = "{Math.random()}";
// }

@@ -636,2 +636,6 @@ const arr = node.attribs[repeatAttr].split(' in ');

} else if (tag.name === importAttr) {
//2016.12.05
if(tag.attribs.from=="modules"){
tag.attribs.from="../../../compile/modules.js";
}
handleImport(tag, context);

@@ -638,0 +642,0 @@ } else if (firstTag === null) {

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