Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@platformatic/foundation

Package Overview
Dependencies
Maintainers
9
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platformatic/foundation - npm Package Compare versions

Comparing version
3.35.1
to
3.36.0
+1
-0
index.d.ts

@@ -196,2 +196,3 @@ import { FastifyError } from '@fastify/error'

export declare function noop (): void
export declare function createDebugLogger (subject: string): debug.Debugger

@@ -198,0 +199,0 @@ export declare const abstractLogger: Logger

+4
-2

@@ -48,5 +48,7 @@ import { bgGreen, black, bold, green, isColorSupported } from 'colorette'

export function logo (color = true) {
export function logo (color = true, name = undefined) {
name ??= getExecutableName()
/* c8 ignore next - else */
const executableName = color && isColorSupported ? bold(getExecutableName()) : getExecutableName()
const executableName = color && isColorSupported ? bold(name) : name
const str = `

@@ -53,0 +55,0 @@

@@ -0,1 +1,2 @@

import debug from 'debug'
import { createRequire } from 'node:module'

@@ -158,2 +159,7 @@ import { hostname } from 'node:os'

/* c8 ignore next 3 - Debug utility */
export function createDebugLogger (subject) {
return debug(`plt:${subject}`)
}
/* c8 ignore start - Nothing to test */

@@ -160,0 +166,0 @@ export function noop () {}

@@ -1123,2 +1123,6 @@ export function overridableValue (spec, defaultValue) {

additionalProperties: false
},
socket: {
type: 'string',
description: 'Custom path for the control socket. If not specified, uses the default platform-specific location.'
}

@@ -1125,0 +1129,0 @@ },

{
"name": "@platformatic/foundation",
"version": "3.35.1",
"version": "3.36.0",
"description": "Platformatic Foundation",

@@ -26,2 +26,3 @@ "main": "index.js",

"colorette": "^2.0.19",
"debug": "^4.4.3",
"fast-json-patch": "^3.1.1",

@@ -28,0 +29,0 @@ "json5": "^2.2.3",