{"id":16822759,"url":"https://github.com/strml/babel-broken-legacy-decorators","last_synced_at":"2025-03-17T17:12:52.603Z","repository":{"id":65990989,"uuid":"51329253","full_name":"STRML/babel-broken-legacy-decorators","owner":"STRML","description":"Reproduction for loganfsmyth/babel-plugin-transform-decorators-legacy#19","archived":false,"fork":false,"pushed_at":"2016-02-08T22:40:07.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T09:18:25.058Z","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/STRML.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}},"created_at":"2016-02-08T21:41:28.000Z","updated_at":"2016-02-08T21:41:36.000Z","dependencies_parsed_at":"2023-02-28T11:16:11.528Z","dependency_job_id":null,"html_url":"https://github.com/STRML/babel-broken-legacy-decorators","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/STRML%2Fbabel-broken-legacy-decorators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fbabel-broken-legacy-decorators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fbabel-broken-legacy-decorators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRML%2Fbabel-broken-legacy-decorators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STRML","download_url":"https://codeload.github.com/STRML/babel-broken-legacy-decorators/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075635,"owners_count":20393979,"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-13T11:05:44.012Z","updated_at":"2025-03-17T17:12:52.583Z","avatar_url":"https://github.com/STRML.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Babel 6.5 Regression\n\nIn Babel 6.5, plugin order appears to have been changed, breaking\n[babel-plugin-transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy)\nand possibly others.\n\nSee the [reference issue](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy/issues/19).\n\n### Reproduction:\n\n```bash\n$ node build\n/project/babel-broken-decorators/node_modules/babel-core/lib/transformation/file/index.js:585\n      throw err;\n      ^\n\nSyntaxError: /project/babel-broken-decorators/index.jsx: Decorators are not supported yet in 6.x pending proposal update.\n  3 |\n  4 | @ReactMixin({componentDidUpdate: console.log})\n\u003e 5 | class Foo extends React.Component {\n    | ^\n  6 |   render() {\n  7 |     return \u003cspan\u003eBar\u003c/span\u003e;\n  8 |   }\n    at File.buildCodeFrameError (/project/babel-broken-decorators/node_modules/babel-core/lib/transformation/file/index.js:436:15)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrml%2Fbabel-broken-legacy-decorators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrml%2Fbabel-broken-legacy-decorators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrml%2Fbabel-broken-legacy-decorators/lists"}