diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..25fa621 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib" +} diff --git a/package-lock.json b/package-lock.json index 42dd155..2c8cf77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,23 +10,23 @@ "license": "MIT", "dependencies": { "@moleculer/vorpal": "^1.11.5", - "bull": "^4.8.5", + "bull": "^4.10.1", "chalk": "^4.1.0", "ms": "^2.1.3", - "node-jq": "^2.3.3", + "node-jq": "^2.3.4", "redis-url-plus": "^1.0.0" }, "bin": { "bull-repl": "index.js" }, "devDependencies": { - "@types/bull": "3.15.9", + "@types/ioredis": "4.28.10", "@types/ms": "0.7.31", - "@types/node": "18.7.6", + "@types/node": "18.11.9", "@types/vorpal": "1.12.2", "ts-node": "10.9.1", "type-coverage": "2.22.0", - "typescript": "4.7.4" + "typescript": "4.8.4" } }, "node_modules/@cspotcode/source-map-support": { @@ -241,16 +241,6 @@ "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", "dev": true }, - "node_modules/@types/bull": { - "version": "3.15.9", - "resolved": "https://registry.npmjs.org/@types/bull/-/bull-3.15.9.tgz", - "integrity": "sha512-MPUcyPPQauAmynoO3ezHAmCOhbB0pWmYyijr/5ctaCqhbKWsjW0YCod38ZcLzUBprosfZ9dPqfYIcfdKjk7RNQ==", - "dev": true, - "dependencies": { - "@types/ioredis": "*", - "@types/redis": "^2.8.0" - } - }, "node_modules/@types/ioredis": { "version": "4.28.10", "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.28.10.tgz", @@ -267,20 +257,11 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.7.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.6.tgz", - "integrity": "sha512-EdxgKRXgYsNITy5mjjXjVE/CS8YENSdhiagGrLqjG0pvA2owgJ6i4l7wy/PFZGC0B1/H20lWKN7ONVDNYDZm7A==", + "version": "18.11.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", "dev": true }, - "node_modules/@types/redis": { - "version": "2.8.32", - "resolved": "https://registry.npmjs.org/@types/redis/-/redis-2.8.32.tgz", - "integrity": "sha512-7jkMKxcGq9p242exlbsVzuJb57KqHRhNl4dHoQu2Y5v9bCAbtIXXH0R3HleSQW4CTOqpHIYUW3t6tpUj4BVQ+w==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/vorpal": { "version": "1.12.2", "resolved": "https://registry.npmjs.org/@types/vorpal/-/vorpal-1.12.2.tgz", @@ -666,9 +647,9 @@ "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" }, "node_modules/bull": { - "version": "4.8.5", - "resolved": "https://registry.npmjs.org/bull/-/bull-4.8.5.tgz", - "integrity": "sha512-2Z630e4f6VsLJnWMAtfEHwIqJYmND4W3dcG48RIbXeWpvb4UnYtpe/zxEdslJu0PKrltB4IkFj5YtBsdeQRn8w==", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/bull/-/bull-4.10.1.tgz", + "integrity": "sha512-Fp21tRPb2EaZPVfmM+ONZKVz2RA+to+zGgaTLyCKt3JMSU8OOBqK8143OQrnGuGpsyE5G+9FevFAGhdZZfQP2g==", "dependencies": { "cron-parser": "^4.2.1", "debuglog": "^1.0.0", @@ -2133,9 +2114,9 @@ } }, "node_modules/node-jq": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/node-jq/-/node-jq-2.3.3.tgz", - "integrity": "sha512-HFdQm3BvM8xSFKSZwRzweypMj/75jkjPfiifq4CJM7IWmoIjbVuj1lT9+wtRI5c1Y3Za8LPjiJQ1VfEv7VKluQ==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/node-jq/-/node-jq-2.3.4.tgz", + "integrity": "sha512-Zm0kJzDHUtVdS9a3Ypq07+rQfxJ9SdbUa5hEOP9Y+gwToLPme6onIptApQgsqIMByA1FIE7sw+EKZvrmIy1Jqw==", "hasInstallScript": true, "dependencies": { "bin-build": "^3.0.0", @@ -3028,9 +3009,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -3359,16 +3340,6 @@ "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", "dev": true }, - "@types/bull": { - "version": "3.15.9", - "resolved": "https://registry.npmjs.org/@types/bull/-/bull-3.15.9.tgz", - "integrity": "sha512-MPUcyPPQauAmynoO3ezHAmCOhbB0pWmYyijr/5ctaCqhbKWsjW0YCod38ZcLzUBprosfZ9dPqfYIcfdKjk7RNQ==", - "dev": true, - "requires": { - "@types/ioredis": "*", - "@types/redis": "^2.8.0" - } - }, "@types/ioredis": { "version": "4.28.10", "resolved": "https://registry.npmjs.org/@types/ioredis/-/ioredis-4.28.10.tgz", @@ -3385,20 +3356,11 @@ "dev": true }, "@types/node": { - "version": "18.7.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.6.tgz", - "integrity": "sha512-EdxgKRXgYsNITy5mjjXjVE/CS8YENSdhiagGrLqjG0pvA2owgJ6i4l7wy/PFZGC0B1/H20lWKN7ONVDNYDZm7A==", + "version": "18.11.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", "dev": true }, - "@types/redis": { - "version": "2.8.32", - "resolved": "https://registry.npmjs.org/@types/redis/-/redis-2.8.32.tgz", - "integrity": "sha512-7jkMKxcGq9p242exlbsVzuJb57KqHRhNl4dHoQu2Y5v9bCAbtIXXH0R3HleSQW4CTOqpHIYUW3t6tpUj4BVQ+w==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/vorpal": { "version": "1.12.2", "resolved": "https://registry.npmjs.org/@types/vorpal/-/vorpal-1.12.2.tgz", @@ -3683,9 +3645,9 @@ "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" }, "bull": { - "version": "4.8.5", - "resolved": "https://registry.npmjs.org/bull/-/bull-4.8.5.tgz", - "integrity": "sha512-2Z630e4f6VsLJnWMAtfEHwIqJYmND4W3dcG48RIbXeWpvb4UnYtpe/zxEdslJu0PKrltB4IkFj5YtBsdeQRn8w==", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/bull/-/bull-4.10.1.tgz", + "integrity": "sha512-Fp21tRPb2EaZPVfmM+ONZKVz2RA+to+zGgaTLyCKt3JMSU8OOBqK8143OQrnGuGpsyE5G+9FevFAGhdZZfQP2g==", "requires": { "cron-parser": "^4.2.1", "debuglog": "^1.0.0", @@ -4803,9 +4765,9 @@ "optional": true }, "node-jq": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/node-jq/-/node-jq-2.3.3.tgz", - "integrity": "sha512-HFdQm3BvM8xSFKSZwRzweypMj/75jkjPfiifq4CJM7IWmoIjbVuj1lT9+wtRI5c1Y3Za8LPjiJQ1VfEv7VKluQ==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/node-jq/-/node-jq-2.3.4.tgz", + "integrity": "sha512-Zm0kJzDHUtVdS9a3Ypq07+rQfxJ9SdbUa5hEOP9Y+gwToLPme6onIptApQgsqIMByA1FIE7sw+EKZvrmIy1Jqw==", "requires": { "bin-build": "^3.0.0", "download": "^8.0.0", @@ -5442,9 +5404,9 @@ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true }, "unbzip2-stream": { diff --git a/package.json b/package.json index d725b8b..7345618 100644 --- a/package.json +++ b/package.json @@ -18,23 +18,23 @@ ], "dependencies": { "@moleculer/vorpal": "^1.11.5", - "bull": "^4.8.5", + "bull": "^4.10.1", "chalk": "^4.1.0", "ms": "^2.1.3", - "node-jq": "^2.3.3", + "node-jq": "^2.3.4", "redis-url-plus": "^1.0.0" }, "devDependencies": { - "@types/bull": "3.15.9", + "@types/ioredis": "4.28.10", "@types/ms": "0.7.31", - "@types/node": "18.7.6", + "@types/node": "18.11.9", "@types/vorpal": "1.12.2", "ts-node": "10.9.1", "type-coverage": "2.22.0", - "typescript": "4.7.4" + "typescript": "4.8.4" }, "scripts": { - "build": "npx type-coverage --at-least 100 --ignore-catch; rm index.js; tsc --build tsconfig.json; gsed -i '1 i #!/usr/bin/env node' index.js; chmod +x index.js", + "build": "npx type-coverage --at-least 100 --ignore-catch; rm index.js; tsc --build tsconfig.json; sed -i '1 i #!/usr/bin/env node' index.js; chmod +x index.js", "dev": "TS_NODE_TRANSPILE_ONLY=true TS_NODE_PREFER_TS_EXTS=true node --inspect -r ts-node/register index.ts", "test": "echo \"Error: no test specified\" && exit 1", "prepublishOnly": "npm run build"