@percy/core
Advanced tools
Comparing version 1.0.0-beta.15 to 1.0.0-beta.16
@@ -22,5 +22,7 @@ "use strict"; | ||
if (request.method === 'OPTIONS') { | ||
reply = [204, { | ||
'Access-Control-Allow-Methods': 'GET,POST' | ||
}]; | ||
reply = [204, {}]; | ||
reply[1]['Access-Control-Allow-Methods'] = 'GET,POST,OPTIONS'; | ||
reply[1]['Access-Control-Request-Headers'] = 'Vary'; | ||
let allowed = request.headers['access-control-request-headers']; | ||
if (allowed === null || allowed === void 0 ? void 0 : allowed.length) reply[1]['Access-Control-Allow-Headers'] = allowed; | ||
} else { | ||
@@ -27,0 +29,0 @@ reply = await Promise.resolve().then(() => { |
{ | ||
"name": "@percy/core", | ||
"version": "1.0.0-beta.15", | ||
"version": "1.0.0-beta.16", | ||
"license": "MIT", | ||
@@ -28,5 +28,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@percy/client": "^1.0.0-beta.15", | ||
"@percy/dom": "^1.0.0-beta.15", | ||
"@percy/logger": "^1.0.0-beta.15", | ||
"@percy/client": "^1.0.0-beta.16", | ||
"@percy/dom": "^1.0.0-beta.16", | ||
"@percy/logger": "^1.0.0-beta.16", | ||
"node-fetch": "^2.6.1", | ||
@@ -40,3 +40,3 @@ "progress": "^2.0.3", | ||
}, | ||
"gitHead": "f11694fd14cb6918988534e15d32bc83a479707a" | ||
"gitHead": "dbde7c70b16f930ff5e969c584260442854784f8" | ||
} |
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
56817
1203
241
4
12
1
73
+ Added@percy/client@1.30.2(transitive)
+ Added@percy/dom@1.30.2(transitive)
+ Added@percy/env@1.30.2(transitive)
+ Added@percy/logger@1.30.2(transitive)
- Removed@percy/client@1.30.1(transitive)
- Removed@percy/dom@1.30.1(transitive)
- Removed@percy/env@1.30.1(transitive)
- Removed@percy/logger@1.30.1(transitive)
Updated@percy/client@^1.0.0-beta.16
Updated@percy/dom@^1.0.0-beta.16
Updated@percy/logger@^1.0.0-beta.16