Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bull

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bull - npm Package Compare versions

Comparing version 4.5.1 to 4.5.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [4.5.2](https://github.com/OptimalBits/bull/compare/v4.5.1...v4.5.2) (2022-02-14)
### Bug Fixes
* **scripts:** make it easier for tools like vercel to find the .lua scripts ([8ab5b1d](https://github.com/OptimalBits/bull/commit/8ab5b1d1c3eecf41b20d97f464030377ece01640))
## [4.5.1](https://github.com/OptimalBits/bull/compare/v4.5.0...v4.5.1) (2022-02-06)

@@ -2,0 +9,0 @@

8

lib/commands/index.js

@@ -25,3 +25,3 @@ /**

await utils.isRedisReady(client);
scripts = await (scripts || loadScripts(__dirname));
scripts = await (scripts || loadScripts());

@@ -34,4 +34,4 @@ return scripts.map(({ name, options }) =>

async function loadScripts(dir) {
const scriptsDir = await fsAsync.readdir(dir);
async function loadScripts() {
const scriptsDir = await fsAsync.readdir(__dirname);
const luaFiles = scriptsDir.filter(file => path.extname(file) === '.lua');

@@ -47,3 +47,3 @@ if (luaFiles.length === 0) {

luaFiles.map(async file => {
const lua = await fsAsync.readFile(path.join(dir, file));
const lua = await fsAsync.readFile(path.join(__dirname, file));
const longName = path.basename(file, '.lua');

@@ -50,0 +50,0 @@

{
"name": "bull",
"version": "4.5.1",
"version": "4.5.2",
"description": "Job manager",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc