@valkey/valkey-glide 1.3.5-rc7 → 1.3.5-rc8

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.
@@ -1,4 +1,4 @@
1
- import { Buffer, Writer } from "protobufjs/minimal.js";
1
+ import { Buffer, Writer } from "protobufjs/minimal";
2
2
  import { command_request, connection_request, response } from "../build-ts/ProtobufMessage";
3
3
  import { AggregationType, BaseScanOptions, BatchOptions, BitFieldGet, // eslint-disable-line @typescript-eslint/no-unused-vars
4
4
  BitFieldSubCommands, // eslint-disable-line @typescript-eslint/no-unused-vars
@@ -42,7 +42,7 @@ exports.convertRecordToGlideRecord = convertRecordToGlideRecord;
42
42
  * Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
43
43
  */
44
44
  const net = __importStar(require("net"));
45
- const minimal_js_1 = require("protobufjs/minimal.js");
45
+ const minimal_1 = require("protobufjs/minimal");
46
46
  const ProtobufMessage_1 = require("../build-ts/ProtobufMessage");
47
47
  const Commands_1 = require("./Commands");
48
48
  const Errors_1 = require("./Errors");
@@ -217,7 +217,7 @@ class BaseClient {
217
217
  ? Buffer.concat([this.remainingReadData, data])
218
218
  : data;
219
219
  let lastPos = 0;
220
- const reader = minimal_js_1.Reader.create(buf);
220
+ const reader = minimal_1.Reader.create(buf);
221
221
  while (reader.pos < reader.len) {
222
222
  lastPos = reader.pos;
223
223
  let message = undefined;
@@ -379,7 +379,7 @@ class BaseClient {
379
379
  constructor(socket, options) {
380
380
  this.promiseCallbackFunctions = [];
381
381
  this.availableCallbackSlots = [];
382
- this.requestWriter = new minimal_js_1.BufferWriter();
382
+ this.requestWriter = new minimal_1.BufferWriter();
383
383
  this.writeInProgress = false;
384
384
  this.isClosed = false;
385
385
  this.defaultDecoder = Decoder.String;
@@ -1,7 +1,7 @@
1
1
  /*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
2
2
  "use strict";
3
3
 
4
- var $protobuf = require("protobufjs/minimal.js");
4
+ var $protobuf = require("protobufjs/minimal");
5
5
 
6
6
  // Common aliases
7
7
  var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "build-ts/index.js",
5
5
  "module": "build-ts/index.js",
6
6
  "types": "build-ts/index.d.ts",
7
- "version": "1.3.5-rc7",
7
+ "version": "1.3.5-rc8",
8
8
  "exports": {
9
9
  ".": {
10
10
  "import": {
@@ -32,7 +32,7 @@
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
34
  "long": "5",
35
- "protobufjs-minimal": "~6.11.5"
35
+ "protobufjs": "7"
36
36
  },
37
37
  "keywords": [
38
38
  "valkey",
@@ -66,7 +66,7 @@
66
66
  "build:rust-client": "cd rust-client && npm run build:${BUILD_MODE:-dev}",
67
67
  "build:ts": "tsc",
68
68
  "build:ts:release": "tsc --stripInternal",
69
- "build-protobuf": "mkdir -p build-ts && pbjs -t static-module -w commonjs --dependency protobufjs/minimal.js --no-verify --no-convert -o build-ts/ProtobufMessage.js ../glide-core/src/protobuf/*.proto && pbts -o build-ts/ProtobufMessage.d.ts build-ts/ProtobufMessage.js && replace 'this\\.encode\\(message, writer\\)\\.ldelim' 'this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim' build-ts/ProtobufMessage.js",
69
+ "build-protobuf": "mkdir -p build-ts && pbjs -t static-module -w commonjs --no-verify --no-convert -o build-ts/ProtobufMessage.js ../glide-core/src/protobuf/*.proto && pbts -o build-ts/ProtobufMessage.d.ts build-ts/ProtobufMessage.js && replace 'this\\.encode\\(message, writer\\)\\.ldelim' 'this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim' build-ts/ProtobufMessage.js",
70
70
  "test": "npm run build-test-utils && jest --verbose --testPathIgnorePatterns='ServerModules'",
71
71
  "test:debug": "npm run build-test-utils && jest --runInBand",
72
72
  "test:minimum": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern='^(.(?!(GlideJson|GlideFt|pubsub|kill)))*$'",
@@ -133,11 +133,11 @@
133
133
  }
134
134
  },
135
135
  "optionalDependencies": {
136
- "@valkey/valkey-glide-darwin-x64": "1.3.5-rc7",
137
- "@valkey/valkey-glide-darwin-arm64": "1.3.5-rc7",
138
- "@valkey/valkey-glide-linux-x64-gnu": "1.3.5-rc7",
139
- "@valkey/valkey-glide-linux-arm64-gnu": "1.3.5-rc7",
140
- "@valkey/valkey-glide-linux-x64-musl": "1.3.5-rc7",
141
- "@valkey/valkey-glide-linux-arm64-musl": "1.3.5-rc7"
136
+ "@valkey/valkey-glide-darwin-x64": "1.3.5-rc8",
137
+ "@valkey/valkey-glide-darwin-arm64": "1.3.5-rc8",
138
+ "@valkey/valkey-glide-linux-x64-gnu": "1.3.5-rc8",
139
+ "@valkey/valkey-glide-linux-arm64-gnu": "1.3.5-rc8",
140
+ "@valkey/valkey-glide-linux-x64-musl": "1.3.5-rc8",
141
+ "@valkey/valkey-glide-linux-arm64-musl": "1.3.5-rc8"
142
142
  }
143
143
  }