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

typeof-arguments

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeof-arguments - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js

@@ -17,3 +17,5 @@ module.exports = function(a,o,c){

var act = typeName(a[x]);
var exp = t.split('|').map((i)=>i[0].toUpperCase()+i.slice(1).toLowerCase()).join('|');
var exp = t.split('|').map((i)=>{
return i==='null'||i==='undefined' ? i.toLowerCase():i[0].toUpperCase()+i.slice(1).toLowerCase();
}).join('|');
if(clb){

@@ -20,0 +22,0 @@ c(`[${act}]`,`[${exp}]`);

{
"name": "typeof-arguments",
"version": "1.0.1",
"version": "1.0.2",
"description": "Validate the types of arguments passed to the function.",

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