New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@phensley/decimal

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/decimal - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

2

lib-es/decimal.d.ts

@@ -21,3 +21,3 @@ import { DecimalFormatter, Part } from './format';

*/
export declare type DecimalArg = number | string | Decimal;
export type DecimalArg = number | string | Decimal;
/**

@@ -24,0 +24,0 @@ * Converts a valid argument into a Decimal value.

@@ -8,3 +8,3 @@ import { Decimal, DecimalArg } from './decimal';

*/
export declare type RationalArg = Rational | Decimal | number | string;
export type RationalArg = Rational | Decimal | number | string;
/**

@@ -11,0 +11,0 @@ * Arbitrary precision rational type.

@@ -16,3 +16,3 @@ /**

*/
export declare type RoundingModeType = 'up' | 'down' | 'ceiling' | 'floor' | 'half-up' | 'half-down' | 'half-even';
export type RoundingModeType = 'up' | 'down' | 'ceiling' | 'floor' | 'half-up' | 'half-down' | 'half-even';
/**

@@ -19,0 +19,0 @@ * Sets the scale or precision, and the rounding mode for a math operation.

@@ -21,3 +21,3 @@ import { DecimalFormatter, Part } from './format';

*/
export declare type DecimalArg = number | string | Decimal;
export type DecimalArg = number | string | Decimal;
/**

@@ -24,0 +24,0 @@ * Converts a valid argument into a Decimal value.

@@ -8,3 +8,3 @@ import { Decimal, DecimalArg } from './decimal';

*/
export declare type RationalArg = Rational | Decimal | number | string;
export type RationalArg = Rational | Decimal | number | string;
/**

@@ -11,0 +11,0 @@ * Arbitrary precision rational type.

@@ -16,3 +16,3 @@ /**

*/
export declare type RoundingModeType = 'up' | 'down' | 'ceiling' | 'floor' | 'half-up' | 'half-down' | 'half-even';
export type RoundingModeType = 'up' | 'down' | 'ceiling' | 'floor' | 'half-up' | 'half-down' | 'half-even';
/**

@@ -19,0 +19,0 @@ * Sets the scale or precision, and the rounding mode for a math operation.

{
"name": "@phensley/decimal",
"version": "1.6.5",
"version": "1.6.6",
"description": "Arbitrary precision decimal math",

@@ -23,10 +23,10 @@ "main": "lib/index.js",

"dependencies": {
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"devDependencies": {
"@microsoft/api-extractor": "~7.18.5",
"@types/jest": "^28.1.1",
"@types/node": "^18.7.14",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"add": "^2.0.6",

@@ -36,11 +36,11 @@ "beautify-benchmark": "^0.2.4",

"chalk": "4.1.2",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.3",
"pnpm": "^7.9.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.8",
"typescript": "~4.8.2"
"jest": "^29.4.0",
"pnpm": "^7.26.0",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"ts-jest": "^29.0.5",
"typescript": "~4.9.4"
},

@@ -47,0 +47,0 @@ "jest": {

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