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

@iannisz/node-cms

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iannisz/node-cms - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

6

compiler.js

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

// Create directory, if needed
var directory = getDirectory('.' + page.path);
var directory = getDirectory('./root' + page.path);
if (!fs.existsSync(directory)) {

@@ -100,4 +100,4 @@ fs.mkdirSync(directory);

// Write the file
fs.writeFileSync('.' + page.path, page.html);
console.log(chalk.green('✔') + " Wrote file: " + chalk.yellow('.' + page.path));
fs.writeFileSync('./root' + page.path, page.html);
console.log(chalk.green('✔') + " Wrote file: " + chalk.yellow('./root' + page.path));
}

@@ -104,0 +104,0 @@ };

@@ -110,3 +110,3 @@ import * as fs from 'fs'

const directory = getDirectory('.' + page.path)
const directory = getDirectory('./root' + page.path)

@@ -120,4 +120,4 @@ if (!fs.existsSync(directory)) {

fs.writeFileSync('.' + page.path, page.html)
console.log(`${ chalk.green('✔') } Wrote file: ${ chalk.yellow('.' + page.path) }`)
fs.writeFileSync('./root' + page.path, page.html)
console.log(`${ chalk.green('✔') } Wrote file: ${ chalk.yellow('./root' + page.path) }`)
}

@@ -124,0 +124,0 @@ }

{
"name": "@iannisz/node-cms",
"version": "0.0.9",
"version": "0.0.10",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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