A change in ember-auto-import 2.7.3 caused the export of a package to be different from the one that ember-auto-import 2.7.2.
In the observed case, using a named import import { stub } from 'sinon'; seems to be resulting in different behavior than import sinon from 'sinon'; sinon.stub();
Summary from the discussion in #628:
A change in
ember-auto-import
2.7.3 caused the export of a package to be different from the one thatember-auto-import
2.7.2.In the observed case, using a named import
import { stub } from 'sinon';
seems to be resulting in different behavior thanimport sinon from 'sinon'; sinon.stub();
Sinon defines its exports as follows:
The ESM module does have the export defined on line 20295.