Socket
Socket
Sign inDemoInstall

esbuild-plugin-pino

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-plugin-pino - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

8

dist/index.js

@@ -56,3 +56,3 @@ 'use strict';

const threadStream = path.dirname(require$1.resolve("thread-stream"));
const { entryPoints, outbase } = currentBuild.initialOptions;
const { entryPoints, outbase, outExtension } = currentBuild.initialOptions;
const customEntrypoints = {

@@ -117,2 +117,6 @@ "thread-stream-worker": path.join(threadStream, "lib/worker.js"),

`;
let extension = ".js";
if (outExtension && outExtension[".js"]) {
extension = outExtension[".js"];
}
const pinoOverrides = Object.keys({

@@ -122,3 +126,3 @@ ...customEntrypoints,

}).map(
(id) => `'${id === "pino-file" ? "pino/file" : id}': pinoBundlerAbsolutePath('./${id}.js')`
(id) => `'${id === "pino-file" ? "pino/file" : id}': pinoBundlerAbsolutePath('./${id}${extension}')`
).join(",");

@@ -125,0 +129,0 @@ const globalThisDeclaration = `

{
"name": "esbuild-plugin-pino",
"version": "2.0.2",
"version": "2.1.0",
"description": "An esbuild plugin to generate extra pino files for bundling",

@@ -28,19 +28,19 @@ "main": "dist/index.js",

"devDependencies": {
"@types/node": "18.18.1",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"esbuild": "0.19.4",
"eslint": "8.50.0",
"@types/node": "18.18.6",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"esbuild": "0.19.5",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-prettier": "5.0.1",
"execa": "8.0.1",
"nodemon": "3.0.1",
"pino": "8.15.3",
"pino": "8.16.0",
"pino-loki": "2.1.3",
"pino-pretty": "10.2.0",
"pkgroll": "2.0.0",
"pino-pretty": "10.2.3",
"pkgroll": "2.0.1",
"prettier": "3.0.3",
"standard-version": "9.5.0",
"thread-stream": "2.4.0",
"tsx": "3.13.0",
"thread-stream": "2.4.1",
"tsx": "3.14.0",
"typescript": "5.2.2",

@@ -47,0 +47,0 @@ "vitest": "0.34.6"

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