Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openapi-typescript-helpers

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-typescript-helpers - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

dist/cjs/index.cjs

6

CHANGELOG.md
# openapi-typescript-helpers
## 0.0.7
### Patch Changes
- [#1479](https://github.com/drwpow/openapi-typescript/pull/1479) [`c6d945b`](https://github.com/drwpow/openapi-typescript/commit/c6d945be717bb3999178fb3a77292e41e1b7ab80) Thanks [@darwish](https://github.com/darwish)! - Fixed build of openapi-typescript-helpers for CommonJS environments
## 0.0.6

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

4

index.d.ts

@@ -89,5 +89,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types */

/** Find first match of multiple keys */
export type FilterKeys<Obj, Matchers> = {
[K in keyof Obj]: K extends Matchers ? Obj[K] : never;
}[keyof Obj];
export type FilterKeys<Obj, Matchers> = Obj[keyof Obj & Matchers];
/** Return any `[string]/[string]` media type (important because openapi-fetch allows any content response, not just JSON-like) */

@@ -94,0 +92,0 @@ export type MediaType = `${string}/${string}`;

{
"name": "openapi-typescript-helpers",
"description": "TypeScript helpers for consuming openapi-typescript types",
"version": "0.0.6",
"version": "0.0.7",
"author": {

@@ -15,4 +15,10 @@ "name": "Drew Powers",

".": {
"default": "./index.js",
"types": "./index.d.ts"
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},

@@ -31,2 +37,5 @@ "./*": "./*"

"scripts": {
"build": "pnpm run build:clean && pnpm run build:js",
"build:clean": "del dist",
"build:js": "node ./scripts/build.js",
"lint": "pnpm run lint:js",

@@ -38,4 +47,4 @@ "lint:js": "eslint \"*.{js,ts}\"",

"devDependencies": {
"typescript": "^5.3.2"
"typescript": "^5.3.3"
}
}
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