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

@lokalise/node-core

Package Overview
Dependencies
Maintainers
11
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/node-core - npm Package Compare versions

Comparing version 6.3.0 to 6.3.1

8

dist/src/errors/globalErrorHandler.d.ts

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

export declare const globalLogger: import("pino").Logger<import("pino").LoggerOptions | import("pino").DestinationStream>;
export declare const globalLogger: import("pino").Logger<{
formatters: {
level: (label: string, numericLevel: number) => {
level: string;
};
};
}>;
export declare function resolveGlobalErrorLogObject(err: unknown, correlationID?: string): string | {

@@ -3,0 +9,0 @@ correlationID: string | undefined;

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

const typeUtils_1 = require("../utils/typeUtils");
exports.globalLogger = (0, pino_1.pino)();
exports.globalLogger = (0, pino_1.pino)({
formatters: {
level: (label, numericLevel) => {
const level = pino_1.levels.labels[numericLevel] || 'unknown';
return { level };
},
},
});
function resolveGlobalErrorLogObject(err, correlationID) {

@@ -10,0 +17,0 @@ if (node_util_1.types.isNativeError(err)) {

2

package.json
{
"name": "@lokalise/node-core",
"version": "6.3.0",
"version": "6.3.1",
"author": {

@@ -5,0 +5,0 @@ "name": "Lokalise",

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