New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorators 2 Transform [WIP] #6107

wants to merge 23 commits into
base: master
Jump to file or symbol
Failed to load files and symbols.
+182 −8
Diff settings


Just for now

Viewing a subset of changes. View all

Update versions to make tests pass

  • Loading branch information...
peey committed Aug 16, 2017
commit 8707f4e45762db1a5465aa82dac0aa3c044133a1
@@ -1,6 +1,6 @@
"name": "babel-plugin-syntax-decorators-2",
"version": "7.0.0-alpha.15",
"version": "7.0.0-alpha.19",
"description": "Updated parsing of decorators",
"repository": "",
"license": "MIT",
@@ -1,6 +1,6 @@
"name": "babel-plugin-transform-decorators-2",
"version": "7.0.0-alpha.15",
"version": "7.0.0-alpha.19",
"author": "Peeyush Kushwaha <>",
"license": "MIT",
"description": "Transformer for stage-2 decorators",
@@ -12,9 +12,11 @@
"dependencies": {
"babel-plugin-syntax-decorators-2": "7.0.0-alpha.15"
"babel-plugin-syntax-decorators-2": "7.0.0-alpha.19"
"devDependencies": {
"babel-helper-plugin-test-runner": "7.0.0-alpha.15"
"babel-helper-plugin-test-runner": "7.0.0-alpha.19",
"babel-helper-transform-fixture-test-runner": "7.0.0-alpha.19",
"babel-plugin-transform-decorators-2": "7.0.0-alpha.19"
@@ -21,6 +21,6 @@ function t() {
function t() {
for (var i = 0; i < arguments.length; i++) {
return arguments.length <= i ? undefined : arguments[i];

This comment has been minimized.


hzoo Aug 16, 2017


this should be fixed

This comment has been minimized.


peey Aug 17, 2017


I'm not sure if this is related to this PR. I'll investigate more

return i < 0 || arguments.length <= i ? undefined : arguments[i];
Copy path View file
178 yarn.lock

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.