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.30 to 0.0.31

2

dist/reactTemplates.js

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

// console.log($('rt-html').eq(htmlNodeIndex).html,htmlNodeIndex)
var innerHtml = $('rt-html').eq(htmlNodeIndex++).html().replace(/[\r\n]/g, '').trim();
var innerHtml = $('rt-html').eq(htmlNodeIndex++).html().replace(/[\r\n]/g, '').replace(/[']/g, '\\\'').trim();
// console.log(node,innerHtml)

@@ -500,0 +500,0 @@ data.body = '[React.createElement(\'div\',{dangerouslySetInnerHTML:{__html:\'' + innerHtml + '\'}})]';

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

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

@@ -511,3 +511,6 @@ 'use strict';

// console.log($('rt-html').eq(htmlNodeIndex).html,htmlNodeIndex)
let innerHtml=$('rt-html').eq(htmlNodeIndex++).html().replace(/[\r\n]/g,'').trim();
let innerHtml=$('rt-html').eq(htmlNodeIndex++).html()
.replace(/[\r\n]/g,'')
.replace(/[']/g,'\\\'')
.trim();
// console.log(node,innerHtml)

@@ -514,0 +517,0 @@ data.body = `[React.createElement('div',{dangerouslySetInnerHTML:{__html:'${innerHtml}'}})]`;

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