
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.
firewire-angular
Advanced tools
Use in conjunction with firewire - https://www.npmjs.com/package/firewire
firewire + firewire-angular = no wait time for firebase data (providing read access is granted).
Follow instructions @ https://www.npmjs.com/package/firewire
Install firewire-angular into your public node_modules npm install firewire-angular --save
Add these dependencies to your jade template (assuming that you're running npm3+)
// npm 3+ should load firebase + angulafire + firewire-angular into /node_modules ... If using < 3 these directories will need to be altered.
//- firebase
script(src="/node_modules/firebase/lib/firebase-web.js")
//- angularfire
script(src="/node_modules/angularfire/dist/angularfire.min.js")
//- firewire-angular
script(src="/node_modules/firewire-angular/firewire.js")
Paste this script into your jade template before your other scripts.
//- load firewire object
script.
var fw = !{firewire};
In your angular app add the firewire module
var app = angular.module('app', [
"firewireModule"
]);
This will assign fw to $rootScope.fw allowing you to just use {{fw.some.data}} in your templates or $rootScope.fw.some.data in your js.
Remember to inject $rootScope into any controllers, services, etc. that you need to access $rootScope.fw
In the background firewire-angular is using angularfire (angular's bindings for firebase) so you can now do things like ng-click = "fw.some.data.$save()" right in your template to save data back to firebase.
firewire-angular exposes 2 services (fb and fbref).
fb is your firebase url (eg. https://example.firebase.com) and fbref is your firebase reference to it.
Furthermore $rootScope.fwMap contains your firebase data routes.
So you can use angularfire's $firebaseArray(fbref.child($rootScope.fwMap[childRoute]); to assign a firebase array to a firewire route.
You'll just need to inject $firebaseArray and fbref into your controller (etc.)
Check out https://www.npmjs.com/package/firewire-angular-auth
FAQs
firewire | a modular ecosystem for building firebase apps in express.
We found that firewire-angular 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.