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

graceful-server-elysia

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graceful-server-elysia - npm Package Compare versions

Comparing version 1.0.24 to 1.0.25

4

dist/index.d.ts

@@ -32,3 +32,3 @@ import { EventEmitter } from 'node:events';

}, {
ready: {
[x: string]: {
get: {

@@ -48,3 +48,3 @@ body: unknown;

} & {
live: {
[x: string]: {
get: {

@@ -51,0 +51,0 @@ body: unknown;

@@ -28,5 +28,5 @@ 'use strict';

return new elysia.Elysia().state("startedSince", Date.now()).get(
"/ready",
config.readinessEndpoint,
() => {
if (global.gracefulServerIsReady || config.serverIsReadyOnStart) {
if (global.gracefulServerIsReady) {
return {

@@ -47,3 +47,3 @@ status: "ready"

).get(
"/live",
config.livenessEndpoint,
({ store: { startedSince } }) => {

@@ -50,0 +50,0 @@ return {

{
"name": "graceful-server-elysia",
"version": "1.0.24",
"version": "1.0.25",
"files": [

@@ -5,0 +5,0 @@ "dist",

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