{"id":29101880,"url":"https://github.com/tyilo/ecmascript-syntax","last_synced_at":"2025-10-25T19:03:37.170Z","repository":{"id":286100617,"uuid":"959814834","full_name":"tyilo/ecmascript-syntax","owner":"tyilo","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T10:03:04.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T11:20:31.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/tyilo.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":"2025-04-03T11:54:00.000Z","updated_at":"2025-04-04T10:03:06.000Z","dependencies_parsed_at":"2025-04-04T11:20:35.677Z","dependency_job_id":null,"html_url":"https://github.com/tyilo/ecmascript-syntax","commit_stats":null,"previous_names":["tyilo/ecmascript-syntax"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tyilo/ecmascript-syntax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fecmascript-syntax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fecmascript-syntax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fecmascript-syntax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fecmascript-syntax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyilo","download_url":"https://codeload.github.com/tyilo/ecmascript-syntax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyilo%2Fecmascript-syntax/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262497274,"owners_count":23320299,"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":"2025-06-28T21:08:39.909Z","updated_at":"2025-10-25T19:03:32.135Z","avatar_url":"https://github.com/tyilo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecmascript-syntax\n\nDetermine the ECMAScript version required to parse the syntax of a JavaScript file.\n\nThis doesn't check that the required runtime objects/functions/etc. are available.\n\n## Example usage\n\nSee [`test.js`](test.js).\n\n```\n$ cargo run -- test.js\nES2015 required because of:\n- Class declaration\n- for (... of ...)\n- Arrow function (() =\u003e {})\n- Generator (function *)\n- import statement\n- export statement\n- let binding\n- const binding\n- Template literal (`${1 + 1}`)\nES2016 required because of:\n- Exponentiation (**, **=)\nES2017 required because of:\n- Async function\n- await expression\nES2018 required because of:\n- Async generator (async function*)\n- for await (... of ...)\n- Spread operator (...)\n- Rest parameters (...)\n- RegExp literal flag /s\nES2019 required because of:\n- try-catch without binding (try { ... } catch { ... })\nES2020 required because of:\n- BigInt literal (1n)\n- Optional chaining (?.)\n- Nullish coalescing operator (??)\n- Dynamic import (await import(\"...\"))\nES2021 required because of:\n- Nullish coalescing assignment (??=)\n- Logical and assignment (\u0026\u0026=)\n- Logical or assignment (||=)\nES2022 required because of:\n- Field declaration in class\n- Private field or method (#foo)\n- Static class initializer (static { ... })\n- Top-level await expression\n- RegExp literal flag /d\nES2024 required because of:\n- RegExp literal flag /v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyilo%2Fecmascript-syntax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyilo%2Fecmascript-syntax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyilo%2Fecmascript-syntax/lists"}