Socket
Socket
Sign inDemoInstall

@rushstack/node-core-library

Package Overview
Dependencies
Maintainers
3
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/node-core-library - npm Package Compare versions

Comparing version 3.59.0 to 3.59.1

2

dist/tsdoc-metadata.json

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.34.0"
"packageVersion": "7.34.8"
}
]
}

@@ -10,3 +10,3 @@ /// <reference types="node" />

*/
export declare type ExecutableStdioStreamMapping = 'pipe' | 'ignore' | 'inherit' | NodeJS.WritableStream | NodeJS.ReadableStream | number | undefined;
export type ExecutableStdioStreamMapping = 'pipe' | 'ignore' | 'inherit' | NodeJS.WritableStream | NodeJS.ReadableStream | number | undefined;
/**

@@ -17,3 +17,3 @@ * Types for {@link IExecutableSpawnSyncOptions.stdio}

*/
export declare type ExecutableStdioMapping = 'pipe' | 'ignore' | 'inherit' | ExecutableStdioStreamMapping[];
export type ExecutableStdioMapping = 'pipe' | 'ignore' | 'inherit' | ExecutableStdioStreamMapping[];
/**

@@ -20,0 +20,0 @@ * Options for Executable.tryResolve().

@@ -104,3 +104,2 @@ "use strict";

}
exports.FileError = FileError;
/** @internal */

@@ -113,3 +112,4 @@ FileError._environmentVariableIsAbsolutePath = false;

]);
exports.FileError = FileError;
TypeUuid_1.TypeUuid.registerClass(FileError, uuidFileError);
//# sourceMappingURL=FileError.js.map

@@ -13,3 +13,3 @@ /// <reference types="node" />

