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

@easy-breezy/generator-api

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easy-breezy/generator-api - npm Package Compare versions

Comparing version 2.0.32 to 2.0.33

7

dist/index.js

@@ -90,7 +90,10 @@ import { dirname, join, relative } from 'path';

if (payload) {
fs.updateFile(path, this.schemaStringify(deepSortObject(payload)), true);
// Stringify перед сортировкой для удаление circular structure
const stringPayload = this.schemaStringify(payload);
const sortedPayload = deepSortObject(JSON.parse(stringPayload));
fs.updateFile(path, this.schemaStringify(sortedPayload), true);
}
};
schemaToType = async (filename, payload) => {
const schema = JSON.parse(this.schemaStringify(deepSortObject(payload)));
const schema = deepSortObject(JSON.parse(this.schemaStringify(payload)));
const result = await compile(schema, filename, {

@@ -97,0 +100,0 @@ bannerComment: '',

{
"name": "@easy-breezy/generator-api",
"version": "2.0.32",
"version": "2.0.33",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "type": "module",

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