feat(deps): update dependency electron to version 12.x 🌟 (#15292)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
This commit is contained in:
renovate[bot]
2021-03-10 15:24:00 +00:00
committed by GitHub
parent c4497752d8
commit b52ac98a69
36 changed files with 181 additions and 380 deletions

View File

@@ -269,7 +269,7 @@ class CA {
}
writeCAVersion () {
return fs.outputFileAsync(this.getCAVersionPath(), CA_VERSION)
return fs.outputFileAsync(this.getCAVersionPath(), String(CA_VERSION))
}
assertMinimumCAVersion () {

View File

@@ -1,5 +1,5 @@
const _ = require('lodash')
const { allowDestroy, connect } = require('@packages/network')
const { allowDestroy, connect, httpUtils } = require('@packages/network')
const debug = require('debug')('cypress:https-proxy')
const https = require('https')
const net = require('net')
@@ -227,7 +227,10 @@ class Server {
_listenHttpsServer (data) {
return new Promise((resolve, reject) => {
const server = https.createServer(data)
const server = https.createServer({
...data,
...httpUtils.lenientOptions,
})
allowDestroy(server)