Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "preserves", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Experimental data serialization format", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gitlab.com/preserves/preserves", |
@@ -260,5 +260,7 @@ "use strict"; | ||
Bytes.prototype[util.inspect.custom] = function (depth, options) { | ||
return this.toString(); | ||
}; | ||
if (util.inspect) { | ||
Bytes.prototype[util.inspect.custom] = function (depth, options) { | ||
return this.toString(); | ||
}; | ||
} | ||
@@ -360,3 +362,3 @@ Bytes.prototype.__asciify = function () { | ||
} catch (e) { | ||
return util.inspect(f); | ||
return (util.inspect || ((f) => '<unprintable_preserves_field_value>'))(f); | ||
} | ||
@@ -363,0 +365,0 @@ }).join(', ') + ')'; |
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
42423
1196