Comparing version 0.4.93 to 0.4.94
@@ -233,3 +233,2 @@ const debug = require('debug') ('sipware:headers') | ||
this.createAddrs(msg, { | ||
Fwd: {val: msg.headers.fwd, name: 'fwd'}, | ||
To: {val: msg.headers.to, name: 'to'}, | ||
@@ -253,3 +252,3 @@ Cc: {val: msg.headers.cc, name: 'cc'}, | ||
} else { | ||
var addrs = msg.Fwd || [].concat(msg.To).concat(msg.Cc).concat(msg.Bcc).filter(i => i) | ||
var addrs = [].concat(msg.To).concat(msg.Cc).concat(msg.Bcc).filter(i => i) | ||
} | ||
@@ -256,0 +255,0 @@ |
@@ -44,3 +44,3 @@ const debug = require('debug') ('sipware:protocol') | ||
if(i != 'Sipware' && headers[i] != null) { | ||
if(~['From', 'Sender', 'To', 'Cc', 'Bcc', 'Fwd', 'Reply-To', 'Follows', 'Followers'].indexOf(i)) { | ||
if(~['From', 'Sender', 'To', 'Cc', 'Bcc', 'Reply-To', 'Follows', 'Followers'].indexOf(i)) { | ||
val = Headers.printAddrs(headers[i]); | ||
@@ -47,0 +47,0 @@ } else if(i == 'Groups') { |
@@ -67,3 +67,3 @@ { | ||
"optionalDependencies": {}, | ||
"version": "0.4.93", | ||
"version": "0.4.94", | ||
"directories": { | ||
@@ -70,0 +70,0 @@ "lib": "lib" |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
125009
3041
6