
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
A set of tools for working with EOL markings in files.
Install using npm:
npm install -g eol-tools
At any time, you can run eol-tools --help
to get help from the command line.
You can use eol-tools to analyze the EOL markings of files and report back what they are, including mixed EOL usage and indeterminante usage:
eol-tools [a|analayze] [directory...]
Each argument after a
or analyze
is treated as a separate directory, so you can do things like this:
eol-tools a ./src ./dist
It will print out the results and indicate one of five possible states:
\n
\r\n
\r
(where did you find this relic?)WARNING: this command is not well tested. Since it's a destructive operation, be careful with it.
You can normalize the line endings by running the following:
eol-tools [c|convert] [-e windows|unix] [<directory>...]
You can specify if you want UNIX-style line endings (\n
, the default) or Windows-style line endings (\r\n
) by using the -e
flag.
For example, to convert all files to UNIX-style line endings, you would run:
eol-tools c ./src ./dist
or convert them to Windows-style line endings with:
eol-tools c -e windows ./src ./dist
Copyright (c) Bryan Hughes bryan@nebri.us
EOL Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
EOL Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with EOL Tools. If not, see https://www.gnu.org/licenses/.
2.0.1 (2020-10-12)
FAQs
A set of tools for working with EOL markings in files
The npm package eol-tools receives a total of 0 weekly downloads. As such, eol-tools popularity was classified as not popular.
We found that eol-tools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.