
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@alt-javascript/lang
Advanced tools
Language feature detection utilities for ECMAScript 6 and beyond.
Language feature detection utilities for ECMAScript 6 and beyond, currently bundling the es-feature-detection and feature-detect-es6 npm packages.
The module can be used directly in the browser, as an IIFE (Immediately Invoked Function Expression),
using the global variable lang
as follows:
<script src="https://cdn.jsdelivr.net/npm/@alt-javascript/lang/dist/alt-javascript-lang-iife.js"></script>
<script>
if (!lang.allOk(lang.es2020)){
console.error('We\'re sorry but the site requires JavaScript 11 (ECMAScript 2020). Please upgrade your browser to continue.')
document.getElementById("require_es2020").style.display = "block"
}
</script>
May be freely distributed under the MIT license.
Copyright (c) 2021-2022 Craig Parravicini
FAQs
Language feature detection utilities for ECMAScript 6 and beyond.
We found that @alt-javascript/lang 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.