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

@rushstack/heft

Package Overview
Dependencies
Maintainers
3
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/heft - npm Package Compare versions

Comparing version 0.64.8 to 0.65.0

lib/plugins/SetEnvironmentVariablesPlugin.d.ts

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.40.2"
"packageVersion": "7.40.3"
}
]
}

@@ -33,4 +33,9 @@ {

"optionsSchema": "./lib/schemas/run-script-options.schema.json"
},
{
"entryPoint": "./lib/plugins/SetEnvironmentVariablesPlugin",
"pluginName": "set-environment-variables-plugin",
"optionsSchema": "./lib/schemas/set-environment-variables-plugin.schema.json"
}
]
}

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

const Constants_1 = require("./utilities/Constants");
const HEFT_PACKAGE_NAME = '@rushstack/heft';
// Excerpted from PackageJsonLookup.tryGetPackageFolderFor()

@@ -96,4 +95,4 @@ function tryGetPackageFolderFor(resolvedFileOrFolderPath) {

// Does package.json have a dependency on Heft?
if (!(packageJson.dependencies && packageJson.dependencies[HEFT_PACKAGE_NAME]) &&
!(packageJson.devDependencies && packageJson.devDependencies[HEFT_PACKAGE_NAME])) {
if (!(packageJson.dependencies && packageJson.dependencies[Constants_1.Constants.heftPackageName]) &&
!(packageJson.devDependencies && packageJson.devDependencies[Constants_1.Constants.heftPackageName])) {
// No explicit dependency on Heft

@@ -104,3 +103,3 @@ return false;

// installed as "<projectFolder>/node_modules/@rushstack/heft".
const heftFolder = path.join(projectFolder, 'node_modules', HEFT_PACKAGE_NAME);
const heftFolder = path.join(projectFolder, 'node_modules', Constants_1.Constants.heftPackageName);
heftEntryPoint = path.join(heftFolder, 'lib', 'start.js');

@@ -107,0 +106,0 @@ if (!fs.existsSync(heftEntryPoint)) {

@@ -18,3 +18,4 @@ export declare class Constants {

static maxParallelism: number;
static heftPackageName: string;
}
//# sourceMappingURL=Constants.d.ts.map

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

Constants.maxParallelism = 100;
Constants.heftPackageName = '@rushstack/heft';
//# sourceMappingURL=Constants.js.map

@@ -40,5 +40,6 @@ "use strict";

if (!CoreConfigFiles._heftConfigFileLoader) {
let heftPluginPackageFolder;
const pluginPackageResolver = (options) => {
const { propertyValue, configurationFilePath } = options;
if (propertyValue === '@rushstack/heft') {
if (propertyValue === Constants_1.Constants.heftPackageName) {
// If the value is "@rushstack/heft", then resolve to the Heft package that is

@@ -49,8 +50,10 @@ // installed in the project folder. This avoids issues with mismatched versions

// with bundling.
const pluginPackageFolder = node_core_library_1.PackageJsonLookup.instance.tryGetPackageFolderFor(__dirname);
if (!pluginPackageFolder) {
if (!heftPluginPackageFolder) {
heftPluginPackageFolder = node_core_library_1.PackageJsonLookup.instance.tryGetPackageFolderFor(__dirname);
}
if (!heftPluginPackageFolder) {
// This should never happen
throw new node_core_library_1.InternalError('Unable to find the @rushstack/heft package folder');
}
return pluginPackageFolder;
return heftPluginPackageFolder;
}

@@ -57,0 +60,0 @@ else {

{
"name": "@rushstack/heft",
"version": "0.64.8",
"version": "0.65.0",
"description": "Build all your JavaScript projects the same way: A way that works.",

@@ -39,8 +39,8 @@ "keywords": [

"watchpack": "2.4.0",
"@rushstack/node-core-library": "4.0.0",
"@rushstack/rig-package": "0.5.2",
"@rushstack/heft-config-file": "0.14.11",
"@rushstack/terminal": "0.8.0",
"@rushstack/operation-graph": "0.2.10",
"@rushstack/ts-command-line": "4.17.2"
"@rushstack/rig-package": "0.5.2",
"@rushstack/node-core-library": "4.0.0",
"@rushstack/ts-command-line": "4.17.2",
"@rushstack/terminal": "0.8.0"
},

@@ -54,4 +54,4 @@ "devDependencies": {

"typescript": "~5.3.3",
"@microsoft/api-extractor": "7.40.3",
"local-eslint-config": "1.0.0"
"local-eslint-config": "1.0.0",
"@microsoft/api-extractor": "7.40.3"
},

@@ -58,0 +58,0 @@ "scripts": {

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