Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
gatsby-parallel-runner
Advanced tools
This is an early WIP version of a runner for gatsby that can parallelize tasks like image processing.
This is an early WIP version of a runner for gatsby that can parallelize tasks like image processing.
When gatsby is started from a parent process with the environment variable ENABLE_GATSBY_EXTERNAL_JOBS
set,
it will communicate some jobs up to the parent process via ipc, instead of running them in it's own internal
queue.
This allows a parent process to orchestrate certain task for better paralelization with cloud functions, etc.
This WIP will paralelize the sharp plugin image transformations to a Google Cloud Function via Google PubSub.
There's currently no versioning of the sharp plugin and no real error handling, but the basics are working.
Install in your gatsby project:
npm i gatsby-parallel-runner
Set relevant env variables in your shell:
export GOOGLE_APPLICATION_CREDENTIALS=~/path/to/your/google-credentials.json
export TOPIC=parallel-runner-topic
export WORKER_TOPIC=function-worker-topic
Deploy the cloud function:
./node_modules/.bin/gatsby-parallel-runner deploy
To run a Gatsby build:
./node_modules/.bin/gatsby-parallel-runner
FAQs
Gatsby plugin that allows paralellization of external tasks
The npm package gatsby-parallel-runner receives a total of 20 weekly downloads. As such, gatsby-parallel-runner popularity was classified as not popular.
We found that gatsby-parallel-runner 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.