Comparing version 0.5.2 to 0.5.3
@@ -81,2 +81,8 @@ var debug = require('debug')('mdns:lib:ServiceType'); | ||
text = text.replace(/.local$/, ''); | ||
//take care of possible empty subtypes | ||
if (text.charAt(0) === '_') { | ||
text = text.replace(/^_sub/, '._sub'); //fix for bad apple | ||
} | ||
var isWildcard = text === ServiceType.wildcard; | ||
@@ -83,0 +89,0 @@ var subtypes = text.split(','); |
{ | ||
"name": "mdns-js", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"repository": { | ||
@@ -39,3 +39,5 @@ "type": "git", | ||
"contributors": [ | ||
"James Sigurðarson <jamiees2@gmail.com> (http://jamessigurdarson.com)" | ||
"James Sigurðarson <jamiees2@gmail.com> (http://jamessigurdarson.com)", | ||
"David Baldwynn <whitef0x0@users.noreply.github.com>", | ||
"Stefan Sauer <ensonic@google.com>" | ||
], | ||
@@ -42,0 +44,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 20 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
6
57159
20
1142