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

cohere-js

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cohere-js - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

4

es/index.js

@@ -13,3 +13,5 @@ const hookInputSetter = (target, key) => {

const disableLoad = typeof window === "undefined" || window.document.documentMode;
const disableLoad = typeof window === "undefined" ||
!window.document ||
window.document.documentMode;
if (!disableLoad) {

@@ -16,0 +18,0 @@ hookInputSetter(HTMLInputElement.prototype, "value");

@@ -15,3 +15,5 @@ 'use strict';

const disableLoad = typeof window === "undefined" || window.document.documentMode;
const disableLoad = typeof window === "undefined" ||
!window.document ||
window.document.documentMode;
if (!disableLoad) {

@@ -18,0 +20,0 @@ hookInputSetter(HTMLInputElement.prototype, "value");

{
"name": "cohere-js",
"version": "1.0.9",
"version": "1.0.10",
"description": "Cohere.so JS SDK",

@@ -5,0 +5,0 @@ "main": "lib/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