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

@fastify/merge-json-schemas

Package Overview
Dependencies
Maintainers
19
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/merge-json-schemas - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

.github/workflows/ci.yml

2

index.js
'use strict'
const deepEqual = require('fast-deep-equal')
const { dequal: deepEqual } = require('dequal')
const resolvers = require('./lib/resolvers')

@@ -5,0 +5,0 @@ const errors = require('./lib/errors')

'use strict'
const deepEqual = require('fast-deep-equal')
const { dequal: deepEqual } = require('dequal')
const { MergeError } = require('./errors')

@@ -5,0 +5,0 @@

{
"name": "@fastify/merge-json-schemas",
"version": "0.1.1",
"version": "0.2.0",
"description": "Builds a logical conjunction (AND) of multiple JSON schemas",

@@ -11,5 +11,5 @@ "main": "index.js",

"lint:fix": "standard --fix",
"test": "npm run test:unit && npm run test:types",
"test:unit": "c8 --100 node --test",
"test:types": "tsd",
"test": "npm run lint && npm run test:unit && npm run test:types"
"test:types": "tsd"
},

@@ -33,2 +33,3 @@ "repository": {

"devDependencies": {
"@fastify/pre-commit": "^2.1.0",
"c8": "^8.0.1",

@@ -39,4 +40,4 @@ "standard": "^17.1.0",

"dependencies": {
"fast-deep-equal": "^3.1.3"
"dequal": "^2.0.3"
}
}

@@ -1,4 +0,4 @@

# @fastify/merge-json-schema
# @fastify/merge-json-schemas
__merge-json-schema__ is a javascript library that build a logical product (AND) for multiple [JSON schemas](https://json-schema.org/draft/2020-12/json-schema-core#name-introduction).
__merge-json-schemas__ is a javascript library that build a logical product (AND) for multiple [JSON schemas](https://json-schema.org/draft/2020-12/json-schema-core#name-introduction).

@@ -18,3 +18,3 @@ - [Installation](#installation)

```bash
npm install @fastify/merge-json-schema
npm install @fastify/merge-json-schemas
```

@@ -28,3 +28,3 @@

const assert = require('node:assert')
const { mergeSchemas } = require('merge-json-schema')
const { mergeSchemas } = require('@fastify/merge-json-schemas');

@@ -31,0 +31,0 @@ const schema1 = {

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