@yuenu/utils-collection
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1,1 +0,6 @@ | ||
export declare function getMoneyNumbersFromString(str: string): string; | ||
/** | ||
* | ||
* @param {string | number} str | ||
* @returns {string} | ||
*/ | ||
export declare const getMoneyNumbersFromString: (str: string | number) => string; |
@@ -1,2 +0,2 @@ | ||
function t(t){if("string"!=typeof t)return"";let e=t.replace(/\D/g,"");return"0"===e.charAt(0)&&e.length>1&&(e=e.slice(1)),e}function e(t,e){return t+e}export{t as getMoneyNumbersFromString,e as sum}; | ||
const e=e=>{if("string"!=typeof e)return"";let t=e.replace(/\D/g,"");return"0"===t.charAt(0)&&t.length>1&&(t=t.slice(1)),t},t=(e,t)=>e+t;export{e as getMoneyNumbersFromString,t as sum}; | ||
//# sourceMappingURL=index.min.js.map |
@@ -1,1 +0,3 @@ | ||
export declare function sum(num1: number, num2: number): number; | ||
type sumType = (a: number, b: number) => number; | ||
export declare const sum: sumType; | ||
export {}; |
{ | ||
"name": "@yuenu/utils-collection", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "utils collection", | ||
@@ -15,2 +15,3 @@ "main": "dist/index.min.js", | ||
"@rollup/plugin-typescript": "^11.1.0", | ||
"@types/jest": "^29.5.0", | ||
"jest": "^29.5.0", | ||
@@ -17,0 +18,0 @@ "rollup": "^2.79.1", |
Sorry, the diff of this file is not supported yet
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
2868
10
25
0
7