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

hikarujs

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hikarujs - npm Package Compare versions

Comparing version 1.14.2 to 1.14.3

20

hikaru/index.js

@@ -17,3 +17,3 @@ /**

// Overwrite default help option description.
.helpOption("-h, --help", "Print help infomation.")
.helpOption("-h, --help", "Print help information.")
// Overwrite default help command description.

@@ -26,7 +26,7 @@ .addHelpCommand("help [subcommand]", "Print help information.");

.option("-d, --debug", "Enable debug output.")
.option("--no-color", "Disable colored output.")
.option("-C, --no-color", "Disable colored output.")
.option("-c, --config <yaml>", "Alternative site config path. (deprecated)")
.option("-s, --site-config <yaml>", "Alternative site config path.")
// Overwrite default help option description.
.helpOption("-h, --help", "Print help infomation.")
.helpOption("-h, --help", "Print help information.")
.action((dir, opts) => {

@@ -40,7 +40,7 @@ new Hikaru(opts).init(dir || ".");

.option("-d, --debug", "Enable debug output.")
.option("--no-color", "Disable colored output.")
.option("-C, --no-color", "Disable colored output.")
.option("-c, --config <yaml>", "Alternative site config path. (deprecated)")
.option("-s, --site-config <yaml>", "Alternative site config path.")
// Overwrite default help option description.
.helpOption("-h, --help", "Print help infomation.")
.helpOption("-h, --help", "Print help information.")
.action((dir, opts) => {

@@ -54,3 +54,3 @@ new Hikaru(opts).clean(dir || ".");

.option("-d, --debug", "Enable debug output.")
.option("--no-color", "Disable colored output.")
.option("-C, --no-color", "Disable colored output.")
.option("--draft", "Build drafts.")

@@ -61,3 +61,3 @@ .option("-c, --config <yaml>", "Alternative site config path. (deprecated)")

// Overwrite default help option description.
.helpOption("-h, --help", "Print help infomation.")
.helpOption("-h, --help", "Print help information.")
.action((dir, opts) => {

@@ -71,4 +71,4 @@ new Hikaru(opts).build(dir || ".");

.option("-d, --debug", "Enable debug output.")
.option("--no-color", "Disable colored output.")
.option("--no-draft", "Skip drafts.")
.option("-C, --no-color", "Disable colored output.")
.option("-D, --no-draft", "Skip drafts.")
.option("-c, --config <yaml>", "Alternative site config path. (deprecated)")

@@ -80,3 +80,3 @@ .option("-s, --site-config <yaml>", "Alternative site config path.")

// Overwrite default help option description.
.helpOption("-h, --help", "Print help infomation.")
.helpOption("-h, --help", "Print help information.")
.action((dir, opts) => {

@@ -83,0 +83,0 @@ new Hikaru(opts).serve(dir || ".");

@@ -68,3 +68,3 @@ /**

const isString = (o) => {
return typeof o === "string";
return typeof o === "string" || o instanceof String;
};

@@ -416,6 +416,6 @@

array[0] = array[0].replace(winSepRegExp, path.posix.sep);
if (array[0].endsWith("index.html")) {
array[0] = array[0].substring(0, array[0].length - "index.html".length);
} else if (array[0].endsWith("index.htm")) {
array[0] = array[0].substring(0, array[0].length - "index.htm".length);
const baseName = path.posix.basename(array[0]);
const dirName = path.posix.dirname(array[0]);
if (baseName === "index.html" || baseName === "index.htm") {
array[0] = path.posix.join(dirName, path.posix.sep);
}

@@ -859,3 +859,3 @@ /**

/**
* @description Update headings' ID for bootstrap scrollspy.
* @description Update headings' IDs for bootstrap scrollspy.
* @param {Object} node parse5 Node.

@@ -862,0 +862,0 @@ */

{
"name": "hikarujs",
"version": "1.14.2",
"version": "1.14.3",
"description": "A static site generator that generates routes based on directories naturally.",

@@ -5,0 +5,0 @@ "type": "module",

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