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

hikaru-coffee

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hikaru-coffee - npm Package Compare versions

Comparing version 1.9.1 to 1.9.2

10

lib/router.js
// Generated by CoffeeScript 2.3.1
(function() {
var Category, File, Promise, Router, Site, Tag, URL, chokidar, colors, fse, getContentType, getPathFn, getURLFn, glob, http, isCurrentPathFn, moment, parseFrontMatter, path, yaml;
var Category, File, Promise, Router, Site, Tag, URL, chokidar, colors, fse, getContentType, getPathFn, getURLFn, glob, http, isCurrentPathFn, moment, packageJSON, parseFrontMatter, path, yaml;

@@ -23,2 +23,4 @@ fse = require("fs-extra");

packageJSON = require("../package.json");
Promise = require("bluebird");

@@ -361,2 +363,8 @@

res = this._[this.getPath("404.html")];
if (res == null) {
res = {
"content": `<!DOCTYPE html>\n<html>\n <head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">\n <title>404 Not Found</title>\n </head>\n <body>\n <h1>404 Not Found</h1>\n <p>Hikaru v${packageJSON["version"]}</p>\n </body>\n</html>`,
"docPath": this.getPath("404.html")
};
}
response.writeHead(404, {

@@ -363,0 +371,0 @@ "Content-Type": getContentType(res["docPath"])

2

package.json
{
"name": "hikaru-coffee",
"version": "1.9.1",
"version": "1.9.2",
"description": "A static site generator that generates routes based on directories naturally.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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