upgrade node to latest version v17.9.0 (#500)

* upgrade node to latest version v17.9.0

Signed-off-by: Denis Barbaron <denis.barbaron@orange.com>

* remove useless comments in karma configuration file

Signed-off-by: Denis Barbaron <denis.barbaron@orange.com>
This commit is contained in:
Denis Barbaron
2022-04-12 17:03:43 +02:00
committed by GitHub
parent 8cc8cd0bb5
commit 6b2f434acb
22 changed files with 4993 additions and 3315 deletions

View File

@@ -1,3 +1,7 @@
//
// Copyright © 2022 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
//
var stream = require('stream')
var url = require('url')
var util = require('util')
@@ -70,6 +74,11 @@ module.exports = syrup.serial()
, stats.bytesTransferred / contentLength
))
)
// temporary workaround as the 'end' event is never fired
if ((stats.bytesTransferred / contentLength) === 1 &&
process.versions.node.split('.')[0] >= 16) {
endListener()
}
}
}