@applitools/eyes.cypress
Advanced tools
Comparing version 3.0.9 to 3.0.10
{ | ||
"name": "@applitools/eyes.cypress", | ||
"version": "3.0.9", | ||
"version": "3.0.10", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,3 @@ 'use strict'; | ||
function startApp(handlers, logger) { | ||
function startApp(handlers, logger = console) { | ||
const app = express(); | ||
@@ -16,3 +16,3 @@ app.use(cors()); | ||
if (!req.params || !req.params.id) throw new Error('missing resource url'); | ||
const id = decodeURIComponent(req.params.id); | ||
const id = req.params.id; // already decoded by express with decodeURIComponent | ||
const buffer = Buffer.from(JSON.parse(req.body).data); | ||
@@ -19,0 +19,0 @@ logger.log('[server] PUT resource:', id, buffer.length); |
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
32111