jQuery dependency in babel via check. A way to remove it?

Hi,

In babel compiler package, we have a a dependency to check ; and check has a dependency to jQuery. As far as I can see, this is for the sole purpose of this function :

if (!jQuery.isPlainObject(value)) {
	return {
		message: "Expected plain object",
		path: ""
	};

Many of us don’t use jquery. So, is there a way to get rid of that ?

Fork the package, remove the jQuery dep, include or use a replacement for that function, and submit back as a PR to Meteor :slight_smile:

This dependency on jquery in check does need to be fixed. It is being discussed here and I think there is a good suggested fix. This dependency was added in a very recent commit.

1 Like

Oh, nice.

I agree with the last suggestion.