Closed FlorianKlosPpi closed 7 years ago
The export of the linez package does not return the API anymore, but an object with the API as the default property.
default
Should:
{ [Function: linez] Document: [Function: Document], configure: [Function: configure], resetConfiguration: [Function: resetConfiguration] }
Is:
{ default: { [Function: linez] Document: [Function: Document], configure: [Function: configure], resetConfiguration: [Function: resetConfiguration] } }
This breaks for example the usage in the eclint package:
Unhandled rejection TypeError: linez is not a function at /xxx/node_modules/eclint/js/eclint.js:114:27
Can you show me your import statement?
Just published the fix in v4.1.4. Thanks for reporting!
The export of the linez package does not return the API anymore, but an object with the API as the
default
property.Should:
Is:
This breaks for example the usage in the eclint package: