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

@alchemycodelab/create-app

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alchemycodelab/create-app - npm Package Compare versions

Comparing version 8.0.5 to 8.0.6

express-sql/lib/controllers/README.md

7

express-sql/lib/app.js

@@ -5,7 +5,12 @@ const express = require('express');

// Built in middleware
app.use(express.json());
app.use(require('./middleware/not-found'));
// App routes
// Error handling & 404 middleware for when
// a request doesn't match any app routes
app.use(require('./middleware/notFound'));
app.use(require('./middleware/error'));
module.exports = app;

2

express-sql/lib/utils/pool.js

@@ -9,4 +9,4 @@ const { Pool } = require('pg');

// eslint-disable-next-line no-console
pool.on('connect', () => console.log('Postgres connected'));
pool.on('connect', () => console.log('🐘 Postgres connected'));
module.exports = pool;
const app = require('./lib/app');
const pool = require('./lib/utils/pool');
const API_URL = process.env.API_URL || 'http://localhost';
const PORT = process.env.PORT || 7890;
app.listen(PORT, () => {
// eslint-disable-next-line no-console
console.log(`Started on ${PORT}`);
console.log(`🚀 Server started on ${API_URL}:${PORT}`);
});
process.on('exit', () => {
console.log('Goodbye!');
console.log('👋 Goodbye!');
pool.end();
});
{
"name": "@alchemycodelab/create-app",
"version": "8.0.5",
"version": "8.0.6",
"description": "",

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

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