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

helpful-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helpful-cli - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

commands/init/tasks/20_buildFileList.js

@@ -9,6 +9,6 @@ const _ = require('lodash');

function renameDotFile (file) {
var fpath = file.split(path.delimiter);
var fpath = file.split('/');
var fname = fpath.pop();
if (fname[0] !== '_') return file;
return fpath.concat('.' + fname.slice(1)).join(path.delimiter);
return fpath.concat('.' + fname.slice(1)).join('/');
}

@@ -15,0 +15,0 @@

require('dotenv').load({ silent: true });
const path = require('path');
const proxyPort = parseInt(process.env.PORT || 5000);

@@ -36,3 +37,12 @@ const port = proxyPort + 1;

{%- else -%}
"server": "public",
"server": {
"baseDir": "public",
"middleware": function (req, res, next) {
var ext = path.extname(req.url);
if ( ! ext || ext === '') {
req.url = '/index.html';
}
next();
}
},
{%- endif %}

@@ -39,0 +49,0 @@ "port": port,

{
"name": "helpful-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "Command line utility for the Helpful Human team.",

@@ -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