pixl-server-storage 3.0.20 → 3.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +2 -2
- package/test/test-hash.js +1 -1
package/README.md
CHANGED
|
@@ -523,10 +523,12 @@ Note that binary records are **not** cached, as they are generally large. Only
|
|
|
523
523
|
|
|
524
524
|
## Couchbase
|
|
525
525
|
|
|
526
|
-
|
|
526
|
+
Please note that as of this writing (April 2022), pixl-server-storage only supports Couchbase Client v2, so you need to force install version `2.6.12` (see instructions below). Work is underway to support the v3 API, which has many breaking changes.
|
|
527
|
+
|
|
528
|
+
If you want to use [Couchbase](http://www.couchbase.com/nosql-databases/couchbase-server) as a backing store, here is how to do so. First, you need to manually install the [couchbase](https://www.npmjs.com/package/couchbase) module into your app, and it **must be v2**:
|
|
527
529
|
|
|
528
530
|
```
|
|
529
|
-
npm install --save couchbase
|
|
531
|
+
npm install --save couchbase@2.6.12
|
|
530
532
|
```
|
|
531
533
|
|
|
532
534
|
Then configure your storage thusly:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pixl-server-storage",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.21",
|
|
4
4
|
"description": "A key/value/list storage component for the pixl-server framework.",
|
|
5
5
|
"author": "Joseph Huckaby <jhuckaby@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/jhuckaby/pixl-server-storage",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"pixl-tools": "^1.0.24",
|
|
27
27
|
"pixl-perf": "^1.0.0",
|
|
28
28
|
"pixl-cache": "^1.0.1",
|
|
29
|
-
"async": "2.6.
|
|
29
|
+
"async": "2.6.4",
|
|
30
30
|
"nearley": "2.20.1",
|
|
31
31
|
"moo": "0.4.3",
|
|
32
32
|
"porter-stemmer": "0.9.1",
|
package/test/test-hash.js
CHANGED
|
@@ -10,7 +10,7 @@ var async = require('async');
|
|
|
10
10
|
var Tools = require('pixl-tools');
|
|
11
11
|
|
|
12
12
|
// const BAD_KEYS = Object.getOwnPropertyNames( Object.prototype );
|
|
13
|
-
const BAD_KEYS = ['constructor', '__defineGetter__', '__defineSetter__', 'hasOwnProperty', '__lookupGetter__', '__lookupSetter__', 'isPrototypeOf', 'propertyIsEnumerable', 'toString', 'valueOf', '
|
|
13
|
+
const BAD_KEYS = ['constructor', '__defineGetter__', '__defineSetter__', 'hasOwnProperty', '__lookupGetter__', '__lookupSetter__', 'isPrototypeOf', 'propertyIsEnumerable', 'toString', 'valueOf', 'toLocaleString'];
|
|
14
14
|
|
|
15
15
|
module.exports = {
|
|
16
16
|
tests: [
|