Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alwatr/math

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwatr/math - npm Package Compare versions

Comparing version 0.30.0 to 0.31.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08)
### Features
- **math:** simpleHashNumber ([dffb285](https://github.com/AliMD/alwatr/commit/dffb285e11cd9652d54d2d22956fc22177d16699))
# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06)

@@ -8,0 +14,0 @@

1

math.d.ts

@@ -145,2 +145,3 @@ import type { TransformRangeOptions } from './type.js';

export declare const calcDiscount: (price: number, finalPrice: number, decimal?: number, upSide?: boolean) => number;
export declare const simpleHashNumber: (num: number) => string;
//# sourceMappingURL=math.d.ts.map

@@ -227,2 +227,5 @@ import { globalAlwatr } from '@alwatr/logger';

};
export const simpleHashNumber = (num) => {
return (num >>> 0).toString(36);
};
//# sourceMappingURL=math.js.map

6

package.json
{
"name": "@alwatr/math",
"version": "0.30.0",
"version": "0.31.0",
"description": "Simple useful Math library written in tiny TypeScript module.",

@@ -33,6 +33,6 @@ "keywords": [

"dependencies": {
"@alwatr/logger": "^0.30.0",
"@alwatr/logger": "^0.31.0",
"tslib": "^2.5.0"
},
"gitHead": "36f55780ccdcb1acc07400b0cdb3fe7b0df56cca"
"gitHead": "896e64b58eed6e9048e870557ecf399d42705612"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc