New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@git-temporal/commons

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@git-temporal/commons - npm Package Compare versions

Comparing version 0.1.2 to 0.4.0

12

lib/findGitRoot.js

@@ -15,2 +15,13 @@ "use strict";

function findGitRoot(startingPath) {
const parentPath = findInParents(startingPath);
if (parentPath) {
return parentPath;
}
if (startingPath) {
return findInParents(null);
}
return null;
}
exports.findGitRoot = findGitRoot;
function findInParents(startingPath) {
let currentPath = (startingPath && path.resolve(startingPath)) || process.cwd();

@@ -38,2 +49,1 @@ try {

}
exports.findGitRoot = findGitRoot;

6

package.json
{
"name": "@git-temporal/commons",
"version": "0.1.2",
"version": "0.4.0",
"description": "Common functions used by git-temporal",

@@ -23,3 +23,3 @@ "keywords": [

"scripts": {
"build": "NODE_ENV=production tsc",
"build": "cross-env NODE_ENV=production tsc",
"test": "cross-env mocha --exit -r ../../babel-register.js --recursive --opts ./test/mocha.opts ./test/unit",

@@ -36,3 +36,3 @@ "test-debug": "cross-env mocha --inspect-brk --exit -r ../../babel-register.js --recursive --opts ./test/mocha.opts ./test/unit",

"dependencies": {
"@git-temporal/logger": "^0.1.0"
"@git-temporal/logger": "^0.4.0"
},

@@ -39,0 +39,0 @@ "devDependencies": {

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [`commons`](#commons)

@@ -6,0 +5,0 @@ - [Usage](#usage)

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