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

workspace-tools

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workspace-tools - npm Package Compare versions

Comparing version 0.25.0 to 0.25.1

19

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Thu, 21 Jul 2022 21:11:05 GMT",
"date": "Thu, 21 Jul 2022 21:21:43 GMT",
"tag": "workspace-tools_v0.25.1",
"version": "0.25.1",
"comments": {
"patch": [
{
"author": "dannyfritz@gmail.com",
"package": "workspace-tools",
"comment": "Use git ls-files for checkUntrackedFiles",
"commit": "f19c194e3636c08c2c3367daff9510efc07559da"
}
]
}
},
{
"date": "Thu, 21 Jul 2022 21:11:11 GMT",
"tag": "workspace-tools_v0.25.0",

@@ -15,3 +30,3 @@ "version": "0.25.0",

"comment": "BREAKING CHANGE: Improve detection of git root and throw if not found",
"commit": "00be591c06d9c14eba7f2b76cb8aac5f0246fdec"
"commit": "5a18b0d43f1a434b8ee7b03f7b5e273e2aee8330"
}

@@ -18,0 +33,0 @@ ]

# Change Log - workspace-tools
This log was last generated on Thu, 21 Jul 2022 21:11:05 GMT and should not be manually modified.
This log was last generated on Thu, 21 Jul 2022 21:21:43 GMT and should not be manually modified.
<!-- Start content -->
## 0.25.1
Thu, 21 Jul 2022 21:21:43 GMT
### Patches
- Use git ls-files for checkUntrackedFiles (dannyfritz@gmail.com)
## 0.25.0
Thu, 21 Jul 2022 21:11:05 GMT
Thu, 21 Jul 2022 21:11:11 GMT

@@ -11,0 +19,0 @@ ### Minor changes

17

lib/git/gitUtilities.js

@@ -11,18 +11,3 @@ "use strict";

try {
const results = (0, git_1.git)(["status", "--short"], { cwd });
if (!results.success || !results.stdout) {
return [];
}
const lines = results.stdout.split(/[\r\n]+/).filter((line) => line);
const untracked = [];
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (line[0] === " " || line[0] === "?") {
untracked.push(line.substring(3));
}
else if (line[0] === "R") {
i++;
}
}
return untracked;
return processGitOutput((0, git_1.git)(["ls-files", "--others", "--exclude-standard"], { cwd }));
}

@@ -29,0 +14,0 @@ catch (e) {

{
"name": "workspace-tools",
"version": "0.25.0",
"version": "0.25.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

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