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

@scalar/oas-utils

Package Overview
Dependencies
Maintainers
0
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/oas-utils - npm Package Compare versions

Comparing version 0.2.91 to 0.2.92

6

CHANGELOG.md
# @scalar/oas-utils
## 0.2.92
### Patch Changes
- 02b4201: fix(api-client): strict TS config (enable noUncheckedIndexedAccess)
## 0.2.91

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

2

dist/helpers/httpMethods.d.ts

@@ -27,4 +27,4 @@ import { type RequestMethod } from '../entities/spec/requests.js';

/** Type guard which takes in a string and returns true if it is in fact an HTTPMethod */
export declare const isHttpMethod: (method: string) => method is RequestMethod;
export declare const isHttpMethod: (method?: string | undefined) => method is RequestMethod;
export {};
//# sourceMappingURL=httpMethods.d.ts.map

@@ -70,4 +70,4 @@ import { requestMethods } from '../entities/spec/requests.js';

/** Type guard which takes in a string and returns true if it is in fact an HTTPMethod */
const isHttpMethod = (method) => requestMethods.includes(method);
const isHttpMethod = (method) => method ? requestMethods.includes(method) : false;
export { REQUEST_METHODS, canMethodHaveBody, getHttpMethodInfo, isHttpMethod };

@@ -19,3 +19,3 @@ {

],
"version": "0.2.91",
"version": "0.2.92",
"engines": {

@@ -121,4 +121,4 @@ "node": ">=18"

"@scalar/object-utils": "1.1.12",
"@scalar/openapi-types": "0.1.5",
"@scalar/themes": "0.9.58",
"@scalar/openapi-types": "0.1.5",
"@scalar/types": "0.0.25"

@@ -131,4 +131,4 @@ },

"zod-to-ts": "github:amritk/zod-to-ts#build",
"@scalar/openapi-parser": "0.10.2",
"@scalar/build-tooling": "0.1.12",
"@scalar/openapi-parser": "0.10.1",
"@scalar/openapi-types": "0.1.5"

@@ -135,0 +135,0 @@ },

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