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

configure-express-app

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

configure-express-app - npm Package Compare versions

Comparing version 3.0.9 to 3.1.0

3

index.js

@@ -112,4 +112,3 @@ #!/usr/bin/env node

const controllerContent = `const helloWorld = require('../models/helloWorld.model');
\nexports.helloWorld = async (req, res) => {\n\ttry {\n\t\tconst data = await helloWorld.helloWorld();\n\t\tres.status(200).json({
\n\t\t\tMessage: "Hello World",\n\t\t\tdata: data,\n\t\t});\n\t} catch (error) {\n\t\tconsole.log(error.message);\n\t}\n};`
\nexports.helloWorld = async (req, res) => {\n\ttry {\n\t\tconst data = await helloWorld.helloWorld();\n\t\tres.status(200).json({\n\t\t\tMessage: "Hello World",\n\t\t\tdata: data,\n\t\t});\n\t} catch (error) {\n\t\tconsole.log(error.message);\n\t}\n};`

@@ -116,0 +115,0 @@ fs.writeFileSync('./app/controllers/helloWorld.controller.js', controllerContent);

{
"name": "configure-express-app",
"version": "3.0.9",
"version": "3.1.0",
"description": "use npx configure-express-app",

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

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