Socket
Socket
Sign inDemoInstall

@typescript/server-replay

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript/server-replay - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/microsoft/typescript-server-replay#readme",
"version": "0.2.10",
"version": "0.2.11",
"license": "MIT",

@@ -8,0 +8,0 @@ "description": "Replay server requests from a file",

@@ -161,2 +161,12 @@ const sh = require("@typescript/server-harness");

// On Linux, it's idiomatic to shut down your child processes when you receive SIGTERM.
// This helps us ensure clean teardown during lab runs.
// NB: As of Node 16, SIGTERM never fires on Windows.
process.once("SIGTERM", async () => {
exitRequested = true; // Shouldn't matter, but might as well
await server.kill();
// This is a sneaky way to invoke node's default SIGTERM handler
process.kill(process.pid, "SIGTERM");
});
server.on("close", (code, signal) => {

@@ -163,0 +173,0 @@ if (!unattended || !exitRequested || code || signal) {

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