@upstash/redis 1.0.0-alpha.3 → 1.0.0-alpha.4
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-FJSI5EBJ.mjs → chunk-6GEVIAL6.mjs} +1 -1
- package/{chunk-U7OXAQMQ.mjs → chunk-HIDCSH5S.mjs} +0 -1
- package/cloudflare.js +0 -1
- package/cloudflare.mjs +1 -1
- package/fastly.js +0 -1
- package/fastly.mjs +1 -1
- package/http.js +0 -1
- package/http.mjs +1 -1
- package/index.js +1 -2
- package/index.mjs +2 -2
- package/nodejs.js +1 -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/http.js
CHANGED
package/http.mjs
CHANGED
package/index.js
CHANGED
|
@@ -1681,7 +1681,6 @@ var Redis = class {
|
|
|
1681
1681
|
};
|
|
1682
1682
|
|
|
1683
1683
|
// pkg/http.ts
|
|
1684
|
-
var import_isomorphic_fetch = require("isomorphic-fetch");
|
|
1685
1684
|
var HttpClient = class {
|
|
1686
1685
|
constructor(config) {
|
|
1687
1686
|
this.baseUrl = config.baseUrl.replace(/\/$/, "");
|
|
@@ -1710,7 +1709,7 @@ var HttpClient = class {
|
|
|
1710
1709
|
};
|
|
1711
1710
|
|
|
1712
1711
|
// pkg/nodejs.ts
|
|
1713
|
-
var
|
|
1712
|
+
var import_isomorphic_fetch = require("isomorphic-fetch");
|
|
1714
1713
|
var Redis2 = class extends Redis {
|
|
1715
1714
|
constructor(config) {
|
|
1716
1715
|
const client = new HttpClient({
|
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Redis
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6GEVIAL6.mjs";
|
|
4
4
|
import "./chunk-Y5TC4HX2.mjs";
|
|
5
5
|
import "./chunk-ZIB6XPPC.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-HIDCSH5S.mjs";
|
|
7
7
|
import {
|
|
8
8
|
UpstashError
|
|
9
9
|
} from "./chunk-7YUZYRJS.mjs";
|
package/nodejs.js
CHANGED
|
@@ -1680,7 +1680,6 @@ var Redis = class {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
|
|
1682
1682
|
// pkg/http.ts
|
|
1683
|
-
var import_isomorphic_fetch = require("isomorphic-fetch");
|
|
1684
1683
|
var HttpClient = class {
|
|
1685
1684
|
constructor(config) {
|
|
1686
1685
|
this.baseUrl = config.baseUrl.replace(/\/$/, "");
|
|
@@ -1709,7 +1708,7 @@ var HttpClient = class {
|
|
|
1709
1708
|
};
|
|
1710
1709
|
|
|
1711
1710
|
// pkg/nodejs.ts
|
|
1712
|
-
var
|
|
1711
|
+
var import_isomorphic_fetch = require("isomorphic-fetch");
|
|
1713
1712
|
var Redis2 = class extends Redis {
|
|
1714
1713
|
constructor(config) {
|
|
1715
1714
|
const client = new HttpClient({
|
package/nodejs.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Redis
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6GEVIAL6.mjs";
|
|
4
4
|
import "./chunk-Y5TC4HX2.mjs";
|
|
5
5
|
import "./chunk-ZIB6XPPC.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-HIDCSH5S.mjs";
|
|
7
7
|
import "./chunk-7YUZYRJS.mjs";
|
|
8
8
|
export {
|
|
9
9
|
Redis
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "name": "@upstash/redis", "version": "v1.0.0-alpha.
|
|
1
|
+
{ "name": "@upstash/redis", "version": "v1.0.0-alpha.4", "engines": { "node": ">=10" }, "description": "An HTTP/REST based Redis client built on top of Upstash REST API.", "main": "./index.js", "module": "./index.mjs", "types": "./index.d.ts", "scripts": { "test": "jest -i", "fmt": "pnpm lint && pnpm prettier --write .", "lint": "eslint --ext .ts --fix --ignore-path .gitignore .", "build": "tsup && cp package.json ./dist/ && pnpm size-limit" }, "repository": { "type": "git", "url": "git+https://github.com/upstash/upstash-redis.git" }, "keywords": [ "redis", "database", "serverless", "edge", "upstash" ], "author": "Andreas Thomas <andreas.thomas@chronark.com>", "license": "MIT", "bugs": { "url": "https://github.com/upstash/upstash-redis/issues" }, "homepage": "https://github.com/upstash/upstash-redis#readme", "directories": { "examples": "examples" }, "devDependencies": { "@jest/globals": "^27.4.6", "@size-limit/preset-small-lib": "^7.0.8", "@trivago/prettier-plugin-sort-imports": "^3.2.0", "@types/jest": "^27.4.0", "@types/node": "^17.0.8", "@typescript-eslint/eslint-plugin": "^5.9.1", "@typescript-eslint/parser": "^5.9.1", "dotenv": "^12.0.3", "eslint": "^8.6.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.4.7", "prettier": "^2.5.1", "size-limit": "^7.0.8", "ts-jest": "^27.1.3", "tsup": "^5.11.11", "typescript": "^4.5.5" }, "dependencies": { "isomorphic-fetch": "^3.0.0" }, "browser": { "isomorphic-fetch": false }, "size-limit": [ { "path": "dist/index.js", "limit": "5 KB" }, { "path": "dist/index.mjs", "limit": "5 KB" } ] }
|