@bunt/queue
Advanced tools
Comparing version 0.29.26 to 0.30.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isMessageParser = exports.isMessageSerializer = exports.isTransactionMessage = exports.createReleaseState = exports.tryUnserialize = exports.unserialize = exports.serialize = void 0; | ||
exports.serialize = serialize; | ||
exports.unserialize = unserialize; | ||
exports.tryUnserialize = tryUnserialize; | ||
exports.createReleaseState = createReleaseState; | ||
exports.isTransactionMessage = isTransactionMessage; | ||
exports.isMessageSerializer = isMessageSerializer; | ||
exports.isMessageParser = isMessageParser; | ||
const crypto = require("crypto"); | ||
@@ -17,3 +23,2 @@ const util_1 = require("@bunt/util"); | ||
} | ||
exports.serialize = serialize; | ||
function unserialize(type, message) { | ||
@@ -32,3 +37,2 @@ (0, util_1.assert)(serializeRe.test(message), "Wrong message format"); | ||
} | ||
exports.unserialize = unserialize; | ||
function tryUnserialize(type, message) { | ||
@@ -47,3 +51,2 @@ if (!message) { | ||
} | ||
exports.tryUnserialize = tryUnserialize; | ||
function createReleaseState(message) { | ||
@@ -63,3 +66,2 @@ const runAt = new Date(); | ||
} | ||
exports.createReleaseState = createReleaseState; | ||
function isTransactionMessage(type) { | ||
@@ -69,11 +71,8 @@ return Reflect.has(type, "getBackupKey") | ||
} | ||
exports.isTransactionMessage = isTransactionMessage; | ||
function isMessageSerializer(target) { | ||
return "serialize" in target; | ||
} | ||
exports.isMessageSerializer = isMessageSerializer; | ||
function isMessageParser(target) { | ||
return "parse" in target; | ||
} | ||
exports.isMessageParser = isMessageParser; | ||
//# sourceMappingURL=fn.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createConnection = void 0; | ||
exports.createConnection = createConnection; | ||
const url_1 = require("url"); | ||
@@ -45,3 +45,2 @@ const util_1 = require("@bunt/util"); | ||
} | ||
exports.createConnection = createConnection; | ||
//# sourceMappingURL=fn.js.map |
{ | ||
"name": "@bunt/queue", | ||
"version": "0.29.26", | ||
"version": "0.30.0", | ||
"keywords": [ | ||
@@ -36,9 +36,9 @@ "typescript" | ||
"dependencies": { | ||
"@bunt/async": "^0.29.19", | ||
"@bunt/unit": "^0.29.26", | ||
"@bunt/util": "^0.29.26", | ||
"ioredis": "^5.3.2" | ||
"@bunt/async": "^0.30.0", | ||
"@bunt/unit": "^0.30.0", | ||
"@bunt/util": "^0.30.0", | ||
"ioredis": "^5.4.1" | ||
}, | ||
"license": "MIT", | ||
"gitHead": "f15def8255bafd5231a46aa842f535cb4ee0fbb9" | ||
"gitHead": "eeab4ccbf32313ff12690fab4bc5a783712a3c28" | ||
} |
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
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
397622
2687
+ Added@bunt/assert@0.30.0(transitive)
+ Added@bunt/async@0.30.0(transitive)
+ Added@bunt/is@0.30.0(transitive)
+ Added@bunt/type@0.30.0(transitive)
+ Added@bunt/unit@0.30.0(transitive)
+ Added@bunt/util@0.30.0(transitive)
- Removed@bunt/assert@0.29.19(transitive)
- Removed@bunt/async@0.29.19(transitive)
- Removed@bunt/is@0.29.19(transitive)
- Removed@bunt/type@0.29.19(transitive)
- Removed@bunt/unit@0.29.26(transitive)
- Removed@bunt/util@0.29.26(transitive)
Updated@bunt/async@^0.30.0
Updated@bunt/unit@^0.30.0
Updated@bunt/util@^0.30.0
Updatedioredis@^5.4.1