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.60.0 to 3.60.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.35.3"
"packageVersion": "7.37.0"
}
]
}
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -3,0 +5,0 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

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

import { FileLocationStyle } from './Path';
import { type FileLocationStyle } from './Path';
/**

@@ -3,0 +3,0 @@ * Provides options for the creation of a FileError.

"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.FileError = void 0;
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
const Path_1 = require("./Path");

@@ -7,0 +7,0 @@ const TypeUuid_1 = require("./TypeUuid");

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

import * as fs from 'fs';
import { NewlineKind, Encoding } from './Text';
import { type NewlineKind, Encoding } from './Text';
import { PosixModeBits } from './PosixModeBits';

@@ -326,3 +326,3 @@ /**

*/
static changePosixModeBits(path: string, mode: PosixModeBits): void;
static changePosixModeBits(path: string, modeBits: PosixModeBits): void;
/**

@@ -329,0 +329,0 @@ * An async version of {@link FileSystem.changePosixModeBits}.

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

*/
static changePosixModeBits(path, mode) {
static changePosixModeBits(path, modeBits) {
FileSystem._wrapException(() => {
fs.chmodSync(path, mode);
fs.chmodSync(path, modeBits);
});

@@ -196,0 +196,0 @@ }

@@ -1,3 +0,3 @@

import { JsonSchema, IJsonSchemaErrorInfo, IJsonSchemaValidateOptions } from './JsonSchema';
import { NewlineKind } from './Text';
import type { JsonSchema, IJsonSchemaErrorInfo, IJsonSchemaValidateOptions } from './JsonSchema';
import { type NewlineKind } from './Text';
/**

@@ -222,3 +222,4 @@ * Represents a JSON-serializable object whose type has not been determined yet.

* Serializes the specified JSON object to a string buffer.
* @param jsonObject - the object to be serialized
* @param previousJson - the previous JSON string, which will be updated
* @param newJsonObject - the object to be serialized
* @param options - other settings that control serialization

@@ -225,0 +226,0 @@ * @returns a JSON string, with newlines, and indented with two spaces

@@ -190,3 +190,4 @@ "use strict";

* Serializes the specified JSON object to a string buffer.
* @param jsonObject - the object to be serialized
* @param previousJson - the previous JSON string, which will be updated
* @param newJsonObject - the object to be serialized
* @param options - other settings that control serialization

@@ -193,0 +194,0 @@ * @returns a JSON string, with newlines, and indented with two spaces

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

import { JsonObject } from './JsonFile';
import { type JsonObject } from './JsonFile';
/**

@@ -3,0 +3,0 @@ * Callback function arguments for JsonSchema.validateObjectWithCallback();

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

import { IPackageJson, INodePackageJson } from './IPackageJson';
import type { IPackageJson, INodePackageJson } from './IPackageJson';
/**

@@ -3,0 +3,0 @@ * Constructor parameters for {@link PackageJsonLookup}

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

import { ProtectableMap, IProtectableMapParameters } from './ProtectableMap';
import type { ProtectableMap, IProtectableMapParameters } from './ProtectableMap';
/**

@@ -3,0 +3,0 @@ * The internal wrapper used by ProtectableMap. It extends the real `Map<K, V>` base class,

/// <reference types="node" />
import * as child_process from 'child_process';
import type * as child_process from 'child_process';
/**

@@ -4,0 +4,0 @@ * Details about how the `child_process.ChildProcess` was created.

@@ -134,3 +134,5 @@ "use strict";

// So simply write to STDERR and ensure our exit code indicates the problem.
// eslint-disable-next-line no-console
console.error('\nAn unexpected error was encountered while attempting to clean up child processes:');
// eslint-disable-next-line no-console
console.error(firstError.toString());

@@ -137,0 +139,0 @@ if (!process_1.default.exitCode) {

@@ -34,3 +34,3 @@ "use strict";

if (match) {
const sgrParameter = parseInt(match[1]);
const sgrParameter = parseInt(match[1], 10);
const sgrParameterName = AnsiEscape._tryGetSgrFriendlyName(sgrParameter);

@@ -37,0 +37,0 @@ if (sgrParameterName) {

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

import { ITerminalProvider, TerminalProviderSeverity } from './ITerminalProvider';
import { type ITerminalProvider, TerminalProviderSeverity } from './ITerminalProvider';
/**

@@ -3,0 +3,0 @@ * Options to be provided to a {@link ConsoleTerminalProvider}

@@ -1,3 +0,3 @@

import { ITerminalProvider } from './ITerminalProvider';
import { IColorableSequence } from './Colors';
import type { ITerminalProvider } from './ITerminalProvider';
import type { IColorableSequence } from './Colors';
/**

@@ -4,0 +4,0 @@ * @beta

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

import { ITerminalProvider, TerminalProviderSeverity } from './ITerminalProvider';
import { type ITerminalProvider, TerminalProviderSeverity } from './ITerminalProvider';
/**

@@ -3,0 +3,0 @@ * @beta

@@ -1,4 +0,4 @@

import { ITerminalProvider } from './ITerminalProvider';
import { IColorableSequence } from './Colors';
import { ITerminal } from './ITerminal';
import { type ITerminalProvider } from './ITerminalProvider';
import { type IColorableSequence } from './Colors';
import type { ITerminal } from './ITerminal';
/**

@@ -5,0 +5,0 @@ * This class facilitates writing to a console.

{
"name": "@rushstack/node-core-library",
"version": "3.60.0",
"version": "3.60.1",
"description": "Core libraries that every NodeJS toolchain project should use",

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

"devDependencies": {
"@rushstack/heft": "0.54.0",
"@rushstack/heft-node-rig": "2.2.6",
"@rushstack/heft": "0.59.0",
"@rushstack/heft-node-rig": "2.2.23",
"@types/fs-extra": "7.0.0",

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

"@types/semver": "7.5.0",
"@rushstack/eslint-config": "3.3.4"
"local-eslint-config": "1.0.0"
},

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

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

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