🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@api-ts/openapi-generator

Package Overview
Dependencies
Maintainers
0
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-ts/openapi-generator - npm Package Compare versions

Comparing version

to
5.5.0

9

dist/src/project.js

@@ -130,8 +130,11 @@ "use strict";

let typesEntryPoint = '';
if (packageInfo['types']) {
typesEntryPoint = packageInfo['types'];
if (packageInfo['source']) {
typesEntryPoint = packageInfo['source'];
}
if (packageInfo['typings']) {
else if (packageInfo['typings']) {
typesEntryPoint = packageInfo['typings'];
}
else if (packageInfo['types']) {
typesEntryPoint = packageInfo['types'];
}
if (!typesEntryPoint) {

@@ -138,0 +141,0 @@ return (0, error_1.errorLeft)(`Could not find types entry point for ${library}`);

{
"name": "@api-ts/openapi-generator",
"version": "5.4.0",
"version": "5.5.0",
"description": "Generate an OpenAPI specification from an io-ts-http contract",

@@ -38,3 +38,3 @@ "author": "Patrick McLaughlin <patrickmclaughlin@bitgo.com>",

"c8": "10.1.3",
"memfs": "4.15.1",
"memfs": "4.17.0",
"typescript": "4.7.4"

@@ -41,0 +41,0 @@ },

Sorry, the diff of this file is not supported yet