Merge branch 'development'
This commit is contained in:
commit
785b01b8cd
@ -8,11 +8,11 @@ cache:
|
||||
- node_modules
|
||||
|
||||
node_js:
|
||||
- stable
|
||||
- "4.0"
|
||||
- iojs
|
||||
- "0.10"
|
||||
- "0.12"
|
||||
- "stable"
|
||||
|
||||
script: make test-travis
|
||||
after_success:
|
||||
|
||||
15
doc/design/compiler-environment-support.md
Normal file
15
doc/design/compiler-environment-support.md
Normal 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.
|
||||
@ -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}`);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user