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

mega-mock

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mega-mock - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

7

commands/handleUpload.js

@@ -19,2 +19,8 @@ const path = require('path')

const uploadStates = options.state.uploadStates
if (sizeNum === 0) {
uploadStates.delete(uploadId)
return Buffer.from(uploadId, 'base64')
}
const start = Number(firstByte)

@@ -33,3 +39,2 @@ const writeStream = fs.createWriteStream(targetPath, {

const uploadStates = options.state.uploadStates
let uploadState = uploadStates.get(uploadId)

@@ -36,0 +41,0 @@ if (!uploadState) {

2

package.json
{
"name": "mega-mock",
"version": "0.4.1",
"version": "0.4.2",
"description": "mega-mock mocks MEGA API servers",

@@ -5,0 +5,0 @@ "main": "index.js",

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