feat: npm audit fix #152
Annotations
10 errors and 5 warnings
src/app.ts#L28
Prefer `String#replaceAll()` over `String#replace()`
|
src/app.ts#L49
Prefer `RegExp#test(…)` over `String#match(…)`
|
src/app.ts#L98
Prefer `utf8` over `utf-8`
|
src/app.ts#L100
/\b[2-6]{1}\d{3}[\s-]*\d{4}[\s-]*\d{4}[\s-]*\d{4}[\s-]*\b/gm can be optimized to /\b[2-6]\d{3}(?:[\s-]*\d{4}){3}[\s-]*\b/gm
|
src/app.ts#L101
/\b[1-9]{1}\d{3}[\s-]*\d{4}[\s-]*\d{4}[\s-]*\d{4}[\s-]*\b/gm can be optimized to /\b[1-9]\d{3}(?:[\s-]*\d{4}){3}[\s-]*\b/gm
|
src/app.ts#L106
Prefer `.some(…)` over non-zero length check from `.filter(…)`
|
test/fixtures/javascript/good.js#L7
This number literal will lose precision at runtime
|
test/fixtures/typescript/bad.ts#L7
'cardNumberNoSpaces' is assigned a value but never used. Allowed unused vars must match /^_+/u
|
test/fixtures/typescript/bad.ts#L8
'cardNumberSingleSpace' is assigned a value but never used. Allowed unused vars must match /^_+/u
|
test/fixtures/typescript/bad.ts#L9
'cardNumberSingleDash' is assigned a value but never used. Allowed unused vars must match /^_+/u
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1, actions/cache@preview. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v1, actions/cache@preview. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading