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

should-type

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should-type - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

5

cjs/should-type.js

@@ -76,3 +76,4 @@ 'use strict';

Type.prototype = {
toString: function() {
toString: function(sep) {
sep = sep || ';';
var str = [this.type];

@@ -85,3 +86,3 @@ if (this.cls) {

}
return str.join(';');
return str.join(sep);
},

@@ -88,0 +89,0 @@

@@ -74,3 +74,4 @@ var types = {

Type.prototype = {
toString: function() {
toString: function(sep) {
sep = sep || ';';
var str = [this.type];

@@ -83,3 +84,3 @@ if (this.cls) {

}
return str.join(';');
return str.join(sep);
},

@@ -86,0 +87,0 @@

2

package.json
{
"name": "should-type",
"version": "1.2.0",
"version": "1.3.0",
"description": "Simple module to get instance type. Like a bit more advanced version of typeof",

@@ -5,0 +5,0 @@ "main": "cjs/should-type.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