
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
adv-firestore-functions
Advanced tools
These are the back-end firestore functions that will allow you to create easy-to-use indexes.
Installation
Install the package into your firebase functions directory.
npm i adv-firestore-functions
Import the necessary functions at the top of your firebase function file:
import { eventExists, fullTextIndex } from 'adv-firestore-functions';
All of these functions are called on an async onWrite firebase firestore function like so:
functions.firestore
.document('posts/{docId}')
.onWrite(async (change: any, context: any) => {
//... code
}
The search functions, however, must be put in a callable function like so:
functions.https.onCall(async (q: any) => {
// 'q' is the data coming in
//... code
}
If you see any errors or have any suggestions, please post an issue on github.
There is more to come as I simplify my firebase functions! See Fireblog.io for more examples (whenever I finally update it)!
FAQs
Advanced Firestore Functions tools and indexing
The npm package adv-firestore-functions receives a total of 197 weekly downloads. As such, adv-firestore-functions popularity was classified as not popular.
We found that adv-firestore-functions 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.