Socket
Socket
Sign inDemoInstall

hlink

Package Overview
Dependencies
8
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0-1 to 0.3.0-2

6

lib/utils/parse.js

@@ -83,3 +83,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var isDeleteDir, isSecondDir, source, sourceDir, dest, answerDeleteMode, answers, _a, finalSource, finalSourceDir;
var isDeleteDir, isSecondDir, source, sourceDir, dest, answerDeleteMode, answers, saveRecords, _a, finalSource, finalSourceDir;
return __generator(this, function (_b) {

@@ -116,6 +116,7 @@ switch (_b.label) {

answers = _b.sent();
saveRecords = paths.readSaveRecord();
_a = questions_1.getSource(answers), finalSource = _a[0], finalSourceDir = _a[1];
source = finalSource;
sourceDir = finalSourceDir;
dest = answers.destDir;
dest = answers.destDir || saveRecords[finalSourceDir][0];
isSecondDir = answers.sourcePath === '二级目录';

@@ -145,3 +146,2 @@ _b.label = 6;

_a = _c.sent(), source = _a.source, sourceDir = _a.sourceDir, isDeleteDir = _a.isDeleteDir, isSecondDir = _a.isSecondDir, dest = _a.dest;
console.log(configPath);
_b = parseConfig_1.default(path_1.default.isAbsolute(configPath)

@@ -148,0 +148,0 @@ ? configPath

{
"name": "hlink",
"version": "0.3.0-1",
"version": "0.3.0-2",
"description": "hlink",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc