Skip to content

CHANGE @W-22270197@ update node package#2046

Open
nikhil-mittal-165 wants to merge 3 commits into
devfrom
node-lib-version-upgrade
Open

CHANGE @W-22270197@ update node package#2046
nikhil-mittal-165 wants to merge 3 commits into
devfrom
node-lib-version-upgrade

Conversation

@nikhil-mittal-165
Copy link
Copy Markdown
Contributor

No description provided.

@nikhil-mittal-165 nikhil-mittal-165 changed the title update node package CHANGE @W-22270197@ update node package May 29, 2026
@nikhil-mittal-165
Copy link
Copy Markdown
Contributor Author

module: "NodeNext" already guarantees correct import/export behavior at both compile-time and runtime.
project is still protected from accidental bad imports.

image

Comment thread package.json Outdated
@@ -20,7 +20,7 @@
"@salesforce/code-analyzer-retirejs-engine": "0.35.0",
"@salesforce/code-analyzer-sfge-engine": "0.21.0",
"@salesforce/core": "8.23.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update this as well if we are going ahead with removal of allowSyntheticDefaultImports? Also is there any backlog item created to follow-up on the better approach instead of just removing allowSyntheticDefaultImports?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean to update ? @salesforce/core": "8.23.4" ?
also allowSyntheticDefaultImports is redundant as module: "NodeNext" anyways takes care of bad imports

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I meant to update @salesforce/core": "8.23.4". This update was blocked due to allowSyntheticDefaultImports only. There was historical context behind adding this: https://salesforce-internal.slack.com/archives/G02JGHG9NSE/p1767622079357739?thread_ts=1767599700.436669&cid=G02JGHG9NSE. If this is already handled then we will not need backlog task.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i checked the issue and see we would still need allowSyntheticDefaultImports: false

i have added another fix ski[LibCheck which is safe for updating @salesfore/core which is now updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants