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

a-calc

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-calc - npm Package Compare versions

Comparing version 2.0.0-dev.20240520 to 2.0.0-dev.20240522

3

a-calc.versions.js

@@ -42,3 +42,4 @@ try{

'1.5.0-dev.2024042406', '2.0.0-dev.20240511', '2.0.0-dev.20240513',
'2.0.0-dev.20240514', '2.0.0-dev.20240517', '2.0.0-dev.20240520'
'2.0.0-dev.20240514', '2.0.0-dev.20240517', '2.0.0-dev.20240520',
'2.0.0-dev.2024052101', '2.0.0-dev.2024052102', '2.0.0-dev.20240522'
]; a_calc_versions;

@@ -45,0 +46,0 @@ }

@@ -108,21 +108,24 @@ import { U, StrRemoveSome, If_StrIncludes, Or } from "typescript-treasure";

export declare const calc: Calc;
export declare const fmt: Calc;
export declare const calc_memo: Calc;
export declare const fmt_memo: Calc;
export declare const calc_wrap: CalcWrap;
export declare const calc_wrap_memo: CalcWrap;
declare const version: string;
export declare const plus: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const sub: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mul: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const div: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const pow: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mod: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const parse_thousands: (str: string) => string;
export declare const plus: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const sub: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mul: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const div: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const pow: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mod: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const plus_memo: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const sub_memo: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mul_memo: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const div_memo: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const pow_memo: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mod_memo: <T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const clear_memo: (config?: {use_count?: number, maximum?: number}) => void;
export declare const get_memo_size: () => number;
export declare const plus_memo: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const sub_memo: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mul_memo: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const div_memo: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const pow_memo: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
export declare const mod_memo: <const T extends "number" | "string" = "number">(a: number|string, b: number|string, type: T) => T extends "number" ? number : string;
{
"name": "a-calc",
"version": "2.0.0-dev.20240520",
"version": "2.0.0-dev.20240522",
"description": "A very powerful and easy-to-use number precision calculation and formatting library.",

@@ -52,2 +52,5 @@ "main": "./es/index.js",

"decimal",
"math",
"expression",
"evaluator",
"arbitrary",

@@ -58,2 +61,3 @@ "precision",

"number",
"parser",
"float",

@@ -60,0 +64,0 @@ "biginteger",

@@ -288,3 +288,3 @@ # a-calc

```typescript
import { calc_memo, fmt_memo, calc_wrap } from "a-calc"
import { calc_memo, fmt_memo, calc_wrap_memo } from "a-calc"
```

@@ -291,0 +291,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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