@rushstack/node-core-library
Advanced tools
Comparing version 3.66.1 to 4.0.0
@@ -7,3 +7,3 @@ /** | ||
* | ||
* @beta | ||
* @public | ||
*/ | ||
@@ -21,3 +21,3 @@ export interface IAsyncParallelismOptions { | ||
* | ||
* @beta | ||
* @public | ||
*/ | ||
@@ -32,3 +32,3 @@ export interface IRunWithRetriesOptions<TResult> { | ||
* | ||
* @beta | ||
* @public | ||
*/ | ||
@@ -35,0 +35,0 @@ export declare class Async { |
@@ -22,3 +22,3 @@ "use strict"; | ||
* | ||
* @beta | ||
* @public | ||
*/ | ||
@@ -25,0 +25,0 @@ class Async { |
@@ -24,3 +24,3 @@ /// <reference types="node" /> | ||
/** | ||
* The options for {@link FileSystem.readFolder} | ||
* The options for {@link FileSystem.readFolderItems} and {@link FileSystem.readFolderItemNames}. | ||
* @public | ||
@@ -376,12 +376,2 @@ */ | ||
/** | ||
* @deprecated | ||
* Use {@link FileSystem.readFolderItemNames} instead. | ||
*/ | ||
static readFolder(folderPath: string, options?: IFileSystemReadFolderOptions): string[]; | ||
/** | ||
* @deprecated | ||
* Use {@link FileSystem.readFolderItemNamesAsync} instead. | ||
*/ | ||
static readFolderAsync(folderPath: string, options?: IFileSystemReadFolderOptions): Promise<string[]>; | ||
/** | ||
* Reads the names of folder entries, not including "." or "..". | ||
@@ -388,0 +378,0 @@ * Behind the scenes it uses `fs.readdirSync()`. |
@@ -320,16 +320,2 @@ "use strict"; | ||
/** | ||
* @deprecated | ||
* Use {@link FileSystem.readFolderItemNames} instead. | ||
*/ | ||
static readFolder(folderPath, options) { | ||
return FileSystem.readFolderItemNames(folderPath, options); | ||
} | ||
/** | ||
* @deprecated | ||
* Use {@link FileSystem.readFolderItemNamesAsync} instead. | ||
*/ | ||
static async readFolderAsync(folderPath, options) { | ||
return await FileSystem.readFolderItemNamesAsync(folderPath, options); | ||
} | ||
/** | ||
* Reads the names of folder entries, not including "." or "..". | ||
@@ -336,0 +322,0 @@ * Behind the scenes it uses `fs.readdirSync()`. |
@@ -7,3 +7,2 @@ /** | ||
export { AlreadyReportedError } from './AlreadyReportedError'; | ||
export { AnsiEscape, IAnsiEscapeConvertForTestsOptions } from './Terminal/AnsiEscape'; | ||
export { Async, AsyncQueue, IAsyncParallelismOptions, IRunWithRetriesOptions } from './Async'; | ||
@@ -36,11 +35,3 @@ export { Brand } from './PrimitiveTypes'; | ||
export { ISubprocessOptions, SubprocessTerminator } from './SubprocessTerminator'; | ||
export { ITerminal } from './Terminal/ITerminal'; | ||
export { Terminal } from './Terminal/Terminal'; | ||
export { Colors, IColorableSequence, ColorValue, TextAttribute } from './Terminal/Colors'; | ||
export { ITerminalProvider, TerminalProviderSeverity } from './Terminal/ITerminalProvider'; | ||
export { ConsoleTerminalProvider, IConsoleTerminalProviderOptions } from './Terminal/ConsoleTerminalProvider'; | ||
export { StringBufferTerminalProvider, IStringBufferOutputOptions } from './Terminal/StringBufferTerminalProvider'; | ||
export { PrefixProxyTerminalProvider, IPrefixProxyTerminalProviderOptions, IDynamicPrefixProxyTerminalProviderOptions, IPrefixProxyTerminalProviderOptionsBase, IStaticPrefixProxyTerminalProviderOptions } from './Terminal/PrefixProxyTerminalProvider'; | ||
export { TerminalWritable, ITerminalWritableOptions } from './Terminal/TerminalWritable'; | ||
export { TypeUuid } from './TypeUuid'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TypeUuid = exports.TerminalWritable = exports.PrefixProxyTerminalProvider = exports.StringBufferTerminalProvider = exports.ConsoleTerminalProvider = exports.TerminalProviderSeverity = exports.TextAttribute = exports.ColorValue = exports.Colors = exports.Terminal = exports.SubprocessTerminator = exports.StringBuilder = exports.LegacyAdapters = exports.FileWriter = exports.FileSystem = exports.AlreadyExistsBehavior = exports.Sort = exports.NewlineKind = exports.Text = exports.Encoding = exports.Path = exports.PackageNameParser = exports.PackageName = exports.PackageJsonLookup = exports.ProtectableMap = exports.PosixModeBits = exports.MinimumHeap = exports.MapExtensions = exports.LockFile = exports.JsonSchema = exports.JsonFile = exports.JsonSyntax = exports.InternalError = exports.Import = exports.FileError = exports.Executable = exports.EnvironmentMap = exports.Enum = exports.FolderConstants = exports.FileConstants = exports.AsyncQueue = exports.Async = exports.AnsiEscape = exports.AlreadyReportedError = void 0; | ||
exports.TypeUuid = exports.SubprocessTerminator = exports.StringBuilder = exports.LegacyAdapters = exports.FileWriter = exports.FileSystem = exports.AlreadyExistsBehavior = exports.Sort = exports.NewlineKind = exports.Text = exports.Encoding = exports.Path = exports.PackageNameParser = exports.PackageName = exports.PackageJsonLookup = exports.ProtectableMap = exports.PosixModeBits = exports.MinimumHeap = exports.MapExtensions = exports.LockFile = exports.JsonSchema = exports.JsonFile = exports.JsonSyntax = exports.InternalError = exports.Import = exports.FileError = exports.Executable = exports.EnvironmentMap = exports.Enum = exports.FolderConstants = exports.FileConstants = exports.AsyncQueue = exports.Async = exports.AlreadyReportedError = void 0; | ||
/** | ||
@@ -14,4 +14,2 @@ * Core libraries that every NodeJS toolchain project should use. | ||
Object.defineProperty(exports, "AlreadyReportedError", { enumerable: true, get: function () { return AlreadyReportedError_1.AlreadyReportedError; } }); | ||
var AnsiEscape_1 = require("./Terminal/AnsiEscape"); | ||
Object.defineProperty(exports, "AnsiEscape", { enumerable: true, get: function () { return AnsiEscape_1.AnsiEscape; } }); | ||
var Async_1 = require("./Async"); | ||
@@ -74,20 +72,4 @@ Object.defineProperty(exports, "Async", { enumerable: true, get: function () { return Async_1.Async; } }); | ||
Object.defineProperty(exports, "SubprocessTerminator", { enumerable: true, get: function () { return SubprocessTerminator_1.SubprocessTerminator; } }); | ||
var Terminal_1 = require("./Terminal/Terminal"); | ||
Object.defineProperty(exports, "Terminal", { enumerable: true, get: function () { return Terminal_1.Terminal; } }); | ||
var Colors_1 = require("./Terminal/Colors"); | ||
Object.defineProperty(exports, "Colors", { enumerable: true, get: function () { return Colors_1.Colors; } }); | ||
Object.defineProperty(exports, "ColorValue", { enumerable: true, get: function () { return Colors_1.ColorValue; } }); | ||
Object.defineProperty(exports, "TextAttribute", { enumerable: true, get: function () { return Colors_1.TextAttribute; } }); | ||
var ITerminalProvider_1 = require("./Terminal/ITerminalProvider"); | ||
Object.defineProperty(exports, "TerminalProviderSeverity", { enumerable: true, get: function () { return ITerminalProvider_1.TerminalProviderSeverity; } }); | ||
var ConsoleTerminalProvider_1 = require("./Terminal/ConsoleTerminalProvider"); | ||
Object.defineProperty(exports, "ConsoleTerminalProvider", { enumerable: true, get: function () { return ConsoleTerminalProvider_1.ConsoleTerminalProvider; } }); | ||
var StringBufferTerminalProvider_1 = require("./Terminal/StringBufferTerminalProvider"); | ||
Object.defineProperty(exports, "StringBufferTerminalProvider", { enumerable: true, get: function () { return StringBufferTerminalProvider_1.StringBufferTerminalProvider; } }); | ||
var PrefixProxyTerminalProvider_1 = require("./Terminal/PrefixProxyTerminalProvider"); | ||
Object.defineProperty(exports, "PrefixProxyTerminalProvider", { enumerable: true, get: function () { return PrefixProxyTerminalProvider_1.PrefixProxyTerminalProvider; } }); | ||
var TerminalWritable_1 = require("./Terminal/TerminalWritable"); | ||
Object.defineProperty(exports, "TerminalWritable", { enumerable: true, get: function () { return TerminalWritable_1.TerminalWritable; } }); | ||
var TypeUuid_1 = require("./TypeUuid"); | ||
Object.defineProperty(exports, "TypeUuid", { enumerable: true, get: function () { return TypeUuid_1.TypeUuid; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -23,13 +23,3 @@ /** | ||
static scrubError(error: Error | string | any): Error; | ||
/** | ||
* Prior to Node 11.x, the `Array.sort()` algorithm is not guaranteed to be stable. | ||
* If you need a stable sort, you can use `sortStable()` as a workaround. | ||
* | ||
* @deprecated | ||
* Use native Array.sort(), since Node < 14 is no longer supported | ||
* @remarks | ||
* On NodeJS 11.x and later, this method simply calls the native `Array.sort()`. | ||
*/ | ||
static sortStable<T>(array: T[], compare?: (a: T, b: T) => number): void; | ||
} | ||
//# sourceMappingURL=LegacyAdapters.d.ts.map |
@@ -60,16 +60,4 @@ "use strict"; | ||
} | ||
/** | ||
* Prior to Node 11.x, the `Array.sort()` algorithm is not guaranteed to be stable. | ||
* If you need a stable sort, you can use `sortStable()` as a workaround. | ||
* | ||
* @deprecated | ||
* Use native Array.sort(), since Node < 14 is no longer supported | ||
* @remarks | ||
* On NodeJS 11.x and later, this method simply calls the native `Array.sort()`. | ||
*/ | ||
static sortStable(array, compare) { | ||
Array.prototype.sort.call(array, compare); | ||
} | ||
} | ||
exports.LegacyAdapters = LegacyAdapters; | ||
//# sourceMappingURL=LegacyAdapters.js.map |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @beta | ||
* @public | ||
*/ | ||
@@ -8,0 +8,0 @@ export declare class MinimumHeap<T> { |
@@ -10,3 +10,3 @@ "use strict"; | ||
* | ||
* @beta | ||
* @public | ||
*/ | ||
@@ -13,0 +13,0 @@ class MinimumHeap { |
{ | ||
"name": "@rushstack/node-core-library", | ||
"version": "3.66.1", | ||
"version": "4.0.0", | ||
"description": "Core libraries that every NodeJS toolchain project should use", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1013268
129
13195