oas-resolver
Advanced tools
Comparing version 2.5.1 to 2.5.2
18
index.js
@@ -67,3 +67,3 @@ 'use strict'; | ||
if (options.promise) options.promise.reject(ex) | ||
else throw(ex); | ||
else throw ex; | ||
} | ||
@@ -182,3 +182,3 @@ } | ||
if (options.promise) options.promise.reject(ex) | ||
else throw(ex); | ||
else throw ex; | ||
} | ||
@@ -206,3 +206,3 @@ } | ||
if (options.verbose) console.warn(ex); | ||
throw(ex); | ||
throw ex; | ||
}); | ||
@@ -239,3 +239,3 @@ } | ||
if (options.promise) options.promise.reject(ex) | ||
else throw(ex); | ||
else throw ex; | ||
} | ||
@@ -250,3 +250,3 @@ } | ||
if (options.promise && options.fatal) options.promise.reject(ex) | ||
else throw(ex); | ||
else throw ex; | ||
} | ||
@@ -260,3 +260,3 @@ callback(data, target, options); | ||
if (options.promise && options.fatal) options.promise.reject(err) | ||
else throw(err); | ||
else throw err; | ||
}); | ||
@@ -282,3 +282,3 @@ } | ||
if (options.promise) options.promise.reject(ex) | ||
else throw(ex); | ||
else throw ex; | ||
} | ||
@@ -293,3 +293,3 @@ } | ||
if (options.promise && options.fatal) options.promise.reject(ex) | ||
else throw(ex); | ||
else throw ex; | ||
} | ||
@@ -302,3 +302,3 @@ callback(data, target, options); | ||
if (options.promise && options.fatal) options.promise.reject(err) | ||
else throw(err); | ||
else throw err; | ||
}); | ||
@@ -305,0 +305,0 @@ } |
{ | ||
"name": "oas-resolver", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "Resolve external $refs in OpenAPI (swagger) 2.0 / 3.x definitions", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "31af52d282bb1bc3312f2948135fe64b7d81e57e" | ||
"gitHead": "30b3b500f4534cc6e92eecabbfab7bb76fe99c42" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28324