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

@percy/config

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/config - npm Package Compare versions

Comparing version 1.0.0-beta.52 to 1.0.0-beta.53

9

dist/validate.js

@@ -23,2 +23,3 @@ "use strict";

allErrors: true,
strict: false,
schemas: {

@@ -82,2 +83,4 @@ config: getDefaultSchema()

for (let error of ajv.errors) {
var _parentSchema$errors;
let {

@@ -88,2 +91,3 @@ instancePath,

message,
parentSchema,
data

@@ -93,3 +97,6 @@ } = error;

if (keyword === 'required') {
if ((_parentSchema$errors = parentSchema.errors) !== null && _parentSchema$errors !== void 0 && _parentSchema$errors[keyword]) {
let custom = parentSchema.errors[keyword];
message = typeof custom === 'function' ? custom(error) : custom;
} else if (keyword === 'required') {
message = 'missing required property';

@@ -96,0 +103,0 @@ path.push(params.missingProperty);

6

package.json
{
"name": "@percy/config",
"version": "1.0.0-beta.52",
"version": "1.0.0-beta.53",
"license": "MIT",

@@ -25,3 +25,3 @@ "main": "dist/index.js",

"dependencies": {
"@percy/logger": "^1.0.0-beta.52",
"@percy/logger": "^1.0.0-beta.53",
"ajv": "^8.0.5",

@@ -34,3 +34,3 @@ "cosmiconfig": "^7.0.0",

},
"gitHead": "ebc543f148bede5ce057458ffb830dd60823837e"
"gitHead": "42c93d11a663b5e45ab75944e20f0fb63a0dda09"
}
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