Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@directus/pressure

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@directus/pressure - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

dist/index.js
// src/monitor.ts
import { defaults } from "@directus/utils";
import { monitorEventLoopDelay, performance } from "perf_hooks";
import { memoryUsage } from "process";
import { setTimeout } from "timers";
import { monitorEventLoopDelay, performance } from "node:perf_hooks";
import { memoryUsage } from "node:process";
import { setTimeout } from "node:timers";
var PressureMonitor = class {

@@ -7,0 +7,0 @@ memoryHeapUsed = 0;

{
"name": "@directus/pressure",
"version": "2.0.0",
"version": "2.0.1",
"description": "Pressure based rate limiter",

@@ -24,10 +24,10 @@ "homepage": "https://directus.io",

"dependencies": {
"@directus/utils": "12.0.0"
"@directus/utils": "12.0.1"
},
"devDependencies": {
"@types/express": "4.17.21",
"@vitest/coverage-v8": "1.5.3",
"tsup": "8.2.2",
"typescript": "5.4.5",
"vitest": "1.5.3",
"@vitest/coverage-v8": "2.1.2",
"tsup": "8.2.4",
"typescript": "5.6.2",
"vitest": "2.1.2",
"@directus/random": "1.0.0",

@@ -34,0 +34,0 @@ "@directus/tsconfig": "2.0.0"

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