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.3 to 0.0.4

7

dist/index.js

@@ -0,1 +1,2 @@

#!/usr/bin/env node
"use strict";

@@ -25,5 +26,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

program
.version("0.0.1")
.version("0.0.4")
.description("Convert CRDs to OpenAPI file")
.option("-i, --in <dir>", "Input directory path")
.option("-i, --in <dir>", "Input directory path [Required]")
.option("-o, --out <file>", "Output file name")

@@ -127,3 +128,3 @@ .option("-t, --title <text>", "Module title")

if (!options.in) {
console.error('Input directory is required');
console.error('Error: Input directory is required\n');
program.help();

@@ -130,0 +131,0 @@ }

{
"name": "crdtoapi",
"version": "0.0.3",
"version": "0.0.4",
"description": "CustomResourceDefinitions to OpensAPI",

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

@@ -15,2 +15,12 @@ # CustomResourceDefinitions to OpensAPI

crdtoapi -i ./examples/forklift/ -o openapi.yaml
```
## Build
Run this scripts to lint and publish the package.
``` bash
npm run lint:fix
npm run build
npm publish
```

@@ -0,1 +1,3 @@

#!/usr/bin/env node
import { Command } from "commander";

@@ -11,3 +13,3 @@ import { load, dump } from "js-yaml";

program
.version("0.0.3")
.version("0.0.4")
.description("Convert CRDs to OpenAPI file")

@@ -14,0 +16,0 @@ .option("-i, --in <dir>", "Input directory path [Required]")

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