Socket
Socket
Sign inDemoInstall

protagonist

Package Overview
Dependencies
Maintainers
5
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-pre.1 to 2.0.0-pre.2

drafter/CMakeLists.txt

12

CHANGELOG.md
# Protagonist Changelog
## 2.0.0-pre.2
This update now uses Drafter 4.0.0-pre.2. Please see [Drafter
4.0.0-pre.2](https://github.com/apiaryio/drafter/releases/tag/v4.0.0-pre.2) for
the list of changes.
## 2.0.0-pre.1
This update now uses Drafter 4.0.0-pre.1. Please see [Drafter
4.0.0-pre.1](https://github.com/apiaryio/drafter/releases/tag/v4.0.0-pre.1) for
the list of changes.
## 2.0.0-pre.0

@@ -4,0 +16,0 @@

58

drafter/CHANGELOG.md
# Drafter Changelog
## master
## 4.0.0-pre.2
### Bug Fixes
* Parameters which are of `enum` type will now have their `default` values
correctly serialized in the output using `enum` type
### Enhancements
* Add column/line info to anotations source maps
## 4.0.0-pre.1
### Breaking
* changes in Enumeration implemetation
* samples are now collected as collection of individual elements
* warning on multiple default definitions
* This release contains numerous changes to enumerations which affect how
enumerations are serialised in API Elements.
* See [API Elements 1.0](http://apielements.org/) for further specification
on the format of the enumerations.
* Samples are now collected as collection of individual elements.
* The parser will now emit a warning when you define multiple default
values for an enumeration.
## 4.0.0-pre0
* Descriptions for MSON structures are no longer found in generated JSON Schemas.
### Enhancements
* Significant performance improvements have been made to this release and
parse times for API Blueprints are halved.
### Bug Fixes
* Large numbers will no longer be clipped and numbers will be rendered how
they was described. For example `10.00` will be rendered as `10.00` and not `10`.
[#443](https://github.com/apiaryio/drafter/issues/443)
* JSON Schema will no longer contain redundant anyOf entries when using
fixed-type arrays.
[#566](https://github.com/apiaryio/drafter/issues/566)
* Restored handling API Blueprints where referencing an unknown type inside an
`array[]` would cause an assertion failure instead of a parsing error.
[#556](https://github.com/apiaryio/drafter/issues/556)
* Fix parsing MSON object structures where a property is declared without a
key. This was causing an assertion failure instead of a parse error.
[#547](https://github.com/apiaryio/drafter/issues/547)
* JSON Schema generation will no longer include duplicate required properties
when a property in MSON structure is duplicated.
[#493](https://github.com/apiaryio/drafter/issues/493)
## 4.0.0-pre.0
### Breaking

@@ -32,3 +76,3 @@

## Bug Fixes
### Bug Fixes

@@ -40,3 +84,3 @@ * Fix JSON Schema "required" for multiple defined members

## Bug Fixes
### Bug Fixes

@@ -43,0 +87,0 @@ * Fix JSON Schema for OneOf when required is present.

11

package.json
{
"name": "protagonist",
"version": "2.0.0-pre.1",
"version": "2.0.0-pre.2",
"description": "API Blueprint Parser",

@@ -15,3 +15,4 @@ "author": "Apiary.io <support@apiary.io>",

"dependencies": {
"nan": "^2.11.0"
"nan": "^2.11.0",
"node-gyp": "^3.8.0"
},

@@ -21,3 +22,2 @@ "devDependencies": {

"chai": "^4.1.2",
"coffee-script": "~1.6.0",
"glob": "^7.1.2",

@@ -27,5 +27,8 @@ "mocha": "^5.2.0"

"scripts": {
"test": "mocha --compilers coffee:coffee-script -R spec test"
"build": "node-gyp build",
"test:exclude-await": "mocha --exclude test/await-test.js",
"test:await": "mocha",
"test": "node --version | grep -q -E \"v(4|6)\" && npm run test:exclude-await || npm run test:await"
},
"license": "MIT"
}

@@ -5,3 +5,3 @@ const fs = require('fs');

const protagonist = require('./protagonist');
const protagonist = require('./helpers/protagonist');

@@ -8,0 +8,0 @@ describe('Parsing Drafter Test Fixtures', () => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc