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

@alttiri/util-node-js

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alttiri/util-node-js - npm Package Compare versions

Comparing version 2.0.10-20240530 to 2.0.12-20240531

12

package.json
{
"name": "@alttiri/util-node-js",
"version": "2.0.10-20240530",
"version": "2.0.12-20240531",
"description": "Some Node.js util functions for personal use",

@@ -27,5 +27,8 @@ "keywords": [

},
"dependencies": {
"@alttiri/util-js": "1.10.1-20240531"
},
"devDependencies": {
"@types/node": "18.18.6",
"typescript": "5.2.2"
"@types/node": "20.12.12",
"typescript": "5.4.5"
},

@@ -44,6 +47,3 @@ "scripts": {

"login-ghp": "npm login --registry=https://npm.pkg.github.com"
},
"dependencies": {
"@alttiri/util-js": "1.9.0"
}
}

@@ -1,2 +0,2 @@

import { getColoring, getAnsiColoring } from "./console-colors-core.js";
import { getColoring, getAnsiColoring } from "./console-colors-core";
export { getColoring, getAnsiColoring, };

@@ -3,0 +3,0 @@ export declare const ANSI_BLUE: (text: any) => string;

@@ -1,2 +0,2 @@

import { getColoring, getAnsiColoring } from "./console-colors-core.js";
import { getColoring, getAnsiColoring } from "./console-colors-core";
export { getColoring, getAnsiColoring, };

@@ -3,0 +3,0 @@ // Some predefined colors

@@ -1,2 +0,2 @@

export * from "./console-colors.js";
export * from "./console-colors";
export declare const saveCursorPosition: () => boolean;

@@ -3,0 +3,0 @@ export declare const restoreCursorPosition: () => boolean;

@@ -1,2 +0,2 @@

export * from "./console-colors.js";
export * from "./console-colors";
export const saveCursorPosition = () => process.stdout.write("\u001B[s");

@@ -3,0 +3,0 @@ export const restoreCursorPosition = () => process.stdout.write("\u001B[u");

import fs from "node:fs/promises";
import path from "node:path";
import { Dirent } from "node:fs";
import { readLink } from "../filesystem.js";
import { readLink } from "../filesystem";
export function toListEntryDirent(dirEntry, settings) {

@@ -6,0 +6,0 @@ const entryFilepath = path.resolve(settings.filepath, dirEntry.name);

@@ -1,2 +0,2 @@

import { FileListingSetting, FileListingSettingInit } from "./settings.js";
import { FileListingSetting, FileListingSettingInit } from "./settings";
import { ListEntryDirent, ListEntryBaseEx, // ListEntryDirentLink,

@@ -3,0 +3,0 @@ ListEntryStats, ListEntryStatsBigInt, ListEntryStatsAny } from "./types/ListEntry";

import fs from "node:fs/promises";
import { CountLatch, Semaphore, AsyncBufferQueue } from "@alttiri/util-js";
import { direntsToEntries, getRootEntry, toListEntryStatsError, } from "./entry-helper.js";
import { getDefaultSettings } from "./settings.js";
import { direntsToEntries, getRootEntry, toListEntryStatsError, } from "./entry-helper";
import { getDefaultSettings } from "./settings";
export async function* listFiles(initSettings = {}) {

@@ -6,0 +6,0 @@ const settings = Object.assign({ ...getDefaultSettings() }, initSettings);

@@ -1,2 +0,2 @@

import { ANSI_BLUE, ANSI_GRAY, ANSI_GREEN_BOLD, ANSI_RED_BOLD } from "./console-colors.js";
import { ANSI_BLUE, ANSI_GRAY, ANSI_GREEN_BOLD, ANSI_RED_BOLD } from "./console-colors";
export class Tester {

@@ -3,0 +3,0 @@ /** @deprecated */

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