Commit Graph

42 Commits

Author SHA1 Message Date
Ben Newman
ca7c0b9a58 Make ecmascript package enable JSX syntax in .jsx files.
Bumping the version to 0.3.0 because 0.2.x is already used on the
release-1.3 branch.
2015-12-22 11:18:28 -05:00
Ben Newman
2e69f7371a Copy static property descriptors in babelHelpers.inherits.
Fixes #5624.
2015-11-20 10:56:44 -05:00
Sashko Stubailo
5b28a34b7c Merge branch 'release-1.2.1' 2015-10-26 19:08:21 -07:00
Sashko Stubailo
0759da9c97 Bump versions for 1.2.1 release 2015-10-26 14:31:14 -07:00
Ben Newman
d941f0ccff Document new polyfills in the ecmascript package README. 2015-10-26 15:33:40 -04:00
Sashko Stubailo
23e2cd601b Bump all version numbers 2015-10-22 11:41:20 -07:00
gwendall
e189776a92 Correct typo 2015-10-15 13:04:06 +02:00
Ben Newman
d3878f08bc Rename ecmascript-collections to ecmascript-runtime, and add more to it.
Now that we're including more than just collections-related polyfills, a
more generic name seems appropriate.
2015-10-03 14:39:24 -04:00
Sashko Stubailo
9654a7c436 Bump packages for 1.2.0.2 2015-09-28 14:58:52 -07:00
Sashko Stubailo
5949f2a8dc Bump release version and package versions 2015-09-22 03:05:44 -04:00
Sashko Stubailo
cf6d7f109b Remove RC qualifier from all version numbers 2015-09-21 15:43:03 -04:00
Sashko Stubailo
f4d2a3b20a Bump versions for RC 18 2015-09-21 12:49:26 -04:00
Ben Newman
031c73693b Use es5-shim when testing ecmascript and ecmascript-collections. 2015-09-16 16:39:27 -04:00
Ben Newman
cf1cf7ac1f Provide explanations for polyfills (Promise, Map, and Set). 2015-09-14 15:58:24 -07:00
Ben Newman
3cbbf7242f Add explanations of ECMAScript features. 2015-09-14 15:58:15 -07:00
Ben Newman
bddc800281 Add introduction and section about polyfills to ecmascript README. 2015-09-14 15:58:06 -07:00
Ben Newman
93fb8c69da Begin fleshing out packages/ecmascript/README.md. 2015-09-14 15:57:57 -07:00
Sashko Stubailo
aaabeaf5b1 Bump package versions for RC 14 2015-09-11 19:16:23 -07:00
Sashko Stubailo
f0ae6b8a39 Bump package versions for new RC 2015-09-02 13:34:22 -07:00
Sashko Stubailo
291c8fe344 Move BabelCompiler class into babel-compiler package
It used to be in the ecmascript package.
I want to use it in the jsx package, so it needs to be exported from somewhere.
2015-09-01 19:11:25 -07:00
Sashko Stubailo
16fcf6275a Add test for bare file compiled with ecmascript 2015-08-28 11:12:49 -07:00
David Greenspan
2e2a573d40 version bumps 2015-08-26 17:39:55 -07:00
David Greenspan
2b751b549b Merge branch 'devel' into release-1.2 2015-08-26 17:13:32 -07:00
Ben Newman
8d291365f0 Export some ECMAScript utilities on the server. 2015-08-13 20:01:01 -04:00
David Greenspan
ca9b8f571f Version bumps
Tried to get everything to an rc.0 of the very latest version,
which required some research in some cases about the published
versions.  For example, some packages had version histories like:

```
...
  1.0.3-winr.2               January 20th, 2015
  1.0.3-winr.3               February 24th, 2015   installed
  1.0.3                      March 17th, 2015      installed
  1.0.4-anubhav.0            August 6th, 2015
  1.0.4-plugins.0            July 22nd, 2015
  1.0.5-galaxy.0             July 17th, 2015
```

In this case, I would bump the version from `1.0.4-plugins.0`
to `1.0.5-rc.0`, skipping `1.0.4`.
2015-08-10 22:10:52 -07:00
Ben Newman
6681b41ddb Rename ecmascript-containers to ecmascript-collections. 2015-08-05 09:05:28 -04:00
Ben Newman
886ab5d70b Remove unnecessary version constraints from ecmascript implications. 2015-08-04 19:15:48 -04:00
Ben Newman
b89a6054e7 Provide Map and Set collections with the ecmascript package. 2015-08-04 18:58:25 -04:00
Ben Newman
5e4ed8eb28 Fix IE8 for-in loops using babelHelpers.sanitizeForInObject.
Upgraded meteor-babel to 0.5.4 for sanitizeForInObject support.
2015-08-03 20:40:11 -04:00
Slava Kim
bdd3ef6686 bump versions for PLUGINS-PREVIEW@2 2015-07-27 09:45:22 -07:00
Ben Newman
ba0aa4d709 Avoid _.extend in IE8-sensitive ecmascript tests.
The underlying problem is that `es5-shim` polyfills `Array.prototype`
methods in IE8, but it can't actually make them non-enumerable, so
`_.extend` copies them, because it doesn't check `hasOwnProperty`.

This probably calls for a more general audit of for-in loops over objects
that could be Arrays, especially within underscore.
2015-07-24 16:54:16 -04:00
Ben Newman
c2d8a1b6c4 Upgrade meteor-babel and enable jscript plugin for client-side code.
The jscript plugin works around various limitations of older Internet
Explorer versions, in particular those described here:
http://kiro.me/blog/nfe_dilemma.html
2015-07-23 14:39:18 -04:00
David Glasser
43b4b30205 Release PLUGINS-PREVIEW@1
This included removing some internal version constraints. It would be
nice if package A could say "use B@2.0.0" (when both have changed), but
when they're both in the release, we need to make a release that has a
B@2.0.0-rc in it, which doesn't match that constraint. Fortunately,
constraints aren't necessary within a release anyway.
2015-07-22 23:19:11 -07:00
Ben Newman
09f67395af Fix Match pattern in babel-compiler/babel.js. 2015-07-22 10:21:32 -04:00
Ben Newman
155d3aef1a Make ecmascript depend on latest babel-compiler and promise packages. 2015-07-21 22:04:34 -04:00
Ben Newman
14969a6c5b Decompose a promise package from the ecmascript package. 2015-07-21 00:29:48 -04:00
David Greenspan
d0c192a141 Bring babel-tests unit tests into ecmascript 2015-07-19 16:14:06 -07:00
Ben Newman
6031df4b52 Print better errors when ecmascript compilation fails. 2015-07-16 22:54:24 -04:00
Sashko Stubailo
c3f3520455 Add all of the shrinkwrap files 2015-07-16 19:48:32 -07:00
Ben Newman
b75c8403b0 Add basic sanity-checking tests of the ecmascript package. 2015-07-16 18:02:08 -04:00
Ben Newman
e77681df8c Polyfill Promise constructor for ecmascript-dependent apps/packages.
I'm going to hold off on adding polyfills for Map and Set until we've had
a chance to try them out in tool code.
2015-07-16 18:02:08 -04:00
Ben Newman
095ded40b0 Add an ecmascript core package.
This package will be installed by default for all new apps and packages.

Passing the {transpile:false} option to api.addFiles makes it possible for
a dependent package to specify that some files should not be processed
through babel-compiler.
2015-07-16 18:02:07 -04:00