@alttiri/util-node-js
Advanced tools
Comparing version 2.0.10-20240530 to 2.0.12-20240531
{ | ||
"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 */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32979
+ Added@alttiri/util-js@1.10.1-20240531(transitive)
- Removed@alttiri/util-js@1.9.0(transitive)