dmock-server
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -39,3 +39,3 @@ /// <reference types="node" /> | ||
*/ | ||
getServer(): Server; | ||
getServer(): Server | undefined; | ||
} | ||
@@ -42,0 +42,0 @@ /** |
@@ -66,3 +66,4 @@ "use strict"; | ||
stop() { | ||
this.server.close(); | ||
if (this.server !== undefined) | ||
this.server.close(); | ||
} | ||
@@ -69,0 +70,0 @@ /** |
{ | ||
"name": "dmock-server", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A typescript based mock server NPM module", | ||
@@ -9,3 +9,5 @@ "main": "lib/index.js", | ||
"build": "tsc", | ||
"test": "mocha -r ts-node/register tests/unit-test.ts" | ||
"test": "mocha -r ts-node/register tests/unit-test.ts", | ||
"pre-deploy": "npm run test && npm run build", | ||
"deploy": "npm version patch && npm publish" | ||
}, | ||
@@ -16,2 +18,3 @@ "keywords": [], | ||
"dependencies": { | ||
"@types/qs": "^6.9.3", | ||
"body-parser": "^1.19.0", | ||
@@ -21,4 +24,4 @@ "express": "^4.17.1" | ||
"devDependencies": { | ||
"@types/express": "^4.17.6", | ||
"@types/axios": "^0.14.0", | ||
"@types/express": "^4.17.6", | ||
"axios": "^0.19.2", | ||
@@ -25,0 +28,0 @@ "@types/chai": "^4.2.7", |
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
9752
151
3
+ Added@types/qs@^6.9.3
+ Added@types/qs@6.9.17(transitive)