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

couchbase-promises

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchbase-promises - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

### 3.0.1
* __Bug Fix__
+ The native `couchbase` Mock library uses `options` provided to mutation methods in a very strange way. It adds a `haskey` property to the provided `options` argument, which is then used for get operations. This causes a problem if you reuse the options object. This change clones the `options` object so that your unit tests work as expected.
### 3.0.0

@@ -7,0 +12,0 @@

2

lib/bucket.js

@@ -41,3 +41,3 @@ 'use strict';

const getOptions = function(entry, options) {
if (!entry.hasOwnProperty('options')) return options;
if (!entry.hasOwnProperty('options')) return Object.assign({}, options);
if (typeof entry.options === 'undefined') return undefined;

@@ -44,0 +44,0 @@ if (isPojo(entry.options)) return entry.options;

@@ -5,3 +5,3 @@ {

"description": "An A+ Promises wrapper for the Couchbase SDK with added support for batch mutation operations.",
"version": "3.0.0",
"version": "3.0.1",

@@ -8,0 +8,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