Comparing version 0.17.0 to 0.17.1
# rollup changelog | ||
## 0.17.1 | ||
* Allow namespaces to be passed to a function ([#149](https://github.com/rollup/rollup/issues/149)) | ||
## 0.17.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "rollup", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "Next-generation ES6 module bundler", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup.js", |
@@ -265,10 +265,15 @@ import { Promise } from 'sander'; | ||
const otherExportDeclaration = importDeclaration.module.exports[ importDeclaration.name ]; | ||
// TODO things like `export default a + b` don't apply here... right? | ||
const otherDefiningStatement = module.findDefiningStatement( otherExportDeclaration.localName ); | ||
if ( importDeclaration.name === '*' ) { | ||
importDeclaration.module.markAllExportStatements(); | ||
} else { | ||
const otherExportDeclaration = importDeclaration.module.exports[ importDeclaration.name ]; | ||
// TODO things like `export default a + b` don't apply here... right? | ||
const otherDefiningStatement = module.findDefiningStatement( otherExportDeclaration.localName ); | ||
if ( !otherDefiningStatement ) return; | ||
if ( !otherDefiningStatement ) return; | ||
statement.mark(); | ||
} | ||
settled = false; | ||
statement.mark(); | ||
}); | ||
@@ -275,0 +280,0 @@ }); |
@@ -555,2 +555,3 @@ import { parse } from 'acorn'; | ||
err.file = this.id; // see above - not necessarily true, but true enough | ||
err.message += ` in ${this.id}`; | ||
throw err; | ||
@@ -557,0 +558,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
1002996
11968