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.8 to 0.0.9

6

compiler.js

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

// Create directory, if needed
var directory = getDirectory(page.path);
var directory = getDirectory('.' + 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('.' + page.path, page.html);
console.log(chalk.green('✔') + " Wrote file: " + chalk.yellow('.' + page.path));
}

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

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

// Store start time
const start = Date.now()

@@ -111,3 +111,3 @@

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

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

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

@@ -125,0 +125,0 @@ }

{
"name": "@iannisz/node-cms",
"version": "0.0.8",
"version": "0.0.9",
"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