swagger-tools
Advanced tools
Comparing version 0.5.5 to 0.5.6
/* | ||
* The MIT License (MIT) | ||
* | ||
* | ||
* Copyright (c) 2014 Apigee Corporation | ||
* | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
@@ -12,6 +12,6 @@ * of this software and associated documentation files (the "Software"), to deal | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
@@ -31,2 +31,3 @@ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
swaggerRouter: require('./1.2/swagger-router'), | ||
swaggerUi: require('./1.2/swagger-ui'), | ||
swaggerValidator: require('./1.2/swagger-validator') | ||
@@ -38,3 +39,4 @@ }; | ||
swaggerRouter: require('./2.0/swagger-router'), | ||
swaggerUi: require('./2.0/swagger-ui'), | ||
swaggerValidator: require('./2.0/swagger-validator') | ||
}; |
{ | ||
"name": "swagger-tools", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Various tools for using and integrating with Swagger.", | ||
@@ -51,4 +51,5 @@ "main": "index.js", | ||
"path-to-regexp": "^0.2.3", | ||
"serve-static": "^1.6.3", | ||
"traverse": "^0.6.6" | ||
} | ||
} |
@@ -26,2 +26,3 @@ The project provides various tools for integrating and interacting with Swagger. This project is in its infancy but | ||
* Connect middleware for wiring request handlers to requests based on Swagger documentation (swagger-router) | ||
* Connect middleware for serving your Swagger documents and [Swagger UI][swagger-ui] | ||
* Connect middleware for using Swagger resource documents for pre-route validation (swagger-validator) | ||
@@ -72,1 +73,2 @@ * Validate the request Content-Type based on the operation's `consumes` value(s) | ||
[swagger-docs-v2_0]: https://github.com/reverb/swagger-spec/blob/master/versions/2.0.md | ||
[swagger-ui]: https://github.com/wordnik/swagger-ui |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
770159
56
15063
73
7
2
14
8
+ Addedserve-static@^1.6.3
+ Addeddebug@2.6.9(transitive)
+ Addeddepd@2.0.0(transitive)
+ Addeddestroy@1.2.0(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addedencodeurl@1.0.22.0.0(transitive)
+ Addedescape-html@1.0.3(transitive)
+ Addedetag@1.8.1(transitive)
+ Addedfresh@0.5.2(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedms@2.0.02.1.3(transitive)
+ Addedon-finished@2.4.1(transitive)
+ Addedrange-parser@1.2.1(transitive)
+ Addedsend@0.19.0(transitive)
+ Addedserve-static@1.16.2(transitive)
+ Addedsetprototypeof@1.2.0(transitive)
+ Addedstatuses@2.0.1(transitive)
+ Addedtoidentifier@1.0.1(transitive)