
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@edemaine/meteor-tracker
Advanced tools
Meteor Tracker is a dependency tracking system from Meteor. Together with Meteor ReactiveVar, it makes it easy to rerun code when dependencies change.
This NPM package @edemaine/meteor-tracker
offers a drop-in replacement for
the meteor/tracker
and meteor/reactive-var
modules available in
Meteor with the tracker
and
reactive-var
packages,
so that it can be used in other JavaScript projects,
in particular for testing NPM packages that are intended for Meteor
but testing from outside Meteor (e.g. via Jest).
The code consists of a few one-line changes to Meteor's source code
(see CHANGE FOR NPM
in the code),
to make the Node module imports and exports match those in Meteor.
The intent is to track the latest version of Meteor Tracker. If the latter changes, please open an issue to update this package.
NPM version | Meteor versions |
---|---|
1.0.x | tracker 1.2.0 |
1.1.x | tracker 1.2.0, reactive-var 1.0.11 |
To install:
npm install meteor-tracker
In your JavaScript code, you can use:
import {Tracker} from '@edemaine/meteor-tracker';
import {ReactiveVar} from '@edemaine/meteor-tracker';
To install:
npm install --save-dev meteor-tracker
To use this module for testing in Jest as a substitute for meteor/tracker
,
add the following to your Jest configuration:
moduleNameMapper: {
'^meteor/tracker$': '@edemaine/meteor-tracker',
'^meteor/reactive-var$': '@edemaine/meteor-tracker',
},
FAQs
NPM version of Meteor Tracker, ReactiveVar
The npm package @edemaine/meteor-tracker receives a total of 5 weekly downloads. As such, @edemaine/meteor-tracker popularity was classified as not popular.
We found that @edemaine/meteor-tracker 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.