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

@embracesql/express

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embracesql/express - npm Package Compare versions

Comparing version 0.0.4 to 0.0.6

8

package.json
{
"name": "@embracesql/express",
"version": "0.0.4",
"version": "0.0.6",
"description": "Serves EmbraceSQL via a reusable express application.",

@@ -13,7 +13,7 @@ "type": "module",

"dependencies": {
"@embracesql/postgres": "^0.0.4",
"@embracesql/shared": "^0.0.4",
"@embracesql/postgres": "^0.0.6",
"@embracesql/shared": "^0.0.6",
"express": "^4.0.0"
},
"gitHead": "343e5761ee3ff99619a2ba34c18139d0ef6240ad"
"gitHead": "924be0edd5fb5b1941d1c9160198ddfda5b93b47"
}

@@ -11,5 +11,5 @@ /**

generationBuffer.push(`
export const EmbraceSQLExpressApp = async (postgresUrl: string) => {
const database = await Database.connect(postgresUrl);
const dispatcher = new OperationDispatcher(database);
export const EmbraceSQLExpressApp = async (postgresUrl: string, database?: Database) => {
const dispatchToDatabase = database ?? await Database.connect(postgresUrl);
const dispatcher = new OperationDispatcher(dispatchToDatabase);
return EmbraceSQLExpress(dispatcher);

@@ -16,0 +16,0 @@ }

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