Comparing version 0.1.1 to 0.1.2
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -18,4 +18,4 @@ * Released under the MIT License. | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -22,0 +22,0 @@ const NUMBER_TAG = "[object Number]"; |
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
10
index.js
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -18,4 +18,4 @@ * Released under the MIT License. | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -570,3 +570,5 @@ const NUMBER_TAG = "[object Number]"; | ||
if (split.length === 1) | ||
return split[0]; | ||
return { | ||
url: split[0] | ||
}; | ||
if (split.length === 2) { | ||
@@ -573,0 +575,0 @@ urlObj["url"] = split[0]; |
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -18,4 +18,4 @@ * Released under the MIT License. | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -22,0 +22,0 @@ const NUMBER_TAG = "[object Number]"; |
@@ -7,4 +7,4 @@ /** | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -344,3 +344,3 @@ /** | ||
*/ | ||
export declare const urlParse: (url: string) => Record<any, any> | string; | ||
export declare const urlParse: (url: string) => Record<string, any>; | ||
declare type BrowserType = "IE7" | "IE8" | "IE9" | "IE10" | "IE11" | "Edge" | "FireFox" | "Opera" | "Chrome" | "Safari" | null; | ||
@@ -347,0 +347,0 @@ /** |
10
lang.js
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -18,4 +18,4 @@ * Released under the MIT License. | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -570,3 +570,5 @@ const NUMBER_TAG = "[object Number]"; | ||
if (split.length === 1) | ||
return split[0]; | ||
return { | ||
url: split[0] | ||
}; | ||
if (split.length === 2) { | ||
@@ -573,0 +575,0 @@ urlObj["url"] = split[0]; |
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -18,4 +18,4 @@ * Released under the MIT License. | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -22,0 +22,0 @@ const NUMBER_TAG = "[object Number]"; |
{ | ||
"name": "funtool", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "funtool是一个JS工具类库,提高工作效率,对数组,对象,字符串等原生功能进行封装", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
/* | ||
* funtool v0.1.1 | ||
* funtool v0.1.2 | ||
* (c) 2022-2022 xiaoqiujun | ||
@@ -18,4 +18,4 @@ * Released under the MIT License. | ||
* @LastEditors: xiaoqiujun | ||
* @LastEditTime: 2022-03-11 11:48:09 | ||
* @FilePath: \funtool\src\lang.ts | ||
* @LastEditTime: 2022-08-17 14:46:54 | ||
* @FilePath: \funtool\src\internal\lang.ts | ||
*/ | ||
@@ -22,0 +22,0 @@ const NUMBER_TAG = "[object Number]"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94621
3105