New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

code-jinni

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-jinni - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

.travis.yml

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 2.1.0
* Added caching of inline require.
## 2.0.0

@@ -2,0 +5,0 @@ * Changed the behavior of how duplicate imports are de-duped.

2

module.js

@@ -52,3 +52,3 @@ const Assert = require('assert');

if (this.isInline) {
return `${this.name} = ${this.value.toString()};`;
return `${this.name} = ${this.name} || ${this.value.toString()};`;
}

@@ -55,0 +55,0 @@ return super.toString();

{
"name": "code-jinni",
"version": "2.0.0",
"version": "2.1.0",
"description": "Generic javascript code generator that uses actual code snippets and mantains relationship ebtween artifacts to simplify DOM construction and eventual code generation",

@@ -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