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

jest-schema-matcher

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-schema-matcher - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

6

dist/to-match-schema.d.ts

@@ -0,1 +1,7 @@

/**
* This ensures that a value matches the most recent JSON schema.
* Check out the [README](https://github.com/ryparker/jest-schema-matcher) for more information.
* @param object - Valid object or array
* @param schemaName - Name of the schema file to generate/validate.
*/
export default function toMatchSchema(object: any, schemaName: string): {

@@ -2,0 +8,0 @@ name: string;

@@ -15,2 +15,8 @@ "use strict";

const { SHOULD_UPDATE_SCHEMAS } = global;
/**
* This ensures that a value matches the most recent JSON schema.
* Check out the [README](https://github.com/ryparker/jest-schema-matcher) for more information.
* @param object - Valid object or array
* @param schemaName - Name of the schema file to generate/validate.
*/
function toMatchSchema(object, schemaName) {

@@ -17,0 +23,0 @@ const failureMessages = [];

2

package.json
{
"name": "jest-schema-matcher",
"version": "1.6.0",
"version": "1.7.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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