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

auto-cms-server

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-cms-server - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

dist/env.js

@@ -15,4 +15,5 @@ "use strict";

AUTO_CMS_PASSWORD: '',
FILE_SIZE_LIMIT: '10MB',
SESSION_SECRET: '',
};
(0, populate_env_1.default)(exports.env, { mode: 'halt' });

5

dist/server.js

@@ -34,3 +34,6 @@ "use strict";

});
app.post('/auto-cms/save', session_1.guardCMS, express_1.default.text(), (req, res, next) => {
app.post('/auto-cms/save', session_1.guardCMS, express_1.default.text({
type: 'text/html',
limit: env_1.env.FILE_SIZE_LIMIT,
}), (req, res, next) => {
let pathname = req.header('X-Pathname');

@@ -37,0 +40,0 @@ if (!pathname) {

{
"name": "auto-cms-server",
"version": "0.1.1",
"version": "0.1.2",
"description": "Auto turn any webpage into editable CMS without coding.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -177,3 +177,3 @@ "use strict";

headers: {
"Content-Type": "text/plain",
"Content-Type": "text/html",
"X-Pathname": location.pathname

@@ -180,0 +180,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