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

@rushstack/package-deps-hash

Package Overview
Dependencies
Maintainers
3
Versions
398
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/package-deps-hash - npm Package Compare versions

Comparing version 4.1.3 to 4.1.4

4

lib/getPackageDeps.d.ts

@@ -30,7 +30,7 @@ /**

*/
export declare function gitLsTree(path: string, gitPath?: string): string;
export declare function gitLsTree(cwdPath: string, gitPath?: string): string;
/**
* Executes "git status" in a folder
*/
export declare function gitStatus(path: string, gitPath?: string): string;
export declare function gitStatus(cwdPath: string, gitPath?: string): string;
/**

@@ -37,0 +37,0 @@ * Builds an object containing hashes for the files under the specified `packagePath` folder.

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

*/
function gitLsTree(path, gitPath) {
function gitLsTree(cwdPath, gitPath) {
const result = node_core_library_1.Executable.spawnSync(gitPath || 'git', ['ls-tree', 'HEAD', '-r'], {
currentWorkingDirectory: path
currentWorkingDirectory: cwdPath
});

@@ -194,3 +194,3 @@ if (result.status !== 0) {

*/
function gitStatus(path, gitPath) {
function gitStatus(cwdPath, gitPath) {
/**

@@ -205,3 +205,3 @@ * -s - Short format. Will be printed as 'XY PATH' or 'XY ORIG_PATH -> PATH'. Paths with non-standard

const result = node_core_library_1.Executable.spawnSync(gitPath || 'git', ['status', '-s', '-u', '.'], {
currentWorkingDirectory: path
currentWorkingDirectory: cwdPath
});

@@ -208,0 +208,0 @@ if (result.status !== 0) {

{
"name": "@rushstack/package-deps-hash",
"version": "4.1.3",
"version": "4.1.4",
"description": "",

@@ -14,9 +14,8 @@ "main": "lib/index.js",

"devDependencies": {
"@rushstack/eslint-config": "3.3.4",
"@rushstack/heft": "0.61.1",
"@rushstack/node-core-library": "3.60.0",
"local-node-rig": "1.0.0"
"@rushstack/node-core-library": "3.60.1",
"local-node-rig": "1.0.0",
"@rushstack/heft": "0.61.2"
},
"dependencies": {
"@rushstack/node-core-library": "3.60.0"
"@rushstack/node-core-library": "3.60.1"
},

@@ -23,0 +22,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

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