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

@openapi-contrib/json-schema-to-openapi-schema

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openapi-contrib/json-schema-to-openapi-schema - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

4

dist/cjs/index.d.ts
import type { JSONSchema } from '@apidevtools/json-schema-ref-parser';
import type { Options } from './types';
import type { Options } from './types.js';
import type { OpenAPIV3 } from 'openapi-types';
declare const convert: <T = JSONSchema>(schema: T, options?: Options) => Promise<OpenAPIV3.Document>;
declare const convert: <T extends JSONSchema = JSONSchema>(schema: T, options?: Options) => Promise<OpenAPIV3.Document>;
export default convert;
import type { JSONSchema } from '@apidevtools/json-schema-ref-parser';
import type { Options } from './types';
import type { Options } from './types.js';
import type { OpenAPIV3 } from 'openapi-types';
declare const convert: <T = JSONSchema>(schema: T, options?: Options) => Promise<OpenAPIV3.Document>;
declare const convert: <T extends JSONSchema = JSONSchema>(schema: T, options?: Options) => Promise<OpenAPIV3.Document>;
export default convert;
{
"name": "@openapi-contrib/json-schema-to-openapi-schema",
"version": "2.2.3",
"version": "2.2.4",
"description": "Converts a JSON Schema to OpenAPI Schema Object",

@@ -38,12 +38,12 @@ "bin": {

"@apidevtools/json-schema-ref-parser": "^9.0.9",
"json-schema-walker": "^0.0.4",
"openapi-types": "^12.0.0",
"yargs": "^17.5.1"
"json-schema-walker": "^1.1.0",
"openapi-types": "^12.0.2",
"yargs": "^17.6.2"
},
"devDependencies": {
"@types/json-schema": "^7.0.11",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"c8": "^7.12.0",
"eslint": "^8.21.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",

@@ -54,4 +54,4 @@ "eslint-plugin-prettier": "^4.2.1",

"prettier": "^2.7.1",
"typescript": "^4.7.4",
"vitest": "^0.21.0"
"typescript": "^4.8.4",
"vitest": "^0.24.5"
},

@@ -58,0 +58,0 @@ "prettier": {

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