Comparing version 0.11.1 to 0.11.2
# rollup changelog | ||
## 0.11.2 | ||
* Correctly handle computed properties (e.g. `foo[bar]`) when discovering dependencies ([#47](https://github.com/rollup/rollup/pull/47)) | ||
## 0.11.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "rollup", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"description": "Next-generation ES6 module bundler", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup.js", |
@@ -156,3 +156,3 @@ import { blank, keys } from './utils/object'; | ||
// disregard the `bar` in `foo.bar` - these appear as Identifier nodes | ||
if ( parent.type === 'MemberExpression' && node !== parent.object ) { | ||
if ( parent.type === 'MemberExpression' && !parent.computed && node !== parent.object ) { | ||
return; | ||
@@ -240,3 +240,3 @@ } | ||
mark () { | ||
if ( this.included ) return; // prevent infinite loops | ||
if ( this.isIncluded ) return; // prevent infinite loops | ||
this.isIncluded = true; | ||
@@ -243,0 +243,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
891053