From e7925e29d1f55f9bf09fe9c548f1bebc7ccfd52a Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sun, 11 Sep 2016 14:35:04 -0400 Subject: [PATCH] -> v0.35.8 --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/ast/scopes/ModuleScope.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2680013..a6f3f90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # rollup changelog +## 0.35.8 + +* Correctly deshadow re-assigned module functions ([#910](https://github.com/rollup/rollup/issues/910)) + ## 0.35.7 * Refactor `flushTime.js` ([#922](https://github.com/rollup/rollup/pull/922)) diff --git a/package.json b/package.json index c688e6b..d49fd0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rollup", - "version": "0.35.7", + "version": "0.35.8", "description": "Next-generation ES6 module bundler", "main": "dist/rollup.js", "module": "dist/rollup.es.js", diff --git a/src/ast/scopes/ModuleScope.js b/src/ast/scopes/ModuleScope.js index cdc2c93..051fcb4 100644 --- a/src/ast/scopes/ModuleScope.js +++ b/src/ast/scopes/ModuleScope.js @@ -26,7 +26,7 @@ export default class ModuleScope extends Scope { const declaration = specifier.module.traceExport( specifier.name ); const name = declaration.getName( true ); if ( name !== specifier.name ) { - names.set(declaration.getName( true )); + names.set( declaration.getName( true ) ); } } });