@samchon/openapi
Advanced tools
Comparing version 1.0.1 to 1.0.2-dev.20240917
@@ -323,9 +323,6 @@ "use strict"; | ||
return; | ||
else if (value instanceof Blob) | ||
if (value instanceof File) | ||
encoded.append(key, value, value.name); | ||
else | ||
encoded.append(key, value); | ||
else if (typeof File === "function" && value instanceof File) | ||
encoded.append(key, value, value.name); | ||
else | ||
encoded.append(key, String(value)); | ||
encoded.append(key, value); | ||
}; }; | ||
@@ -332,0 +329,0 @@ try { |
{ | ||
"name": "@samchon/openapi", | ||
"version": "1.0.1", | ||
"version": "1.0.2-dev.20240917", | ||
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -180,6 +180,5 @@ import type { HttpMigration } from "../HttpMigration"; | ||
if (value === undefined) return; | ||
else if (value instanceof Blob) | ||
if (value instanceof File) encoded.append(key, value, value.name); | ||
else encoded.append(key, value); | ||
else encoded.append(key, String(value)); | ||
else if (typeof File === "function" && value instanceof File) | ||
encoded.append(key, value, value.name); | ||
else encoded.append(key, value); | ||
}; | ||
@@ -186,0 +185,0 @@ for (const [key, value] of Object.entries(input)) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1136779
19238
1