calc-test1234
Advanced tools
Comparing version
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; |
@@ -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 | ||
}; |
{ | ||
"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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
13241
226.05%289
4028.57%2
100%