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

@samchon/openapi

Package Overview
Dependencies
Maintainers
0
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samchon/openapi - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

4

lib/utils/OpenApiConstraintShifter.d.ts
import { OpenApi } from "../OpenApi";
export declare namespace OpenApiConstraintShifter {
const shiftArray: <Schema extends Pick<OpenApi.IJsonSchema.IArray, "description" | "minItems" | "maxItems" | "uniqueItems">>(v: Schema) => Omit<Schema, "minItems" | "maxItems" | "uniqueItems">;
const shiftNumeric: <Schema extends Pick<OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IInteger, "description" | "minimum" | "maximum" | "exclusiveMinimum" | "exclusiveMaximum" | "multipleOf">>(v: Schema) => Omit<Schema, "minimum" | "maximum" | "exclusiveMinimum" | "exclusiveMaximum" | "multipleOf">;
const shiftString: <Schema extends Pick<OpenApi.IJsonSchema.IString, "description" | "minLength" | "maxLength" | "format" | "pattern" | "contentMediaType">>(v: Schema) => Omit<Schema, "minLength" | "maxLength" | "format" | "pattern" | "contentMediaType">;
const shiftNumeric: <Schema extends Pick<OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IInteger, "description" | "minimum" | "maximum" | "exclusiveMinimum" | "exclusiveMaximum" | "multipleOf" | "default">>(v: Schema) => Omit<Schema, "minimum" | "maximum" | "exclusiveMinimum" | "exclusiveMaximum" | "multipleOf" | "default">;
const shiftString: <Schema extends Pick<OpenApi.IJsonSchema.IString, "description" | "minLength" | "maxLength" | "format" | "pattern" | "contentMediaType" | "default">>(v: Schema) => Omit<Schema, "minLength" | "maxLength" | "format" | "pattern" | "contentMediaType" | "default">;
}

@@ -80,2 +80,6 @@ "use strict";

});
if (v.default !== undefined) {
tags.push("@default ".concat(v.default));
delete v.default;
}
return v;

@@ -105,2 +109,6 @@ };

}
if (v.default !== undefined) {
tags.push("@default ".concat(v.default));
delete v.default;
}
v.description = writeTagWithDescription({

@@ -107,0 +115,0 @@ description: v.description,

{
"name": "@samchon/openapi",
"version": "2.5.0",
"version": "2.5.1",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",

@@ -49,3 +49,3 @@ "main": "./lib/index.js",

"@nestia/core": "4.2.0",
"@nestia/e2e": "0.7.0",
"@nestia/e2e": "0.8.2",
"@nestia/fetcher": "4.2.0",

@@ -52,0 +52,0 @@ "@nestia/sdk": "4.2.0",

@@ -41,2 +41,3 @@ import { OpenApi } from "../OpenApi";

| "multipleOf"
| "default"
>,

@@ -52,2 +53,3 @@ >(

| "multipleOf"
| "default"
> => {

@@ -81,2 +83,6 @@ const tags: string[] = [];

});
if (v.default !== undefined) {
tags.push(`@default ${v.default}`);
delete v.default;
}
return v;

@@ -94,2 +100,3 @@ };

| "contentMediaType"
| "default"
>,

@@ -100,3 +107,8 @@ >(

Schema,
"minLength" | "maxLength" | "format" | "pattern" | "contentMediaType"
| "minLength"
| "maxLength"
| "format"
| "pattern"
| "contentMediaType"
| "default"
> => {

@@ -124,2 +136,6 @@ const tags: string[] = [];

}
if (v.default !== undefined) {
tags.push(`@default ${v.default}`);
delete v.default;
}
v.description = writeTagWithDescription({

@@ -126,0 +142,0 @@ description: v.description,

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