New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

git-compose

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-compose - npm Package Compare versions

Comparing version
0.2.1
to
0.2.2
+1
-1
package.json
{
"name": "git-compose",
"version": "0.2.1",
"version": "0.2.2",
"description": "Compose GIT branches and cascade merge updates",

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

@@ -480,8 +480,17 @@ #!/usr/bin/env bash

# if from branch is root, then target all isolation branches
local ISO_GREP="^iso__"
if [[ "${FROM_BRANCH}" != "${ROOT_BRANCH}" ]] ; then
# if from branch is not root, target only children of from branch
ISO_GREP="${FROM_BRANCH}__"
# if TREE list is empty then set_parent_branch will assume the parent of the initial children is root
# as this may not be the case when providing a from branch, we need to add the provided from branch to
# TREE list
TREE+=("${FROM_BRANCH}")
fi
# from branch is always excluded (nothing is merged into it), so print now
echo -e "${DIR_SYMBOL} ${FROM_BRANCH}"
local ISO_BRANCHES=$(git for-each-ref refs/heads --format='%(refname:lstrip=2)' | grep "${ISO_GREP}")

@@ -488,0 +497,0 @@