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.0 to 0.0.1

4

build/cjs/src/index.js

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

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

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

import _typeof from "reshow-runtime/es/helpers/typeof";
import { FUNCTION } from 'reshow-constant';
import { FUNCTION, UNDEFINED } from 'reshow-constant';
var callFunc = function callFunc(func, args, scope) {
if (FUNCTION === _typeof(func)) {
func.apply(scope, args);
}
return FUNCTION === _typeof(func) ? func.apply(scope, args) : UNDEFINED;
};
export default callFunc;
{
"name": "call-func",
"version": "0.0.0",
"version": "0.0.1",
"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