Socket
Socket
Sign inDemoInstall

gitpacker

Package Overview
Dependencies
25
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

12

bin/gitpacker.js

@@ -18,7 +18,15 @@ #!/usr/bin/env node

function appender (xs) {
xs = xs || []
return function (x) {
if (x && x.match(/[^:<>|"?\r\n]+/i)) xs.push(x)
return xs
}
}
program
.version(pkg.version)
.description('Compress files based on git ignore.')
.option('-i, --include <files ...>', 'include files', /[^:<>|"?\r\n]+/i, null)
.option('-e, --exclude <files ...>', 'exclude files', /[^:<>|"?\r\n]+/i, null)
.option('-i, --include <files ..>', 'include files', appender(), [])
.option('-e, --exclude <files ..>', 'exclude files', appender(), [])
.option('--debug', 'debug mode, such as print error tracks', null, null)

@@ -25,0 +33,0 @@

2

package.json
{
"name": "gitpacker",
"version": "1.2.0",
"version": "1.2.1",
"description": "A tool to quickly pack and compress git repository.",

@@ -5,0 +5,0 @@ "preferGlobal": true,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc