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

documentdb

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

documentdb - npm Package Compare versions

Comparing version 1.2.2 to 1.4.0

13

changelog.md

@@ -0,1 +1,14 @@

## Changes in 1.4.0 : ##
- Implement Upsert. New upsertXXX methods on documentClient.
## Changes in 1.3.0 : ##
- Skipped to bring version numbers in alignment with other SDKs
## Changes in 1.2.2 : ##
- Split Q promises wrapper to new repository
- Update to package file for npm registry
## Changes in 1.2.1 : ##

@@ -2,0 +15,0 @@

10

lib/constants.js

@@ -120,8 +120,12 @@ //----------------------------------------------------------------------------

// Index progress headers
IndexTransformationProgress: "x-ms-documentdb-collection-index-transformation-progress"
IndexTransformationProgress: "x-ms-documentdb-collection-index-transformation-progress",
LazyIndexingProgress: "x-ms-documentdb-collection-lazy-indexing-progress",
// Upsert header
IsUpsert: "x-ms-documentdb-is-upsert"
},
CurrentVersion: "2015-06-03",
CurrentVersion: "2015-08-06",
UserAgent: "documentdb-nodejs-sdk-1.2.1",
UserAgent: "documentdb-nodejs-sdk-1.4.0",

@@ -128,0 +132,0 @@ DefaultPrecisions: {

@@ -158,2 +158,3 @@ //----------------------------------------------------------------------------

that.resHeaders = headers;
that.resources = that.resources.concat(resources);

@@ -164,3 +165,3 @@ that._toArrayImplementation(callback);

this._state = this._states.ended;
callback(undefined, this.resources);
callback(undefined, this.resources, this.resHeaders);
}

@@ -181,3 +182,3 @@ },

// if the callback explicitly returned false, the loop gets stopped.
if (callback(undefined, that.resources[that.currentIndex++]) === false) {
if (callback(undefined, that.resources[that.currentIndex++], headers) === false) {
return undefined;

@@ -184,0 +185,0 @@ }

@@ -12,3 +12,3 @@ {

],
"version": "1.2.2",
"version": "1.4.0",
"author": "Microsoft Corporation",

@@ -15,0 +15,0 @@ "main": "./index.js",

@@ -56,2 +56,2 @@ <html>

##Community
- [DoQmentDB](https://github.com/a8m/doqmentdb) - A Promise-based DocumentDB client for MongoDB users
- [DoQmentDB](https://github.com/a8m/doqmentdb) - A Promise-based DocumentDB client for MongoDB users

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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