Avatar for the oxc-project user
oxc-project
oxc-resolver
BlogDocsChangelog

Performance History

Latest Results

chore: release v11.0.0 (#534)
main
14 hours ago
chore: release v10.0.1
release-plz-2025-05-25T21-47-23Z
14 hours ago
feat: implement module type resolution algorithm `ESM_FILE_FORMAT` from the spec (#535) resolves #527 fixes #508 This PR adds a new `module_type` option and also to the returned result. ```ts export interface NapiResolveOptions { /** * Resolve [ResolveResult::moduleType]. * * Default `false` */ moduleType?: boolean } ``` ```ts export interface ResolveResult { /** * Module type for this path. * * The module type is computed `ESM_FILE_FORMAT` from the [ESM resolution algorithm specification](https://nodejs.org/docs/latest/api/esm.html#resolution-algorithm-specification). * * The algorithm uses the file extension or finds the closest `package.json` with the `type` field. */ moduleType?: ModuleType } export declare const enum ModuleType { Module = 'module', CommonJs = 'commonjs', Json = 'json', Wasm = 'wasm', Addon = 'addon' } ``` Node.js will treat the following as [ES modules](https://nodejs.org/api/esm.html): * Files with an .mjs extension. * Files with a .js extension when the nearest parent package.json file contains a top-level ["type"](https://nodejs.org/api/packages.html#type) field with a value of "module". Node.js will treat the following as [CommonJS](https://nodejs.org/api/modules.html): * Files with a .cjs extension. * Files with a .js extension when the nearest parent package.json file contains a top-level field ["type"](https://nodejs.org/api/packages.html#type) with a value of "commonjs". See * https://nodejs.org/api/packages.html#determining-module-system * `ESM_FILE_FORMAT` in https://nodejs.org/docs/latest/api/esm.html#resolution-algorithm-specification
main
14 hours ago
feat: implement module type resolution algorithm `ESM_FILE_FORMAT` from the spec fixes #527
05-28-feat_implement_module_type_resolution_algorithm_esm_file_format_from_the_spec
14 hours ago
feat: implement module type resolution algorithm `ESM_FILE_FORMAT` from the spec fixes #527
05-28-feat_implement_module_type_resolution_algorithm_esm_file_format_from_the_spec
15 hours ago
[autofix.ci] apply automated fixes
05-28-feat_implement_module_type_resolution_algorithm_esm_file_format_from_the_spec
15 hours ago
chore: release v10.0.1
release-plz-2025-05-25T17-35-48Z
3 days ago
chore: release v10.0.1
release-plz-2025-05-25T21-47-23Z
3 days ago

Active Branches

No pull requests foundAs pull requests are created, their performance will appear here.
Ā© 2025 CodSpeed Technology
Home Terms PrivacyDocs