@waiting/shared-core
Advanced tools
Comparing version 14.2.0 to 14.3.0
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 14.1.1 | ||
* @version 14.2.0 | ||
* @author waiting | ||
@@ -378,2 +378,17 @@ * @license MIT | ||
/** | ||
* | ||
* @link https://stackoverflow.com/a/61324746 | ||
*/ | ||
function bigIntMin(...args) { | ||
return args.reduce((acc, curr) => curr < acc ? curr : acc); | ||
} | ||
/** | ||
* | ||
* @link https://stackoverflow.com/a/61324746 | ||
*/ | ||
function bigIntMax(...args) { | ||
return args.reduce((acc, curr) => curr > acc ? curr : acc); | ||
} | ||
/** | ||
* 获取网络信息,不包括回环地址信息 | ||
@@ -574,2 +589,4 @@ */ | ||
exports.assertNeverRx = assertNeverRx; | ||
exports.bigIntMax = bigIntMax; | ||
exports.bigIntMin = bigIntMin; | ||
exports.buf2ab = buf2ab; | ||
@@ -576,0 +593,0 @@ exports.camelToSnakeCase = camelToSnakeCase; |
@@ -7,4 +7,5 @@ export * from './asset'; | ||
export * from './helper'; | ||
export * from './math'; | ||
export * from './net'; | ||
export * from './string'; | ||
export * from './stats'; |
@@ -7,4 +7,5 @@ export * from './asset'; | ||
export * from './helper'; | ||
export * from './math'; | ||
export * from './net'; | ||
export * from './string'; | ||
export * from './stats'; |
{ | ||
"name": "@waiting/shared-core", | ||
"author": "waiting", | ||
"version": "14.2.0", | ||
"version": "14.3.0", | ||
"description": "node core function re export with Promise or Observable", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@waiting/shared-types": "^14.2.0", | ||
"@waiting/shared-types": "^14.3.0", | ||
"rxjs": "7" | ||
@@ -95,3 +95,3 @@ }, | ||
}, | ||
"gitHead": "a636ce9577ce25eb39548739283ca135826442c7" | ||
"gitHead": "03a4d604253172e57c15eb2b07f993da40ce0da3" | ||
} |
@@ -8,2 +8,3 @@ | ||
export * from './helper' | ||
export * from './math' | ||
export * from './net' | ||
@@ -10,0 +11,0 @@ export * from './string' |
Sorry, the diff of this file is not supported yet
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
83180
43
2238