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

cm-engine

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cm-engine - npm Package Compare versions

Comparing version 0.2.0 to 0.2.2

6

cm-engine.js

@@ -89,3 +89,3 @@ var DEFAULTS, FS, MKDN, PATH, Q, SWIG, YAML, compileContent, compileFile, parseFullText, readFile, resolvePath, templateEngine,

if (/\/$/.test(path)) {
path = path + '/index';
path = path + 'index';
}

@@ -142,3 +142,3 @@ abspath = resolvePath(opts.content_root, path);

var abspath, path;
path = aPath.replace(/^\//, '').replace(/\.[\w\-]+$/, '');
path = aPath.replace(/^[\/]+/, '').replace(/\.[\w\-]+$/, '');
abspath = PATH.resolve(aRoot, path);

@@ -186,3 +186,3 @@ if (abspath.indexOf(aRoot) !== 0) {

var match, msg, rv, rx;
rx = /^\s*---([\s\S]+)---\s*/gi;
rx = /^---\n([\s\S]+)\n---\n/;
rv = {

@@ -189,0 +189,0 @@ body: aText,

{
"name": "cm-engine",
"version": "0.2.0",
"version": "0.2.2",
"description": "Content management redefined.",

@@ -5,0 +5,0 @@ "author": "Kris Walker <kris@kixx.name> (http://www.kixx.name/)",

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