Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dmock-server

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmock-server - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

lib/index.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc