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

sanitize-arguments

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sanitize-arguments - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

lib/typechecks.js

@@ -10,3 +10,3 @@ // Expose typechecks

function typeOf(o) {
return Object.prototype.toString.call(o).match(/(\w+)\]/)[1];
return o && o.constructor ? o.constructor.name : Object.prototype.toString.call(o).match(/(\w+)\]/)[1];
}

@@ -13,0 +13,0 @@

{
"name": "sanitize-arguments",
"description": "Easily check function arguments",
"version": "2.0.1",
"version": "2.0.2",
"author": "Jan Buschtöns <buschtoens@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

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