@imqueue/core 1.12.0 → 1.13.0
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/package.json +14 -14
- package/src/IMQMode.js +1 -1
- package/src/RedisQueue.js +1 -1
- package/src/profile.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imqueue/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Simple JSON-based messaging queue for inter service communication",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"message-queue",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"prepare": "./node_modules/.bin/tsc",
|
|
15
15
|
"test": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha && ./node_modules/.bin/nyc report --reporter=text-lcov && npm run test-coverage",
|
|
16
|
-
"test-fast": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha && /usr/bin/env node -e \"
|
|
17
|
-
"test-local": "export COVERALLS_REPO_TOKEN=$IMQ_COVERALLS_TOKEN && npm test && /usr/bin/env node -e \"
|
|
16
|
+
"test-fast": "./node_modules/.bin/tsc && ./node_modules/.bin/nyc mocha && /usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/coverage/index.html', { wait: false }))\"",
|
|
17
|
+
"test-local": "export COVERALLS_REPO_TOKEN=$IMQ_COVERALLS_TOKEN && npm test && /usr/bin/env node -e \"import('open').then(open => open.default('https://coveralls.io/github/imqueue/imq', { wait: false }))\"",
|
|
18
18
|
"test-dev": "npm run test && npm run clean-js && npm run clean-typedefs && npm run clean-maps",
|
|
19
19
|
"test-coverage": "cat ./coverage/lcov.info | CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=85bb2a18-4ebb-4e48-a2ce-92b7bf438b1a ./node_modules/.bin/codeclimate-test-reporter",
|
|
20
20
|
"clean-typedefs": "find . -name '*.d.ts' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"clean-doc": "rm -rf docs",
|
|
25
25
|
"clean-benchmark": "rm -rf benchmark-result",
|
|
26
26
|
"clean": "npm run clean-tests && npm run clean-typedefs && npm run clean-maps && npm run clean-js && npm run clean-doc && npm run clean-benchmark",
|
|
27
|
-
"doc": "rm -rf docs && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*\" --mode file --out ./docs . && /usr/bin/env node -e \"
|
|
27
|
+
"doc": "rm -rf docs && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude \"**/+(test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*\" --mode file --out ./docs . && /usr/bin/env node -e \"import('open').then(open => open.default('file://`pwd`/docs/index.html',{wait:false}))\""
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"redis": "3.1.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@types/chai": "^4.3.
|
|
45
|
-
"@types/mocha": "^10.0.
|
|
46
|
-
"@types/mock-require": "^2.0.
|
|
47
|
-
"@types/node": "^20.
|
|
48
|
-
"@types/sinon": "^
|
|
49
|
-
"@types/yargs": "^17.0.
|
|
50
|
-
"chai": "^4.3.
|
|
44
|
+
"@types/chai": "^4.3.10",
|
|
45
|
+
"@types/mocha": "^10.0.4",
|
|
46
|
+
"@types/mock-require": "^2.0.3",
|
|
47
|
+
"@types/node": "^20.9.0",
|
|
48
|
+
"@types/sinon": "^17.0.1",
|
|
49
|
+
"@types/yargs": "^17.0.31",
|
|
50
|
+
"chai": "^4.3.10",
|
|
51
51
|
"codeclimate-test-reporter": "^0.5.1",
|
|
52
52
|
"coveralls": "^3.1.1",
|
|
53
53
|
"mocha": "^10.2.0",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"nyc": "^15.1.0",
|
|
57
57
|
"open": "^9.1.0",
|
|
58
58
|
"reflect-metadata": "^0.1.13",
|
|
59
|
-
"sinon": "^
|
|
59
|
+
"sinon": "^17.0.1",
|
|
60
60
|
"source-map-support": "^0.5.21",
|
|
61
61
|
"ts-node": "^10.9.1",
|
|
62
62
|
"tslint": "^6.1.3",
|
|
63
|
-
"typedoc": "^0.
|
|
64
|
-
"typescript": "^5.
|
|
63
|
+
"typedoc": "^0.25.3",
|
|
64
|
+
"typescript": "^5.2.2",
|
|
65
65
|
"yargs": "^17.7.2"
|
|
66
66
|
},
|
|
67
67
|
"main": "index.js",
|
package/src/IMQMode.js
CHANGED
|
@@ -21,5 +21,5 @@ var IMQMode;
|
|
|
21
21
|
IMQMode[IMQMode["BOTH"] = 0] = "BOTH";
|
|
22
22
|
IMQMode[IMQMode["WORKER"] = 1] = "WORKER";
|
|
23
23
|
IMQMode[IMQMode["PUBLISHER"] = 2] = "PUBLISHER";
|
|
24
|
-
})(IMQMode
|
|
24
|
+
})(IMQMode || (exports.IMQMode = IMQMode = {}));
|
|
25
25
|
//# sourceMappingURL=IMQMode.js.map
|
package/src/RedisQueue.js
CHANGED
|
@@ -991,6 +991,7 @@ class RedisQueue extends events_1.EventEmitter {
|
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
|
+
exports.RedisQueue = RedisQueue;
|
|
994
995
|
/**
|
|
995
996
|
* Writer connections collection
|
|
996
997
|
*
|
|
@@ -1033,5 +1034,4 @@ __decorate([
|
|
|
1033
1034
|
__metadata("design:paramtypes", []),
|
|
1034
1035
|
__metadata("design:returntype", void 0)
|
|
1035
1036
|
], RedisQueue.prototype, "destroyWriter", null);
|
|
1036
|
-
exports.RedisQueue = RedisQueue;
|
|
1037
1037
|
//# sourceMappingURL=RedisQueue.js.map
|
package/src/profile.js
CHANGED
|
@@ -26,7 +26,7 @@ var LogLevel;
|
|
|
26
26
|
LogLevel["INFO"] = "info";
|
|
27
27
|
LogLevel["WARN"] = "warn";
|
|
28
28
|
LogLevel["ERROR"] = "error";
|
|
29
|
-
})(LogLevel
|
|
29
|
+
})(LogLevel || (exports.LogLevel = LogLevel = {}));
|
|
30
30
|
/**
|
|
31
31
|
* Checks if log level is set to proper value or returns default one
|
|
32
32
|
*
|