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

crdtoapi

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crdtoapi - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

dist/findInterfaces.js

2

package.json
{
"name": "crdtoapi",
"version": "0.0.18",
"version": "0.0.19",
"description": "CustomResourceDefinitions to OpensAPI",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/yaacov/crdtoapi",

@@ -360,9 +360,7 @@ #!/usr/bin/env node

field.type = '{}';
}
else if ('type' in field.additionalProperties) {
} else if ('type' in field.additionalProperties) {
field.originalType = field.type;
field.type = `{[key: string]: ${field.additionalProperties.type}}`;
}
}
else if (isObjectUndefined) {
} else if (isObjectUndefined) {
field.originalType = 'not defined';

@@ -369,0 +367,0 @@ field.type = options.fallbackType;

@@ -88,5 +88,5 @@ #!/usr/bin/env node

yaml.spec.versions.forEach((version) => {
const name = !options.noApiVersionPrefix ?
`${version.name}${yaml.spec.names.kind}` :
`${yaml.spec.names.kind}`;
const name = !options.noApiVersionPrefix
? `${version.name}${yaml.spec.names.kind}`
: `${yaml.spec.names.kind}`;

@@ -93,0 +93,0 @@ schemas[name] = version.schema.openAPIV3Schema;

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