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`. diff --git a/package.json b/package.json index b6068f2962..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": { @@ -39,7 +39,7 @@ "test": "make test" }, "dependencies": { - "acorn-6to5": "0.11.1-8", + "acorn-6to5": "0.11.1-10", "ast-types": "~0.6.1", "chokidar": "0.11.1", "commander": "2.5.0", 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 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" -}