Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
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 0.0.7 to 0.0.8

9

clearBranches.js

@@ -31,3 +31,3 @@ #!/usr/bin/env node

async function lsWithGrep() {
async function clearBranches() {
try {

@@ -37,3 +37,3 @@ const args = process.argv.slice(2).join('');

const ignore = args.match(/^--ignore=(((feat|fix|refactor|chore)\/[\w-\d]+)|,){1,}/g);
const ignore = args.match(/^--ignore=((\/[\w-\d]+)|,){1,}/g);

@@ -43,3 +43,3 @@ const hasBranchesToIgnore = ignore && !!ignore.length;

const ignoreBranchesRegex = new RegExp(`(\\*| |master|develop|release|${ignoreBranches})`, 'g');
const ignoreBranchesRegex = new RegExp(`(\\*| |main|master|develop|release|${ignoreBranches})`, 'g');

@@ -73,2 +73,3 @@ const branches = stdoutGb

}
lsWithGrep();
clearBranches();
{
"name": "clear-branches",
"version": "0.0.7",
"version": "0.0.8",
"description": "productivity and easy way to clear your local branches",

@@ -5,0 +5,0 @@ "main": "clearBranches.js",

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