
Security News
Free Certified Patch for Critical Rails Active Storage Vulnerability
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.
@_all_docs/worker
Advanced tools
Edge-compatible worker implementation for processing npm registry data across multiple runtime environments.
This package provides a Hono-based HTTP worker that can run on:
pnpm add @_all_docs/worker
import { serve } from '@hono/node-server';
import { app } from '@_all_docs/worker/app';
serve({
fetch: app.fetch,
port: 3141
});
import { app } from '@_all_docs/worker/app';
export default {
fetch: app.fetch
};
The worker includes three processors for different work item types:
import {
processPartition,
processPackument,
processPartitionSet
} from '@_all_docs/worker/processors';
// Process a partition of _all_docs
const result = await processPartition(workItem, env);
// Process a package document
const result = await processPackument(workItem, env);
// Process a set of partitions
const result = await processPartitionSet(workItem, env, enqueueFunc);
NPM_ORIGIN - npm registry origin (default: https://registry.npmjs.org)RUNTIME - Runtime environment (node, cloudflare, fastly, cloudrun)CACHE_DIR - Cache directory for Node.jsCACHE_KV - KV namespace for CloudflareCACHE_DICT - Dictionary for FastlyCACHE_BUCKET - GCS bucket for Cloud RunDEBUG - Enable debug outputGET /health - Health check endpointPOST /work - Submit work items for processingGET /work/:id - Get work item statusworker/
├── app.js # Main Hono application
├── node.js # Node.js entry point
├── cloudflare.js # Cloudflare Workers entry
├── fastly.js # Fastly Compute@Edge entry
├── processors/ # Work item processors
│ ├── partition.js
│ ├── packument.js
│ └── partition-set.js
└── test/ # Test files
# Build for all targets
pnpm build
# Build for Cloudflare Workers
pnpm build:cf
# Build for Fastly Compute@Edge
pnpm build:fastly
# Build Docker image for Cloud Run
pnpm docker:build
pnpm test
Run as a containerized service:
# Build image
pnpm docker:build
# Run locally
pnpm docker:run
# Test the container
pnpm docker:test
Apache-2.0
FAQs
Multi-runtime worker for _all_docs operations
The npm package @_all_docs/worker receives a total of 0 weekly downloads. As such, @_all_docs/worker popularity was classified as not popular.
We found that @_all_docs/worker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Socket has released a free Certified Patch for a critical Rails Active Storage vulnerability, giving developers time to upgrade to a secure Rails version.

Security News
/Threat Research
A malicious Ruby gem runs a credential-stealing worm during installation, poisons AI coding tools, and can wipe files when a stolen GitHub token is revoked.

Security News
GitHub is tightening GitHub Actions security with new restrictions on privileged pull request workflows. Here's what changes and how maintainers are affected.