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

backfill-logger

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backfill-logger - npm Package Compare versions

Comparing version 2.0.3 to 2.0.6

5

lib/index.d.ts

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

export { LogLevels, setLogLevel, isCorrectLogLevel } from "./genericLogger";
export { LogLevels, setLogLevel, isCorrectLogLevel } from "backfill-generic-logger";
export declare const logger: {

@@ -8,3 +8,4 @@ setName(name: string): void;

setTime(type: "buildTime" | "putTime" | "fetchTime", marker: string): void;
generatePerformanceReport(logFolder: string, performanceReportName?: string | undefined): Promise<void>;
setMode(mode: "READ_ONLY" | "WRITE_ONLY" | "READ_WRITE" | "PASS"): void;
setHashOfOutput(hash: string): void;
toFile(logFolder: string): Promise<void>;

@@ -11,0 +12,0 @@ silly(...args: any[]): void;

16

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const genericLogger_1 = require("./genericLogger");
const performanceReportLogger_1 = require("./performanceReportLogger");
var genericLogger_2 = require("./genericLogger");
exports.setLogLevel = genericLogger_2.setLogLevel;
exports.isCorrectLogLevel = genericLogger_2.isCorrectLogLevel;
const backfill_generic_logger_1 = require("backfill-generic-logger");
const backfill_performance_logger_1 = require("backfill-performance-logger");
var backfill_generic_logger_2 = require("backfill-generic-logger");
exports.setLogLevel = backfill_generic_logger_2.setLogLevel;
exports.isCorrectLogLevel = backfill_generic_logger_2.isCorrectLogLevel;
exports.logger = {
...genericLogger_1.logger,
...performanceReportLogger_1.performanceReportLogger
...backfill_generic_logger_1.logger,
...backfill_performance_logger_1.performanceLogger
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxtREFBMEQ7QUFDMUQsdUVBQW9FO0FBRXBFLGlEQUE0RTtBQUF4RCxzQ0FBQSxXQUFXLENBQUE7QUFBRSw0Q0FBQSxpQkFBaUIsQ0FBQTtBQUVyQyxRQUFBLE1BQU0sR0FBRztJQUNwQixHQUFHLHNCQUFhO0lBQ2hCLEdBQUcsaURBQXVCO0NBQzNCLENBQUMifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxxRUFBa0U7QUFDbEUsNkVBQWdFO0FBRWhFLG1FQUlpQztBQUYvQixnREFBQSxXQUFXLENBQUE7QUFDWCxzREFBQSxpQkFBaUIsQ0FBQTtBQUdOLFFBQUEsTUFBTSxHQUFHO0lBQ3BCLEdBQUcsZ0NBQWE7SUFDaEIsR0FBRywrQ0FBaUI7Q0FDckIsQ0FBQyJ9

@@ -10,3 +10,3 @@ {

},
"version": "2.0.3",
"version": "2.0.6",
"main": "lib/index.js",

@@ -20,13 +20,10 @@ "scripts": {

"dependencies": {
"chalk": "^2.4.1",
"fs-extra": "^8.1.0",
"json2csv": "^4.3.1"
"backfill-generic-logger": "^2.0.6",
"backfill-performance-logger": "^2.0.6"
},
"devDependencies": {
"@types/fs-extra": "^8.0.0",
"@types/json2csv": "^4.2.0",
"backfill-utils-tsconfig": "^2.0.3",
"typescript": "3.6.4"
},
"gitHead": "ab03bda7c47d6c765ab891402e5fdb9a3abf34f5"
"gitHead": "4056942703b24e02c197cf7eb466067a29396f18"
}

@@ -1,9 +0,13 @@

import { logger as genericLogger } from "./genericLogger";
import { performanceReportLogger } from "./performanceReportLogger";
import { logger as genericLogger } from "backfill-generic-logger";
import { performanceLogger } from "backfill-performance-logger";
export { LogLevels, setLogLevel, isCorrectLogLevel } from "./genericLogger";
export {
LogLevels,
setLogLevel,
isCorrectLogLevel
} from "backfill-generic-logger";
export const logger = {
...genericLogger,
...performanceReportLogger
...performanceLogger
};

@@ -5,3 +5,6 @@ {

"compilerOptions": { "rootDir": "src", "outDir": "lib" },
"references": []
"references": [
{ "path": "../logger-generic" },
{ "path": "../logger-performance" }
]
}

Sorry, the diff of this file is not supported yet

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