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

@gravity-ui/expresskit

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gravity-ui/expresskit - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

dist/expresskit.js

@@ -7,2 +7,3 @@ "use strict";

exports.ExpressKit = void 0;
const cluster_1 = __importDefault(require("cluster"));
const fs_1 = __importDefault(require("fs"));

@@ -34,3 +35,6 @@ const express_1 = __importDefault(require("express"));

this.nodekit.ctx.log(`Listening on ${listenTargetType} ${listenTarget}`);
if (appSocket && listenTargetType === 'socket' && fs_1.default.existsSync(appSocket)) {
if (appSocket &&
listenTargetType === 'socket' &&
cluster_1.default.isPrimary &&
fs_1.default.existsSync(appSocket)) {
fs_1.default.unlinkSync(appSocket);

@@ -37,0 +41,0 @@ }

2

package.json
{
"name": "@gravity-ui/expresskit",
"version": "1.1.0",
"version": "1.1.1",
"description": "Express.js wrapper for NodeKit-based apps",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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