winston-array-transport
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -0,1 +1,27 @@ | ||
## [1.1.11](https://github.com/pustovitDmytro/winston-array-transport/compare/v1.1.10...v1.1.11) (2023-02-07) | ||
### Chore | ||
* anti-terrorism disclaimer ([96327fe](https://github.com/pustovitDmytro/winston-array-transport/commit/96327fef4c90f65fd297960d73872398334774c5)) | ||
* fixes eslint-plugin-unicorn version ([dd45e9a](https://github.com/pustovitDmytro/winston-array-transport/commit/dd45e9a86498e621de2cd9bc49aa1f8430c8ed6c)) | ||
* fixes npm audit ([0500470](https://github.com/pustovitDmytro/winston-array-transport/commit/05004700c0fd75120bebf51a70e25dfee1e3b840)) | ||
* fixes some npm audit vulnerabilities ([b913fee](https://github.com/pustovitDmytro/winston-array-transport/commit/b913feef549bb124a121f8b0ff3b56148321140a)) | ||
* fixes some npm audit vulnerabilities (#86) ([eb549de](https://github.com/pustovitDmytro/winston-array-transport/commit/eb549de6e36aba89fdf308f053f487c5bed0e1aa)), closes [#86](https://github.com/pustovitDmytro/winston-array-transport/issues/86) | ||
* Lock file maintenance ([85b7c09](https://github.com/pustovitDmytro/winston-array-transport/commit/85b7c09390c7a91407dd35ae8d997982a15ecc1a)) | ||
* Update dependency danger to v11 ([1779a27](https://github.com/pustovitDmytro/winston-array-transport/commit/1779a271eb3527ca1e6e5e5354cb3294ff6797e5)) | ||
* Update dependency nanoid to 3.1.31 [SECURITY] (#83) ([89d3014](https://github.com/pustovitDmytro/winston-array-transport/commit/89d30145ca8e48ab718b3a3d6ca376d6972e3ce1)), closes [#83](https://github.com/pustovitDmytro/winston-array-transport/issues/83) | ||
* Update dependency node-fetch to 2.6.7 [SECURITY] (#84) ([11e82bc](https://github.com/pustovitDmytro/winston-array-transport/commit/11e82bc5133b8b2d7bc18fa7730252c6068e134b)), closes [#84](https://github.com/pustovitDmytro/winston-array-transport/issues/84) | ||
* Update devDependencies (non-major) ([01bd6c0](https://github.com/pustovitDmytro/winston-array-transport/commit/01bd6c09f1ba5886abdb991b436317f741eeb20b)) | ||
* Update devDependencies (non-major) ([85a0161](https://github.com/pustovitDmytro/winston-array-transport/commit/85a0161b7426b877ec45f6956238f93810e5b3c9)) | ||
* Update devDependencies (non-major) (#65) ([d60ef28](https://github.com/pustovitDmytro/winston-array-transport/commit/d60ef28cb4cbf187b61fd4c5b70b3bfb5338e6c0)), closes [#65](https://github.com/pustovitDmytro/winston-array-transport/issues/65) | ||
* Update devDependencies (non-major) (#66) ([69aac8f](https://github.com/pustovitDmytro/winston-array-transport/commit/69aac8f4b52fcb9a626780be4c14d211f86b62b6)), closes [#66](https://github.com/pustovitDmytro/winston-array-transport/issues/66) | ||
* Update devDependencies (non-major) (#92) ([f492769](https://github.com/pustovitDmytro/winston-array-transport/commit/f492769892ff31c1dad30248c58ae7c5ae7aec85)), closes [#92](https://github.com/pustovitDmytro/winston-array-transport/issues/92) | ||
### Docs | ||
* add logo ([6922aeb](https://github.com/pustovitDmytro/winston-array-transport/commit/6922aeb2b730aab0b8edaff842bbc1c903d7c47d)) | ||
* drop lgtm ([b1841f2](https://github.com/pustovitDmytro/winston-array-transport/commit/b1841f24770563faafb609444868658fba298b81)) | ||
* update year in license ([64521cb](https://github.com/pustovitDmytro/winston-array-transport/commit/64521cb04f41c46b7bdcbba18bec8d4673736a31)) | ||
## [1.1.10](https://github.com/pustovitDmytro/winston-array-transport/compare/v1.1.9...v1.1.10) (2022-07-02) | ||
@@ -2,0 +28,0 @@ |
@@ -9,12 +9,9 @@ "use strict"; | ||
exports.defaultParserJSON = defaultParserJSON; | ||
function defaultParser(data) { | ||
return data; | ||
} | ||
function defaultParserJSON(data) { | ||
return JSON.parse(data); | ||
} | ||
const defaultMaxListeners = 30; | ||
exports.defaultMaxListeners = defaultMaxListeners; |
@@ -7,14 +7,9 @@ "use strict"; | ||
exports.default = void 0; | ||
var _os = _interopRequireDefault(require("os")); | ||
var _winstonTransport = _interopRequireDefault(require("winston-transport")); | ||
var _defaults = require("./defaults"); | ||
var _constants = require("./constants"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/* eslint-disable promise/prefer-await-to-callbacks */ | ||
/* eslint-disable promise/prefer-await-to-callbacks */ | ||
class ArrayTransport extends _winstonTransport.default { | ||
@@ -32,3 +27,2 @@ constructor(options = {}) { | ||
} | ||
log(info, callback) { | ||
@@ -43,7 +37,5 @@ setImmediate(() => { | ||
} | ||
} | ||
exports.default = ArrayTransport; | ||
module.exports = exports.default; | ||
module.exports.default = exports.default; |
MIT License | ||
Copyright (c) 2020-2022 Dmytro Pustovit | ||
Copyright (c) 2020-2023 Dmytro Pustovit | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "winston-array-transport", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "write logs to js Array", | ||
@@ -60,4 +60,4 @@ "main": "./lib", | ||
"babel-plugin-module-resolver": "^4.1.0", | ||
"chai": "^4.3.4", | ||
"chance": "^1.1.8", | ||
"chai": "^4.3.7", | ||
"chance": "^1.1.9", | ||
"conventional-changelog-eslint": "^3.0.9", | ||
@@ -88,3 +88,3 @@ "coveralls": "^3.1.1", | ||
"nyc": "^15.1.0", | ||
"semantic-release": "^19.0.2", | ||
"semantic-release": "^19.0.5", | ||
"semantic-release-telegram": "^1.5.1", | ||
@@ -91,0 +91,0 @@ "uuid": "^8.3.2", |
@@ -0,1 +1,3 @@ | ||
![Logo](.docs/logo_250.png "winston-array-transport") | ||
# winston-array-transport | ||
@@ -11,4 +13,2 @@ write [winston][w-main] logs directly to javascript [Array][js-array]. | ||
[![Codacy][codacy-badge]][codacy-url] | ||
[![Total alerts][lgtm-alerts-badge]][lgtm-alerts-url] | ||
[![Language grade][lgtm-lg-badge]][lgtm-lg-url] | ||
[![Scrutinizer][scrutinizer-badge]][scrutinizer-url] | ||
@@ -24,2 +24,3 @@ | ||
[![License][badge-lic]][github] | ||
[![Made in Ukraine][ukr-badge]][ukr-link] | ||
@@ -29,8 +30,9 @@ # πΊπ¦ Help Ukraine | ||
We fight for democratic values, for freedom, for our future! | ||
I am stopping any support of my packages by the time until all russians leave my country on trucks or in boxes. | ||
We fight for democratic values, freedom, for our future! Once again Ukrainians have to stand against evil, terror, against genocide. The outcome of this war will determine what path human history is taking from now on. | ||
ππ Help Ukraine! We need your support! There are dozen ways to help us, just do it! | ||
ππ Help Ukraine! We need your support! There are [dozen ways][ukr-link] to help us, just do it! | ||
## Table of Contents | ||
- [winston-array-transport](#winston-array-transport) | ||
- [πΊπ¦ Help Ukraine](#-help-ukraine) | ||
- [Table of Contents](#table-of-contents) | ||
- [Motivation](#motivation) | ||
@@ -124,8 +126,2 @@ - [Requirements](#requirements) | ||
[lgtm-lg-badge]: https://img.shields.io/lgtm/grade/javascript/g/pustovitDmytro/winston-array-transport.svg?logo=lgtm&logoWidth=18 | ||
[lgtm-lg-url]: https://lgtm.com/projects/g/pustovitDmytro/winston-array-transport/context:javascript | ||
[lgtm-alerts-badge]: https://img.shields.io/lgtm/alerts/g/pustovitDmytro/winston-array-transport.svg?logo=lgtm&logoWidth=18 | ||
[lgtm-alerts-url]: https://lgtm.com/projects/g/pustovitDmytro/winston-array-transport/alerts/ | ||
[codacy-badge]: https://app.codacy.com/project/badge/Grade/75132c6080bc4051801d0bf391df947f | ||
@@ -146,1 +142,4 @@ [codacy-url]: https://www.codacy.com/gh/pustovitDmytro/winston-array-transport/dashboard?utm_source=github.com&utm_medium=referral&utm_content=pustovitDmytro/winston-array-transport&utm_campaign=Badge_Grade | ||
[fossa-url]: https://app.fossa.com/projects/custom%2B24828%2Fwinston-array-transport?ref=badge_shield | ||
[ukr-badge]: https://img.shields.io/badge/made_in-ukraine-ffd700.svg?labelColor=0057b7 | ||
[ukr-link]: https://war.ukraine.ua |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51028
141