Socket
Socket
Sign inDemoInstall

lerna

Package Overview
Dependencies
Maintainers
4
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lerna - npm Package Compare versions

Comparing version 7.1.1 to 7.1.2

11

dist/commands/version/lib/git-add.js

@@ -54,3 +54,3 @@ "use strict";

}
function maybeFormatFile(filePath) {
async function maybeFormatFile(filePath) {
const prettier = resolvePrettier();

@@ -60,6 +60,7 @@ if (!prettier) {

}
const config = resolvedPrettier.resolveConfig.sync(filePath);
const config = await resolvedPrettier.resolveConfig(filePath);
const ignorePath = import_path.default.join(import_devkit.workspaceRoot, ".prettierignore");
const fullFilePath = import_path.default.join(import_devkit.workspaceRoot, filePath);
if (resolvedPrettier.getFileInfo.sync(fullFilePath, { ignorePath }).ignored) {
const fileInfo = await resolvedPrettier.getFileInfo(fullFilePath, { ignorePath });
if (fileInfo.ignored) {
import_npmlog.default.silly("version", `Skipped applying prettier to ignored file: ${filePath}`);

@@ -80,7 +81,7 @@ return;

}
function gitAdd(changedFiles, gitOpts, execOpts) {
async function gitAdd(changedFiles, gitOpts, execOpts) {
let files = [];
for (const file of changedFiles) {
const filePath = (0, import_slash.default)(import_path.default.relative(execOpts.cwd, import_path.default.resolve(execOpts.cwd, file)));
maybeFormatFile(filePath);
await maybeFormatFile(filePath);
if (gitOpts.granularPathspec) {

@@ -87,0 +88,0 @@ files.push(filePath);

{
"name": "lerna",
"version": "7.1.1",
"version": "7.1.2",
"description": "Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository",

@@ -40,4 +40,4 @@ "keywords": [

"dependencies": {
"@lerna/child-process": "7.1.1",
"@lerna/create": "7.1.1",
"@lerna/child-process": "7.1.2",
"@lerna/create": "7.1.2",
"@npmcli/run-script": "6.0.2",

@@ -127,3 +127,3 @@ "@nx/devkit": ">=16.1.3 < 17",

},
"gitHead": "04642ff77c0123676b4646035ffee08ede97af5f"
"gitHead": "b25dc5e8029d50895e2e508c62a7ce9b2b8ce32e"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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