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

bridge

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bridge - npm Package Compare versions

Comparing version 2.0.50 to 2.0.51

7

dist/source/server/adapters/node-http.js

@@ -17,3 +17,3 @@ "use strict";

[path, queryString] = (req.url || '/').split('?');
if (path === 'get-logs')
if (path === '/get-logs')
return res.writeHead(200, { 'Content-Type': 'application/json' }).end(JSON.stringify(logs));

@@ -37,3 +37,5 @@ const route = serverRoutes[path];

});
if (config?.logs)
if (config?.logs) {
if (logs.length > 100)
logs.pop();
logs.push({

@@ -48,2 +50,3 @@ time: new Date().toLocaleString(),

});
}
if (!result)

@@ -50,0 +53,0 @@ return res.writeHead(200, { 'Content-Type': 'application/json' }).end(JSON.stringify({}));

{
"name": "bridge",
"version": "2.0.50",
"version": "2.0.51",
"description": "Bridge is a Typescript Node.js framework that provides an easy and scalable way to create REST APIs while generating the client code.",

@@ -5,0 +5,0 @@ "author": "Bridge Team <support@bridge.codes>",

Sorry, the diff of this file is not supported yet

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