Comparing version 3.0.2 to 3.0.3
@@ -166,3 +166,3 @@ const Format = require('./format.js') | ||
return this.options.hasOwnProperty('key') && | ||
!(this.parent.isArray() || this.parent.isSet()) ? s : ' ' + s | ||
!(this.parent.isArray() || this.parent.isSet()) ? s : this.prefix(s, ' ') | ||
} | ||
@@ -192,15 +192,15 @@ printKey (k) { | ||
arrayHead () { return this.spaceIfNoPref(super.arrayHead()) } | ||
arrayTail () { return ' ' + super.arrayTail() } | ||
arrayTail () { return this.prefix(super.arrayTail(), ' ') } | ||
setEmpty () { return this.spaceIfNoPref(super.setEmpty()) } | ||
setHead () { return this.spaceIfNoPref(super.setHead()) } | ||
setTail () { return ' ' + super.setTail() } | ||
setTail () { return this.prefix(super.setTail(), ' ') } | ||
mapEmpty () { return this.spaceIfNoPref(super.mapEmpty()) } | ||
mapHead () { return this.spaceIfNoPref(super.mapHead()) } | ||
mapTail () { return ' ' + super.mapTail() } | ||
mapTail () { return this.prefix(super.mapTail(), ' ') } | ||
pojoEmpty () { return this.spaceIfNoPref(super.pojoEmpty()) } | ||
pojoHead () { return this.spaceIfNoPref(super.pojoHead()) } | ||
pojoTail () { return ' ' + super.pojoTail() } | ||
pojoTail () { return this.prefix(super.pojoTail(), ' ') } | ||
errorEmpty () { return this.spaceIfNoPref(super.errorEmpty()) } | ||
errorHead () { return this.spaceIfNoPref(super.errorHead()) } | ||
errorTail () { return ' ' + super.errorTail() } | ||
errorTail () { return this.prefix(super.errorTail(), ' ') } | ||
@@ -207,0 +207,0 @@ mapIsEmpty () { |
{ | ||
"name": "tcompare", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "A comprehensive comparison library, for use in test frameworks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
39711