
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
couchdb-push-interceptor
Advanced tools
A dumb CouchDB mock that listens for a PUT and writes the doc to file
A dumb CouchDB mock that listens for a PUT and writes the doc to file
I wanted Kanso (a build and deployment tool for CouchApps) to build my project to a file so that I could:
The second aspiration isn't really achieved through doing this but I've sure as hell managed to get a snapshot of my app compiled neatly into a single file along with its dependencies. I'll now be able to drop this in storage and rest peacefully in knowing that I can easily roll back to a previous version of my project on demand.
$ ./interceptor.js 5983
Waiting for ze payload...
GET /_session?
.. handling session request
HEAD /my-project/
.. handling db HEAD request
HEAD /my-project/_design/my-project
.. handling db HEAD request
PUT /my-project/_design/my-project
.. handling doc PUT request
Creating payload output stream to file: captured.json
Finished receiving the payload; winding down server
Your goodies are written to captured.json
in your pwd, like so:
$ ls -lah
-rw-r--r-- 1 luke staff 3.5M 21 Oct 15:58 captured.json
FAQs
A dumb CouchDB mock that listens for a PUT and writes the doc to file
The npm package couchdb-push-interceptor receives a total of 3 weekly downloads. As such, couchdb-push-interceptor popularity was classified as not popular.
We found that couchdb-push-interceptor 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.