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

blue-cot

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blue-cot - npm Package Compare versions

Comparing version 9.0.7 to 9.0.8

4

dist/lib/utils.js

@@ -7,5 +7,3 @@ export const isPlainObject = obj => {

if (typeof str !== 'string' || str.length === 0) {
let errMessage = `invalid ${label}`;
if (str != null)
errMessage += ` ${str} (${typeof str})`;
const errMessage = `invalid ${label}: ${str} (expected string, got (${typeof str}))`;
throw new TypeError(errMessage);

@@ -12,0 +10,0 @@ }

@@ -11,4 +11,3 @@ import type { IdentifiedDocument } from 'types/nano.js'

if (typeof str !== 'string' || str.length === 0) {
let errMessage = `invalid ${label}`
if (str != null) errMessage += ` ${str} (${typeof str})`
const errMessage = `invalid ${label}: ${str} (expected string, got (${typeof str}))`
throw new TypeError(errMessage)

@@ -15,0 +14,0 @@ }

@@ -30,3 +30,3 @@ {

],
"version": "9.0.7",
"version": "9.0.8",
"main": "dist/lib/cot.js",

@@ -33,0 +33,0 @@ "dependencies": {

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