profoundjs-swagger-stats 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/swsAPIStats.js +1 -1
- package/package.json +1 -1
package/lib/swsAPIStats.js
CHANGED
|
@@ -186,7 +186,7 @@ swsAPIStats.prototype.addPathSpecs = function (pathSpecs) {
|
|
|
186
186
|
fullExpressPath = fullExpressPath.replace(/\{/g, ':');
|
|
187
187
|
fullExpressPath = fullExpressPath.replace(/\}/g, '');
|
|
188
188
|
fullExpressPath = fullExpressPath.replace(/\?(\w+=)/g, '\\?$1');
|
|
189
|
-
re = pathToRegexp(fullExpressPath, keys);
|
|
189
|
+
re = pathToRegexp(fullExpressPath, keys, { sensitive: true });
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
// Add to API Match Index, leveraging express style matching
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "profoundjs-swagger-stats",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "API Telemetry and APM. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices, based on express routes and Swagger (Open API) specification",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|