Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tccli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tccli - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/index.js

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

}
}).usage('tccli <operation> <iface> [options]').option('-d --direction [direction]', 'Rule traffic direction. Allowed outgoing or incoming.', 'outgoing', /(outgoing|incoming)/).option('-n --network [network]', 'Network including mask', '0.0.0.0/0', /(\d{1,3}\.){3}\d{1,3}\/\d{1,2}/).option('--srcPort [port]', 'Destination port.').option('--dstPort [port]', 'Source port.').option('-p --protocol [protocol]', 'Protocol of rules. Only supported IPv4 right now.', 'ip', /ip/).option('--delay [time]', 'Delay including unit. Ex: 10ms').option('--jitter [time]', 'Delay variation including unit. Ex: 10ms').option('--loss [percentage]', 'Packet loss including unit. Ex: 5%').option('--corrupt [percentage]', 'Packet corruption including unit. Ex: 1%').option('--rate [bandwidth]', 'Bandwith limit including unit. Ex: 10Mbit').parse(process.argv);
}).usage('<operation> <iface> [options]').option('-d --direction [direction]', 'Rule traffic direction. Allowed outgoing or incoming.', 'outgoing', /(outgoing|incoming)/).option('-n --network [network]', 'Network including mask', '0.0.0.0/0', /(\d{1,3}\.){3}\d{1,3}\/\d{1,2}/).option('--srcPort [port]', 'Destination port.').option('--dstPort [port]', 'Source port.').option('-p --protocol [protocol]', 'Protocol of rules. Only supported IPv4 right now.', 'ip', /ip/).option('--delay [time]', 'Delay including unit. Ex: 10ms').option('--jitter [time]', 'Delay variation including unit. Ex: 10ms').option('--loss [percentage]', 'Packet loss including unit. Ex: 5%').option('--corrupt [percentage]', 'Packet corruption including unit. Ex: 1%').option('--rate [bandwidth]', 'Bandwith limit including unit. Ex: 10Mbit').parse(process.argv);

@@ -36,0 +36,0 @@ var rule = ['network=' + _commander2.default.network];

{
"name": "tccli",
"version": "1.0.2",
"version": "1.0.3",
"author": "J. Victor Soto",

@@ -27,3 +27,3 @@ "license": "MIT",

"debug": "^2.6.8",
"tc-wrapper": "^1.0.3"
"tc-wrapper": "^1.0.4"
},

@@ -30,0 +30,0 @@ "devDependencies": {

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