Merge branch 'development'

This commit is contained in:
Sebastian McKenzie 2015-11-08 07:22:22 -08:00
commit 785b01b8cd
5 changed files with 20 additions and 6 deletions

View File

@ -8,11 +8,11 @@ cache:
- node_modules
node_js:
- stable
- "4.0"
- iojs
- "0.10"
- "0.12"
- "stable"
script: make test-travis
after_success:

View File

@ -0,0 +1,15 @@
# Compiler environment support
The Babel compiler is **only** supported in these environments:
- Modern browsers such as Chrome, Firefox, Safari, Edge etc.
- Node 0.10+
This means that notably Babel does not support the following environments:
- Rhino
- Nashorn
- Internet Explorer
- ...
**NOTE:** Compiler support does not dictate the runtime requirements of compiled code.

View File

@ -39,6 +39,9 @@ export default async function (packages) {
let info = infos[i];
let pkg = filteredPackages[i];
// https://github.com/babel/babel/issues/2915
if (pkg.name === "babel-runtime") continue;
if (info.version !== pkg.version) {
messages.push(`${pkg.name} - Latest is ${info.version}. Local version is ${pkg.version}`);
}

View File

@ -453,11 +453,7 @@ export default class File extends Store {
if (err.stack) {
let newStack = err.stack.replace(err.message, message);
try {
err.stack = newStack;
} catch (e) {
// `err.stack` may be a readonly property in some environments
}
err.stack = newStack;
}
throw err;