@upstash/ratelimit 0.3.9-canary.0 → 0.3.9
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/README.md +2 -4
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -44,7 +44,6 @@ for:
|
|
|
44
44
|
- [Cons:](#cons-2)
|
|
45
45
|
- [Usage:](#usage-2)
|
|
46
46
|
- [Contributing](#contributing)
|
|
47
|
-
- [Install Deno](#install-deno)
|
|
48
47
|
- [Database](#database)
|
|
49
48
|
- [Running tests](#running-tests)
|
|
50
49
|
|
|
@@ -67,7 +66,7 @@ npm install @upstash/ratelimit
|
|
|
67
66
|
#### Deno
|
|
68
67
|
|
|
69
68
|
```ts
|
|
70
|
-
import { Ratelimit } from "https://
|
|
69
|
+
import { Ratelimit } from "https://cdn.skypack.dev/@upstash/ratelimit@latest"
|
|
71
70
|
```
|
|
72
71
|
|
|
73
72
|
### Create database
|
|
@@ -429,7 +428,6 @@ Go to the [Ratelimit Dashboard](https://console.upstash.com/rate-limit) and sele
|
|
|
429
428
|
|
|
430
429
|
## Contributing
|
|
431
430
|
|
|
432
|
-
### [Install Deno](https://deno.land/#installation)
|
|
433
431
|
|
|
434
432
|
### Database
|
|
435
433
|
|
|
@@ -439,5 +437,5 @@ the url and token.
|
|
|
439
437
|
### Running tests
|
|
440
438
|
|
|
441
439
|
```sh
|
|
442
|
-
UPSTASH_REDIS_REST_URL=".." UPSTASH_REDIS_REST_TOKEN=".."
|
|
440
|
+
UPSTASH_REDIS_REST_URL=".." UPSTASH_REDIS_REST_TOKEN=".." pnpm test
|
|
443
441
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upstash/ratelimit",
|
|
3
|
-
"version": "0.3.9
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@jest/globals": "^29.3.1",
|
|
26
26
|
"@types/jest": "^29.2.5",
|
|
27
|
-
"@types/node": "^18.14.
|
|
27
|
+
"@types/node": "^18.14.4",
|
|
28
28
|
"@upstash/redis": "^1.19.3",
|
|
29
29
|
"dotenv-cli": "^7.0.0",
|
|
30
30
|
"jest": "^29.3.1",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
"typescript": "^4.9.4"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@upstash/core-analytics": "0.0.
|
|
37
|
+
"@upstash/core-analytics": "0.0.6",
|
|
38
|
+
"@upstash/redis": "^1.20.1"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
41
|
"build": "tsup",
|