Socket
Socket
Sign inDemoInstall

hlink

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hlink - npm Package Compare versions

Comparing version 0.6.0-next.5 to 0.6.0-next.6

CHANGELOG.md

9

lib/bins/main/parseConfig.js

@@ -43,5 +43,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return __awaiter(this, void 0, void 0, function () {
var _a, saveMode, source, dest, includeExtname, excludeExtname, openCache, mkdirIfSingle;
return __generator(this, function (_b) {
switch (_b.label) {
var config, saveMode, source, dest, includeExtname, excludeExtname, openCache, mkdirIfSingle;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:

@@ -56,3 +56,4 @@ configPath = path.isAbsolute(configPath)

case 1:
_a = (_b.sent())["default"], saveMode = _a.saveMode, source = _a.source, dest = _a.dest, includeExtname = _a.includeExtname, excludeExtname = _a.excludeExtname, openCache = _a.openCache, mkdirIfSingle = _a.mkdirIfSingle;
config = (_a.sent())["default"];
saveMode = config.saveMode, source = config.source, dest = config.dest, includeExtname = config.includeExtname, excludeExtname = config.excludeExtname, openCache = config.openCache, mkdirIfSingle = config.mkdirIfSingle;
if (source) {

@@ -59,0 +60,0 @@ warning(!path.isAbsolute(source), '配置文件', chalk.cyan(configPath), '源地址必须指定绝对路劲');

@@ -5,3 +5,3 @@ import path from 'path';

export var hlinkHomeDir = path.join(os.homedir(), '.hlink');
export var configName = 'hlink.config.js';
export var configName = 'hlink.config.mjs';
export var configPath = path.join(os.homedir(), configName);

@@ -8,0 +8,0 @@ export var cachePath = path.join(hlinkHomeDir, 'cache-array.json');

{
"name": "hlink",
"version": "0.6.0-next.5",
"version": "0.6.0-next.6",
"description": "hlink",

@@ -5,0 +5,0 @@ "license": "MIT",

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