@valkey/valkey-glide 1.3.5-rc6 → 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,5 @@
1
1
  import { Buffer, Writer } from "protobufjs/minimal";
2
+ import { command_request, connection_request, response } from "../build-ts/ProtobufMessage";
2
3
  import { AggregationType, BaseScanOptions, BatchOptions, BitFieldGet, // eslint-disable-line @typescript-eslint/no-unused-vars
3
4
  BitFieldSubCommands, // eslint-disable-line @typescript-eslint/no-unused-vars
4
5
  BitOffsetOptions, BitwiseOperation, Boundary, ClusterBatchOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
@@ -9,7 +10,6 @@ import { ConnectionError, RequestError, ValkeyError } from "./Errors";
9
10
  import { GlideClientConfiguration } from "./GlideClient";
10
11
  import { GlideClusterClientConfiguration, Routes } from "./GlideClusterClient";
11
12
  import { Script } from "./native";
12
- import { command_request, connection_request, response } from "../build-ts/ProtobufMessage";
13
13
  type PromiseFunction = (value?: any) => void;
14
14
  type ErrorFunction = (error: ValkeyError) => void;
15
15
  export type ReturnTypeRecord = {
@@ -43,11 +43,11 @@ exports.convertRecordToGlideRecord = convertRecordToGlideRecord;
43
43
  */
44
44
  const net = __importStar(require("net"));
45
45
  const minimal_1 = require("protobufjs/minimal");
46
+ const ProtobufMessage_1 = require("../build-ts/ProtobufMessage");
46
47
  const Commands_1 = require("./Commands");
47
48
  const Errors_1 = require("./Errors");
48
49
  const Logger_1 = require("./Logger");
49
50
  const native_1 = require("./native");
50
- const ProtobufMessage_1 = require("../build-ts/ProtobufMessage");
51
51
  var ProtocolVersion;
52
52
  (function (ProtocolVersion) {
53
53
  /** Use RESP2 to communicate with the server nodes. */
@@ -4,10 +4,10 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.GlideClusterClient = exports.GlideClusterClientConfiguration = void 0;
7
+ const ProtobufMessage_1 = require("../build-ts/ProtobufMessage");
7
8
  const BaseClient_1 = require("./BaseClient");
8
9
  const Commands_1 = require("./Commands");
9
10
  const native_1 = require("./native");
10
- const ProtobufMessage_1 = require("../build-ts/ProtobufMessage");
11
11
  /* eslint-disable-next-line @typescript-eslint/no-namespace */
12
12
  var GlideClusterClientConfiguration;
13
13
  (function (GlideClusterClientConfiguration) {
@@ -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-rc6",
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-rc6",
137
- "@valkey/valkey-glide-darwin-arm64": "1.3.5-rc6",
138
- "@valkey/valkey-glide-linux-x64-gnu": "1.3.5-rc6",
139
- "@valkey/valkey-glide-linux-arm64-gnu": "1.3.5-rc6",
140
- "@valkey/valkey-glide-linux-x64-musl": "1.3.5-rc6",
141
- "@valkey/valkey-glide-linux-arm64-musl": "1.3.5-rc6"
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
  }