pactum-swagger-coverage
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "pactum-swagger-coverage", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Swagger api coverage report for pactum tests", | ||
@@ -15,3 +15,3 @@ "main": "./src/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/leelaprasadv/pactum-swagger-coverage.git" | ||
"url": "git+https://github.com/pactumjs/pactum-swagger-coverage.git" | ||
}, | ||
@@ -26,16 +26,16 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/leelaprasadv/pactum-swagger-coverage/issues" | ||
"url": "https://github.com/pactumjs/pactum-swagger-coverage/issues" | ||
}, | ||
"homepage": "https://github.com/leelaprasadv/pactum-swagger-coverage#readme", | ||
"homepage": "https://github.com/pactumjs/pactum-swagger-coverage#readme", | ||
"devDependencies": { | ||
"pactum": "^2.0.10", | ||
"uvu": "^0.3.4" | ||
"pactum": "^3.5.1", | ||
"uvu": "^0.5.6" | ||
}, | ||
"dependencies": { | ||
"js-yaml": "^3.14.0", | ||
"phin": "^3.5.0" | ||
"js-yaml": "^4.1.0", | ||
"phin": "^3.7.0" | ||
}, | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=10" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # pactum-swagger-coverage |
@@ -0,0 +0,0 @@ const config = { |
@@ -0,0 +0,0 @@ class PSCConfigurationError extends Error { } |
@@ -0,0 +0,0 @@ const phin = require('phin'); |
@@ -0,0 +0,0 @@ import { name } from "." |
@@ -0,0 +0,0 @@ const fs = require('fs'); |
@@ -20,3 +20,3 @@ const http = require('../helpers/http'); | ||
const swaggerYamlDoc = fs.readFileSync(swaggerYAMLPath, 'utf8'); | ||
return yaml.safeLoad(swaggerYamlDoc); | ||
return yaml.load(swaggerYamlDoc); | ||
} catch (err) { | ||
@@ -48,3 +48,3 @@ throw new PSCSwaggerLoadError(err) | ||
* Fuction to all get api path's from swagger file | ||
* @param {Object} swaggerInfo | ||
* @param {Object} swaggerInfo | ||
* @returns {Array} Array of API paths | ||
@@ -60,3 +60,3 @@ */ | ||
* Function to get swagger coverage stats | ||
* @param {Array} testsCoveredApis | ||
* @param {Array} testsCoveredApis | ||
* @returns {object} Swagger coverage stats | ||
@@ -85,4 +85,4 @@ */ | ||
* Function to RegEx match api paths | ||
* @param {String} apiPath | ||
* @param {String} rPath | ||
* @param {String} apiPath | ||
* @param {String} rPath | ||
* @returns {Boolean} Match result | ||
@@ -89,0 +89,0 @@ */ |
Sorry, the diff of this file is not supported yet
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
9466
+ Addedargparse@2.0.1(transitive)
+ Addedjs-yaml@4.1.0(transitive)
- Removedargparse@1.0.10(transitive)
- Removedesprima@4.0.1(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
Updatedjs-yaml@^4.1.0
Updatedphin@^3.7.0