🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

isenser-tool

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isenser-tool - npm Package Compare versions

Comparing version
0.0.4
to
0.0.5
+2
-0
lib/index.d.ts
declare function sum(a: any, b: any): any;
export declare const getQueryVariable: (variable: any) => string | false;
declare const FUtils: {
sum: typeof sum;
getQueryVariable: (variable: any) => string | false;
};
export default FUtils;
function sum(a, b) {
return a + b + 1 + 3 + 1 + 10;
}
const getQueryVariable = (variable) => {
var query = window.location.search.substring(1);
var vars = query.split('&');
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split('=');
if (pair[0] == variable) {
return pair[1];
}
}
return false;
};
// 方法
const FUtils = {
sum
sum,
getQueryVariable
};
export { FUtils };
+1
-1
{
"name": "isenser-tool",
"version": "0.0.4",
"version": "0.0.5",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",