Skip to content

Commit

Permalink
Bump fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
RSeidelsohn committed Sep 9, 2024
1 parent 00ad110 commit e262866
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ You could see something like this:

## <a id="changes"></a>Changes (see a more detailed and always up-to-date list [here](https://github.com/RSeidelsohn/license-checker-rseidelsohn/releases))

### <a id="Version-4-4-2"></a>Version 4.4.2

fix: Fix missing file name ending (sorry for these)

### <a id="Version-4-4-1"></a>Version 4.4.1

fix: Fix errors that broke the whole new version (sorry for these)
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const recursivelyCollectAllDependencies = (options) => {
let noticeFiles = [];
const clarification = options.clarifications[currentExtendedPackageJson.name]?.find(
(clarification) =>
currentExtendedPackageJson.version == clarification.semverRange ||
currentExtendedPackageJson.version === clarification.semverRange ||
semver.satisfies(currentExtendedPackageJson.version, clarification.semverRange),
);
let passedClarificationCheck = clarification?.checksum ? false : true;
Expand Down Expand Up @@ -411,7 +411,7 @@ const init = (args, callback) => {
if (versionSplit !== -1) {
const name = versionString.slice(0, versionSplit);
const semverRange = versionString.slice(versionSplit + 1);
clarifications[name] ??= [];
clarifications[name] = clarifications[name] || [];
// keep track for each clarification if it was used, optionally error when not
clarifications[name].push({ ...clarification, semverRange, used: false });
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "license-checker-rseidelsohn",
"description": "Extract NPM package licenses - Feature enhanced version of the original license-checker v25.0.1",
"author": "Roman Seidelsohn <[email protected]>",
"version": "4.4.1",
"version": "4.4.2",
"license": "BSD-3-Clause",
"private": false,
"type": "module",
Expand Down Expand Up @@ -30,7 +30,7 @@
"posttest": "nyc check-coverage && nyc report -r lcov -r text -r text-summary",
"lint": "npx eslint --ext js .",
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier lib --check && npx prettier bin/license-checker-rseidelsohn --check && npx prettier scripts --check",
"prettier": "npx prettier lib --check && npx prettier bin/license-checker-rseidelsohn.js --check && npx prettier scripts --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"format:dry": "npm run prettier && npm run lint"
Expand Down

0 comments on commit e262866

Please sign in to comment.