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

epip-generate

Package Overview
Dependencies
Maintainers
0
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epip-generate - npm Package Compare versions

Comparing version 1.2.124 to 1.2.125

2

dist/package.json
{
"name": "epip-generate",
"version": "1.2.124",
"version": "1.2.125",
"description": "",

@@ -5,0 +5,0 @@ "author": "",

@@ -48,3 +48,3 @@ "use strict";

const ajv = new Ajv();
AjvError(ajv);
// AjvError(ajv);
AjvFormat(ajv);

@@ -65,10 +65,12 @@ const obj= Object.assign({},${name}.schema);

const ajv = new Ajv()
AjvError(ajv);
// AjvError(ajv);
AjvFormat(ajv)
const obj:any = _.cloneDeep(${name}.schema)
delete (obj as any)['name']
for(let index in obj.properties){
if(index!=key)
delete ((obj as any).properties[index])
for (let index in obj.properties) {
if (index != key) {
delete (obj as any).properties[index]
}
}
obj["required"] = obj["required"].filter(f=>f==key);
const validate = ajv.compile(obj) as any

@@ -75,0 +77,0 @@ validate(this)

{
"name": "epip-generate",
"version": "1.2.124",
"version": "1.2.125",
"description": "",

@@ -5,0 +5,0 @@ "author": "",

Sorry, the diff of this file is not supported yet

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