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

@allegiant/core

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@allegiant/core - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

index.js.bak

13

index.js

@@ -158,6 +158,3 @@ /*

// default modules
this.loadModules(defaultModules.concat(
Object.entries(options).filter(obj => !filteredOptions.includes(obj[0]))
)
);
this.loadModules(defaultModules.concat(Object.entries(options).filter(obj => !filteredOptions.includes(obj[0]))));
this.binder();

@@ -251,8 +248,9 @@

await this.awaitEvent(conn, 'serve', 'dynamic');
this._finalize(conn, await endpoint.handler.apply(conn, Object.values(endpoint.params[2])));
conn.status = await endpoint.handler.apply(conn, Object.values(endpoint.params[2]));
} else {
await this.awaitEvent(conn, 'serve', 'static');
}
this._finalize(conn, true);
}
}

@@ -283,3 +281,4 @@ get(uri, handler=false) {

conn.fin = true;
conn.end(conn.content.length > 0 ? conn.content : '');
conn.writeHead(conn.statusCode, conn.getStatusMessage(conn.statusCode))
.end(conn.content.length > 0 ? conn.content : null);
} else {

@@ -286,0 +285,0 @@ console.log("WARNING: CONNECTION ALREADY ENDED: ", conn.uri); // eslint-disable-line

{
"name": "@allegiant/core",
"version": "0.0.7",
"version": "0.0.8",
"description": "Small modular, effective app framework",

@@ -5,0 +5,0 @@ "author": "echopoint <echopoint@tutanota.com>",

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