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

mockend

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mockend - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

cli.js

@@ -7,4 +7,4 @@ #!/usr/bin/env node

const app = require('.')
const port = randPort('user')
const port = process.argv[2] || randPort('user')
app.listen(port, () => console.log(port))

@@ -18,3 +18,2 @@ 'use strict'

app.post('/:name', (req, res, next) => {
console.log(req.params.name)
fs.writeFile(path.resolve(tmpDir, req.params.name), '', (err) => {

@@ -21,0 +20,0 @@ if (err) next(err)

{
"name": "mockend",
"version": "1.1.0",
"version": "1.2.0",
"description": "mock",

@@ -20,3 +20,3 @@ "keywords": [

"dependencies": {
"@mockend/rand-port": "^1.1.0",
"@mockend/rand-port": "^1.2.0",
"express": "^4.17.1"

@@ -23,0 +23,0 @@ },

@@ -6,3 +6,3 @@ # Usage

```
mockend
mockend [port]
```

@@ -9,0 +9,0 @@

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