@upstash/redis 1.35.2 → 1.35.3
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.
- package/{chunk-JXBYIALB.mjs → chunk-2BA3VA6P.mjs} +1 -1
- package/cloudflare.js +1 -1
- package/cloudflare.mjs +1 -1
- package/fastly.js +1 -1
- package/fastly.mjs +1 -1
- package/nodejs.js +2 -2
- package/nodejs.mjs +2 -2
- package/package.json +1 -1
package/cloudflare.js
CHANGED
package/cloudflare.mjs
CHANGED
package/fastly.js
CHANGED
package/fastly.mjs
CHANGED
package/nodejs.js
CHANGED
|
@@ -4502,7 +4502,7 @@ var Redis = class {
|
|
|
4502
4502
|
};
|
|
4503
4503
|
|
|
4504
4504
|
// version.ts
|
|
4505
|
-
var VERSION = "v1.35.
|
|
4505
|
+
var VERSION = "v1.35.3";
|
|
4506
4506
|
|
|
4507
4507
|
// platforms/nodejs.ts
|
|
4508
4508
|
if (typeof atob === "undefined") {
|
|
@@ -4571,7 +4571,7 @@ var Redis2 = class _Redis extends Redis {
|
|
|
4571
4571
|
// @ts-expect-error to silence compiler
|
|
4572
4572
|
typeof EdgeRuntime === "string" ? "edge-light" : `node@${process.version}`
|
|
4573
4573
|
),
|
|
4574
|
-
platform: process.env.VERCEL ? "vercel" : process.env.AWS_REGION ? "aws" : "unknown",
|
|
4574
|
+
platform: process.env.UPSTASH_CONSOLE ? "console" : process.env.VERCEL ? "vercel" : process.env.AWS_REGION ? "aws" : "unknown",
|
|
4575
4575
|
sdk: `@upstash/redis@${VERSION}`
|
|
4576
4576
|
});
|
|
4577
4577
|
if (this.enableAutoPipelining) {
|
package/nodejs.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Redis,
|
|
4
4
|
VERSION,
|
|
5
5
|
error_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2BA3VA6P.mjs";
|
|
7
7
|
|
|
8
8
|
// platforms/nodejs.ts
|
|
9
9
|
if (typeof atob === "undefined") {
|
|
@@ -72,7 +72,7 @@ var Redis2 = class _Redis extends Redis {
|
|
|
72
72
|
// @ts-expect-error to silence compiler
|
|
73
73
|
typeof EdgeRuntime === "string" ? "edge-light" : `node@${process.version}`
|
|
74
74
|
),
|
|
75
|
-
platform: process.env.VERCEL ? "vercel" : process.env.AWS_REGION ? "aws" : "unknown",
|
|
75
|
+
platform: process.env.UPSTASH_CONSOLE ? "console" : process.env.VERCEL ? "vercel" : process.env.AWS_REGION ? "aws" : "unknown",
|
|
76
76
|
sdk: `@upstash/redis@${VERSION}`
|
|
77
77
|
});
|
|
78
78
|
if (this.enableAutoPipelining) {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@upstash/redis","version":"v1.35.
|
|
1
|
+
{"name":"@upstash/redis","version":"v1.35.3","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"}}
|