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

calc-test1234

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calc-test1234 - npm Package Compare versions

Comparing version

to
1.2.0

24

dist/index.d.ts
export declare const add: (a: any, b: any) => any;
export declare const subtract: (a: any, b: any) => number;
export declare const multiply: (a: any, b: any) => number;
export declare const divide: (a: any, b: any) => number;
export declare const isFunction: (target: any) => boolean;
export declare const useMount1: (callback: any) => any;
export declare const useMount2: (callback: any) => any;
export declare const useMount3: (callback: any) => any;
export declare const useMount4: (callback: any) => any;
export declare const useMount5: (callback: any) => any;
export declare const useMount6: (callback: any) => any;
export declare const useMount7: (callback: any) => any;
export declare const useMount8: (callback: any) => any;
export declare const useMount9: (callback: any) => any;
export declare const useMount10: (callback: any) => any;
export declare const useMount11: (callback: any) => any;
export declare const useMount12: (callback: any) => any;
export declare const useMount13: (callback: any) => any;
export declare const useMount14: (callback: any) => any;
export declare const useMount15: (callback: any) => any;
export declare const useMount16: (callback: any) => any;
export declare const useMount17: (callback: any) => any;
export declare const useMount18: (callback: any) => any;
export declare const useMount19: (callback: any) => any;
export declare const useMount20: (callback: any) => any;

249

dist/index.js

@@ -1,4 +0,249 @@

const t = (d, o) => d + o;
import { useState as o, useEffect as s } from "react";
const f = (t, n) => t + n, M = (t, n) => t - n, p = (t, n) => t * n, I = (t, n) => t / n, e = (t) => typeof t == "function", c = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, d = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, m = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, y = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, v = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, x = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, E = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, F = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, S = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, g = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, h = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, j = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, q = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, w = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, z = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, A = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, B = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, C = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, D = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
}, G = (t) => {
const [n, r] = o(!1);
return s(() => {
r(!0);
}, []), s(() => {
if (!n || !e(t))
return;
const u = t();
if (e(u))
return u();
}, [n, t]), n;
};
export {
t as add
f as add,
I as divide,
e as isFunction,
p as multiply,
M as subtract,
c as useMount1,
g as useMount10,
h as useMount11,
j as useMount12,
q as useMount13,
w as useMount14,
z as useMount15,
A as useMount16,
B as useMount17,
C as useMount18,
D as useMount19,
d as useMount2,
G as useMount20,
m as useMount3,
y as useMount4,
v as useMount5,
x as useMount6,
E as useMount7,
F as useMount8,
S as useMount9
};

2

package.json
{
"name": "calc-test1234",
"sideEffects": false,
"version": "1.1.0",
"version": "1.2.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet