Comparing version 3.1.2 to 3.2.0
@@ -18,3 +18,8 @@ var sendJson = require("./json") | ||
} else if (error && typeof error.message === "string") { | ||
error.message = error.message | ||
Object.defineProperty(error, "message", { | ||
value: error.message, | ||
enumerable: true, | ||
writable: true, | ||
configurable: true | ||
}) | ||
Object.defineProperty(error, "type", { | ||
@@ -21,0 +26,0 @@ value: error.type, |
{ | ||
"name": "send-data", | ||
"version": "3.1.2", | ||
"version": "3.2.0", | ||
"description": "send data through response", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -5,2 +5,4 @@ # send-data [![build status][1]][2] | ||
Originally taken from [npm-www](https://github.com/isaacs/npm-www) | ||
## Example | ||
@@ -7,0 +9,0 @@ |
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
11623
215
68