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

blue-cot

Package Overview
Dependencies
Maintainers
1
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 4.0.3 to 4.0.4

7

lib/db_handle.js

@@ -164,5 +164,10 @@ const querystring = require('querystring')

buildQueryString: (query = {}) => {
if (!isPlainObject(query)) {
throw new Error(`query should be an object: ${JSON.stringify(query)}`)
}
const q = {}
viewQueryKeys.forEach(key => {
if (query[key] != null) {
// Avoid any possible conflict with object inherited attributes and methods
if (query.hasOwnProperty(key)) {
if (key === 'startkey_docid' || key === 'endkey_docid') {

@@ -169,0 +174,0 @@ q[key] = query[key]

2

package.json

@@ -23,3 +23,3 @@ {

],
"version": "4.0.3",
"version": "4.0.4",
"main": "lib/cot.js",

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

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