Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@cumulus/test-data
Advanced tools
@cumulus/test-data provides a collection of example data for use in testing Cumulus modules.
Cumulus is a cloud-based data ingest, archive, distribution and management prototype for NASA's future Earth science data streams.
npm install @cumulus/test-data
Using require
or import
:
const payload = require('@cumulus/test-data/payloads/new-message-schema/ingest.json');
import payload from '@cumulus/test-data/payloads/new-message-schema/ingest.json';
See Cumulus README
[v1.10.0] - 2018-08-31
@cumulus/common
@cumulus/common/test-helpers
@cumulus/common/task
@cumulus/common/message-source
getPossiblyRemote
function from @cumulus/common/aws
startPromisedSfnExecution
function from @cumulus/common/aws
getCurrentSfnTask
function from @cumulus/common/aws
@cumulus/sync-granule
, 'collection' is now an optional config parameter@cumulus/move-granules
and @cumulus/post-to-cmr
to @cumulus/ingest
. Fixed imports making assumptions about directory structure.@cumulus/ingest/consumer
correctly limits the number of messages being received and processed from SQS. Details:
@cumulus/api
includes a lambda <stack-name>-sqs2sf
which processes messages from the <stack-name>-startSF
SQS queue every minute. The sqs2sf
lambda uses @cumulus/ingest/consumer
to receive and process messages from SQS.messageLimit
number of messages were being consumed and processed from the <stack-name>-startSF
SQS queue. Many step functions were being triggered simultaneously by the lambda <stack-name>-sqs2sf
(which consumes every minute from the startSF
queue) and resulting in step function failure with the error: An error occurred (ThrottlingException) when calling the GetExecutionHistory
.@cumulus/ingest/consumer#processMessages
now processes messages until timeLimit
has passed OR once it receives up to messageLimit
messages. sqs2sf
is deployed with a default messageLimit
of 10.consumer
will actually process up to messageLimit * 2 - 1
messages. This is because sometimes receiveSQSMessages
will return less than messageLimit
messages and thus the consumer will continue to make calls to receiveSQSMessages
. For example, given a messageLimit
of 10 and subsequent calls to receiveSQSMessages
returns up to 9 messages, the loop will continue and a final call could return up to 10 messages.FAQs
Includes the test data for various packages
The npm package @cumulus/test-data receives a total of 175 weekly downloads. As such, @cumulus/test-data popularity was classified as not popular.
We found that @cumulus/test-data 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.