Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
@florajs/errors
Advanced tools
Readme
Error definitions for Flora.
This module exposes error classes for different types of errors to be able to determine whether an error should be displayed to the client (such as AuthenticationError) or not (internal errors).
To be able to pass through the error type to clients, a code
property is also set. The default error codes are listed below.
400
, the message
will be displayedERR_REQUEST_ERROR
401
ERR_AUTHENTICATION_ERROR
403
ERR_AUTHORIZATION_ERROR
404
, message
will be displayedERR_NOT_FOUND
410
, message
will be displayedERR_GONE
500
ERR_IMPLEMENTATION_ERROR
500
ERR_DATA_ERROR
503
.ERR_CONNECTION_ERROR
RequestError
400
ERR_VALIDATION_ERROR
validation
property.FAQs
Unknown package
The npm package @florajs/errors receives a total of 481 weekly downloads. As such, @florajs/errors popularity was classified as not popular.
We found that @florajs/errors demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Research
Security News
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.