*/
export declare type FileSystemStats = fs.Stats;
export type FileSystemStats = fs.Stats;
/**

@@ -22,3 +22,3 @@ * An alias for the Node.js `fs.Dirent` object.

*/
export declare type FolderItem = fs.Dirent;
export type FolderItem = fs.Dirent;
/**

@@ -164,3 +164,3 @@ * The options for {@link FileSystem.readFolder}

*/
export declare type FileSystemCopyFilesAsyncFilter = (sourcePath: string, destinationPath: string) => Promise<boolean>;
export type FileSystemCopyFilesAsyncFilter = (sourcePath: string, destinationPath: string) => Promise<boolean>;
/**

@@ -170,3 +170,3 @@ * Callback function type for {@link IFileSystemCopyFilesOptions.filter}

*/
export declare type FileSystemCopyFilesFilter = (sourcePath: string, destinationPath: string) => boolean;
export type FileSystemCopyFilesFilter = (sourcePath: string, destinationPath: string) => boolean;
/**

@@ -173,0 +173,0 @@ * The options for {@link FileSystem.copyFilesAsync}

@@ -45,3 +45,2 @@ "use strict";

}
exports.InternalError = InternalError;
/**

@@ -56,2 +55,3 @@ * If true, a JavScript `debugger;` statement will be invoked whenever the `InternalError` constructor is called.

InternalError.breakInDebugger = true;
exports.InternalError = InternalError;
//# sourceMappingURL=InternalError.js.map

@@ -12,3 +12,3 @@ import { JsonSchema, IJsonSchemaErrorInfo, IJsonSchemaValidateOptions } from './JsonSchema';

*/
export declare type JsonObject = any;
export type JsonObject = any;
/**

@@ -29,3 +29,3 @@ * The Rush Stack lint rules discourage usage of `null`. However, JSON parsers always return JavaScript's

*/
export declare type JsonNull = null;
export type JsonNull = null;
/**

@@ -32,0 +32,0 @@ * Specifies the variant of JSON syntax to be used.

@@ -420,3 +420,2 @@ "use strict";

}
exports.JsonFile = JsonFile;
/**

@@ -426,2 +425,3 @@ * @internal

JsonFile._formatPathForError = (path) => path;
exports.JsonFile = JsonFile;
//# sourceMappingURL=JsonFile.js.map

@@ -5,3 +5,3 @@ /**

*/
export declare type LegacyCallback<TResult, TError> = (error: TError | null | undefined, result: TResult) => void;
export type LegacyCallback<TResult, TError> = (error: TError | null | undefined, result: TResult) => void;
/**

@@ -8,0 +8,0 @@ * Helper functions used when interacting with APIs that do not follow modern coding practices.

@@ -422,4 +422,4 @@ "use strict";

}
LockFile._getStartTime = getProcessStartTime;
exports.LockFile = LockFile;
LockFile._getStartTime = getProcessStartTime;
//# sourceMappingURL=LockFile.js.map

@@ -40,11 +40,2 @@ "use strict";

class PackageJsonLookup {
constructor(parameters) {
this._loadExtraFields = false;
if (parameters) {
if (parameters.loadExtraFields) {
this._loadExtraFields = parameters.loadExtraFields;
}
}
this.clearCache();
}
/**

@@ -66,2 +57,11 @@ * A singleton instance of `PackageJsonLookup`, which is useful for short-lived processes

}
constructor(parameters) {
this._loadExtraFields = false;
if (parameters) {
if (parameters.loadExtraFields) {
this._loadExtraFields = parameters.loadExtraFields;
}
}
this.clearCache();
}
/**

@@ -68,0 +68,0 @@ * A helper for loading the caller's own package.json file.

@@ -167,6 +167,6 @@ "use strict";

}
exports.PackageNameParser = PackageNameParser;
// encodeURIComponent() escapes all characters except: A-Z a-z 0-9 - _ . ! ~ * ' ( )
// However, these are disallowed because they are shell characters: ! ~ * ' ( )
PackageNameParser._invalidNameCharactersRegExp = /[^A-Za-z0-9\-_\.]/;
exports.PackageNameParser = PackageNameParser;
/**

@@ -212,4 +212,4 @@ * Provides basic operations for validating and manipulating NPM package names such as `my-package`

}
PackageName._parser = new PackageNameParser();
exports.PackageName = PackageName;
PackageName._parser = new PackageNameParser();
//# sourceMappingURL=PackageName.js.map

@@ -8,3 +8,3 @@ /**

*/
export declare type FileLocationStyle = 'Unix' | 'VisualStudio';
export type FileLocationStyle = 'Unix' | 'VisualStudio';
/**

@@ -11,0 +11,0 @@ * Options for {@link Path.formatFileLocation}.

@@ -207,3 +207,2 @@ "use strict";

}
exports.Path = Path;
// Matches a relative path consisting entirely of periods and slashes

@@ -215,2 +214,3 @@ // Example: ".", "..", "../..", etc

Path._upwardPathSegmentRegex = /([\/\\]|^)\.\.([\/\\]|$)/;
exports.Path = Path;
//# sourceMappingURL=Path.js.map

@@ -38,5 +38,5 @@ /**

*/
export declare type Brand<T, BrandTag extends string> = T & {
export type Brand<T, BrandTag extends string> = T & {
__brand: BrandTag;
};
//# sourceMappingURL=PrimitiveTypes.d.ts.map

@@ -165,3 +165,2 @@ "use strict";

}
exports.SubprocessTerminator = SubprocessTerminator;
/**

@@ -183,2 +182,3 @@ * Whether the hooks are installed

};
exports.SubprocessTerminator = SubprocessTerminator;
//# sourceMappingURL=SubprocessTerminator.js.map

@@ -124,3 +124,2 @@ "use strict";

}
exports.AnsiEscape = AnsiEscape;
// For now, we only care about the Control Sequence Introducer (CSI) commands which always start with "[".

@@ -134,2 +133,3 @@ // eslint-disable-next-line no-control-regex

AnsiEscape._backslashRRegExp = /\r/g;
exports.AnsiEscape = AnsiEscape;
//# sourceMappingURL=AnsiEscape.js.map

@@ -37,3 +37,3 @@ import type { ITerminalProvider, TerminalProviderSeverity } from './ITerminalProvider';

*/
export declare type IPrefixProxyTerminalProviderOptions = IStaticPrefixProxyTerminalProviderOptions | IDynamicPrefixProxyTerminalProviderOptions;
export type IPrefixProxyTerminalProviderOptions = IStaticPrefixProxyTerminalProviderOptions | IDynamicPrefixProxyTerminalProviderOptions;
/**

@@ -40,0 +40,0 @@ * Wraps an existing {@link ITerminalProvider} that prefixes each line of output with a specified

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

}
exports.Text = Text;
Text._newLineRegEx = /\r\n|\n\r|\r|\n/g;
Text._newLineAtEndRegEx = /(\r\n|\n\r|\r|\n)$/;
exports.Text = Text;
//# sourceMappingURL=Text.js.map

@@ -85,4 +85,4 @@ "use strict";

}
TypeUuid._uuidRegExp = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
exports.TypeUuid = TypeUuid;
TypeUuid._uuidRegExp = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
//# sourceMappingURL=TypeUuid.js.map
{
"name": "@rushstack/node-core-library",
"version": "3.59.0",
"version": "3.59.1",
"description": "Core libraries that every NodeJS toolchain project should use",

@@ -23,4 +23,4 @@ "main": "lib/index.js",

"devDependencies": {
"@rushstack/heft": "0.49.3",
"@rushstack/heft-node-rig": "1.11.14",
"@rushstack/heft": "0.50.4",
"@rushstack/heft-node-rig": "1.12.10",
"@types/fs-extra": "7.0.0",

@@ -32,3 +32,3 @@ "@types/heft-jest": "1.0.1",

"@types/semver": "7.3.5",
"@rushstack/eslint-config": "3.2.0"
"@rushstack/eslint-config": "3.3.0"
},

@@ -35,0 +35,0 @@ "peerDependencies": {

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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