Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edemaine/meteor-tracker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edemaine/meteor-tracker - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

index.js

7

package.json
{
"name": "@edemaine/meteor-tracker",
"version": "1.0.0",
"description": "NPM version of Meteor Tracker",
"main": "tracker.js",
"version": "1.1.0",
"description": "NPM version of Meteor Tracker, ReactiveVar",
"main": "index.js",
"type": "module",
"license": "MIT",

@@ -7,0 +8,0 @@ "repository": {

# @edemaine/meteor-tracker
[Meteor Tracker](https://docs.meteor.com/api/tracker.html) is a dependency
tracking system from [Meteor](https://www.meteor.com/).
tracking system from [Meteor](https://www.meteor.com/). Together with
[Meteor ReactiveVar](https://docs.meteor.com/api/reactive-var.html),
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` module available in [Meteor](https://www.meteor.com/)
(with the [`tracker` package](https://atmospherejs.com/meteor/tracker)),
the `meteor/tracker` and `meteor/reactive-var` modules available in
Meteor with the [`tracker`](https://atmospherejs.com/meteor/tracker) and
[`reactive-var`](https://atmospherejs.com/meteor/reactive-var) packages,
so that it can be used in other JavaScript projects,

@@ -13,6 +16,5 @@ in particular for testing NPM packages that are intended for Meteor

The code consists of a one-line change to
[Meteor's source code](https://github.com/meteor/meteor/blob/devel/packages/tracker/tracker.js),
to make the Node module exports match the Meteor exports
(`Tracker` and `Deps`).
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.

@@ -24,5 +26,6 @@ ## Versions

NPM version | Meteor Tracker version
------------|-----------------------
1.0.x | [1.2.0](https://github.com/meteor/meteor/tree/4a76fe3fe6bbb99ce2850690864c5bbad97ec163/packages/tracker)
NPM version | Meteor versions
------------|----------------
1.0.x | [tracker 1.2.0](https://github.com/meteor/meteor/tree/4a76fe3fe6bbb99ce2850690864c5bbad97ec163/packages/tracker)
1.1.x | [tracker 1.2.0](https://github.com/meteor/meteor/tree/4a76fe3fe6bbb99ce2850690864c5bbad97ec163/packages/tracker), [reactive-var 1.0.11](https://github.com/meteor/meteor/tree/f39812bd4bc024734dd48b77c97930f9ba07f3c9/packages/reactive-var)

@@ -41,2 +44,3 @@ ## Usage: JavaScript

import {Tracker} from '@edemaine/meteor-tracker';
import {ReactiveVar} from '@edemaine/meteor-tracker';
```

@@ -58,3 +62,4 @@

'^meteor/tracker$': '@edemaine/meteor-tracker',
'^meteor/reactive-var$': '@edemaine/meteor-tracker',
},
```

@@ -0,1 +1,4 @@

// CHANGE FOR NPM:
let Tracker, Deps;
/////////////////////////////////////////////////////

@@ -635,3 +638,3 @@ // Package docs at http://docs.meteor.com/#tracker //

// Changes for NPM:
module.exports = {Tracker, Deps};
// CHANGE FOR NPM:
export {Tracker, Deps};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc