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

@stoplight/prism-core

Package Overview
Dependencies
Maintainers
28
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/prism-core - npm Package Versions

1
20

4.2.2

Diff

Changelog

Source

4.2.2 (2021-05-04)

Fixed

  • encodeURI param names to avoid performance issues on startup #1816
marbemac
published 4.1.3 •

Changelog

Source

4.1.3 (2021-04-21)

Fixed

  • Prism is now supporting nullable validations #1782
marbemac
published 4.1.2 •

Changelog

Source

4.1.2 (2020-12-01)

Fixed

  • Yet another improvement for the returned path in Problem JSON payloads #1548
  • Prism is now respecting min/maxItems properties in JSON Schemas #1530
marbemac
published 4.1.1 •

Changelog

Source

4.1.1 (2020-11-24)

Fixed

  • Multiple HTTP Headers coming from a proxied response are now correctly aggreagated using a , instead of a space. #1489
  • Improved the returned path for Problem JSON payloads #1530
  • Prism will now consider the first response in the document in case of the absence of a 2XX response, instead of requiring at least a successful response. #1531

Changed

  • Prism will now validate that the requested code (either through prefer code header or __code query param) is a number. #1542
marbemac
published 4.1.0 •

Changelog

Source

4.1.0 (2020-09-25)

Changed

  • When running in proxy mode and an upstream server responds with 501, Prism will now "remock" the request and provide a meaningful response. This is a fancy way to say "if the upstream server has not yet implemented an operation, it will mock" #1426
marbemac
published 4.0.1 •

Changelog

Source

4.0.1 (2020-09-07)

Fixed

  • Fixed a type issue in the HTTP Client that would let you pass incorrect parameters #1391
marbemac
published 4.0.0 •

Changelog

Source

4.0.0 (2020-08-25)

Fixed

  • Prism will now refuse to start in case it will detect circular references. #1270

Changed

  • Prism is now able to take in consideration all the responses defined for a request (typical in Postman Collection) and respond in a more appropriate way #1310
  • BREAKING: The getHttpOperationsFromSpec has been moved from the HTTP Package to the CLI package. If you're using Prism programmatically, this might require some code changes on your side. getHttpOperationsFromResource has been removed. #1009, #1192
  • BREAKING: The createClientFromOperations is now exported as export function instead of exporting an object. If you're using Prism programmatically, this might require some code changes on your side #1009
  • BREAKING: Prism does NOT support Node 8 and 10 anymore; the miminal runtime is now 12
  • A significant number of dependencies has been upgraded
marbemac
published 4.0.0-beta.71 •

marbemac
published 4.0.0-beta.70 •

marbemac
published 4.0.0-beta.69 •

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