This issue has been created
There are 7 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1a4f9672-eadc-4cff-9c9f-4c94764a0c3e XWIKI-25721 Closed

Upgrade to eslint-plugin-import-x 4.18.1

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-93741570-ffbc-4b09-8fa5-6e50022595be Manuel Leduc created this issue on 10/Nov/26 10:59
 
Summary: Upgrade to eslint-plugin-import-x 4.18.1
Issue Type: cid:jira-generated-image-avatar-1a4f9672-eadc-4cff-9c9f-4c94764a0c3e Task
Affects Versions: 18.9.0
Assignee: Unassigned
Components: Development Issues only
Created: 10/Nov/26 10:59
Priority: cid:jira-generated-image-static-major-f225a055-652e-4e80-ac82-c06f7bbc8c77 Major
Reporter: Manuel Leduc
Description:

eslint-plugin-import-x 4.17.1 sorts relative imports with a comparator that returns 0 for any ./x against ../y pair. The result of import-x/order then depends on the JavaScript engine's sort implementation, and on Node 26 the lint of @xwiki/platform-editors-blocknote-react fails on code that passes on Node 24. 4.18.1 compares the full paths in that case, which makes the order deterministic. Six files get one import moved.

https://github.com/un-ts/eslint-plugin-import-x/releases/tag/v4.18.0
https://github.com/un-ts/eslint-plugin-import-x/releases/tag/v4.18.1

 
 

7 updates

 
cid:jira-generated-image-avatar-93741570-ffbc-4b09-8fa5-6e50022595be Changes by Manuel Leduc on 10/Nov/26 10:59
 
Fix Version: 18.10.0-rc-1
Documentation in Release Notes: N/A
Documentation: N/A
Description: eslint-plugin-import-x 4.17.1 sorts relative imports with a comparator that returns 0 for any {{./x}} against {{../y}} pair. The result of {{import-x/order}} then depends on the JavaScript engine's sort implementation, and on Node 26 the lint of {{@xwiki/platform-editors-blocknote-react}} fails on code that passes on Node 24. 4.18.1 compares the full paths in that case, which makes the order deterministic. Six files get one import moved.

https://github.com/un-ts/eslint-plugin-import-x/releases/tag/v4.18.0
https://github.com/un-ts/eslint-plugin-import-x/releases/tag/v4.18.1
Assignee: Manuel Leduc
Resolution: Fixed
Status: Open Closed