{"id":16296162,"url":"https://github.com/scinos/test-babel-not-optional-chaining","last_synced_at":"2025-04-09T13:37:04.944Z","repository":{"id":66129705,"uuid":"357494589","full_name":"scinos/test-babel-not-optional-chaining","owner":"scinos","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-13T09:47:41.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T07:42:15.068Z","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/scinos.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":"2021-04-13T09:21:37.000Z","updated_at":"2021-04-13T09:47:43.000Z","dependencies_parsed_at":"2023-03-10T23:39:22.765Z","dependency_job_id":null,"html_url":"https://github.com/scinos/test-babel-not-optional-chaining","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scinos%2Ftest-babel-not-optional-chaining","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scinos%2Ftest-babel-not-optional-chaining/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scinos%2Ftest-babel-not-optional-chaining/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scinos%2Ftest-babel-not-optional-chaining/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scinos","download_url":"https://codeload.github.com/scinos/test-babel-not-optional-chaining/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248050271,"owners_count":21039356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-10T20:21:28.045Z","updated_at":"2025-04-09T13:37:04.921Z","avatar_url":"https://github.com/scinos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Optional chaining bug in @babel/preset-env\n\n## To reproduce\n\nRun\n\n```\nnpm install\nnpm run build\n```\n\n## Expected result\n\n`dist/index.js` contains `?.`\n\n## Actual result\n\n`dist/index.js` is transpiled down to not use `?.`\n\n## Fixes\n\n### Fix 1\n\nDowngrading these packages produces the expected result:\n\n    * `@babel/preset-env@7.13.15` to `@babel/preset-env@7.13.10`\n    * `@babel/compat-data@7.13.15` to `@babel/compat-data@7.13.11`\n\n### Fix 2\n\nChanging `.browserslistrc` form `Chrome 88` to `Firefox 88` produces the expected result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscinos%2Ftest-babel-not-optional-chaining","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscinos%2Ftest-babel-not-optional-chaining","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscinos%2Ftest-babel-not-optional-chaining/lists"}