Raoul v. R
|
e7b3cddf55
|
Modified absolutePath RegExp.
Windows didn't like this regular expression. Added normal slashes to the
mixture.
|
9 years ago |
Brian Donovan
|
fff640530b
|
Merge pull request #118 from lukeapage/patch-1
Correct package.json URLs
|
9 years ago |
Luke Page
|
842b97977c
|
Correct package.json URLs
|
9 years ago |
Rich Harris
|
16a38a2564
|
Merge pull request #99 from Victorystick/scope2
RFC: Use Scopes for Bundles and Modules
|
9 years ago |
Oskar Segersvärd
|
550171a606
|
Removed FIXME.
|
9 years ago |
Oskar Segersvärd
|
9706e3786f
|
Removed JSONModule. Shouldn't be there.
|
9 years ago |
Oskar Segersvärd
|
da828f31f8
|
Added missing test for dynamic namespace lookups
|
9 years ago |
Oskar Segersvärd
|
42723e8a8b
|
Made sure unused, intermediate namepaces are excluded when bundling. Fixes form/namespace-optimization
|
9 years ago |
Oskar Segersvärd
|
5b0203a8e7
|
Moved namespace-optimizations fo test/form
|
9 years ago |
Oskar Segersvärd
|
31aa57497e
|
Tried to fix sourcemap/names
|
9 years ago |
Oskar Segersvärd
|
779279f4e9
|
Tabs!
|
9 years ago |
Oskar Segersvärd
|
7627b6c810
|
Fixed modifier statements. All tests (but sourcemap/names) pass.
|
9 years ago |
Oskar Segersvärd
|
ab8fc095aa
|
Changed shorthand properties test
|
9 years ago |
Oskar Segersvärd
|
6f44df5bbe
|
Swapped names
|
9 years ago |
Oskar Segersvärd
|
be15ec33a6
|
Simplified Statement.mark by moving reexport special case to analyze
|
9 years ago |
Oskar Segersvärd
|
9cabcc77a5
|
Defined Id classes, to reduce code duplication
|
9 years ago |
Oskar Segersvärd
|
9051520dee
|
Don't use `for-of`
|
9 years ago |
Oskar Segersvärd
|
21c23e1762
|
Fixed rebase mistakes
|
9 years ago |
Oskar Segersvärd
|
4182c6d5e4
|
Throw if attempting to put a namespace's name in update expressions.
|
9 years ago |
Oskar Segersvärd
|
2aa575d0f5
|
Throw if attempting to reassign namespace's name.
|
9 years ago |
Oskar Segersvärd
|
8b32e24644
|
Fix Module.name if id isn't a path
|
9 years ago |
Oskar Segersvärd
|
8d4b11fb47
|
Fixed a ReferenceError in isEmptyExportedVarDeclaration
|
9 years ago |
Oskar Segersvärd
|
613cc9dd88
|
Fix rollup.rollup being called for skipped tests.
`rollup.rollup` was called for skipped form and sourcemap tests.
Moved the invocations to where the result is used.
|
9 years ago |
Oskar Segersvärd
|
c394a8b9de
|
Fix CJS finalizer bug, where too many newline was inserted.
|
9 years ago |
Oskar Segersvärd
|
f084957ab6
|
Access reexports of externals safely when needed.
|
9 years ago |
Oskar Segersvärd
|
616a5ce306
|
Added `mark()` method to identifiers.
* Removed Module's `mark( name )` and `markExport( name, module )`
* Added `mark()` to Modules
|
9 years ago |
Oskar Segersvärd
|
59fff295e4
|
Statically resolve internal namespace access
|
9 years ago |
Oskar Segersvärd
|
5e5bb7b9e0
|
Updated ES6 finalizer
|
9 years ago |
Oskar Segersvärd
|
c9aec9eb26
|
Flag ids that are modules
|
9 years ago |
Oskar Segersvärd
|
b3c522cc7e
|
Simpler replacement stack
|
9 years ago |
Oskar Segersvärd
|
570edfd1ee
|
Fixed `getExportBlock` for external names.
|
9 years ago |
Oskar Segersvärd
|
7457ab75f4
|
Removed suggestedName argument from markExport
|
9 years ago |
Oskar Segersvärd
|
cc9d5b7ecc
|
Started working on namespaces.
|
9 years ago |
Oskar Segersvärd
|
89acace26a
|
Add var declaration kind.
|
9 years ago |
Oskar Segersvärd
|
70c344c448
|
Fixed external-imports. Made cjs use getInteropBlock.
|
9 years ago |
Oskar Segersvärd
|
a29f03559d
|
Removed `defaultIdentifier` property from Module.
* Just use the `identifier` property of the default `Identifier`.
* Mark external modules imported as namespace with needsAll.
|
9 years ago |
Oskar Segersvärd
|
02720bfc06
|
Fixed default names.
|
9 years ago |
Oskar Segersvärd
|
a05997b9c5
|
virtual scopes optionally inherit the parent scope
* locals should inherit references to global variables
* exports on the other hand should not
|
9 years ago |
Oskar Segersvärd
|
e5801ae400
|
Implemented 'export *' for internal modules
* exporting * from external modules isn't supported yet, and raises a warning.
|
9 years ago |
Oskar Segersvärd
|
510a75ae69
|
Started on default exports.
|
9 years ago |
Oskar Segersvärd
|
f680aae304
|
Added `Scope.getNames()` to avoid exposing internals.
|
9 years ago |
Oskar Segersvärd
|
be12487631
|
Pass iife-strong-dependencies
|
9 years ago |
Oskar Segersvärd
|
3b6977f590
|
More tests pass
* Move `name` definition closer to usage.
* Fixed mistake where `locals` should have been `exports`
|
9 years ago |
Oskar Segersvärd
|
979f61baf1
|
Use ExternalModules as their own default value.
|
9 years ago |
Oskar Segersvärd
|
98b6176c63
|
Take references to other scopes into account when deconflicting.
|
9 years ago |
Oskar Segersvärd
|
c222063edd
|
Predefine the 'exports' global, and bind locals to found globals.
|
9 years ago |
Oskar Segersvärd
|
d8339d5697
|
Removed unused `findDefiningStatement`.
|
9 years ago |
Oskar Segersvärd
|
62abef4241
|
Lookup in `getExportBlock`
|
9 years ago |
Oskar Segersvärd
|
81b9ccfe4c
|
Do a `module.locals.lookup` since `module.imports` is removed.
|
9 years ago |
Oskar Segersvärd
|
09a43c1138
|
Removed unused `trace` and `traceExport`.
|
9 years ago |