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

@adonisjs/logger

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/logger - npm Package Compare versions

Comparing version 4.1.5 to 5.0.0-0

build/src/define_config.d.ts

6

build/index.d.ts

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

export { Logger } from './src/Logger';
export { FakeLogger } from './src/FakeLogger';
export { Logger } from './src/logger.js';
export { targets } from './src/targets/main.js';
export { defineConfig } from './src/define_config.js';
export { transport, destination, multistream, stdSerializers, stdTimeFunctions, } from './src/pino.js';

@@ -1,15 +0,4 @@

"use strict";
/*
* @adonisjs/logger
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.FakeLogger = exports.Logger = void 0;
var Logger_1 = require("./src/Logger");
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return Logger_1.Logger; } });
var FakeLogger_1 = require("./src/FakeLogger");
Object.defineProperty(exports, "FakeLogger", { enumerable: true, get: function () { return FakeLogger_1.FakeLogger; } });
export { Logger } from './src/logger.js';
export { targets } from './src/targets/main.js';
export { defineConfig } from './src/define_config.js';
export { transport, destination, multistream, stdSerializers, stdTimeFunctions, } from './src/pino.js';
{
"name": "@adonisjs/logger",
"version": "4.1.5",
"version": "5.0.0-0",
"description": "Logger built on top of pino to be used by AdonisJs",
"main": "build/index.js",
"type": "module",
"files": [
"build/adonis-typings",
"build/providers",
"build/src",

@@ -13,11 +12,13 @@ "build/index.d.ts",

],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js"
},
"scripts": {
"mrm": "mrm --preset=@adonisjs/mrm-preset",
"pretest": "npm run lint",
"test": "node -r @adonisjs/require-ts/build/register bin/test.ts",
"clean": "del build",
"test": "c8 npm run vscode:test",
"clean": "del-cli build",
"compile": "npm run lint && npm run clean && tsc",
"build": "npm run compile",
"commit": "git-cz",
"release": "np --message=\"chore(release): %s\"",
"release": "np",
"version": "npm run build",

@@ -27,3 +28,4 @@ "format": "prettier --write .",

"lint": "eslint . --ext=.ts",
"sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json adonisjs/logger"
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/logger",
"vscode:test": "node --loader=ts-node/esm bin/test.ts"
},

@@ -39,56 +41,31 @@ "keywords": [

"devDependencies": {
"@adonisjs/mrm-preset": "^5.0.3",
"@adonisjs/require-ts": "^2.0.13",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@japa/assert": "^1.3.6",
"@japa/expect-type": "^1.0.2",
"@japa/run-failed-tests": "^1.1.0",
"@japa/runner": "^2.2.2",
"@japa/spec-reporter": "^1.3.2",
"@swc/core": "^1.3.10",
"@types/node": "^18.11.3",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "^3.3.0",
"c8": "^7.12.0",
"del-cli": "^5.0.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-adonis": "^2.1.1",
"eslint-plugin-adonis": "^3.0.3",
"eslint-plugin-prettier": "^4.2.1",
"github-label-sync": "^2.2.0",
"husky": "^8.0.1",
"mrm": "^4.1.13",
"np": "^7.6.2",
"pino-pretty": "^7.6.1",
"pino-pretty": "^9.1.1",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"nyc": {
"exclude": [
"test"
],
"extension": [
".ts"
]
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"np": {
"contents": ".",
"anyBranch": false
},
"dependencies": {
"@poppinss/utils": "^5.0.0",
"@types/pino": "^6.3.12",
"@poppinss/utils": "^6.0.0-1",
"@types/pino": "^7.0.5",
"abstract-logging": "^2.0.1",
"pino": "^6.14.0"
"pino": "^8.7.0"
},
"directories": {
"doc": "docs",
"test": "test"
},
"repository": {

@@ -102,22 +79,2 @@ "type": "git",

"homepage": "https://github.com/adonisjs/logger#readme",
"adonisjs": {
"exceptions": "./build/exceptions.json"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"mrmConfig": {
"core": true,
"license": "MIT",
"services": [
"github-actions"
],
"minNodeVersion": "14.15.4",
"probotApps": [
"stale",
"lock"
],
"runGhActionsOnWindows": false
},
"eslintConfig": {

@@ -152,3 +109,27 @@ "extends": [

"printWidth": 100
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public",
"tag": "next"
},
"np": {
"message": "chore(release): %s",
"tag": "next",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
}
}

@@ -1,39 +0,23 @@

<div align="center">
<img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1558612869/adonis-readme_zscycu.jpg" width="600px">
</div>
# @adonisjs/logger
<br />
<div align="center">
<h3>AdonisJS Logger</h3>
<p>AdonisJS logger built on top of <a href="http://getpino.io/#/">pino</a> for speed and minimal runtime overhead.</p>
</div>
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]
<br />
## Introduction
AdonisJS Logger is built on top of [Pino](https://getpino.io/#/). Additionally, we have added support to create multiple named loggers, and make it easy to type-hint Logger as a container dependency.
<div align="center">
## Official Documentation
The documentation is available on the [AdonisJS website](https://docs.adonisjs.com/guides/logger)
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]
## Contributing
One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.
</div>
We encourage you to read the [contribution guide](https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.
<div align="center">
<h3>
<a href="https://adonisjs.com">
Website
</a>
<span> | </span>
<a href="https://docs.adonisjs.com/guides/logger">
Guides
</a>
<span> | </span>
<a href="CONTRIBUTING.md">
Contributing
</a>
</h3>
</div>
## Code of Conduct
In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/adonisjs/.github/blob/main/docs/CODE_OF_CONDUCT.md).
<div align="center">
<sub>Built with ❤︎ by <a href="https://twitter.com/AmanVirk1">Harminder Virk</a>
</div>
## License
AdonisJS logger is open-sourced software licensed under the [MIT license](LICENSE.md).

@@ -40,0 +24,0 @@ [gh-workflow-image]: https://img.shields.io/github/workflow/status/adonisjs/logger/test?style=for-the-badge

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