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

openai

Package Overview
Dependencies
Maintainers
5
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai - npm Package Compare versions

Comparing version 4.53.0 to 4.53.1

5

_shims/node-runtime.js

@@ -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": [

2

README.md

@@ -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

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