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

contentful-batch-libs

Package Overview
Dependencies
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-batch-libs - npm Package Compare versions

Comparing version 10.0.0 to 10.1.0

2

dist/logging.d.ts

@@ -35,3 +35,3 @@ /// <reference types="node" />

*/
export declare function setupLogging(log: (WarningMessage | ErrorMessage)[]): void;
export declare function setupLogging(log?: (WarningMessage | ErrorMessage)[]): (WarningMessage | ErrorMessage)[];
/**

@@ -38,0 +38,0 @@ * Format log message to display them as task status

@@ -157,3 +157,3 @@ "use strict";

*/
function setupLogging(log) {
function setupLogging(log = []) {
function errorLogger(level, error) {

@@ -173,2 +173,3 @@ const logMessage = {

exports.logEmitter.addListener('error', (error) => errorLogger('error', error));
return log;
}

@@ -175,0 +176,0 @@ exports.setupLogging = setupLogging;

{
"name": "contentful-batch-libs",
"version": "10.0.0",
"version": "10.1.0",
"description": "Library modules used by contentful batch utility CLI tools.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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