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.10 to 1.0.11

6

dist/index.js

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

cmd: 'tc qdisc del dev ' + this.device + ' root',
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i')]
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i'), new RegExp('Error: Cannot delete qdisc with handle of zero.', 'i')]
},

@@ -167,3 +167,3 @@ // Delete in qdisc

cmd: 'tc qdisc del dev ' + this.device + ' ingress',
allowedErrors: [new RegExp('RTNETLINK answers: Invalid argument', 'i'), new RegExp('RTNETLINK answers: No such file or directory', 'i')]
allowedErrors: [new RegExp('RTNETLINK answers: Invalid argument', 'i'), new RegExp('RTNETLINK answers: No such file or directory', 'i'), new RegExp('Error: Invalid handle.', 'i'), new RegExp('Error: Cannot find specified qdisc on specified device.', 'i')]
}];

@@ -176,3 +176,3 @@

cmd: 'tc qdisc del dev ' + this.ifbDevice + ' root',
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i')]
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i'), new RegExp('Error: Cannot delete qdisc with handle of zero.', 'i')]
}, {

@@ -179,0 +179,0 @@ cmd: 'ip link set dev ' + this.ifbDevice + ' down',

{
"name": "tc-wrapper",
"version": "1.0.10",
"version": "1.0.11",
"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