Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS-465 Fix typedoc: Migrate to ESM #4965

Merged
merged 1 commit into from
Nov 29, 2024
Merged

JS-465 Fix typedoc: Migrate to ESM #4965

merged 1 commit into from
Nov 29, 2024

Conversation

saberduck
Copy link
Contributor

@saberduck saberduck commented Nov 29, 2024

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title Fix typedoc: Migrate to ESM JS-465 Fix typedoc: Migrate to ESM Nov 29, 2024
@saberduck saberduck marked this pull request as ready for review November 29, 2024 10:38
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@saberduck saberduck requested a review from a team November 29, 2024 10:50
import url from 'url';

// Directory name of the current module
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
Copy link
Contributor

Choose a reason for hiding this comment

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

as we are on node v22, you should also have access to: import.meta.dirname

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is executed on github actions, I think we only have Node 18 there, so I wanted to stay compatible

Choose a reason for hiding this comment

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

@zglicz I didn't catch that during the review as I was not aware of this new property. Feel free to open a PR and change this line.

@saberduck saberduck merged commit c316e19 into master Nov 29, 2024
20 of 22 checks passed
@saberduck saberduck deleted the fix_typedoc branch November 29, 2024 12:50
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.

3 participants