mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove unused ejson dependency from accounts-password, accounts-passwordless, and session
These packages don't use EJSON directly — they get it transitively through their other dependencies.
This commit is contained in:
@@ -15,7 +15,7 @@ Npm.depends({
|
||||
});
|
||||
|
||||
Package.onUse((api) => {
|
||||
api.use(["accounts-base", "sha", "ejson", "ddp"], ["client", "server"]);
|
||||
api.use(["accounts-base", "sha", "ddp"], ["client", "server"]);
|
||||
|
||||
// Export Accounts (etc) to packages using this one.
|
||||
api.imply("accounts-base", ["client", "server"]);
|
||||
|
||||
@@ -4,7 +4,7 @@ Package.describe({
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
api.use(['accounts-base', 'sha', 'ejson', 'ddp'], ['client', 'server']);
|
||||
api.use(['accounts-base', 'sha', 'ddp'], ['client', 'server']);
|
||||
|
||||
// Export Accounts (etc) to packages using this one.
|
||||
api.imply('accounts-base', ['client', 'server']);
|
||||
|
||||
@@ -4,7 +4,7 @@ Package.describe({
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.use(['ecmascript', 'reactive-dict', 'ejson'], 'client');
|
||||
api.use(['ecmascript', 'reactive-dict'], 'client');
|
||||
|
||||
// Session can work with or without reload, but if reload is present
|
||||
// it should load first so we can detect it at startup and populate
|
||||
|
||||
Reference in New Issue
Block a user