We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7391b4b commit 2e0dbe3Copy full SHA for 2e0dbe3
dist/cjs/index.cjs
@@ -7999,7 +7999,7 @@ var JackdClient = class {
7999
},
8000
[
8001
(buffer) => {
8002
- const ascii = validate(buffer, [DEADLINE_SOON, TIMED_OUT]);
+ const ascii = validate(buffer, [NOT_FOUND]);
8003
if (ascii.startsWith(OK)) {
8004
const [, bytes] = ascii.split(" ");
8005
this.chunkLength = parseInt(bytes);
@@ -8034,7 +8034,7 @@ var JackdClient = class {
8034
8035
8036
8037
- const ascii = validate(buffer, [NOT_FOUND, DEADLINE_SOON, TIMED_OUT]);
8038
8039
8040
@@ -8064,7 +8064,7 @@ var JackdClient = class {
8064
`),
8065
8066
8067
+ const ascii = validate(buffer);
8068
8069
8070
dist/esm/index.js
@@ -7991,7 +7991,7 @@ var JackdClient = class {
7991
7992
7993
7994
7995
7996
7997
@@ -8026,7 +8026,7 @@ var JackdClient = class {
8026
8027
8028
8029
8030
8031
8032
@@ -8056,7 +8056,7 @@ var JackdClient = class {
8056
8057
8058
8059
8060
8061
8062
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "jackd",
3
- "version": "3.4.2",
+ "version": "3.4.3",
4
"description": "Modern beanstalkd client for Node.js",
5
"type": "module",
6
"exports": {
src/index.ts
@@ -980,7 +980,7 @@ export class JackdClient {
980
981
982
(buffer: Uint8Array) => {
983
- const ascii = validate(buffer, [DEADLINE_SOON, TIMED_OUT])
+ const ascii = validate(buffer, [NOT_FOUND])
984
985
986
const [, bytes] = ascii.split(" ")
@@ -1017,7 +1017,7 @@ export class JackdClient {
1017
1018
1019
1020
- const ascii = validate(buffer, [NOT_FOUND, DEADLINE_SOON, TIMED_OUT])
1021
1022
1023
@@ -1049,7 +1049,7 @@ export class JackdClient {
1049
() => new TextEncoder().encode(`stats\r\n`),
1050
1051
1052
+ const ascii = validate(buffer)
1053
1054
1055
0 commit comments