Socket
Socket
Sign inDemoInstall

test

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "test",
"version": "0.2.0",
"version": "0.2.1",
"description": "CommonJS test runner for Unit Testing/1.1",

@@ -5,0 +5,0 @@ "keywords": [ "test", "commonjs", "unit test" ],

@@ -58,3 +58,3 @@ /* vim:set ts=2 sw=2 sts=2 expandtab */

function isRegExp(value) {
return isObject(value) && instanceOf(value, RegExp);
return instanceOf(value, RegExp);
}

@@ -79,3 +79,3 @@ exports.isRegExp = isRegExp;

function isFunction(value) {
return typeof value === "function";
return typeof value === "function" && value.call && value.apply;
}

@@ -82,0 +82,0 @@ exports.isFunction = isFunction;

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