Comparing version 1.0.9 to 1.0.10
@@ -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", |
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
5359
132