Skip to content

Implement import.meta.{dirname, filename} for Node.js compatibility#8127

Merged
Jarred-Sumner merged 1 commit intomainfrom
jarred/import-meta-dirnamefilenamepath
Jan 12, 2024
Merged

Implement import.meta.{dirname, filename} for Node.js compatibility#8127
Jarred-Sumner merged 1 commit intomainfrom
jarred/import-meta-dirnamefilenamepath

Conversation

@Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Implement import.meta.dirname and import.meta.filename

How did you verify your code works?

There is a test

@github-actions
Copy link
Contributor

@Jarred-Sumner 3 files with test failures on bun-darwin-aarch64:

  • test/cli/test/bun-test.test.ts
  • test/integration/next/default-pages-dir/test/dev-server.test.ts
  • test/js/third_party/webpack/webpack.test.ts

View test output

#31810885cd96347fced38b695dab013f1c0ffa74

@github-actions
Copy link
Contributor

@Jarred-Sumner 4 files with test failures on linux-x64-baseline:

  • test/bundler/bundler_compile.test.ts
  • test/cli/test/bun-test.test.ts
  • test/integration/next/default-pages-dir/test/next-build.test.ts
  • test/js/third_party/webpack/webpack.test.ts

View test output

#31810885cd96347fced38b695dab013f1c0ffa74

@github-actions
Copy link
Contributor

@Jarred-Sumner 3 files with test failures on linux-x64:

  • test/cli/test/bun-test.test.ts
  • test/integration/next/default-pages-dir/test/next-build.test.ts
  • test/js/third_party/webpack/webpack.test.ts

View test output

#31810885cd96347fced38b695dab013f1c0ffa74

@github-actions
Copy link
Contributor

@Jarred-Sumner 4 files with test failures on bun-darwin-x64-baseline:

  • test/cli/test/bun-test.test.ts
  • test/js/bun/util/which.test.ts
  • test/js/node/fs/fs.test.ts
  • test/js/third_party/webpack/webpack.test.ts

View test output

#31810885cd96347fced38b695dab013f1c0ffa74

@github-actions
Copy link
Contributor

@Jarred-Sumner 4 files with test failures on bun-darwin-x64:

  • test/cli/test/bun-test.test.ts
  • test/js/bun/util/which.test.ts
  • test/js/node/fs/fs.test.ts
  • test/js/third_party/webpack/webpack.test.ts

View test output

#31810885cd96347fced38b695dab013f1c0ffa74

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.

1 participant