Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
JavaScript utility library for ECMAScript 5.1 (or higher, due to backwards compatibility). See the list of browsers supporting ES5 here.
jsu (read JSU) stands for and provides JavaScript Utilities. It targets older browser versions first unless there is a security risk, missing functionality or poor performance in newer browsers. Explicit support (dedicated code) is not planned for Internet Explorer as Microsoft Edge is its successor.
The features provided by jsu were originally part of the nvc project. Some of these features, such as type checking or timer events can be found in other utility libraries. In case you find these libraries too large as a dependency, or if they require too new JavaScript technologies, among other disadvantages, you can use jsu as a possible fallback. For example, jsu_event.js supports generic and timer events in just a few lines of code. Also note that type checking is need-specific, i.e. not all use cases will accept a boolean object as a boolean, or a numeric string or an infinite number as a number; so even jsu implementation might not be of any help in checking data types.
Overall, jsu is not a substitute for libraries such as jQuery or others with convenient functions like isEqual() performing deep comparison of arbitrary objects.
Documentation and examples are available here. Version changelog is here.
See this file for development and maintenance notes.
1.5.0 - 2023/02/08
JsuCsvPsr.getConfig()
: the returned object has a new regexOptimized
property simplifying the initialization of smartRegex
(which now only reflects
the option of the same name passed to the constructor).skipEmptyLinesWhen
is set to JsuCsvPsr.LineIsReallyEmpty
when creating a parser.regexOptimized
is false
(e.g.
when smartRegex
is false
) when creating a parser.FAQs
JavaScript Utilities
The npm package jsupack receives a total of 5 weekly downloads. As such, jsupack popularity was classified as not popular.
We found that jsupack 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.