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

@commitlint/top-level

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/top-level - npm Package Compare versions

Comparing version 18.6.1 to 19.0.0

17

lib/index.js

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

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
const find_up_1 = __importDefault(require("find-up"));
exports.default = toplevel;
import path from 'path';
import { findUp } from 'find-up';
export default toplevel;
/**

@@ -17,3 +12,3 @@ * Find the next git root

}
return path_1.default.join(found, '..');
return path.join(found, '..');
}

@@ -24,6 +19,6 @@ /**

async function searchDotGit(cwd) {
const foundFile = await (0, find_up_1.default)('.git', { cwd, type: 'file' });
const foundDir = await (0, find_up_1.default)('.git', { cwd, type: 'directory' });
const foundFile = await findUp('.git', { cwd, type: 'file' });
const foundDir = await findUp('.git', { cwd, type: 'directory' });
return foundFile || foundDir;
}
//# sourceMappingURL=index.js.map
{
"name": "@commitlint/top-level",
"version": "18.6.1",
"type": "module",
"version": "19.0.0",
"description": "Lint your commit messages",

@@ -38,8 +39,8 @@ "main": "lib/index.js",

"devDependencies": {
"@commitlint/utils": "^18.6.1"
"@commitlint/utils": "^19.0.0"
},
"dependencies": {
"find-up": "^5.0.0"
"find-up": "^7.0.0"
},
"gitHead": "89f5bf91d1c11b1f457a6f0d99b8ea34583a9311"
"gitHead": "f1ff12159d627ee63bf8982ab02e6cca8f10b09f"
}

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