Socket
Socket
Sign inDemoInstall

@wix/be-server

Package Overview
Dependencies
Maintainers
4
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/be-server - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/server.js

@@ -51,6 +51,4 @@ const http = require('http');

async function execute(route, res, request, body) {
async function execute(route, res, request, body = {}) {
const requestMessage = route.requestMessage;
console.log(request, body);

@@ -57,0 +55,0 @@ const message = requestMessage.fromValue([request, body]);

{
"name": "@wix/be-server",
"version": "1.0.3",
"version": "1.0.4",
"author": "Mantas Indrašius <mantasi@wix.com>",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -56,3 +56,3 @@ const beServer = require('..');

it.only('should post typed message', async() => {
it('should post typed message', async() => {
const response = await fetch('http://localhost:9901/api/echo/i-am-a-string?int=99', {

@@ -59,0 +59,0 @@ method: 'POST',

Sorry, the diff of this file is not supported yet

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