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

larvitcms

Package Overview
Dependencies
Maintainers
1
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

larvitcms - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

5

controllers/adminCmsPageEdit.js

@@ -75,2 +75,3 @@ 'use strict';

if ( ! pageId) {
req.session.data.nextCallData = {'global': {'messages': ['New page created with ID ' + entry.id]}};
res.statusCode = 302;

@@ -80,2 +81,5 @@ res.setHeader('Location', '/adminCmsPageEdit?id=' + entry.id + '&langs=' + res.globalData.urlParsed.query.langs);

}
data.global.messages = ['Saved'];
cb();

@@ -95,2 +99,3 @@ });

req.session.data.nextCallData = {'global': {'messages': ['Page with ID ' + pageId + ' deleted']}};
res.statusCode = 302;

@@ -97,0 +102,0 @@ res.setHeader('Location', '/adminCmsPages');

2

package.json

@@ -34,3 +34,3 @@ {

},
"version": "0.2.1",
"version": "0.2.2",
"readmeFilename": "README.md",

@@ -37,0 +37,0 @@ "bugs": {

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