New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

realtype

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

realtype - npm Package Compare versions

Comparing version 1.0.0 to 1.1.1

2

index.js

@@ -5,3 +5,3 @@ 'use strict'

var class2type = {}
'Boolean Number String Function Array Date RegExp Object Error'.split(' ').map((e, i) => {
'Boolean Number String Function Array Date RegExp Object Error'.split(' ').map((e) => {
class2type[`[object ${e}]`] = e.toLowerCase()

@@ -8,0 +8,0 @@ })

{
"name": "realtype",
"version": "1.0.0",
"version": "1.1.1",
"description": "Can be used to distinguish between these types: boolean, number, string, function, array, date, regexp, object, error.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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