New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@upstash/ratelimit

Package Overview
Dependencies
Maintainers
0
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@upstash/ratelimit - npm Package Compare versions

Comparing version 0.0.0-ci.b1700114539281dffd8cdc735b109024d3062db7-20241010102154 to 0.0.0-ci.c4b8ba25044da9dc7989bf759073e0108eedadbc-20241021061223

19

dist/index.d.ts
import { Aggregate } from '@upstash/core-analytics';
import { Pipeline } from '@upstash/redis';
import { Redis as Redis$1 } from '@upstash/redis';

@@ -93,3 +93,2 @@ /**

};
type IsDenied = 0 | 1;
type DeniedValue = string | undefined;

@@ -107,11 +106,9 @@ type LimitOptions = {

type Redis = {
sadd: <TData>(key: string, ...members: TData[]) => Promise<number>;
hset: <TValue>(key: string, obj: {
[key: string]: TValue;
}) => Promise<number>;
eval: <TArgs extends unknown[], TData = unknown>(...args: [script: string, keys: string[], args: TArgs]) => Promise<TData>;
evalsha: <TArgs extends unknown[], TData = unknown>(...args: [sha1: string, keys: string[], args: TArgs]) => Promise<TData>;
scriptLoad: (...args: [script: string]) => Promise<string>;
smismember: (key: string, members: string[]) => Promise<IsDenied[]>;
multi: () => Pipeline;
sadd: Redis$1["sadd"];
hset: Redis$1["hset"];
eval: Redis$1["eval"];
evalsha: Redis$1["evalsha"];
scriptLoad: Redis$1["scriptLoad"];
smismember: Redis$1["smismember"];
multi: Redis$1["multi"];
};

@@ -118,0 +115,0 @@

@@ -1,1 +0,1 @@

{ "name": "@upstash/ratelimit", "version": "v0.0.0-ci.b1700114539281dffd8cdc735b109024d3062db7-20241010102154", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsup", "test": "bun test src --coverage", "fmt": "prettier --write .", "lint": "eslint \"src/**/*.{js,ts,tsx}\" --quiet --fix" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^8.4.0", "@upstash/redis": "^1.31.5", "bun-types": "latest", "eslint": "^9.10.0", "eslint-plugin-unicorn": "^55.0.0", "tsup": "^7.2.0", "turbo": "^1.10.15", "typescript": "^5.0.0" }, "license": "MIT", "dependencies": { "@upstash/core-analytics": "^0.0.10" } }
{ "name": "@upstash/ratelimit", "version": "v0.0.0-ci.c4b8ba25044da9dc7989bf759073e0108eedadbc-20241021061223", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsup", "test": "bun test src --coverage", "fmt": "prettier --write .", "lint": "eslint \"src/**/*.{js,ts,tsx}\" --quiet --fix" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^8.4.0", "@upstash/redis": "^1.34.3", "bun-types": "latest", "eslint": "^9.10.0", "eslint-plugin-unicorn": "^55.0.0", "tsup": "^7.2.0", "turbo": "^1.10.15", "typescript": "^5.0.0" }, "license": "MIT", "dependencies": { "@upstash/core-analytics": "^0.0.10" } }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc