{"id":21158400,"url":"https://github.com/toilal/jest-esm-process-mutate-repro","last_synced_at":"2026-07-18T16:31:37.559Z","repository":{"id":148157785,"uuid":"479311752","full_name":"Toilal/jest-esm-process-mutate-repro","owner":"Toilal","description":"Reproduction for https://github.com/facebook/jest/issues/12650","archived":false,"fork":false,"pushed_at":"2022-04-08T10:01:58.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T14:00:39.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Toilal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-08T08:41:11.000Z","updated_at":"2022-04-08T08:57:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"376d54ae-d646-48d4-9474-6a9008813894","html_url":"https://github.com/Toilal/jest-esm-process-mutate-repro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Toilal/jest-esm-process-mutate-repro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toilal%2Fjest-esm-process-mutate-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toilal%2Fjest-esm-process-mutate-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toilal%2Fjest-esm-process-mutate-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toilal%2Fjest-esm-process-mutate-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toilal","download_url":"https://codeload.github.com/Toilal/jest-esm-process-mutate-repro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toilal%2Fjest-esm-process-mutate-repro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35624316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T12:22:56.524Z","updated_at":"2026-07-18T16:31:37.531Z","avatar_url":"https://github.com/Toilal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jest-esm-process-mutate-repro\n\nReproduction repository for [facebook/jest#12650](https://github.com/facebook/jest/issues/12650).\n\nWhen running jest as ESM (with node `--experimental-vm-modules` flag) and importing (in this order) `node:process` and a\ncustom CJS module that adds properties to `node:process` module, jest-runtime crash with the following error\n\n```\nReferenceError: Export 'xxx' is not defined in module` error.\n```\n\n### Reproduce\n\n```shell\nnpm install\nnpm run test # test-import-process-before.cjs.spec.js cause the crash\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoilal%2Fjest-esm-process-mutate-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoilal%2Fjest-esm-process-mutate-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoilal%2Fjest-esm-process-mutate-repro/lists"}