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

@ampify/dev-server

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ampify/dev-server - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

10

index.js

@@ -8,3 +8,7 @@ #!/usr/bin/env node

const fs = require('fs').promises;
const debug = require('debug');
const log = debug('ampify:dev-server');
debug.enable('ampify:dev-server');
const app = express();

@@ -15,3 +19,3 @@ const port = process.env.PORT || 2310;

app.use(morgan('short'));
app.use(morgan('short', { stream: { write: (msg) => log(msg.trim()) } }));
app.use(text({ limit: '50mb' }));

@@ -31,4 +35,2 @@ app.use(

console.log(file);
res.set('Content-Type', 'text/javascript');

@@ -53,3 +55,3 @@ res.send(file);

app.listen(port, () => {
console.log('server started on port %s', port);
log('server started on port %s', port);
});
{
"name": "@ampify/dev-server",
"version": "1.0.4",
"version": "1.0.5",
"main": "index.js",

@@ -12,2 +12,3 @@ "bin": "index.js",

"body-parser": "^1.19.0",
"debug": "^4.1.1",
"express": "^4.17.1",

@@ -19,3 +20,3 @@ "morgan": "^1.9.1"

},
"gitHead": "3821f2fb3f4a16212ffe5040ac1c39b27ffc4cba"
"gitHead": "37517e57f6fa88eb99fd259268188e487a415060"
}
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