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

openai-api

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai-api - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

8

index.js

@@ -11,7 +11,7 @@ "use strict";

_safe_cast = (number) => {
_safe_cast(number) {
return number ? Number(number) : null;
}
_send_request = (opts) => {
_send_request(opts) {
const url = config.completionURL(opts.engine);

@@ -36,7 +36,7 @@ const reqOpts = {

complete = function (opts) {
complete(opts) {
return this._send_request(opts);
}
search = (opts) => {
search(opts) {
const url = config.searchURL(opts.engine);

@@ -43,0 +43,0 @@ const reqOpts = {

{
"name": "openai-api",
"version": "1.0.8",
"version": "1.0.9",
"description": "A tiny client module for the openAI API",

@@ -5,0 +5,0 @@ "main": "index.js",

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