From 95d4e7b04025d55c028d99746afcc27183e045bd Mon Sep 17 00:00:00 2001 From: zodern Date: Fri, 30 Dec 2022 13:50:36 -0600 Subject: [PATCH] Remove unordered dependency on Meteor --- packages/underscore/package.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/underscore/package.js b/packages/underscore/package.js index 58525754ed..a5d2f8a91b 100644 --- a/packages/underscore/package.js +++ b/packages/underscore/package.js @@ -4,21 +4,6 @@ Package.describe({ }); Package.onUse(function (api) { - // Like all packages, we have an implicit depedency on the 'meteor' - // package, which provides such things as the *.js file handler. Use - // an undocumented API to allow 'meteor' to alter us even though we - // depend on it. This is necessary since 'meteor' depends on us. One - // day we will avoid this problem by refactor, but for now this is a - // practical and expedient solution. - // - // XXX Now the *.js handler is intrinsic rather than coming from the - // 'meteor' package and we could remove this (if we provided a way - // to let the package opt to not depend on 'meteor'.) We could even - // remove unordered dependency support, though I think it's worth keeping - // around for now to keep the possibility of dependency - // configuration alive in the codebase. - api.use('meteor', {unordered: true}); - api.export('_'); // NOTE: we patch _.each and various other functions that polymorphically take