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

drafter

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drafter - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

test/validate-test.js

6

lib/drafter.js

@@ -7,2 +7,5 @@ try {

parseSync: protagonist.parseSync,
validate: protagonist.validate,
validateSync: protagonist.validateSync,
};

@@ -15,3 +18,6 @@ } catch (error) {

parseSync: drafterjs.parseSync,
validate: drafterjs.validate,
validateSync: drafterjs.validateSync,
};
}

6

package.json
{
"name": "drafter",
"version": "1.1.0",
"version": "1.2.0",
"description": "Node API Blueprint Parser",

@@ -23,6 +23,6 @@ "main": "lib/drafter.js",

"dependencies": {
"drafter.js": "^2.5.0"
"drafter.js": "^2.6.0"
},
"optionalDependencies": {
"protagonist": "^1.5.0"
"protagonist": "^1.6.0"
},

@@ -29,0 +29,0 @@ "devDependencies": {

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