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

simple-protocol-http

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-protocol-http - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

4

lib/simple.js

@@ -124,3 +124,5 @@ 'use strict';

function buildSuccessResult(payload) {
function buildSuccessResult() {
var payload = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
return {

@@ -127,0 +129,0 @@ success: true,

{
"name": "simple-protocol-http",
"version": "0.11.0",
"version": "0.11.1",
"description": "",

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

@@ -120,3 +120,3 @@ const fetch = require('isomorphic-fetch')

function buildSuccessResult (payload) {
function buildSuccessResult (payload = null) {
return {

@@ -123,0 +123,0 @@ success: true,

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