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
240
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.27 to 1.0.0-beta.28

10

dist/server.js

@@ -13,2 +13,4 @@ "use strict";

var _logger = _interopRequireDefault(require("@percy/logger"));
var _package = _interopRequireDefault(require("../package.json"));

@@ -122,2 +124,10 @@

'/percy/dom.js': () => _fs.default.promises.readFile(require.resolve('@percy/dom'), 'utf-8').then(content => [200, 'applicaton/javascript', content]),
// serves the new DOM library, wrapped for compatability to `@percy/agent`
'/percy-agent.js': () => _fs.default.promises.readFile(require.resolve('@percy/dom'), 'utf-8').then(content => {
let wrapper = '(window.PercyAgent = class PercyAgent { snapshot(n, o) { return PercyDOM.serialize(o) } });';
_logger.default.warn('Warning: `percy-agent.js` is deprecated, please update to the latest SDK version');
return [200, 'applicaton/javascript', content.concat(wrapper)];
}),
// forward snapshot requests

@@ -124,0 +134,0 @@ '/percy/snapshot': ({

10

package.json
{
"name": "@percy/core",
"version": "1.0.0-beta.27",
"version": "1.0.0-beta.28",
"license": "MIT",

@@ -28,5 +28,5 @@ "main": "dist/index.js",

"dependencies": {
"@percy/client": "^1.0.0-beta.27",
"@percy/dom": "^1.0.0-beta.27",
"@percy/logger": "^1.0.0-beta.27",
"@percy/client": "^1.0.0-beta.28",
"@percy/dom": "^1.0.0-beta.28",
"@percy/logger": "^1.0.0-beta.28",
"node-fetch": "^2.6.1",

@@ -40,3 +40,3 @@ "progress": "^2.0.3",

},
"gitHead": "2974bd71303cc3bf541001dbfc5fc481266a0d2b"
"gitHead": "a0b9d3f8cf254b362f2591aa1b7a603240dcdf76"
}
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