Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/core

Package Overview
Dependencies
Maintainers
6
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/core - npm Package Compare versions

Comparing version 1.0.0-beta.15 to 1.0.0-beta.16

8

dist/server.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc