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

json-schema-merge-allof

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-merge-allof - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

2

package.json
{
"name": "json-schema-merge-allof",
"version": "0.5.6",
"version": "0.5.7",
"description": "Simplify your schema by combining allOf into the root schema, safely.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -6,3 +6,3 @@ # json-schema-merge-allof [![Build Status](https://travis-ci.org/mokkabonna/json-schema-merge-allof.svg?branch=master)](https://travis-ci.org/mokkabonna/json-schema-merge-allof) [![Coverage Status](https://coveralls.io/repos/github/mokkabonna/json-schema-merge-allof/badge.svg?branch=master)](https://coveralls.io/github/mokkabonna/json-schema-merge-allof?branch=master)

```bash
npm install json-schema-compare --save
npm install json-schema-merge-allof --save
```

@@ -14,3 +14,3 @@

- Takes away all allOf found in the whole schema
- Lossless in terms of validation rules, merged schema does not validate more or less than original schema
- Lossless in terms of validation rules, merged schema does not validate more or less than the original schema
- Results in a more readable root schema

@@ -129,3 +129,3 @@ - Removes almost all logical impossibilities

Allows you to combine schema properties even though some schemas have `additionalProperties: false` The resulting schema will still get additionalProperties set to false. This is the most common issue people face when trying to expand schemas using allOf and a limitation of the json schema spec.
Allows you to combine schema properties even though some schemas have `additionalProperties: false` This is the most common issue people face when trying to expand schemas using allOf and a limitation of the json schema spec. Be aware though that the schema produced will allow more than the original schema. But this is useful if just want to combine schemas using allOf as if additionalProperties wasn't false during the merge process. The resulting schema will still get additionalProperties set to false.

@@ -132,0 +132,0 @@

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