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

openai

Package Overview
Dependencies
Maintainers
4
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.0.0-beta.1 to 4.0.0-beta.2

_shims/agent.d.ts

111

package.json
{
"name": "openai",
"version": "4.0.0-beta.1",
"version": "4.0.0-beta.2",
"description": "Client library for the OpenAI API",
"author": "OpenAI <support@openai.com>",
"types": "dist/cjs/index.d.ts",
"main": "dist/cjs/index.js",
"types": "./index.d.ts",
"main": "./index.js",
"type": "commonjs",

@@ -12,80 +12,53 @@ "repository": "github:openai/openai-node",

"private": false,
"files": [
"dist",
"resources",
"_shims",
"/*.ts"
],
"exports": {
"./_shims/*": {
"deno": {
"require": {
"types": "./dist/cjs/_shims/*.d.ts",
"default": "./dist/cjs/_shims/*.js"
},
"types": "./dist/esm/_shims/*.d.ts",
"default": "./dist/esm/_shims/*.js"
"types": "./_shims/*.d.ts",
"require": "./_shims/*.js",
"default": "./_shims/*.mjs"
},
"browser": {
"require": {
"types": "./dist/cjs/_shims/*.d.ts",
"default": "./dist/cjs/_shims/*.js"
},
"types": "./dist/esm/_shims/*.d.ts",
"default": "./dist/esm/_shims/*.js"
"types": "./_shims/*.d.ts",
"require": "./_shims/*.js",
"default": "./_shims/*.mjs"
},
"worker": {
"require": {
"types": "./dist/cjs/_shims/*.d.ts",
"default": "./dist/cjs/_shims/*.js"
},
"types": "./dist/esm/_shims/*.d.ts",
"default": "./dist/esm/_shims/*.js"
"types": "./_shims/*.d.ts",
"require": "./_shims/*.js",
"default": "./_shims/*.mjs"
},
"workerd": {
"require": {
"types": "./dist/cjs/_shims/*.d.ts",
"default": "./dist/cjs/_shims/*.js"
},
"types": "./dist/esm/_shims/*.d.ts",
"default": "./dist/esm/_shims/*.js"
"types": "./_shims/*.d.ts",
"require": "./_shims/*.js",
"default": "./_shims/*.mjs"
},
"node": {
"require": {
"types": "./dist/cjs/_shims/*.node.d.ts",
"default": "./dist/cjs/_shims/*.node.js"
},
"types": "./dist/esm/_shims/*.node.d.ts",
"default": "./dist/esm/_shims/*.node.js"
"types": "./_shims/*.node.d.ts",
"require": "./_shims/*.node.js",
"default": "./_shims/*.node.mjs"
},
"require": {
"types": "./dist/cjs/_shims/*.d.ts",
"default": "./dist/cjs/_shims/*.js"
},
"types": "./dist/esm/_shims/*.d.ts",
"default": "./dist/esm/_shims/*.js"
"types": "./_shims/*.d.ts",
"require": "./_shims/*.js",
"default": "./_shims/*.mjs"
},
".": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
"types": "./index.d.ts",
"default": "./index.js"
},
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
"types": "./index.d.mts",
"default": "./index.mjs"
},
"./*": {
"require": {
"types": "./dist/cjs/*.d.ts",
"require": "./dist/cjs/*.js"
},
"types": "./dist/esm/*.d.ts",
"default": "./dist/esm/*.js"
"types": "./*.d.ts",
"require": "./*.js",
"default": "./*.mjs"
},
"./*.js": {
"require": {
"types": "./dist/cjs/*.d.ts",
"require": "./dist/cjs/*.js"
},
"types": "./dist/esm/*.d.ts",
"default": "./dist/esm/*.js"
"types": "./*.d.ts",
"default": "./*.js"
},
"./*.mjs": {
"types": "./*.d.ts",
"default": "./*.mjs"
}

@@ -96,3 +69,2 @@ },

"build": "bash ./build",
"prepack": "yarn build",
"format": "prettier --write .",

@@ -113,18 +85,3 @@ "tsn": "ts-node -r tsconfig-paths/register",

"qs": "^6.10.3"
},
"devDependencies": {
"openai": "link:.",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "^8.22.0",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^29.4.0",
"prettier": "rattrayalex/prettier#postfix-ternaries",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
"tsc-alias": "^1.6.9",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.8.2"
}
}
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