chore(xo-server): remove @babel/polyfill (#3453)

Fixes #2580
Fixes #2820
This commit is contained in:
Julien Fontanet 2018-09-26 14:22:02 +02:00 committed by GitHub
parent ac2ab21826
commit aaaee45eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@
[OVA Import] Allow import of files bigger than 127GB (PR [#3451](https://github.com/vatesfr/xen-orchestra/pull/3451))
[File restore] Fix a path issue when going back to the parent folder (PR [#3446](https://github.com/vatesfr/xen-orchestra/pull/3446))
[File restore] Fix a minor issue when showing which selected files are redundant (PR [#3447](https://github.com/vatesfr/xen-orchestra/pull/3447))
[Memory] Fix a major leak [#2580](https://github.com/vatesfr/xen-orchestra/issues/2580) [#2820](https://github.com/vatesfr/xen-orchestra/issues/2820) (PR [#3453](https://github.com/vatesfr/xen-orchestra/pull/3453))
### Released packages

View File

@ -31,7 +31,6 @@
"node": ">=6"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@xen-orchestra/async-map": "^0.0.0",
"@xen-orchestra/cron": "^1.0.3",
"@xen-orchestra/emit-async": "^0.0.0",

View File

@ -1,4 +1,5 @@
import appConf from 'app-conf'
import assert from 'assert'
import bind from 'lodash/bind'
import blocked from 'blocked'
import createExpress from 'express'
@ -540,6 +541,9 @@ ${name} v${version}`)(require('../package.json'))
// ===================================================================
export default async function main (args) {
// makes sure the global Promise has not been changed by a lib
assert(global.Promise === require('bluebird'))
if (includes(args, '--help') || includes(args, '-h')) {
return USAGE
}