@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.
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-Y5TC4HX2.mjs";
4
4
  import {
5
5
  HttpClient
6
- } from "./chunk-U7OXAQMQ.mjs";
6
+ } from "./chunk-HIDCSH5S.mjs";
7
7
 
8
8
  // pkg/nodejs.ts
9
9
  import "isomorphic-fetch";
@@ -4,7 +4,6 @@ import {
4
4
  } from "./chunk-7YUZYRJS.mjs";
5
5
 
6
6
  // pkg/http.ts
7
- import "isomorphic-fetch";
8
7
  var HttpClient = class {
9
8
  constructor(config) {
10
9
  this.baseUrl = config.baseUrl.replace(/\/$/, "");
package/cloudflare.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(/\/$/, "");
package/cloudflare.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-ZIB6XPPC.mjs";
5
5
  import {
6
6
  HttpClient
7
- } from "./chunk-U7OXAQMQ.mjs";
7
+ } from "./chunk-HIDCSH5S.mjs";
8
8
  import "./chunk-7YUZYRJS.mjs";
9
9
 
10
10
  // pkg/cloudflare.ts
package/fastly.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(/\/$/, "");
package/fastly.mjs CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-ZIB6XPPC.mjs";
5
5
  import {
6
6
  HttpClient
7
- } from "./chunk-U7OXAQMQ.mjs";
7
+ } from "./chunk-HIDCSH5S.mjs";
8
8
  import "./chunk-7YUZYRJS.mjs";
9
9
 
10
10
  // pkg/fastly.ts
package/http.js CHANGED
@@ -40,7 +40,6 @@ var http_exports = {};
40
40
  __export(http_exports, {
41
41
  HttpClient: () => HttpClient
42
42
  });
43
- var import_isomorphic_fetch = require("isomorphic-fetch");
44
43
 
45
44
  // pkg/error.ts
46
45
  var UpstashError = class extends Error {
package/http.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HttpClient
3
- } from "./chunk-U7OXAQMQ.mjs";
3
+ } from "./chunk-HIDCSH5S.mjs";
4
4
  import "./chunk-7YUZYRJS.mjs";
5
5
  export {
6
6
  HttpClient
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 import_isomorphic_fetch2 = require("isomorphic-fetch");
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-FJSI5EBJ.mjs";
3
+ } from "./chunk-6GEVIAL6.mjs";
4
4
  import "./chunk-Y5TC4HX2.mjs";
5
5
  import "./chunk-ZIB6XPPC.mjs";
6
- import "./chunk-U7OXAQMQ.mjs";
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 import_isomorphic_fetch2 = require("isomorphic-fetch");
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-FJSI5EBJ.mjs";
3
+ } from "./chunk-6GEVIAL6.mjs";
4
4
  import "./chunk-Y5TC4HX2.mjs";
5
5
  import "./chunk-ZIB6XPPC.mjs";
6
- import "./chunk-U7OXAQMQ.mjs";
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.3", "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" } ] }
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" } ] }