
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.
Caches data from the Mozilla Developer Network wiki and provides methods to return links to documentation for JavaScript and DOM objects.
MDN Links is a utility package for generating links to Mozilla Developer Network documentation pages. It's primary use is for generating links for YUIDoc to use for native classes and methods. Currently, only links to the Web API Reference and JavaScript Global Objects pages are supported.
Install:
npm install mdn-linker
Require:
const mdn = require('mdn-links');
Simply pass the name of the global object and, optionally, one of its members to the getLink()
method:
mdn.getLink('Array');
//-> 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array'
mdn.getLink('Blob', 'slice');
//-> 'https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice'
A cached set of links is included in the package, but if these become stale they can be updated with the update()
method:
mdn.update(function () {
console.log(mdn.getLink('Array', 'isArray'));
console.log(mdn.getLink('Array', 'prototype.forEach'));
});
Copyright (c) 2015 Andy Earnshaw
This software is licensed under the MIT license. See the LICENSE.txt
file
accompanying this software for terms of use.
FAQs
Caches data from the Mozilla Developer Network wiki and provides methods to return links to documentation for JavaScript and DOM objects.
The npm package mdn-links receives a total of 16,943 weekly downloads. As such, mdn-links popularity was classified as popular.
We found that mdn-links 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.