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

@matrixai/logger

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matrixai/logger - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

dist/formatting.js.map

3

dist/formatting.js

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

else if (value === level) {
result += types_1.levelToString(record.level);
result += (0, types_1.levelToString)(record.level);
}

@@ -53,1 +53,2 @@ else {

exports.formatter = formatter;
//# sourceMappingURL=formatting.js.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -39,1 +43,2 @@ if (k2 === undefined) k2 = k;

exports.default = Handler;
//# sourceMappingURL=Handler.js.map

@@ -13,1 +13,2 @@ "use strict";

exports.default = ConsoleHandler;
//# sourceMappingURL=ConsoleHandler.js.map

@@ -11,1 +11,2 @@ "use strict";

Object.defineProperty(exports, "StreamHandler", { enumerable: true, get: function () { return __importDefault(StreamHandler_1).default; } });
//# sourceMappingURL=index.js.map

@@ -14,1 +14,2 @@ "use strict";

exports.default = StreamHandler;
//# sourceMappingURL=StreamHandler.js.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -36,1 +40,2 @@ if (k2 === undefined) k2 = k;

__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map
import type { ToString, LogRecord } from './types';
import type Handler from './Handler';
import { LogLevel } from './types';
import Handler from './Handler';
declare class Logger {

@@ -5,0 +5,0 @@ key: string;

@@ -52,3 +52,2 @@ "use strict";

hasHandlers() {
var _a, _b;
if (this.handlers.size) {

@@ -58,3 +57,3 @@ return true;

else {
return (_b = (_a = this.parent) === null || _a === void 0 ? void 0 : _a.hasHandlers()) !== null && _b !== void 0 ? _b : false;
return this.parent?.hasHandlers() ?? false;
}

@@ -99,1 +98,2 @@ }

exports.default = Logger;
//# sourceMappingURL=Logger.js.map

@@ -33,1 +33,2 @@ "use strict";

exports.levelToString = levelToString;
//# sourceMappingURL=types.js.map
{
"name": "@matrixai/logger",
"version": "2.1.0",
"version": "2.1.1",
"author": "Scott Morris",

@@ -14,3 +14,4 @@ "description": "Python-like JavaScript Logger",

"scripts": {
"build": "tsc",
"prepare": "tsc -p ./tsconfig.build.json",
"build": "rm -r ./dist || true; tsc -p ./tsconfig.build.json",
"ts-node": "ts-node -r tsconfig-paths/register",

@@ -22,17 +23,18 @@ "test": "jest",

"devDependencies": {
"@types/jest": "^26.0.20",
"@types/node": "^13.13.1",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.5",
"prettier": "^2.6.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.9.0",
"typedoc": "^0.20.16",
"typescript": "^4.1.3"
"typedoc": "^0.22.15",
"typescript": "^4.5.2"
}
}
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