watskeburt
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -34,8 +34,10 @@ import { extname } from "node:path"; | ||
const lChanges = pChanges | ||
.filter((pChange) => pChangeTypes.has(pChange.changeType)) | ||
.map(({ name }) => name) | ||
.filter((pName) => pExtensions.has(extname(pName))) | ||
.map((pName) => pName.replace(/\\/g, "\\\\").replace(/\./g, "[.]")) | ||
.filter( | ||
(pChange) => | ||
pChangeTypes.has(pChange.changeType) && | ||
pExtensions.has(extname(pChange.name)), | ||
) | ||
.map(({ name }) => name.replace(/\\/g, "\\\\").replace(/\./g, "[.]")) | ||
.join("|"); | ||
return `^(${lChanges})$`; | ||
} |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "2.0.3"; | ||
export const VERSION = "2.0.4"; |
{ | ||
"name": "watskeburt", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "List files changed since a git revision", | ||
@@ -48,20 +48,20 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/node": "20.10.1", | ||
"@typescript-eslint/eslint-plugin": "6.13.1", | ||
"@types/node": "20.10.5", | ||
"@typescript-eslint/eslint-plugin": "6.16.0", | ||
"c8": "8.0.1", | ||
"dependency-cruiser": "15.5.0", | ||
"eslint": "8.54.0", | ||
"eslint": "8.56.0", | ||
"eslint-config-moving-meadow": "4.0.2", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-budapestian": "6.0.0", | ||
"eslint-plugin-eslint-comments": "3.2.0", | ||
"eslint-plugin-import": "2.29.0", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-mocha": "10.2.0", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-security": "1.7.1", | ||
"eslint-plugin-unicorn": "49.0.0", | ||
"eslint-plugin-security": "2.1.0", | ||
"eslint-plugin-unicorn": "50.0.1", | ||
"npm-run-all": "4.1.5", | ||
"prettier": "3.1.0", | ||
"tsx": "4.6.1", | ||
"typescript": "5.3.2", | ||
"prettier": "3.1.1", | ||
"tsx": "4.7.0", | ||
"typescript": "5.3.3", | ||
"upem": "9.0.2" | ||
@@ -68,0 +68,0 @@ }, |
@@ -78,3 +78,3 @@ # watskeburt | ||
$ npx watskeburt main | ||
^(src/cli\.mjs|src/formatters/regex\.mjs|src/version\.mjs)$ | ||
^(src/cli[.]mjs|src/formatters/regex[.]mjs|src/version[.]mjs)$ | ||
``` | ||
@@ -81,0 +81,0 @@ |
419
21740