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

call-func

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

call-func - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

build/cjs/src/index.js

@@ -15,3 +15,3 @@ "use strict";

var callFunc = function callFunc(func, args, scope) {
return _reshowConstant.FUNCTION === (0, _typeof2.default)(func) ? func.apply(scope, args) : undefined;
return _reshowConstant.FUNCTION === (0, _typeof2.default)(func) ? func.apply(scope, args) : func;
};

@@ -18,0 +18,0 @@

@@ -5,5 +5,5 @@ import _typeof from "reshow-runtime/es/helpers/typeof";

var callFunc = function callFunc(func, args, scope) {
return FUNCTION === _typeof(func) ? func.apply(scope, args) : undefined;
return FUNCTION === _typeof(func) ? func.apply(scope, args) : func;
};
export default callFunc;
{
"name": "call-func",
"version": "0.0.2",
"version": "0.0.3",
"description": "call function",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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