Comparing version 4.53.0 to 4.53.1
@@ -41,4 +41,3 @@ "use strict"; | ||
const MultipartBody_1 = require("./MultipartBody.js"); | ||
// @ts-ignore (this package does not have proper export maps for this export) | ||
const ponyfill_es2018_js_1 = require("web-streams-polyfill/dist/ponyfill.es2018.js"); | ||
const web_1 = require("node:stream/web"); | ||
let fileFromPathWarned = false; | ||
@@ -83,3 +82,3 @@ async function fileFromPath(path, ...args) { | ||
File: fd.File, | ||
ReadableStream: ponyfill_es2018_js_1.ReadableStream, | ||
ReadableStream: web_1.ReadableStream, | ||
getMultipartRequestOptions, | ||
@@ -86,0 +85,0 @@ getDefaultAgent: (url) => (url.startsWith('https') ? defaultHttpsAgent : defaultHttpAgent), |
{ | ||
"name": "openai", | ||
"version": "4.53.0", | ||
"version": "4.53.1", | ||
"description": "The official TypeScript library for the OpenAI API", | ||
@@ -31,4 +31,3 @@ "author": "OpenAI <support@openai.com>", | ||
"formdata-node": "^4.3.2", | ||
"node-fetch": "^2.6.7", | ||
"web-streams-polyfill": "^3.2.1" | ||
"node-fetch": "^2.6.7" | ||
}, | ||
@@ -35,0 +34,0 @@ "sideEffects": [ |
@@ -22,3 +22,3 @@ # OpenAI Node API Library | ||
```ts | ||
import OpenAI from 'https://deno.land/x/openai@v4.53.0/mod.ts'; | ||
import OpenAI from 'https://deno.land/x/openai@v4.53.1/mod.ts'; | ||
``` | ||
@@ -25,0 +25,0 @@ |
@@ -16,6 +16,4 @@ /** | ||
import { type Shims } from './registry'; | ||
import { ReadableStream } from 'node:stream/web'; | ||
// @ts-ignore (this package does not have proper export maps for this export) | ||
import { ReadableStream } from 'web-streams-polyfill/dist/ponyfill.es2018.js'; | ||
type FileFromPathOptions = Omit<FilePropertyBag, 'lastModified'>; | ||
@@ -22,0 +20,0 @@ |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '4.53.0'; // x-release-please-version | ||
export const VERSION = '4.53.1'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.53.0"; | ||
export declare const VERSION = "4.53.1"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '4.53.0'; // x-release-please-version | ||
exports.VERSION = '4.53.1'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
2521678
7
43424
12
27
3
130
- Removedweb-streams-polyfill@^3.2.1
- Removedweb-streams-polyfill@3.3.3(transitive)