onebeyond/license-checker

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.0.1](https://github.com/onebeyond/license-checker/compare/license-checker-v2.0.0...license-checker-v2.0.1) (2023-11-07)


### 🐛 Bug Fixes

* add node annotation ([#107](https://github.com/onebeyond/license-checker/issues/107)) ([e19ae4b](https://github.com/onebeyond/license-checker/commit/e19ae4b938f27f7f186dbdd834e011e34c68c725))

## [2.0.0](https://github.com/onebeyond/license-checker/compare/license-checker-v1.0.4...license-checker-v2.0.0) (2023-09-13)


### ⚠ BREAKING CHANGES

* add check command instead of using it as an option ([#96](https://github.com/onebeyond/license-checker/issues/96))
* remove generateOutputOn option ([#92](https://github.com/onebeyond/license-checker/issues/92))

### 🆕 Features

* add check command instead of using it as an option ([#96](https://github.com/onebeyond/license-checker/issues/96)) ([cd53a8d](https://github.com/onebeyond/license-checker/commit/cd53a8d5dc531935eb0e3483b1d4f014469a9a5b))
* add colors to console ([#98](https://github.com/onebeyond/license-checker/issues/98)) ([cf9be6e](https://github.com/onebeyond/license-checker/commit/cf9be6e060414134078d0730e7a215e97edd127a))
* remove generateOutputOn option ([#92](https://github.com/onebeyond/license-checker/issues/92)) ([a7f976c](https://github.com/onebeyond/license-checker/commit/a7f976ccba99cd551bb96209ed1052c4ac92a868))


### 🐛 Bug Fixes

* avoid generating error report when disableErrorReport is true ([#97](https://github.com/onebeyond/license-checker/issues/97)) ([88c1abe](https://github.com/onebeyond/license-checker/commit/88c1abe7229013ce5c095beedcb6546100e7c23f))


### 🔧 Others

* add Code Climate badges ([#95](https://github.com/onebeyond/license-checker/issues/95)) ([b92b15a](https://github.com/onebeyond/license-checker/commit/b92b15a7b9c74a542b3ec7296636aa71c8b0993e))
* remove unused dependencies ([#100](https://github.com/onebeyond/license-checker/issues/100)) ([23f6967](https://github.com/onebeyond/license-checker/commit/23f69675fd8bd7b101c084a30df0a4880e8c28df))


### 📝 Docs

* add new badges to readme file ([#101](https://github.com/onebeyond/license-checker/issues/101)) ([c56212e](https://github.com/onebeyond/license-checker/commit/c56212ef40cd5614cf6932846f2f4d7737d0230f))


### 🔬 Tests

* test coverage ([#102](https://github.com/onebeyond/license-checker/issues/102)) ([aece706](https://github.com/onebeyond/license-checker/commit/aece706c6718cd2278f09fbebb3f536b2657caa9))

## [1.0.4](https://github.com/onebeyond/license-checker/compare/license-checker-v1.0.3...license-checker-v1.0.4) (2023-07-03)


### ☁️ CI

* add openssf scorecard gh action ([#87](https://github.com/onebeyond/license-checker/issues/87)) ([8e276b4](https://github.com/onebeyond/license-checker/commit/8e276b49dc5cca4cb0747ffbf749a0cb33b97971))

## [1.0.3](https://github.com/onebeyond/license-checker/compare/license-checker-v1.0.2...license-checker-v1.0.3) (2023-06-30)


### 🐛 Bug Fixes

* added missing permissions in publication pipeline ([#84](https://github.com/onebeyond/license-checker/issues/84)) ([c093a69](https://github.com/onebeyond/license-checker/commit/c093a6932444514f456dcd11c9b1847095cb65c6))

## [1.0.2](https://github.com/onebeyond/license-checker/compare/license-checker-v1.0.1...license-checker-v1.0.2) (2023-06-29)


### 🐛 Bug Fixes

* added missing permissions in publication pipeline ([#82](https://github.com/onebeyond/license-checker/issues/82)) ([f59119d](https://github.com/onebeyond/license-checker/commit/f59119dc6bff40c5e9fccd5e9e08b09625a979a7))

## [1.0.1](https://github.com/onebeyond/license-checker/compare/license-checker-v1.0.0...license-checker-v1.0.1) (2023-06-27)


### ☁️ CI

* remove hardcoded version value in the release-please gh action ([#75](https://github.com/onebeyond/license-checker/issues/75)) ([cdf31cd](https://github.com/onebeyond/license-checker/commit/cdf31cddf4fb03464b6a9cf888d3db0b05a73953))


### 🐛 Bug Fixes

* metadata references ([#77](https://github.com/onebeyond/license-checker/issues/77)) ([6aa61fa](https://github.com/onebeyond/license-checker/commit/6aa61fa214fe88ddcb095e3090c0fbd260cf066e))
* npm provenance ([#78](https://github.com/onebeyond/license-checker/issues/78)) ([47d4877](https://github.com/onebeyond/license-checker/commit/47d48775cb7b7e76d53be901469f61aa39eb0810))


### 📝 Docs

* add nanotower as a contributor for code ([#81](https://github.com/onebeyond/license-checker/issues/81)) ([fb0459c](https://github.com/onebeyond/license-checker/commit/fb0459cece2e94235bb5484a756f216dbc72779f))
* add UlisesGascon as a contributor for code, doc, and maintenance ([#79](https://github.com/onebeyond/license-checker/issues/79)) ([d304906](https://github.com/onebeyond/license-checker/commit/d304906ec436882a7c5e63adb5e855bee08ab541))

## 1.0.0 (2023-06-26)


### ⚠ BREAKING CHANGES

* license arguments spdx compliant ([#66](https://github.com/onebeyond/license-checker/issues/66))

### 🆕 Features

* add command to check if license is SPDX compliant ([f07cfd2](https://github.com/onebeyond/license-checker/commit/f07cfd212aa9c8741bb338143ceef1232f1311e1))


### 📝 Docs

* added license file ([98f82a4](https://github.com/onebeyond/license-checker/commit/98f82a4c6a51090b16771550150cde89fddfdedc))
* document new option ([d01d7b6](https://github.com/onebeyond/license-checker/commit/d01d7b6487ecc75f29aeea4a28936303082edb29))
* update license reference to MIT ([c02dc91](https://github.com/onebeyond/license-checker/commit/c02dc913a2278ab4d5504a3a74cf7ef11cbfa914))


### ☁️ CI

* add npm provenance when publishing the package ([#72](https://github.com/onebeyond/license-checker/issues/72)) ([571e8b7](https://github.com/onebeyond/license-checker/commit/571e8b700f71889c95a33373d7dd7f4df93295a2))
* add semantic-pull-request and release-and-publish gh actions ([#67](https://github.com/onebeyond/license-checker/issues/67)) ([db04785](https://github.com/onebeyond/license-checker/commit/db04785dc93d0dbfa3f5ba35fb4dd9e9c8a6989c))
* fix release-please gh action to avoid duplicated release names ([#69](https://github.com/onebeyond/license-checker/issues/69)) ([a9ceb30](https://github.com/onebeyond/license-checker/commit/a9ceb305c028dd2c8578a17a029af06d5c4b9ea8))


### 🔄 Code Refactoring

* add link in command description and error ([cd33b5c](https://github.com/onebeyond/license-checker/commit/cd33b5c4d6b4c322c1d8a0b843869faab9d25b89))
* license arguments spdx compliant ([#66](https://github.com/onebeyond/license-checker/issues/66)) ([055da1f](https://github.com/onebeyond/license-checker/commit/055da1f203f82b1dfe873ebd63569b0a500ef68f))

## [2.1.0](https://github.com/guidesmiths/license-checker/compare/v2.0.1...v2.1.0) (2022-09-06)


### 🆕 Features

* add middlewares ([37d32ca](https://github.com/guidesmiths/license-checker/commit/37d32caafbe978466026b31bd3e7bbe0a7fc8be2))
* add runner ([21d3e3c](https://github.com/guidesmiths/license-checker/commit/21d3e3c26af293581b27f0725e6523008d3dd629))
* wrap license-check in promise ([2d8a5b6](https://github.com/guidesmiths/license-checker/commit/2d8a5b620ae1bb135bb90db84553a9690b67d638))


### 🔄 Code Refactoring

* simplify entry point ([84dceef](https://github.com/guidesmiths/license-checker/commit/84dceefcf5a996618f6ec0c77e6d10319cbd5d54))
* simplify runner and move function to utils ([c966d89](https://github.com/guidesmiths/license-checker/commit/c966d893d7f26c4ad8986a2d95c460d57c750f3d))


### 🐛 Bug Fixes

* amend file generation on no arguments ([297b954](https://github.com/guidesmiths/license-checker/commit/297b9543fabc1adf5d252223643a450d070c17ab))

### [2.0.1](https://github.com/guidesmiths/license-checker/compare/v2.0.0...v2.0.1) (2022-05-09)


### 🔄 Code Refactoring

* make regex function compatible with node versions prior to v14 ([262e06e](https://github.com/guidesmiths/license-checker/commit/262e06eee46d54240523bcc97b3b0f86798d37d0))


### 🔧 Others

* update package description ([c3e24a6](https://github.com/guidesmiths/license-checker/commit/c3e24a6edeeb2f0b07bb72eccf0e7b7da100e788))

## [2.0.0](https://github.com/guidesmiths/license-checker/compare/v1.3.0...v2.0.0) (2022-04-26)


### 🔬 Tests

* amend typo ([6f535e7](https://github.com/guidesmiths/license-checker/commit/6f535e7fbda0a0dfa2f32a846276ca4fa78c5fe0))
* remove temporary test file from previous PR ([8f36489](https://github.com/guidesmiths/license-checker/commit/8f364892b7b6ae7842e4b7f8ef3b6b4c3f63dbbf))


### 🔄 Code Refactoring

* accept failOn arguments as a whitespace separated list ([0dffd0a](https://github.com/guidesmiths/license-checker/commit/0dffd0a4406dba89043cf31cb8e6c51004741e84))
* improve error message on failed args to failOn ([5fccfd6](https://github.com/guidesmiths/license-checker/commit/5fccfd68dcad08744ea1688acf3fb294f029e5e4))
* improve regexp to extract pattern ([c9027d6](https://github.com/guidesmiths/license-checker/commit/c9027d6380c06657e7672851621ac6c6ee58a07f))
* rename match function ([ea7402c](https://github.com/guidesmiths/license-checker/commit/ea7402cf4052aff9b56a7933f2d5f7b7a6ba05c7))
* replace current failOn args filter and admit regexps ([a976f32](https://github.com/guidesmiths/license-checker/commit/a976f32de20c1a270fb9eb1f34152590e8753921))
* update failOn option description ([4b7ad03](https://github.com/guidesmiths/license-checker/commit/4b7ad037e8f313b7f4178879a630584038e80063))
* use instanceof instead of strategy pattern ([48409c1](https://github.com/guidesmiths/license-checker/commit/48409c15ac072e1c6794850c39c93468c255de6d))
* use new utils functions to extract invalid packages ([9ffdbd1](https://github.com/guidesmiths/license-checker/commit/9ffdbd1f2aae951c384a0f58afd61ee26bb7f4c5))


### 🔧 Others

* added new contributors ([ee6d996](https://github.com/guidesmiths/license-checker/commit/ee6d996cf920c441fb2f1115f24486bc37dd0503))
* added nvmrc file ([396fe94](https://github.com/guidesmiths/license-checker/commit/396fe94466b81ad2134da3c448dc576a372014bc))
* fix changelog date ([cc9635c](https://github.com/guidesmiths/license-checker/commit/cc9635c0ab530e92fdc9207d97de93e1578058ce))
* ignore .idea folder ([bb69604](https://github.com/guidesmiths/license-checker/commit/bb696041ea2d6d653179a635608a46bd69d944ff))
* improve PR template ([6830956](https://github.com/guidesmiths/license-checker/commit/6830956c531948d1f2361c5eda278d64c780bcac))


### 🎨 Styling

* added assets for logo and banner ([b4ab6b8](https://github.com/guidesmiths/license-checker/commit/b4ab6b877c232f2431ee40a40d12b0b3e2207a2d))


### 📝 Docs

* improved readme ([e0c37f0](https://github.com/guidesmiths/license-checker/commit/e0c37f04b19977808a97b08a0271e6896a7bf943))
* remove line break ([482a741](https://github.com/guidesmiths/license-checker/commit/482a74130beef4a01bd12a099438048253f32a14))
* update failOn option description and add examples ([b04be1f](https://github.com/guidesmiths/license-checker/commit/b04be1f5d242936b7cdcd9b34776d88a0c292a3d))


### 🐛 Bug Fixes

* assets typo ([3a03a6d](https://github.com/guidesmiths/license-checker/commit/3a03a6da6e4cdc7908078c39d9c08e0998ceeea7))

## [1.3.0](https://github.com/guidesmiths/license-checker/compare/v1.2.1...v1.3.0) (2022-04-06)


### 🔬 Tests

* add basic test ([f7ed620](https://github.com/guidesmiths/license-checker/commit/f7ed62091ff8868b08f219d0be02e889922cfed3))
* add eslintrc for tests ([8054b70](https://github.com/guidesmiths/license-checker/commit/8054b70498b0aad026c2a13eca6e47a317cb4dc9))


### ☁️ CI

* add workflow for test ([0b698e4](https://github.com/guidesmiths/license-checker/commit/0b698e4c86c38582c594338f2339781c4e9f1cba))
* address PR feedback ([b8e864e](https://github.com/guidesmiths/license-checker/commit/b8e864e18b8d2aa836d152e3540a09090a849488))


### 🔧 Others

* add hook to run tests ([629330c](https://github.com/guidesmiths/license-checker/commit/629330c474976a7ad207596391235cea77f8dbb0))
* add jest packages ([370b4c0](https://github.com/guidesmiths/license-checker/commit/370b4c0460ff72f6f46cd6cd3d2f6f03fcf402b6))
* bump package version ([5d7849b](https://github.com/guidesmiths/license-checker/commit/5d7849b8ad6a9bf2b3cebba9af74f8f21ca7ea91))
* **release:** 1.3.0 ([3e38944](https://github.com/guidesmiths/license-checker/commit/3e389440cdb8fb7b1197793982e6cecc2649e32a))
* **release:** 1.4.0 ([65d7af7](https://github.com/guidesmiths/license-checker/commit/65d7af7db6706258f8825bbcdfad3ad6681e626d))

### [1.2.1](https://github.com/guidesmiths/license-checker/compare/v1.2.0...v1.2.1) (2022-02-08)


### Bug Fixes

* mooved checkIfLicensesAreCorrect inside init callback ([#39](https://github.com/guidesmiths/license-checker/issues/39)) ([f78e71b](https://github.com/guidesmiths/license-checker/commit/f78e71b5f59c37a58e738c70fdbdb334d65858a5))

## [1.2.0](https://github.com/guidesmiths/license-checker/compare/v1.1.1...v1.2.0) (2021-11-05)


### Bug Fixes

* checkIfLicenseAreCorrect description ([3e64350](https://github.com/guidesmiths/license-checker/commit/3e6435081a76295225bff0ecc1a9a0c132916637))
* license validation ([35b59f1](https://github.com/guidesmiths/license-checker/commit/35b59f1735aa8a98f031aba3fc78d38fa73a71da))
* linter errors ([ff76675](https://github.com/guidesmiths/license-checker/commit/ff766751844b0aa61e2bbe55f06a3d8bcf7d42b3))
* removed console.log ([8c6de5e](https://github.com/guidesmiths/license-checker/commit/8c6de5e9b0d197fdb2942fca26c922ee985e85b9))
* return also users licenses even if not in licenses array ([5d55997](https://github.com/guidesmiths/license-checker/commit/5d55997bde7cb6c9070ceee7c9f04d0e34c7bd98))

### [1.1.1](https://github.com/guidesmiths/license-checker/compare/v1.1.0...v1.1.1) (2021-11-04)


### Bug Fixes

* added is-ci to avoid running husky in ci ([300ff3e](https://github.com/guidesmiths/license-checker/commit/300ff3ef9efb522ebc250fd1fc93dc700888643a))
* dependecies fixed versions ([9be5136](https://github.com/guidesmiths/license-checker/commit/9be51365c299494e6cc72fc1b71fc9e6b4972de9))

## [1.1.0](https://github.com/guidesmiths/license-checker/compare/v1.0.0...v1.1.0) (2021-11-03)


### Features

* add custom header at the start of report ([b27c27b](https://github.com/guidesmiths/license-checker/commit/b27c27be392a02b676575a08e0a597c0f545ae20))
* add header to auto generated license file ([6d02348](https://github.com/guidesmiths/license-checker/commit/6d02348b7b26e7891418e5e28103454c73b884e8))
* add new 'disableReport' option to args ([ca4257d](https://github.com/guidesmiths/license-checker/commit/ca4257dc31efe4f733667d0c42f51c406bc89da1))
* added PR, bug and feature request templates ([a8afc42](https://github.com/guidesmiths/license-checker/commit/a8afc4240bd951e5c967c6555ed429bfb853f4eb))
* create md file with table format for license report ([a798550](https://github.com/guidesmiths/license-checker/commit/a798550aea746083d2cf1c0a6d87074192e71746))
* define new option to set up a custom header ([dd02054](https://github.com/guidesmiths/license-checker/commit/dd02054817d46c040c06447463271ca6d6d38f25))
* don't generate report if 'disableReport' is enabled ([13e92ef](https://github.com/guidesmiths/license-checker/commit/13e92ef4354f4ae2063aee29af77e036078fe372))
* eslint ([b88e671](https://github.com/guidesmiths/license-checker/commit/b88e671f7b41cf709be81b73fb567c46496015ad))
* show package count for each invalid license ([e5a9f63](https://github.com/guidesmiths/license-checker/commit/e5a9f63fd428a5dea7de1bd68c66ccf409ceb927))


### Bug Fixes

* added new option start with default value to process.cwd() ([e888c40](https://github.com/guidesmiths/license-checker/commit/e888c404b205d4293b26f6cef5a7ef3ceffcffb3))
* CI release script ([ac83990](https://github.com/guidesmiths/license-checker/commit/ac83990e6bec0b57d7cc6c8c2bafff54cac08cdb))
* do not use colon in default filename for windows ([c19154b](https://github.com/guidesmiths/license-checker/commit/c19154b640ab06838d06a45f22e979ab93eb5c24))
* fix package name for separate version and scope (@) ([3f4cdd0](https://github.com/guidesmiths/license-checker/commit/3f4cdd023f3f35c0be585c249560811beb9ce1fb))
* github action ([927ec09](https://github.com/guidesmiths/license-checker/commit/927ec09b22052103bc05e4ee5d46bfe3398fa1a8))
* github action to publish to npm ([b21968e](https://github.com/guidesmiths/license-checker/commit/b21968e691cf2e1d823ab06eecc04512e3568927))
* github action to publish to npm ([9289bd0](https://github.com/guidesmiths/license-checker/commit/9289bd0173cbb6ce9df64ae8e0af7bfb050974f8))
* github action to publish to npm ([4590bbc](https://github.com/guidesmiths/license-checker/commit/4590bbc5178ccbcff9687ffffb7f00ebdc457d06))
* github action to publish to npm ([421e4da](https://github.com/guidesmiths/license-checker/commit/421e4daf3cc9964f49ab451931e1d3da80a58fc8))
* github action to publish to npm ([0352cde](https://github.com/guidesmiths/license-checker/commit/0352cde99d519fe40c98962bff3d7b42206b92af))
* github action to publish to npm ([b5833ac](https://github.com/guidesmiths/license-checker/commit/b5833ac0954e44124d7da2c367ff852a307010fc))
* github action to publish to npm ([904ce4b](https://github.com/guidesmiths/license-checker/commit/904ce4b616fa76e9880c43ea9cb4f23538d1e9cc))
* husky lint ([5c6c1b8](https://github.com/guidesmiths/license-checker/commit/5c6c1b8b61de205c90436f032ff48adbd7466e64))
* run with npx ([ee0eb2b](https://github.com/guidesmiths/license-checker/commit/ee0eb2b47f3ff0a341fa5ac8c0b35199d4160e23))
* update readme ([c9c9f3c](https://github.com/guidesmiths/license-checker/commit/c9c9f3c6768544f0e4e310b7ac1cde29e4bdee15))