You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to pipe the contents of an NPM package-lock.json file into the tool via stdin, the tool does not process the data correctly. The current implementation appears to rely on the filename to determine file type, which does not work when content is provided through standard input.
Expected Behavior:
The tool should be able to interpret the package-lock.json format correctly when the content is piped in, regardless of the absence of a filename.
Suggested Solution:
Implement an option or flag (e.g., --format json or --stdin-type package-lock) that allows users to specify the format of the input when using stdin. This would force the tool to interpret the piped content in the specified format.
The text was updated successfully, but these errors were encountered:
When attempting to pipe the contents of an NPM package-lock.json file into the tool via stdin, the tool does not process the data correctly. The current implementation appears to rely on the filename to determine file type, which does not work when content is provided through standard input.
Expected Behavior:
The tool should be able to interpret the package-lock.json format correctly when the content is piped in, regardless of the absence of a filename.
Suggested Solution:
Implement an option or flag (e.g., --format json or --stdin-type package-lock) that allows users to specify the format of the input when using stdin. This would force the tool to interpret the piped content in the specified format.
The text was updated successfully, but these errors were encountered: