You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

clear-branches

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clear-branches - npm Package Compare versions

Comparing version

to
1.0.3

2

package.json
{
"name": "clear-branches",
"version": "1.0.2",
"version": "1.0.3",
"description": "easy way to clear your local branches",

@@ -5,0 +5,0 @@ "main": "dist/clear-branches.js",

@@ -28,3 +28,3 @@ # clear-branches

```shell
$ npx clear-branches
$ npx clear-branches@latest
```

@@ -46,14 +46,2 @@

If you're using nvm to manage node versions, pay attention to the node version you're using to create the alias in your bash profile:
```shell
alias clear-branches="node ~/.nvm/versions/node/v19.3.0/lib/node_modules/clear-branches"
```
Creating a dynamic alias that will execute from the current node version forces the user to be in the same version that **clear-branches** was installed.
```shell
alias clear-branches="node $(npm root --global)/clear-branches"
```
**output**

@@ -96,2 +84,4 @@

_\*The current branch is ignored and is not possible to force delete it_
Using `clear-branches --force=<branch>[,<branch>],` you will be able not to ignore any of these branches.

@@ -124,3 +114,3 @@

### clear-branches --ignore-pattern=<pattern>
### clear-branches --ignore-pattern=\<pattern>

@@ -127,0 +117,0 @@ It ignores all branches that match a regex.