Skip to content

Conversation

@rictic
Copy link
Contributor

@rictic rictic commented Nov 13, 2024

Import Assertions were removed from Node v22 and replaced with Import Attributes. To be compatible with both, the simplest thing is to just use the filesystem APIs, even though they're more awkward.

Once everyone's on Node v22 or above, we can switch to using import pkg from './package.json' with {type: 'json'};

Import Assertions were removed from Node v22 and replaced with Import Attributes. To be compatible with both, the simplest thing is to just use the filesystem APIs, even though they're more awkward.

Once everyone's on Node v22 or above, we can switch to using `import pkg from './package.json' with {type: 'json'};`
@junyanxu junyanxu requested review from hsubox76 and junyanxu and removed request for junyanxu November 18, 2024 01:38
@junyanxu junyanxu merged commit 2df2af0 into google-gemini:main Nov 20, 2024
7 checks passed
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