mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
This included removing some internal version constraints. It would be nice if package A could say "use B@2.0.0" (when both have changed), but when they're both in the release, we need to make a release that has a B@2.0.0-rc in it, which doesn't match that constraint. Fortunately, constraints aren't necessary within a release anyway.
25 lines
734 B
JavaScript
25 lines
734 B
JavaScript
// XXX COMPAT WITH 0.8.3
|
|
// This package is replaced by the use of bcrypt in accounts-password,
|
|
// but we are leaving in some of the code to allow existing user
|
|
// databases to be upgraded from SRP to bcrypt.
|
|
|
|
Package.describe({
|
|
summary: "Library for Secure Remote Password (SRP) exchanges",
|
|
version: "1.0.4-plugins.0"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use(['random', 'check', 'sha'], ['client', 'server']);
|
|
api.use('underscore');
|
|
api.export('SRP');
|
|
api.addFiles(['biginteger.js', 'srp.js'],
|
|
['client', 'server']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use('tinytest');
|
|
api.use('srp', ['client', 'server']);
|
|
api.use('underscore');
|
|
api.addFiles(['srp_tests.js'], ['client', 'server']);
|
|
});
|