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

tc-wrapper

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

tc-wrapper - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

dist/TCclassParser.js

@@ -31,3 +31,3 @@ 'use strict';

return _helpers2.default.execCmd('tc class show dev ' + this.device).then(function (stdout) {
return _helpers2.default.execCmd('tc class show dev ' + this.device, [new RegExp('Cannot find device', 'i')]).then(function (stdout) {
var strippedOut = stdout.trim().match(/[^\r\n]+/g) || [];

@@ -34,0 +34,0 @@

@@ -50,3 +50,3 @@ 'use strict';

return _helpers2.default.execCmd('tc filter show dev ' + this.device).then(function (stdout) {
return _helpers2.default.execCmd('tc filter show dev ' + this.device, [new RegExp('Cannot find device', 'i')]).then(function (stdout) {
var strippedOut = stdout.trim().match(/[^\r\n]+/g) || [];

@@ -53,0 +53,0 @@

@@ -31,3 +31,3 @@ 'use strict';

return _helpers2.default.execCmd('tc qdisc show dev ' + this.device).then(function (stdout) {
return _helpers2.default.execCmd('tc qdisc show dev ' + this.device, [new RegExp('Cannot find device', 'i')]).then(function (stdout) {
var strippedOut = stdout.trim().match(/[^\r\n]+/g) || [];

@@ -34,0 +34,0 @@

{
"name": "tc-wrapper",
"version": "1.0.3",
"version": "1.0.4",
"description": "NodeJS wrapper for tc command (traffic control on linux)",

@@ -5,0 +5,0 @@ "author": "J. Victor Soto",

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