Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
mozilla-get-url
Advanced tools
Utility to get the url of a particular version/release of a mozilla product (like firefox/b2g)
Find the url where a given mozilla product lives for all kinds of branches / releases / pre-releases.
Inspired by firefox-get which I initially contributed to for the b2g-support... The primary difference is mozilla-get-url is designed to handle most mozilla products up front and uses ftp rather then html scraping.
var locate = require('mozilla-get-url');
var options = {
/**
- optional
- default: release
- examples: ['release', 'prerelease', 'tinderbox', 'try']
Channels determine how builds are fetched and map to lib/channels/$CHANNEL.
Not all options are available across all channels
*/
channel: null,
/*
- required
- examples: 'win32', 'mac', 'linux-i686', 'linux-x86_64'
*/
os: 'mac',
/*
- optional
- default: 'latest'
- examples (release channel): '17.0', '3.6', 'latest', 'beta'
- examples (prerelease channel): 'aurora', 'nightly', 'mozilla-central'
- examples (tinderbox channel): 'mozilla-central', 'mozilla-inbound'
- examples (try channel): 'email@something.com-rev'
What type of available branches vary on the channel.
*/
branch: '17.0',
/*
- optional
- default: 'en-US'
Only used in the "release" channel.
List of languages: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-x86_64/
*/
language: 'en-US',
/*
- optional
- default: 'firefox'
- examples: 'firefox', 'b2g'
Gecko product... Only tested with firefox and b2g-desktop (b2g)
*/
product: 'firefox',
};
locate(options, function(err, url) {
url; // => http url to the build
});
# get latest firefox
mozilla-get-url --os mac
# get latest b2g-desktop from mozilla central
mozilla-get-url --channel tinderbox --os mac --branch mozilla-central --product b2g
FAQs
Utility to get the url of a particular version/release of a mozilla product (like firefox/b2g)
The npm package mozilla-get-url receives a total of 2 weekly downloads. As such, mozilla-get-url popularity was classified as not popular.
We found that mozilla-get-url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.