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

@seriousme/openapi-schema-validator

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seriousme/openapi-schema-validator - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

test/test-cli.js

2

bin/validate-api-cli.js
#!/usr/bin/env node
import Validator from "../index.js";
import { Validator } from "../index.js";
const validator = new Validator();

@@ -5,0 +5,0 @@ import { argv, exit } from "process";

@@ -6,9 +6,13 @@ # Changelog

## [v2.0.0]
### Changed 25-04-2022
## [v2.0.1] 26-04-2022
### Changed
- Fix CLI issue and doc issue (@tbcarver)
## [v2.0.0] 25-04-2022
### Changed
- Removed Node 10/12 support from code
- Migrated to ESM, see UPGRADING.md for details
## [v1.7.1]
### Changed 22-04-2022
## [v1.7.1] 22-04-2022
### Changed
- Updated dependencies

@@ -19,26 +23,26 @@ ajv ^8.6.3 → ^8.11.0

## [v1.7.0]
### Changed 11-03-2022
## [v1.7.0] 11-03-2022
### Changed
- Updated OAS v3.0 to the updated 2021-09-28 schema (only descriptions changed)
- Updated OAS v3.1 to 2022-02-27 schema
## [v1.6.1]
### Changed 22-2-2022
## [v1.6.1] 22-2-2022
### Changed
- Fixed error in addSpecRef example in the README
## [v1.6.0]
### Changed 09-10-2021
## [v1.6.0] 09-10-2021
### Changed
- New feature, now supports external refs, see addSpecRef in the README.
## [v1.5.1]
### Changed 08-10-2021
## [v1.5.1] 08-10-2021
### Changed
- Fixed error message on URI ref without a path
## [v1.5.0]
### Changed 08-10-2021
## [v1.5.0] 08-10-2021
### Changed
- Updated OAS v3.0 to 2021-09-28 schema
- Updated OAS v3.1 to 2021-09-28 schema
## [v1.4.0]
### Changed 25-09-2021
## [v1.4.0] 25-09-2021
### Changed
- Updated OAS v3.1 schema because of spec update

@@ -45,0 +49,0 @@ (https://github.com/OAI/OpenAPI-Specification/issues/2706)

{
"name": "@seriousme/openapi-schema-validator",
"version": "2.0.0",
"version": "2.0.1",
"description": "Validate OpenApi specifications against their JSON schema",

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

@@ -20,3 +20,3 @@ # Upgrade Guide

// ESM
import Validator from "@seriousme/openapi-schema-validator";
import { Validator } from "@seriousme/openapi-schema-validator";
// CJS

@@ -23,0 +23,0 @@ const Validator = require("@seriousme/openapi-schema-validator");

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