From 09c88238e1d1ada3d7ef6290fb9156cfcd89f63c Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 4 Jan 2015 20:37:14 +1100 Subject: [PATCH 1/6] upgrade acorn-6to5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b6068f2962..0c3db62472 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "test": "make test" }, "dependencies": { - "acorn-6to5": "0.11.1-8", + "acorn-6to5": "0.11.1-9", "ast-types": "~0.6.1", "chokidar": "0.11.1", "commander": "2.5.0", From ac8d77fb455b2b794477bd7a6329b2e18368d77e Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 4 Jan 2015 21:14:59 +1100 Subject: [PATCH 2/6] upgrade acorn-6to5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c3db62472..f0a1cccd44 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "test": "make test" }, "dependencies": { - "acorn-6to5": "0.11.1-9", + "acorn-6to5": "0.11.1-10", "ast-types": "~0.6.1", "chokidar": "0.11.1", "commander": "2.5.0", From a4394494efd8600432ab389d8d681d851359aad8 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 5 Jan 2015 00:15:37 +1100 Subject: [PATCH 3/6] remove noDuplicateProperties test --- .../spec-no-duplicate-properties/identifiers/actual.js | 1 - .../spec-no-duplicate-properties/literals/actual.js | 1 - .../spec-no-duplicate-properties/mixed/actual.js | 1 - .../transformation/spec-no-duplicate-properties/options.json | 3 --- 4 files changed, 6 deletions(-) delete mode 100644 test/fixtures/transformation/spec-no-duplicate-properties/identifiers/actual.js delete mode 100644 test/fixtures/transformation/spec-no-duplicate-properties/literals/actual.js delete mode 100644 test/fixtures/transformation/spec-no-duplicate-properties/mixed/actual.js delete mode 100644 test/fixtures/transformation/spec-no-duplicate-properties/options.json diff --git a/test/fixtures/transformation/spec-no-duplicate-properties/identifiers/actual.js b/test/fixtures/transformation/spec-no-duplicate-properties/identifiers/actual.js deleted file mode 100644 index 7dd5168e50..0000000000 --- a/test/fixtures/transformation/spec-no-duplicate-properties/identifiers/actual.js +++ /dev/null @@ -1 +0,0 @@ -var obj = { a: 1, a: 2 }; diff --git a/test/fixtures/transformation/spec-no-duplicate-properties/literals/actual.js b/test/fixtures/transformation/spec-no-duplicate-properties/literals/actual.js deleted file mode 100644 index 85b7f9f02a..0000000000 --- a/test/fixtures/transformation/spec-no-duplicate-properties/literals/actual.js +++ /dev/null @@ -1 +0,0 @@ -var obj = { "a": 1, "a": 2 }; diff --git a/test/fixtures/transformation/spec-no-duplicate-properties/mixed/actual.js b/test/fixtures/transformation/spec-no-duplicate-properties/mixed/actual.js deleted file mode 100644 index eace9c1b04..0000000000 --- a/test/fixtures/transformation/spec-no-duplicate-properties/mixed/actual.js +++ /dev/null @@ -1 +0,0 @@ -var obj = { a: 1, "a": 2 }; diff --git a/test/fixtures/transformation/spec-no-duplicate-properties/options.json b/test/fixtures/transformation/spec-no-duplicate-properties/options.json deleted file mode 100644 index 32dce7785e..0000000000 --- a/test/fixtures/transformation/spec-no-duplicate-properties/options.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "throws": "Duplicate property key" -} From bf3443962b506b56781b4d139d96f926c7d06a44 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 5 Jan 2015 00:15:46 +1100 Subject: [PATCH 4/6] disable failing esnext tests --- .../{getter-setter-super.js => .getter-setter-super.js} | 0 .../{super-change-proto.js => .super-change-proto.js} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename test/fixtures/transformation/esnext-es6-classes/{getter-setter-super.js => .getter-setter-super.js} (100%) rename test/fixtures/transformation/esnext-es6-classes/{super-change-proto.js => .super-change-proto.js} (100%) diff --git a/test/fixtures/transformation/esnext-es6-classes/getter-setter-super.js b/test/fixtures/transformation/esnext-es6-classes/.getter-setter-super.js similarity index 100% rename from test/fixtures/transformation/esnext-es6-classes/getter-setter-super.js rename to test/fixtures/transformation/esnext-es6-classes/.getter-setter-super.js diff --git a/test/fixtures/transformation/esnext-es6-classes/super-change-proto.js b/test/fixtures/transformation/esnext-es6-classes/.super-change-proto.js similarity index 100% rename from test/fixtures/transformation/esnext-es6-classes/super-change-proto.js rename to test/fixtures/transformation/esnext-es6-classes/.super-change-proto.js From 97a504bbef69a893421b47bbaa99beab08257a56 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 5 Jan 2015 00:16:39 +1100 Subject: [PATCH 5/6] 2.5.0 changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3e4254a3e..4fd8cbbcff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Gaps between patch versions are faulty/broken releases. +## 2.5.0 + + * Remove `noDuplicateProperties` transformer. + * Better generated UIDs based on nodes. + * Default parameters now use `arguments[i]`, conditionals and variable declarations instead of using long-form if statements. + ## 2.4.10 * Upgrade `acorn-6to5`. From 655cc8fcb956f500aa7dbc0d344f66b924021ee7 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 5 Jan 2015 00:17:35 +1100 Subject: [PATCH 6/6] v2.5.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f0a1cccd44..390149491c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "6to5", "description": "Turn ES6 code into readable vanilla ES5 with source maps", - "version": "2.4.10", + "version": "2.5.0", "author": "Sebastian McKenzie ", "homepage": "https://github.com/6to5/6to5", "repository": {