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

typeforce

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeforce - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

3

index.js

@@ -7,4 +7,3 @@ function getName (value) {

// why not constructor.name: https://kangax.github.io/compat-table/es6/#function_name_property
var match = value.constructor.toString().match(/function (.*?)\(/)
return match ? match[1] : null
return value.constructor.toString().match(/function (.*?)\s*\(/)[1]
}

@@ -11,0 +10,0 @@

{
"name": "typeforce",
"version": "1.1.0",
"version": "1.1.1",
"description": "Another biased type checking solution for Javascript",

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