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

esbuild-plugin-pino

Package Overview
Dependencies
Maintainers
1
Versions
20
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 1.2.1 to 1.2.2

18

dist/index.d.ts

@@ -20,3 +20,3 @@ type Platform = 'browser' | 'node' | 'neutral';

format?: Format;
/** Documentation: https://esbuild.github.io/api/#globalName */
/** Documentation: https://esbuild.github.io/api/#global-name */
globalName?: string;

@@ -27,2 +27,4 @@ /** Documentation: https://esbuild.github.io/api/#target */

supported?: Record<string, boolean>;
/** Documentation: https://esbuild.github.io/api/#platform */
platform?: Platform;

@@ -55,3 +57,3 @@ /** Documentation: https://esbuild.github.io/api/#mangle-props */

/** Documentation: https://esbuild.github.io/api/#jsx */
jsx?: 'transform' | 'preserve';
jsx?: 'transform' | 'preserve' | 'automatic';
/** Documentation: https://esbuild.github.io/api/#jsx-factory */

@@ -61,2 +63,6 @@ jsxFactory?: string;

jsxFragment?: string;
/** Documentation: https://esbuild.github.io/api/#jsx-import-source */
jsxImportSource?: string;
/** Documentation: https://esbuild.github.io/api/#jsx-development */
jsxDev?: boolean;

@@ -95,4 +101,2 @@ /** Documentation: https://esbuild.github.io/api/#define */

outbase?: string;
/** Documentation: https://esbuild.github.io/api/#platform */
platform?: Platform;
/** Documentation: https://esbuild.github.io/api/#external */

@@ -104,3 +108,3 @@ external?: string[];

resolveExtensions?: string[];
/** Documentation: https://esbuild.github.io/api/#mainFields */
/** Documentation: https://esbuild.github.io/api/#main-fields */
mainFields?: string[];

@@ -152,3 +156,3 @@ /** Documentation: https://esbuild.github.io/api/#conditions */

interface StdinOptions {
contents: string;
contents: string | Uint8Array;
resolveDir?: string;

@@ -500,3 +504,3 @@ sourcefile?: string;

*/
declare function transform(input: string, options?: TransformOptions): Promise<TransformResult>;
declare function transform(input: string | Uint8Array, options?: TransformOptions): Promise<TransformResult>;

@@ -503,0 +507,0 @@ /**

@@ -53,3 +53,5 @@ 'use strict';

};
const transportsEntrypoints = Object.fromEntries((transports || []).map((t) => [t, require$1.resolve(t)]));
const transportsEntrypoints = Object.fromEntries(
(transports || []).map((t) => [t, require$1.resolve(t)])
);
currentBuild.initialOptions.entryPoints = {

@@ -83,8 +85,7 @@ ...entrypoints,

...transportsEntrypoints
}).map((id) => `'${id === "pino-file" ? "pino/file" : id}': pinoBundlerAbsolutePath('./${id}.js')`).join(",");
}).map(
(id) => `'${id === "pino-file" ? "pino/file" : id}': pinoBundlerAbsolutePath('./${id}.js')`
).join(",");
const globalThisDeclaration = `
globalThis.__bundlerPathsOverrides =
globalThis.__bundlerPathsOverrides
? {...globalThis.__bundlerPathsOverrides, ${pinoOverrides}}
: {${pinoOverrides}};
globalThis.__bundlerPathsOverrides = { ...(globalThis.__bundlerPathsOverrides || {}), ${pinoOverrides}}
`;

@@ -91,0 +92,0 @@ const code = functionDeclaration + globalThisDeclaration;

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

@@ -31,10 +31,10 @@ "main": "dist/index.js",

"@commitlint/cz-commitlint": "17.0.3",
"@types/node": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.30.0",
"@typescript-eslint/parser": "5.30.0",
"commitizen": "4.2.4",
"esbuild": "0.14.47",
"eslint": "8.18.0",
"@types/node": "18.6.4",
"@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.32.0",
"commitizen": "4.2.5",
"esbuild": "0.14.53",
"eslint": "8.21.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.1.0",
"eslint-plugin-prettier": "4.2.1",
"execa": "6.1.0",

@@ -44,13 +44,13 @@ "husky": "8.0.1",

"lint-staged": "13.0.3",
"nodemon": "2.0.18",
"pino": "8.1.0",
"pino-loki": "2.0.0",
"nodemon": "2.0.19",
"pino": "8.4.0",
"pino-loki": "2.0.1",
"pino-pretty": "8.1.0",
"pkgroll": "1.3.1",
"pkgroll": "1.4.0",
"prettier": "2.7.1",
"standard-version": "9.5.0",
"thread-stream": "1.0.0",
"tsx": "3.6.0",
"thread-stream": "2.0.1",
"tsx": "3.8.1",
"typescript": "4.7.4",
"vitest": "0.15.2"
"vitest": "0.21.0"
},

@@ -57,0 +57,0 @@ "scripts": {

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