couchbase
Advanced tools
Comparing version 2.4.5 to 2.5.0-beta
@@ -48,3 +48,3 @@ # -*- mode: cmake; cmake-tab-width: 4; indent-tabs-mode: nil -*- | ||
OPTION(LCB_USE_HDR_HISTOGRAM "Use HdrHistogram for statistics recording" OFF) | ||
OPTION(LCB_TRACING "Enable builtin tracing" OFF) | ||
OPTION(LCB_TRACING "Enable builtin tracing" ON) | ||
@@ -51,0 +51,0 @@ ### END CONFIGURABLES ### |
@@ -6,3 +6,3 @@ # For Windows+GCC we need to link statically | ||
ENDIF() | ||
ADD_SUBDIRECTORY(${CMAKE_SOURCE_DIR}/contrib/gtest-1.7.0 gtest) | ||
ADD_SUBDIRECTORY(${PROJECT_SOURCE_DIR}/contrib/gtest-1.7.0 gtest) | ||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) | ||
@@ -9,0 +9,0 @@ |
@@ -183,2 +183,5 @@ 'use strict'; | ||
} | ||
if (bucketDsnObj.options.enable_tracing === undefined) { | ||
bucketDsnObj.options.enable_tracing = true; | ||
} | ||
var ver = process.versions; | ||
@@ -185,0 +188,0 @@ bucketDsnObj.options.client_string = |
@@ -44,2 +44,29 @@ 'use strict'; | ||
/** | ||
* Enum representing the different query profiling modes. | ||
* | ||
* @readonly | ||
* @enum {string} | ||
* | ||
* @since 2.4.6 | ||
* @committed | ||
*/ | ||
N1qlQuery.ProfileType = { | ||
/** | ||
* Disables profiling. This is the default | ||
*/ | ||
PROFILE_NONE: 'off', | ||
/** | ||
* This enables phase profiling. | ||
*/ | ||
PROFILE_PHASES: 'phases', | ||
/** | ||
* This enables general timing profiling. | ||
*/ | ||
PROFILE_TIMINGS: 'timings' | ||
}; | ||
/** | ||
* Returns the fully prepared string representation of this query. | ||
@@ -138,2 +165,3 @@ */ | ||
* @since 2.3.1 | ||
* @committed | ||
*/ | ||
@@ -154,2 +182,3 @@ N1qlStringQuery.prototype.pretty = function(pretty) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -169,2 +198,3 @@ N1qlStringQuery.prototype.scanCap = function(scanCap) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -184,2 +214,3 @@ N1qlStringQuery.prototype.pipelineBatch = function(pipelineBatch) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -199,2 +230,3 @@ N1qlStringQuery.prototype.pipelineCap = function(pipelineCap) { | ||
* @since 2.3.8 | ||
* @committed | ||
*/ | ||
@@ -207,2 +239,16 @@ N1qlStringQuery.prototype.readonly = function(readonly) { | ||
/** | ||
* Controls the profiling mode used during query execution. | ||
* | ||
* @param {N1qlQuery.ProfileType} profileType | ||
* @returns {N1qlStringQuery} | ||
* | ||
* @since 2.4.6 | ||
* @committed | ||
*/ | ||
N1qlStringQuery.prototype.profile = function(profileType) { | ||
this.options.profile = profileType; | ||
return this; | ||
}; | ||
/** | ||
* Returns the fully prepared string representation of this query. | ||
@@ -209,0 +255,0 @@ */ |
@@ -24,5 +24,5 @@ { | ||
"bindings": "~1.3.0", | ||
"nan": "~2.9.2", | ||
"nan": "~2.10.0", | ||
"prebuild-install": "~2.5.1", | ||
"request": "~2.83.0" | ||
"request": "~2.85.0" | ||
}, | ||
@@ -35,4 +35,4 @@ "devDependencies": { | ||
"jshint": "~2.9.2", | ||
"mocha": "~5.0.1", | ||
"npm-check": "~5.5.2", | ||
"mocha": "~5.1.0", | ||
"npm-check": "~5.6.0", | ||
"prebuild": "~7.4.0" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"version": "2.4.5", | ||
"version": "2.5.0-beta", | ||
"config": { | ||
@@ -47,0 +47,0 @@ "native": false |
@@ -46,2 +46,4 @@ # Couchbase Node.js Client | ||
var cluster = new couchbase.Cluster('couchbase://127.0.0.1'); | ||
// For Couchbase > 4.5 with RBAC Auth | ||
cluster.authenticate('username', 'password') | ||
var bucket = cluster.openBucket('default'); | ||
@@ -48,0 +50,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6027819
600
13939
126
7
1
+ Addednan@2.10.0(transitive)
+ Addedrequest@2.85.0(transitive)
- Removednan@2.9.2(transitive)
- Removedrequest@2.83.0(transitive)
Updatednan@~2.10.0
Updatedrequest@~2.85.0