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

ylenia

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ylenia - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

9

functions.js

@@ -202,4 +202,9 @@ "use strict";

var att = _a[_i];
att.type === "array" ? att.type = "any[]" : undefined;
sc.add("private _" + att.name + ":" + att.type + " = [];", 1);
if (att.type === "array") {
att.type = "any[]";
sc.add("private _" + att.name + ":" + att.type + " = [];", 1);
}
else {
sc.add("private _" + att.name + ":" + att.type + ";", 1);
}
}

@@ -206,0 +211,0 @@ return sc.getString();

@@ -199,4 +199,8 @@ //Imports

for(let att of source.attributes){
att.type === "array" ? att.type = "any[]" : undefined;
sc.add("private _" + att.name + ":" + att.type + " = [];", 1);
if(att.type === "array"){
att.type = "any[]";
sc.add("private _" + att.name + ":" + att.type + " = [];", 1);
}else{
sc.add("private _" + att.name + ":" + att.type + ";", 1);
}
}

@@ -203,0 +207,0 @@ return sc.getString();

{
"name": "ylenia",
"version": "0.1.15",
"version": "0.1.16",
"description": "TypeScript-DataSources for JSON. Generates dynamic TypeScript-Classes and JSON-Files.",

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

Sorry, the diff of this file is not supported yet

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