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

kaven-utils

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kaven-utils - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

2

package.json
{
"name": "kaven-utils",
"version": "5.0.1",
"version": "5.0.2",
"description": "Utils for Node.js.",

@@ -5,0 +5,0 @@ "main": "index",

@@ -7,5 +7,5 @@ /********************************************************************

* @create: 2021-03-19 12:19:28.048
* @modify: 2023-11-18 10:15:02.413
* @version: 4.3.10
* @times: 17
* @modify: 2023-11-19 13:03:35.846
* @version: 5.0.2
* @times: 18
* @lines: 104

@@ -20,10 +20,10 @@ * @copyright: Copyright © 2021-2023 Kaven. All Rights Reserved.

* @since 4.0.0
* @version 2022-04-09
* @version 2023-11-19
* @returns
*/
export declare function GetEntryFile(): string;
export declare function GetEntryFile(): string | undefined;
/**
*
* @since 4.0.0
* @version 2022-04-09
* @version 2023-11-19
* @returns

@@ -30,0 +30,0 @@ */

@@ -8,5 +8,5 @@ "use strict";

* @create: 2021-03-19 12:19:28.048
* @modify: 2023-11-18 10:15:02.413
* @version: 4.3.10
* @times: 17
* @modify: 2023-11-19 13:03:35.846
* @version: 5.0.2
* @times: 18
* @lines: 104

@@ -24,3 +24,3 @@ * @copyright: Copyright © 2021-2023 Kaven. All Rights Reserved.

* @since 4.0.0
* @version 2022-04-09
* @version 2023-11-19
* @returns

@@ -39,7 +39,8 @@ */

* @since 4.0.0
* @version 2022-04-09
* @version 2023-11-19
* @returns
*/
function GetEntryDirectory() {
const file = GetEntryFile();
var _a;
const file = (_a = GetEntryFile()) !== null && _a !== void 0 ? _a : process.cwd();
return (0, path_1.dirname)(file);

@@ -46,0 +47,0 @@ }

@@ -7,5 +7,5 @@ /********************************************************************

* @create: 2018-08-30 13:24:44.049
* @modify: 2023-11-18 13:06:13.772
* @modify: 2023-11-18 14:04:47.133
* @version: 5.0.2
* @times: 72
* @times: 73
* @lines: 476

@@ -12,0 +12,0 @@ * @copyright: Copyright © 2018-2023 Kaven. All Rights Reserved.

@@ -8,5 +8,5 @@ "use strict";

* @create: 2018-08-30 13:24:44.049
* @modify: 2023-11-18 13:06:13.772
* @modify: 2023-11-18 14:04:47.133
* @version: 5.0.2
* @times: 72
* @times: 73
* @lines: 476

@@ -383,3 +383,3 @@ * @copyright: Copyright © 2018-2023 Kaven. All Rights Reserved.

}
const url = `http${options.enableHttps ? "s" : ""}://localhost:${port}`;
const url = `http${options.enableHttps ? "s" : ""}://127.0.0.1:${port}`;
server.listen(port, options.hostname, () => {

@@ -386,0 +386,0 @@ var _a;

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