Socket
Socket
Sign inDemoInstall

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.4 to 3.0.5

4

lib/format.js

@@ -108,2 +108,6 @@ class Format {

printValue () {
/* istanbul ignore next - no BigInt on node v8 and before */
if (typeof this.object === 'bigint')
return this.object.toString() + 'n'
switch (typeof this.object) {

@@ -110,0 +114,0 @@ case 'undefined':

@@ -30,2 +30,4 @@ const Format = require('./format.js')

: pattern === Boolean ? typeof obj === 'boolean'
: pattern === global.BigInt
? /* istanbul ignore next - no BigInt on node v8 and before */ typeof obj === 'bigint'
: pattern === Map ? this.isMap()

@@ -32,0 +34,0 @@ : pattern === Set ? this.isSet()

2

package.json
{
"name": "tcompare",
"version": "3.0.4",
"version": "3.0.5",
"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