
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
mozilla-treeherder
Advanced tools
NodeJS interface for treeherder.
var Project = require('mozilla-treeherder/project');
// this configuration can be acquired from an ateam member working on
// treeherder (mdoglio).
var project = new Project('gaia', {
clientId: '...',
secret: '',
// Disabled by default but will retry post / put requests if a 429 is
// returned.
throttleRetries: 2
});
See all the options with:
./bin/treeherder --help
treeherder api errors will include a traceback from the server. Most times these errors are simply something you did wrong (no hawk credentials, wrong parameters, etc...) but there are times when there are actually bugs in treeherder... Submit an issue with the traceback.
(you must run npm install first)
// run all the tests
npm test
// run one test
./node_modules/.bin/mocha path_to_test.js
Tests use nock so we can test some of our logic on CI without hitting real servers but they are also designed to work with nock disabled... To test against real servers do this:
// XXX: Testing this way is potentially buggy use at your own risk...
NOCK_OFF=true ./node_modules/.bin/mocha path_to_test
TREEHERDER_URL
environment variable can be used to configure the
base url for treeherder.FAQs
Treeherder client for mozilla's test reporting UI
The npm package mozilla-treeherder receives a total of 3 weekly downloads. As such, mozilla-treeherder popularity was classified as not popular.
We found that mozilla-treeherder demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.