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

@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.1 to 0.2.2

2

package.json

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

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

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

@@ -66,3 +66,3 @@ const sh = require("@typescript/server-harness");

console.log(e);
process.exit(-1);
process.exit(1);
});

@@ -121,3 +121,3 @@

if (unattended) {
process.exit(-2);
process.exit(2);
}

@@ -165,11 +165,17 @@ }

if (unattended) {
process.exit(-3);
process.exit(3);
}
});
server.on("event", e => {
server.on("event", async e => {
if (e.event === "projectLanguageServiceState" && !e.body.languageServiceEnabled) {
console.log(`Language service disabled for ${e.body.projectName ? path.normalize(e.body.projectName) : "unknown project"}`);
if (unattended) {
process.exit(-5);
try {
await server.message(synthesizedExitRequest);
}
catch {
// Ignore errors during shutdown
}
process.exit(4);
}

@@ -192,3 +198,3 @@ }

}
process.exit(request.seq || -4);
process.exit(5);
}

@@ -195,0 +201,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