@upstash/redis 1.37.0-rc → 1.37.0-rc.1

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.
@@ -3456,7 +3456,7 @@ function buildQueryCommand(redisCommand, name, options) {
3456
3456
  command.push("NOCONTENT");
3457
3457
  }
3458
3458
  if (options?.orderBy) {
3459
- command.push("SORTBY");
3459
+ command.push("ORDERBY");
3460
3460
  for (const [field, direction] of Object.entries(options.orderBy)) {
3461
3461
  command.push(field, direction);
3462
3462
  }
@@ -3474,7 +3474,7 @@ function buildQueryCommand(redisCommand, name, options) {
3474
3474
  }
3475
3475
  if (options?.select && Object.keys(options.select).length > 0) {
3476
3476
  command.push(
3477
- "RETURN",
3477
+ "SELECT",
3478
3478
  Object.keys(options.select).length.toString(),
3479
3479
  ...Object.keys(options.select)
3480
3480
  );
@@ -4779,7 +4779,7 @@ var Redis = class {
4779
4779
  };
4780
4780
 
4781
4781
  // version.ts
4782
- var VERSION = "v1.37.0-rc";
4782
+ var VERSION = "v1.37.0-rc.1";
4783
4783
 
4784
4784
  export {
4785
4785
  error_exports,
package/cloudflare.js CHANGED
@@ -2636,7 +2636,7 @@ function buildQueryCommand(redisCommand, name, options) {
2636
2636
  command.push("NOCONTENT");
2637
2637
  }
2638
2638
  if (options?.orderBy) {
2639
- command.push("SORTBY");
2639
+ command.push("ORDERBY");
2640
2640
  for (const [field, direction] of Object.entries(options.orderBy)) {
2641
2641
  command.push(field, direction);
2642
2642
  }
@@ -2654,7 +2654,7 @@ function buildQueryCommand(redisCommand, name, options) {
2654
2654
  }
2655
2655
  if (options?.select && Object.keys(options.select).length > 0) {
2656
2656
  command.push(
2657
- "RETURN",
2657
+ "SELECT",
2658
2658
  Object.keys(options.select).length.toString(),
2659
2659
  ...Object.keys(options.select)
2660
2660
  );
@@ -4800,7 +4800,7 @@ var Redis = class {
4800
4800
  };
4801
4801
 
4802
4802
  // version.ts
4803
- var VERSION = "v1.37.0-rc";
4803
+ var VERSION = "v1.37.0-rc.1";
4804
4804
 
4805
4805
  // platforms/cloudflare.ts
4806
4806
  var Redis2 = class _Redis extends Redis {
package/cloudflare.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  Redis,
4
4
  VERSION,
5
5
  error_exports
6
- } from "./chunk-D4C7KXWT.mjs";
6
+ } from "./chunk-PDHDP2I5.mjs";
7
7
 
8
8
  // platforms/cloudflare.ts
9
9
  var Redis2 = class _Redis extends Redis {
package/fastly.js CHANGED
@@ -2636,7 +2636,7 @@ function buildQueryCommand(redisCommand, name, options) {
2636
2636
  command.push("NOCONTENT");
2637
2637
  }
2638
2638
  if (options?.orderBy) {
2639
- command.push("SORTBY");
2639
+ command.push("ORDERBY");
2640
2640
  for (const [field, direction] of Object.entries(options.orderBy)) {
2641
2641
  command.push(field, direction);
2642
2642
  }
@@ -2654,7 +2654,7 @@ function buildQueryCommand(redisCommand, name, options) {
2654
2654
  }
2655
2655
  if (options?.select && Object.keys(options.select).length > 0) {
2656
2656
  command.push(
2657
- "RETURN",
2657
+ "SELECT",
2658
2658
  Object.keys(options.select).length.toString(),
2659
2659
  ...Object.keys(options.select)
2660
2660
  );
@@ -4800,7 +4800,7 @@ var Redis = class {
4800
4800
  };
4801
4801
 
4802
4802
  // version.ts
4803
- var VERSION = "v1.37.0-rc";
4803
+ var VERSION = "v1.37.0-rc.1";
4804
4804
 
4805
4805
  // platforms/fastly.ts
4806
4806
  var Redis2 = class extends Redis {
package/fastly.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  Redis,
4
4
  VERSION,
5
5
  error_exports
6
- } from "./chunk-D4C7KXWT.mjs";
6
+ } from "./chunk-PDHDP2I5.mjs";
7
7
 
8
8
  // platforms/fastly.ts
9
9
  var Redis2 = class extends Redis {
package/nodejs.js CHANGED
@@ -2637,7 +2637,7 @@ function buildQueryCommand(redisCommand, name, options) {
2637
2637
  command.push("NOCONTENT");
2638
2638
  }
2639
2639
  if (options?.orderBy) {
2640
- command.push("SORTBY");
2640
+ command.push("ORDERBY");
2641
2641
  for (const [field, direction] of Object.entries(options.orderBy)) {
2642
2642
  command.push(field, direction);
2643
2643
  }
@@ -2655,7 +2655,7 @@ function buildQueryCommand(redisCommand, name, options) {
2655
2655
  }
2656
2656
  if (options?.select && Object.keys(options.select).length > 0) {
2657
2657
  command.push(
2658
- "RETURN",
2658
+ "SELECT",
2659
2659
  Object.keys(options.select).length.toString(),
2660
2660
  ...Object.keys(options.select)
2661
2661
  );
@@ -4801,7 +4801,7 @@ var Redis = class {
4801
4801
  };
4802
4802
 
4803
4803
  // version.ts
4804
- var VERSION = "v1.37.0-rc";
4804
+ var VERSION = "v1.37.0-rc.1";
4805
4805
 
4806
4806
  // pkg/commands/search/schema-builder.ts
4807
4807
  var BUILD = Symbol("build");
package/nodejs.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  Redis,
4
4
  VERSION,
5
5
  error_exports
6
- } from "./chunk-D4C7KXWT.mjs";
6
+ } from "./chunk-PDHDP2I5.mjs";
7
7
 
8
8
  // pkg/commands/search/schema-builder.ts
9
9
  var BUILD = Symbol("build");
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@upstash/redis","version":"v1.37.0-rc","main":"./nodejs.js","module":"./nodejs.mjs","types":"./nodejs.d.ts","exports":{".":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./node":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./cloudflare":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.js":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.mjs":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./fastly":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.js":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.mjs":{"import":"./fastly.mjs","require":"./fastly.js"}},"description":"An HTTP/REST based Redis client built on top of Upstash REST API.","repository":{"type":"git","url":"git+https://github.com/upstash/upstash-redis.git"},"keywords":["redis","database","serverless","edge","upstash"],"files":["./*"],"scripts":{"build":"tsup && cp package.json README.md LICENSE dist/","test":"bun test pkg","fmt":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","lint":"eslint \"**/*.{js,ts,tsx}\" --quiet --fix","format":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","format:check":"prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"","lint:fix":"eslint . -c .ts,.tsx,.js,.jsx --fix","commit":"cz","lint:format":"bun run lint:fix && bun run format","check-exports":"bun run build && cd dist && attw -P"},"author":"Andreas Thomas <dev@chronark.com>","license":"MIT","bugs":{"url":"https://github.com/upstash/upstash-redis/issues"},"homepage":"https://github.com/upstash/upstash-redis#readme","devDependencies":{"@biomejs/biome":"latest","@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"8.4.0","@typescript-eslint/parser":"8.4.0","bun-types":"1.0.33","eslint":"9.10.0","eslint-plugin-unicorn":"55.0.0","husky":"^9.1.1","prettier":"^3.3.3","tsup":"^8.2.3","typescript":"latest"},"dependencies":{"uncrypto":"^0.1.3"}}
1
+ {"name":"@upstash/redis","version":"v1.37.0-rc.1","main":"./nodejs.js","module":"./nodejs.mjs","types":"./nodejs.d.ts","exports":{".":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./node":{"import":"./nodejs.mjs","require":"./nodejs.js"},"./cloudflare":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.js":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./cloudflare.mjs":{"import":"./cloudflare.mjs","require":"./cloudflare.js"},"./fastly":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.js":{"import":"./fastly.mjs","require":"./fastly.js"},"./fastly.mjs":{"import":"./fastly.mjs","require":"./fastly.js"}},"description":"An HTTP/REST based Redis client built on top of Upstash REST API.","repository":{"type":"git","url":"git+https://github.com/upstash/upstash-redis.git"},"keywords":["redis","database","serverless","edge","upstash"],"files":["./*"],"scripts":{"build":"tsup && cp package.json README.md LICENSE dist/","test":"bun test pkg","fmt":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","lint":"eslint \"**/*.{js,ts,tsx}\" --quiet --fix","format":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","format:check":"prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"","lint:fix":"eslint . -c .ts,.tsx,.js,.jsx --fix","commit":"cz","lint:format":"bun run lint:fix && bun run format","check-exports":"bun run build && cd dist && attw -P"},"author":"Andreas Thomas <dev@chronark.com>","license":"MIT","bugs":{"url":"https://github.com/upstash/upstash-redis/issues"},"homepage":"https://github.com/upstash/upstash-redis#readme","devDependencies":{"@biomejs/biome":"latest","@commitlint/cli":"^19.3.0","@commitlint/config-conventional":"^19.2.2","@typescript-eslint/eslint-plugin":"8.4.0","@typescript-eslint/parser":"8.4.0","bun-types":"1.0.33","eslint":"9.10.0","eslint-plugin-unicorn":"55.0.0","husky":"^9.1.1","prettier":"^3.3.3","tsup":"^8.2.3","typescript":"latest"},"dependencies":{"uncrypto":"^0.1.3"}}