Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tcompare

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcompare - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

12

lib/same.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc