Skip to content

Commit 3e45357

Browse files
committed
Merge pull request #38 from getjackd/09-11-Development_packages_have_been_upgraded_to_their_latest_versions
Development packages have been upgraded to their latest versions
2 parents 8cf7320 + 233ca73 commit 3e45357

File tree

6 files changed

+459
-701
lines changed

6 files changed

+459
-701
lines changed

dist/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// <reference types="node" />
2+
/// <reference types="node" />
23
import { Socket } from 'net';
34
import { CommandExecution, CommandHandler, ConnectOpts, Job, CtorOpts, PutOpts } from './types';
45
export declare class JackdClient {

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/types.d.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/// <reference types="node" />
2+
/// <reference types="node" />
23
import EventEmitter = require('events');
3-
export declare type CommandHandler<T> = (chunk: Buffer) => Promise<T>;
4+
export type CommandHandler<T> = (chunk: Buffer) => Promise<T>;
45
export declare class CommandExecution<T> {
56
handlers: CommandHandler<T | void>[];
67
emitter: EventEmitter;
@@ -28,9 +29,9 @@ export interface ReleaseOpts {
2829
export interface PauseTubeOpts {
2930
delay?: number;
3031
}
31-
export declare type PutArgs = [payload: Buffer | string | object, options?: PutOpts];
32-
export declare type ReleaseArgs = [jobId: string, options?: ReleaseOpts];
33-
export declare type PauseTubeArgs = [tubeId: string, options?: PauseTubeOpts];
34-
export declare type JobArgs = [jobId: string];
35-
export declare type TubeArgs = [tubeId: string];
32+
export type PutArgs = [payload: Buffer | string | object, options?: PutOpts];
33+
export type ReleaseArgs = [jobId: string, options?: ReleaseOpts];
34+
export type PauseTubeArgs = [tubeId: string, options?: PauseTubeOpts];
35+
export type JobArgs = [jobId: string];
36+
export type TubeArgs = [tubeId: string];
3637
//# sourceMappingURL=types.d.ts.map

dist/types.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jackd",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "Modern beanstalkd client for Node.js",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -10,6 +10,9 @@
1010
"lint": "eslint src",
1111
"test": "mocha --bail"
1212
},
13+
"files": [
14+
"dist/"
15+
],
1316
"repository": {
1417
"type": "git",
1518
"url": "git+https://github.com/getjackd/jackd.git"
@@ -24,11 +27,11 @@
2427
},
2528
"homepage": "https://github.com/getjackd/jackd#readme",
2629
"devDependencies": {
27-
"@types/node": "^17.0.5",
28-
"chai": "^4.2.0",
29-
"eslint": "^8.5.0",
30-
"mocha": "^6.2.2",
31-
"typescript": "^4.5.4",
32-
"yaml": "^1.3.2"
30+
"@types/node": "^20.6.0",
31+
"chai": "^4.3.8",
32+
"eslint": "^8.49.0",
33+
"mocha": "^10.2.0",
34+
"typescript": "^5.2.2",
35+
"yaml": "^2.3.2"
3336
}
3437
}

0 commit comments

Comments
 (0)