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

b3m

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b3m - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

14

build/index.js

@@ -6,4 +6,8 @@ 'use strict';

var is = function is(val, type) {
var objectType = Object.prototype.toString.call(val);
return !!objectType.slice(8, objectType.length - 1).match(new RegExp(type, 'gi'));
if (typeof val === 'function' && type === 'function') {
return true;
} else {
var objectType = Object.prototype.toString.call(val);
return !!objectType.slice(8, objectType.length - 1).match(new RegExp(type, 'gi'));
}
};

@@ -23,3 +27,7 @@

var handleBlocks = function handleBlocks(block, val) {
return is(val, 'string') && val.length > 0 ? block + '__' + val : val;
if (is(val, 'string') && val.length > 0) {
return block + '__' + val;
} else {
return val;
}
};

@@ -26,0 +34,0 @@

{
"name": "b3m",
"version": "1.4.2",
"version": "1.4.3",
"main": "build/index.js",

@@ -5,0 +5,0 @@ "repository": {

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