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

balloon-generator

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balloon-generator - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

13

balloon.js

@@ -42,6 +42,12 @@ var fs = require('fs');

} else if (program.serve && BUILD_PATH) {
watch(SOURCE_PATH, BUILD_PATH, function (err, changedPath) {
if (err) { return console.log('Failed to watch files:', err); }
// Reload the things
// TODO: Move this somewhere else
BALLOON_CONFIG = getConfig(CONFIG_PATH);
SOURCE_PATH = program.source || BALLOON_CONFIG.source;
BUILD_PATH = program.output || BALLOON_CONFIG.build;
CONTENT_PATH = path.join(SOURCE_PATH, 'content');
rimraf(BUILD_PATH, function (err) {

@@ -105,3 +111,2 @@ if (err) { return console.log('Failed wipe build directory:', err); }

_ext: pageExt,
_title: pageTitle === 'index' ? '' : pageTitle,
_slug: pageSlug,

@@ -112,8 +117,12 @@ _created: extractDateFromPath(pagePath)

if (pagePath.indexOf('index.html') >= 0 || pagePath.indexOf('rss.xml') >= 0) {
// This is an archive page
lastPages.push(pageConfig);
continue;
} else {
// This is a content page
pageCount++;
pageConfig._title = pageTitle;
}
render(defaults, sourcePath, buildPath, pageConfig, null, function (err, localPageConfig) {

@@ -120,0 +129,0 @@ if (err) { return console.log('Failed to render', pageConfig._path, err); }

2

package.json
{
"name": "balloon-generator",
"version": "0.9.3",
"version": "0.9.4",
"description": "Basic static site generator",

@@ -5,0 +5,0 @@ "scripts": {},

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