New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@based/server

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/server - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

2

dist/functions/index.d.ts

@@ -60,3 +60,3 @@ /// <reference types="node" />

rateLimitTokens?: number;
}): null | (BasedRoute & {
}, name?: string): null | (BasedRoute & {
maxPayloadSize: number;

@@ -63,0 +63,0 @@ rateLimitTokens: number;

@@ -119,4 +119,4 @@ "use strict";

}
if (!s.uninstallAfterIdleTime) {
s.uninstallAfterIdleTime = -1;
if (s.uninstallAfterIdleTime === undefined) {
s.uninstallAfterIdleTime = 0;
}

@@ -130,3 +130,3 @@ this.updateInternal(s);

if (nRoute !== null) {
this.updateRoute(nRoute);
this.updateRoute(nRoute, key);
}

@@ -137,2 +137,3 @@ }

if (this.completeRoute(spec, name) === null) {
console.error('cannot completeSpec', name, spec);
return null;

@@ -171,3 +172,3 @@ }

}
if (!nRoute.rateLimitTokens) {
if (nRoute.rateLimitTokens === undefined) {
nRoute.rateLimitTokens = 1;

@@ -177,4 +178,4 @@ }

}
updateRoute(route) {
const realRoute = this.completeRoute(route);
updateRoute(route, name) {
const realRoute = this.completeRoute(route, name);
if (realRoute === null) {

@@ -181,0 +182,0 @@ return null;

{
"name": "@based/server",
"version": "5.0.1",
"version": "5.0.2",
"license": "MIT",

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

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