New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openapi-enforcer

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-enforcer - npm Package Versions

1
14

1.11.0

Diff

Changelog

Source

1.11.0

Added

  • Definition Bundler

    Created a custom-built bundler that bundles and references nodes in a format that follows the OpenAPI specification.

Fixed

  • Custom Ref Parser

    The custom ref parser had a bug where is failed to check for null values when processing objects. That has been resolved.

gi60s
published 1.10.8 •

Changelog

Source

1.10.8

Changed

  • Validate enums, defaults, and examples after discriminator dereference.

    When using an example in a discriminator a error would occur because discriminator references weren't being resolved until later in the process. You can't validate a value against a schema that has not yet been resolved.

gi60s
published 1.10.7 •

Changelog

Source

1.10.7

Changed

  • Same paths with different verbs should not be considered in conflict.

    If you have two paths that define the same endpoint then this is identified as a conflict. Previously, this applied across HTTP methods too. This patch fixes misidentifying conflicting paths that use different HTTP methods.

    Thanks to ideadapt for the PR fix and tests.

gi60s
published 1.10.6 •

Changelog

Source

1.10.6

Changed

  • Use valueOf evaluation for minimum and maximum comparison.

    Previously this was casting to number using +value, but that leads to casting failures in some instances. Using valueOf() will provide more flexibility while also providing proper consistency.

gi60s
published 1.10.5 •

Changelog

Source

1.10.5

Removed

  • Removed Buffer constructors

    Adjusted for the deprecation of Buffer constructors. https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/

    This change removes support for NodeJS versions 5.9.x and earlier.

gi60s
published 1.10.4 •

Changelog

Source

1.10.4

Changed

  • OpenAPI#request can accept query object.

    The OpenAPI request function will now also accept a separate query property as input.

gi60s
published 1.10.3 •

Changelog

Source

1.10.3

Changed

  • Passed in options no longer modified.

    When creating an Enforcer instance options can be provided. The options object was being altered. This has been fixed to now create a copy of the options prior to altering.

gi60s
published 1.10.2 •

Changelog

Source

1.10.2

Changed

  • Fixed bug discriminator mapping with examples.

    Examples were being validated before discriminator mappings were resolved. This fix ensures that examples are validated after discriminator mappings are resolved.

gi60s
published 1.10.1 •

Changelog

Source

1.10.1

Changed

  • Fixed bug with oneOf discriminator.

    The serialize and deserialize through the oneOf or anyOf was not providing sufficient validations. This has been fixed.

gi60s
published 1.10.0 •

Changelog

Source

1.10.0

Added

  • A custom ref parser to provide sufficient context to OpenAPI v3 discriminator mappings.

    The previous parser had limitations when discriminators existed outside the primary OpenAPI definition file.

  • A production option to improve load times for production.

    This is accomplished by performing fewer validations on your OpenAPI definition, but your definition must still be valid otherwise runtime errors will occur.

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