Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
mojito-cli-jslint
Advanced tools
This package provides the jslint
command for the mojito-cli
. Install it with npm install -g mojito-cli
.
Scan files or paths for javascript files, and check their contents with jslint:
mojito jslint [options] [app|mojit|mojito] [path(s)]
The default jslint options used, and the patterns of files or directories that will be ignored, are listed in config.js
.
This command can be used generally, if these defaults are acceptable. In other words:
mojito jslint [optional file(s) or path(s)]
...will find jslint errors, if any, on all files ending in .js
in any of the files or directories specified as arguments. If no paths are specified, the current working directory is assumed.
Type arguments "app" and "mojit" are provided for backwards compatibility. If a type argument of "mojito" is used, the mojito library will be linted. This additional type is provided to support the old behavior mojito jslint
, with no arguments, would act on the mojito library.
To run JSLint on a specific mojit:
mojito jslint mojit <path/to/mojit>
--directory <path> Destination directory of the lint report, if --print
-d <path> is not specified. Default is "artifacts/jslint/". The
lint report file is named "jslint.html".
--exclude <pattern> File or directory patterns to exclude from linting.
-e <pattern> This option can be used multiple times.
--print Print the lint results, if any, to the console.
-p
http://developer.yahoo.com/forum/Yahoo-Mojito
This software is free to use under the Yahoo! Inc. BSD license. See LICENSE.txt. To contribute to the Mojito project, please see Contributing.
The Mojito project is a meritocratic, consensus-based community project, which allows anyone to contribute and gain additional responsibilities.
FAQs
Provide the jslint command for mojito-cli
The npm package mojito-cli-jslint receives a total of 7 weekly downloads. As such, mojito-cli-jslint popularity was classified as not popular.
We found that mojito-cli-jslint 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.