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.24 to 0.0.25

3

dist/reactTemplates.js

@@ -356,2 +356,3 @@ 'use strict';

var module = node.attribs.module;
var page = node.attribs.page;
var pageName = arr[2];

@@ -370,3 +371,3 @@ var config = fs.readFileSync(path.join(process.cwd(), "dist/config.json"), "utf-8");

}
config.pages[pageName].containers.push({ src: src, appId: appId, module: module });
config.pages[pageName].containers.push({ src: src, appId: appId, module: module, page: page });
fs.writeFileSync(path.join(process.cwd(), "dist/config.json"), JSON.stringify(config));

@@ -373,0 +374,0 @@ }

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

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

@@ -374,2 +374,3 @@ 'use strict';

var module=node.attribs.module;
var page=node.attribs.page;
var pageName=arr[2];

@@ -388,3 +389,3 @@ var config=fs.readFileSync(path.join(process.cwd(),"dist/config.json"),"utf-8");

}
config.pages[pageName].containers.push({src,appId,module});
config.pages[pageName].containers.push({src,appId,module,page});
fs.writeFileSync(path.join(process.cwd(),"dist/config.json"), JSON.stringify(config))

@@ -391,0 +392,0 @@ }

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