Socket
Socket
Sign inDemoInstall

dredd-transactions

Package Overview
Dependencies
Maintainers
5
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dredd-transactions - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

test/fixtures/swagger/multiple-responses.yml

10

lib/compile.js

@@ -16,3 +16,3 @@ // Generated by CoffeeScript 1.10.0

compile = function(parseResult, filename) {
compile = function(mediaType, parseResult, filename) {
var annotation, annotations, component, error, errors, group, httpRequest, httpResponse, httpTransaction, i, j, k, l, len, len1, len2, len3, origin, ref1, ref2, ref3, ref4, ref5, ref6, ref7, request, resource, transactions, warning, warnings;

@@ -38,5 +38,7 @@ transactions = [];

}
children(parseResult, {
element: 'transition'
}).map(detectTransactionExamples);
if (mediaType === 'text/vnd.apiblueprint') {
children(parseResult, {
element: 'transition'
}).map(detectTransactionExamples);
}
ref4 = children(parseResult, {

@@ -43,0 +45,0 @@ element: 'httpTransaction'

2

lib/dredd-transactions.js

@@ -30,3 +30,3 @@ // Generated by CoffeeScript 1.10.0

mediaType = parseResult.mediaType, apiElements = parseResult.apiElements;
result = compileFromApiElements(apiElements, filename);
result = compileFromApiElements(mediaType, apiElements, filename);
} catch (error) {

@@ -33,0 +33,0 @@ err = error;

{
"name": "dredd-transactions",
"version": "1.3.0",
"version": "1.3.1",
"description": "Compiles HTTP Transactions (Request-Response pairs) from API description document",

@@ -5,0 +5,0 @@ "main": "lib/dredd-transactions.js",

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc