Socket
Socket
Sign inDemoInstall

delete-github-branches

Package Overview
Dependencies
130
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

6

lib/cli.d.ts

@@ -18,2 +18,5 @@ import meow from "meow";

};
stalledDays: {
type: "number";
};
baseUrl: {

@@ -46,2 +49,5 @@ type: "string";

};
stalledDays: {
type: "number";
};
baseUrl: {

@@ -48,0 +54,0 @@ type: "string";

12

lib/cli.js

@@ -45,2 +45,5 @@ "use strict";

},
stalledDays: {
type: "number"
},
baseUrl: {

@@ -64,3 +67,3 @@ type: "string"

exports.run = (_input = exports.cli.input, flags = exports.cli.flags) => {
var _a, _b, _c, _d, _e, _f;
var _a, _b, _c, _d, _e, _f, _g;
const config = flags.config

@@ -79,7 +82,8 @@ ? config_parse_1.parseConfig(path_1.default.resolve(process.cwd(), flags.config))

: config.excludesBranchPatterns,
baseUrl: (_c = flags.baseUrl) !== null && _c !== void 0 ? _c : config.baseUrl,
token: (_e = (_d = flags.token) !== null && _d !== void 0 ? _d : config.token) !== null && _e !== void 0 ? _e : process.env.GITHUB_TOKEN,
dryRun: (_f = flags.dryRun) !== null && _f !== void 0 ? _f : config.dryRun
stalledDays: (_c = flags.stalledDays) !== null && _c !== void 0 ? _c : config.stalledDays,
baseUrl: (_d = flags.baseUrl) !== null && _d !== void 0 ? _d : config.baseUrl,
token: (_f = (_e = flags.token) !== null && _e !== void 0 ? _e : config.token) !== null && _f !== void 0 ? _f : process.env.GITHUB_TOKEN,
dryRun: (_g = flags.dryRun) !== null && _g !== void 0 ? _g : config.dryRun
});
};
//# sourceMappingURL=cli.js.map
{
"name": "delete-github-branches",
"version": "1.1.0",
"version": "1.1.1",
"description": "Delete GitHub Branches that match patterns.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -26,3 +26,3 @@ # delete-github-branches

--repo Repo name for repository: owner/**repo**
--token GitHub Token. you can use als GITHUB_TOKEN env
--token GitHub Token. you can use also GITHUB_TOKEN env
--includesBranchPatterns includes branch patterns split by comma. Default: "/^.*$/" (all)

@@ -29,0 +29,0 @@ --excludesBranchPatterns excludes branch patterns split by comma. Default: "master,develop,dev,gh-pages"

@@ -43,2 +43,5 @@ import meow from "meow";

},
stalledDays: {
type: "number"
},
baseUrl: {

@@ -78,2 +81,3 @@ type: "string"

: config.excludesBranchPatterns,
stalledDays: flags.stalledDays ?? config.stalledDays,
baseUrl: flags.baseUrl ?? config.baseUrl,

@@ -80,0 +84,0 @@ token: flags.token ?? config.token ?? process.env.GITHUB_TOKEN,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc