I'm using the "ignore" configuration to ignore some dependencies for an npm project and am observing some unexpected behavior. For context, I'm using dirty-waters-action, tracking in ericcornelissen/shescape#1883.
In my latest attempt I used the config:
{
"ignore": {
"@types/*": ["source_code"],
"concat-map@0.0.1": ["source_code"],
"file-entry-cache@8.0.0": ["source_code"]
}
}
and it resulted in packages being ignored according to the copy-pasted table below (at least I think the "Notes > Other info" section from the report shows the ignored dependencies?). I don't understand why, for example, @typescript-eslint/scope-manager@8.31.1 is being ignored because it doesn't match any of the three patterns I listed.
(It would match @types*, that's why I included the /. However, when I was using @types* it did not ignore anything for me, except for the last three in the table below).
| index |
package_name |
github_url |
parent |
| 1 |
@types/debug@4.1.12 |
Could not find repo from package registry |
[] |
| 2 |
@types/estree@1.0.7 |
Could not find repo from package registry |
['rollup@4.39.0'] |
| 3 |
@types/http-cache-semantics@4.0.4 |
Could not find repo from package registry |
[] |
| 4 |
@types/istanbul-lib-coverage@2.0.6 |
Could not find repo from package registry |
[] |
| 5 |
@types/json-schema@7.0.15 |
Could not find repo from package registry |
[] |
| 6 |
@types/katex@0.16.7 |
Could not find repo from package registry |
[] |
| 7 |
@types/mdast@4.0.4 |
Could not find repo from package registry |
[] |
| 8 |
@types/ms@0.7.34 |
Could not find repo from package registry |
[] |
| 9 |
@types/mute-stream@0.0.4 |
Could not find repo from package registry |
[] |
| 10 |
@types/node@22.7.4 |
Could not find repo from package registry |
[] |
| 11 |
@types/normalize-package-data@2.4.4 |
Could not find repo from package registry |
[] |
| 12 |
@types/unist@2.0.11 |
Could not find repo from package registry |
[] |
| 13 |
@types/unist@3.0.3 |
Could not find repo from package registry |
[] |
| 14 |
@types/wrap-ansi@3.0.0 |
Could not find repo from package registry |
[] |
| 15 |
@typescript-eslint/scope-manager@8.31.1 |
Could not find repo from package registry |
['@typescript-eslint/utils@8.31.1'] |
| 16 |
@typescript-eslint/types@8.31.1 |
Could not find repo from package registry |
['@typescript-eslint/typescript-estree@8.31.1', '@typescript-eslint/visitor-keys@8.31.1', '@typescript-eslint/scope-manager@8.31.1', '@typescript-eslint/utils@8.31.1'] |
| 17 |
@typescript-eslint/typescript-estree@8.31.1 |
Could not find repo from package registry |
['@typescript-eslint/utils@8.31.1'] |
| 18 |
@typescript-eslint/utils@8.31.1 |
Could not find repo from package registry |
[] |
| 19 |
@typescript-eslint/visitor-keys@8.31.1 |
Could not find repo from package registry |
['@typescript-eslint/typescript-estree@8.31.1', '@typescript-eslint/scope-manager@8.31.1'] |
| 20 |
concat-map@0.0.1 |
Could not find repo from package registry |
['brace-expansion@1.1.11'] |
| 21 |
file-entry-cache@8.0.0 |
Could not find repo from package registry |
[] |
| 22 |
pp-test-kit@0.5.1 |
git+https://gitlab.com/ericcornelissen/pp-test-kit.git |
[] |
I'm using the
"ignore"configuration to ignore some dependencies for an npm project and am observing some unexpected behavior. For context, I'm usingdirty-waters-action, tracking in ericcornelissen/shescape#1883.In my latest attempt I used the config:
{ "ignore": { "@types/*": ["source_code"], "concat-map@0.0.1": ["source_code"], "file-entry-cache@8.0.0": ["source_code"] } }and it resulted in packages being ignored according to the copy-pasted table below (at least I think the "Notes > Other info" section from the report shows the ignored dependencies?). I don't understand why, for example,
@typescript-eslint/scope-manager@8.31.1is being ignored because it doesn't match any of the three patterns I listed.(It would match
@types*, that's why I included the/. However, when I was using@types*it did not ignore anything for me, except for the last three in the table below).@types/debug@4.1.12[]@types/estree@1.0.7['rollup@4.39.0']@types/http-cache-semantics@4.0.4[]@types/istanbul-lib-coverage@2.0.6[]@types/json-schema@7.0.15[]@types/katex@0.16.7[]@types/mdast@4.0.4[]@types/ms@0.7.34[]@types/mute-stream@0.0.4[]@types/node@22.7.4[]@types/normalize-package-data@2.4.4[]@types/unist@2.0.11[]@types/unist@3.0.3[]@types/wrap-ansi@3.0.0[]@typescript-eslint/scope-manager@8.31.1['@typescript-eslint/utils@8.31.1']@typescript-eslint/types@8.31.1['@typescript-eslint/typescript-estree@8.31.1', '@typescript-eslint/visitor-keys@8.31.1', '@typescript-eslint/scope-manager@8.31.1', '@typescript-eslint/utils@8.31.1']@typescript-eslint/typescript-estree@8.31.1['@typescript-eslint/utils@8.31.1']@typescript-eslint/utils@8.31.1[]@typescript-eslint/visitor-keys@8.31.1['@typescript-eslint/typescript-estree@8.31.1', '@typescript-eslint/scope-manager@8.31.1']concat-map@0.0.1['brace-expansion@1.1.11']file-entry-cache@8.0.0[]pp-test-kit@0.5.1[]