Skip to content

Commit

Permalink
Add support for "export * as name from …" (#3193)
Browse files Browse the repository at this point in the history
* Replace remaining forEach with loops

* Refactor Module.addExport

Also remove checks for duplicate exports as they are handled by Acorn

* Add support for reexporting a namespace as a variable

* Update dependencies

* Fix ESM reexport

* Try fixing CI

* Fix version

* Improve coverage

* Get rid of default nodeRenderOptions for statements that needBoundaries

* Improve coverage

* Update dependencies
  • Loading branch information
lukastaegert committed Oct 27, 2019
1 parent 2f7e064 commit 1e1a111
Show file tree
Hide file tree
Showing 56 changed files with 868 additions and 377 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/node-windows.yml
Expand Up @@ -23,7 +23,8 @@ jobs:
node-version: ${{ matrix.node }}
- name: Check npm version
# This is only necessary until we dump Node 6
run: IF ${{ matrix.node }} LSS 8 npm i npm@5 -g
run: if [ ${{ matrix.node }} -lt 8 ]; then npm i npm@5 -g; fi;
shell: bash
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run tests
Expand Down
33 changes: 30 additions & 3 deletions LICENSE.md
Expand Up @@ -28,6 +28,33 @@ The published Rollup artifact additionally contains code with the following lice
MIT, ISC, Apache-2.0

# Bundled dependencies:
## acorn-export-ns-from
License: MIT
By: Adrian Heine
Repository: https://github.com/acornjs/acorn-export-ns-from

> Copyright (C) 2017-2018 by Adrian Heine
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
---------------------------------------

## acorn-import-meta
License: MIT
By: Adrian Heine
Expand Down Expand Up @@ -150,13 +177,13 @@ Repository: jonschlinkert/fill-range
## hash.js
License: MIT
By: Fedor Indutny
Repository: git+ssh://git@github.com/indutny/hash.js.git
Repository: git@github.com:indutny/hash.js

---------------------------------------

## inherits
License: ISC
Repository: git://github.com/isaacs/inherits.git
Repository: git://github.com/isaacs/inherits

> The ISC License
>
Expand Down Expand Up @@ -265,7 +292,7 @@ Repository: micromatch/micromatch

## minimalistic-assert
License: ISC
Repository: git+https://github.com/calvinmetcalf/minimalistic-assert.git
Repository: https://github.com/calvinmetcalf/minimalistic-assert.git

> Copyright 2015 Calvin Metcalf
>
Expand Down

0 comments on commit 1e1a111

Please sign in to comment.