Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@cumulus/common
Advanced tools
Common libraries for interacting with Cumulus ingest
Cumulus tasks written in node.js should extend Task
to benefit from
the protocol parsing and message interpretation it provides. A minimal task
class is as follows:
const Task = require('@cumulus-test/common/task');
module.exports = class MyTask extends Task {
run() {
// Read inputs
// this.config contains task configuration with all variables resolved
// this.message contains the incoming message, with this.message.payload
// being the input from the previous step
// Do actual work
// Return output, which is the incoming message with its payload overwritten
// to contain the output of this task. The result may optionally be a promise.
return Object.assign({}, this.message, { payload: someOutput });
}
/**
* Entrypoint for Lambda
*/
static handler(...args) {
return MyTask.handle(...args);
}
}
Several modules provide support for working with Tasks and the message protocol:
FAQs
Common utilities used across tasks
The npm package @cumulus/common receives a total of 235 weekly downloads. As such, @cumulus/common popularity was classified as not popular.
We found that @cumulus/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
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.