@activeledger/activestorage 2.12.0 → 2.13.5
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/es/pouchdb.d.ts +4 -0
- package/es/pouchdb.d.ts.map +1 -0
- package/es/pouchdb.js +16 -0
- package/es/pouchdb.js.map +1 -0
- package/lib/pouchdb.d.ts +4 -0
- package/lib/pouchdb.d.ts.map +1 -0
- package/lib/pouchdb.js +22 -0
- package/lib/pouchdb.js.map +1 -0
- package/package.json +5 -5
package/es/pouchdb.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pouchdb.d.ts","sourceRoot":"","sources":["../src/pouchdb.ts"],"names":[],"mappings":"AAoCA,QAAA,MAAM,OAAO,EAAE,GAA6B,CAAC;AAQ7C,QAAA,MAAM,SAAS,EAAE,GAA0B,CAAC;AAG5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/es/pouchdb.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import module from "module";
|
|
2
|
+
let _require = module.prototype.require;
|
|
3
|
+
module.prototype.require = function () {
|
|
4
|
+
if (arguments[0].indexOf("pouchdb") !== -1) {
|
|
5
|
+
arguments[0] = __dirname + "/pouchdb/" + arguments[0];
|
|
6
|
+
}
|
|
7
|
+
return _require.apply(this, arguments);
|
|
8
|
+
};
|
|
9
|
+
const PouchDB = require("pouchdb-core");
|
|
10
|
+
const PouchDBLdB = require("pouchdb-adapter-leveldb");
|
|
11
|
+
const PouchDBFind = require("pouchdb-find");
|
|
12
|
+
module.prototype.require = _require;
|
|
13
|
+
const leveldown = require("leveldown");
|
|
14
|
+
PouchDB.plugin(PouchDBLdB).plugin(PouchDBFind);
|
|
15
|
+
export { PouchDB, leveldown };
|
|
16
|
+
//# sourceMappingURL=pouchdb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pouchdb.js","sourceRoot":"","sources":["../src/pouchdb.ts"],"names":[],"mappings":"AAsBA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAG5B,IAAI,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC;AAGxC,MAAM,CAAC,SAAS,CAAC,OAAO,GAAG;IACzB,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;QAC1C,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;KACvD;IACD,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,CAAC,CAAC;AAGF,MAAM,OAAO,GAAQ,OAAO,CAAC,cAAc,CAAC,CAAC;AAC7C,MAAM,UAAU,GAAQ,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAC3D,MAAM,WAAW,GAAQ,OAAO,CAAC,cAAc,CAAC,CAAC;AAGjD,MAAM,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC;AAGpC,MAAM,SAAS,GAAQ,OAAO,CAAC,WAAW,CAAC,CAAC;AAE5C,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/lib/pouchdb.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pouchdb.d.ts","sourceRoot":"","sources":["../src/pouchdb.ts"],"names":[],"mappings":"AAoCA,QAAA,MAAM,OAAO,EAAE,GAA6B,CAAC;AAQ7C,QAAA,MAAM,SAAS,EAAE,GAA0B,CAAC;AAG5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/lib/pouchdb.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const module_1 = __importDefault(require("module"));
|
|
7
|
+
let _require = module_1.default.prototype.require;
|
|
8
|
+
module_1.default.prototype.require = function () {
|
|
9
|
+
if (arguments[0].indexOf("pouchdb") !== -1) {
|
|
10
|
+
arguments[0] = __dirname + "/pouchdb/" + arguments[0];
|
|
11
|
+
}
|
|
12
|
+
return _require.apply(this, arguments);
|
|
13
|
+
};
|
|
14
|
+
const PouchDB = require("pouchdb-core");
|
|
15
|
+
exports.PouchDB = PouchDB;
|
|
16
|
+
const PouchDBLdB = require("pouchdb-adapter-leveldb");
|
|
17
|
+
const PouchDBFind = require("pouchdb-find");
|
|
18
|
+
module_1.default.prototype.require = _require;
|
|
19
|
+
const leveldown = require("leveldown");
|
|
20
|
+
exports.leveldown = leveldown;
|
|
21
|
+
PouchDB.plugin(PouchDBLdB).plugin(PouchDBFind);
|
|
22
|
+
//# sourceMappingURL=pouchdb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pouchdb.js","sourceRoot":"","sources":["../src/pouchdb.ts"],"names":[],"mappings":";;;;;AAsBA,oDAA4B;AAG5B,IAAI,QAAQ,GAAG,gBAAM,CAAC,SAAS,CAAC,OAAO,CAAC;AAGxC,gBAAM,CAAC,SAAS,CAAC,OAAO,GAAG;IACzB,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;QAC1C,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;KACvD;IACD,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,CAAC,CAAC;AAGF,MAAM,OAAO,GAAQ,OAAO,CAAC,cAAc,CAAC,CAAC;AAWpC,0BAAO;AAVhB,MAAM,UAAU,GAAQ,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAC3D,MAAM,WAAW,GAAQ,OAAO,CAAC,cAAc,CAAC,CAAC;AAGjD,gBAAM,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC;AAGpC,MAAM,SAAS,GAAQ,OAAO,CAAC,WAAW,CAAC,CAAC;AAG1B,8BAAS;AAD3B,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activeledger/activestorage",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.5",
|
|
4
4
|
"description": "This package is Activeledger's built-in data storage engine",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"module": "./es/index.js",
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@activeledger/activelogger": "^2.7.0",
|
|
54
|
-
"@activeledger/activeoptions": "^2.
|
|
55
|
-
"@activeledger/activeutilities": "^2.
|
|
56
|
-
"@activeledger/httpd": "^2.
|
|
54
|
+
"@activeledger/activeoptions": "^2.13.5",
|
|
55
|
+
"@activeledger/activeutilities": "^2.13.5",
|
|
56
|
+
"@activeledger/httpd": "^2.13.5",
|
|
57
57
|
"leveldown": "6.1.1",
|
|
58
58
|
"levelup": "5.1.1",
|
|
59
59
|
"rocksdb": "5.2.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "cdc4e768cef4d172886253fb01d210cceb301d0b"
|
|
62
62
|
}
|