@applitools/test-server
Advanced tools
Comparing version 1.1.24 to 1.1.25
@@ -6,3 +6,2 @@ 'use strict'; | ||
const { resolve } = require('path'); | ||
const fs = require('fs'); | ||
const cors = require('cors'); | ||
@@ -58,8 +57,3 @@ const https = require('https'); | ||
if (key && cert) { | ||
server = https | ||
.createServer({ | ||
key: fs.readFileSync(key), | ||
cert: fs.readFileSync(cert), | ||
}, app) | ||
.listen(port, err => { | ||
server = https.createServer({ key, cert }, app).listen(port, err => { | ||
if (err) { | ||
@@ -66,0 +60,0 @@ log('error starting test server', err); |
{ | ||
"name": "@applitools/test-server", | ||
"version": "1.1.24", | ||
"version": "1.1.25", | ||
"homepage": "https://github.com/applitools/eyes.sdk.javascript1#readme", | ||
@@ -39,2 +39,3 @@ "bugs": { | ||
"build": "tsc", | ||
"test:sanity": "#", | ||
"deps": "bongo deps", | ||
@@ -60,3 +61,3 @@ "preversion": "bongo preversion", | ||
"devDependencies": { | ||
"@applitools/bongo": "^2.2.2", | ||
"@applitools/bongo": "^2.2.5", | ||
"@types/pem": "^1.9.6", | ||
@@ -63,0 +64,0 @@ "@typescript-eslint/eslint-plugin": "^5.41.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37771
36
546
2
7309