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

openapi-typescript

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-typescript - npm Package Compare versions

Comparing version 6.4.1 to 6.4.2

6

CHANGELOG.md
# openapi-typescript
## 6.4.2
### Patch Changes
- [#1278](https://github.com/drwpow/openapi-typescript/pull/1278) [`d7420e3`](https://github.com/drwpow/openapi-typescript/commit/d7420e30f1697ad8cfc0fdefc93127ad2b813f99) Thanks [@pvanagtmaal](https://github.com/pvanagtmaal)! - Fix externalizing external refs
## 6.4.1

@@ -4,0 +10,0 @@

2

dist/load.js

@@ -210,3 +210,3 @@ import fs from "node:fs";

if (ref.filename === ".") {
if (subschemaID === ".") {
if (subschemaID === "." || ref.path[0] === "external") {
node.$ref = makeTSIndex(ref.path);

@@ -213,0 +213,0 @@ }

{
"name": "openapi-typescript",
"description": "Generate TypeScript types from Swagger OpenAPI specs",
"version": "6.4.1",
"version": "6.4.2",
"author": {

@@ -6,0 +6,0 @@ "name": "Drew Powers",

@@ -267,3 +267,3 @@ import type { ComponentsObject, Fetch, GlobalContext, OpenAPI3, OperationObject, ParameterObject, PathItemObject, ReferenceObject, RequestBodyObject, ResponseObject, SchemaObject, Subschema } from "./types.js";

if (ref.filename === ".") {
if (subschemaID === ".") {
if (subschemaID === "." || ref.path[0] === "external") {
node.$ref = makeTSIndex(ref.path);

@@ -270,0 +270,0 @@ } else {

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