Socket
Socket
Sign inDemoInstall

format-money-js

Package Overview
Dependencies
104
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

4

dist/format-money.d.ts
/*!
* format-money-js v1.5.0
* format-money-js v1.5.1
* (c) 2020-2022 Yurii Derevych

@@ -29,4 +29,4 @@ * Sponsored by https://currencyrate.today/

constructor(options?: FormatMoneyOptions);
from: (number: number, options: FormatMoneyOptions, parse?: boolean) => string | number | FormatMoneyParse | undefined;
from: (number: number, options: FormatMoneyOptions | {}, parse?: boolean) => string | number | FormatMoneyParse | undefined;
un: (value: (string | number), options: FormatMoneyOptions) => number | undefined;
}
"use strict";
/*!
* format-money-js v1.5.0
* format-money-js v1.5.1
* (c) 2020-2022 Yurii Derevych

@@ -5,0 +5,0 @@ * Sponsored by https://currencyrate.today/

{
"name": "format-money-js",
"description": "Zero dependency tiny JavaScript library (1kB bytes) by CurrencyRate.today, providing simple way and advanced number, money and currency formatting and removes all formatting/cruft and returns the raw float value.",
"version": "1.5.0",
"version": "1.5.1",
"license": "BSD-2-Clause",

@@ -6,0 +6,0 @@ "main": "./dist/format-money.js",

/*!
* format-money-js v1.5.0
* format-money-js v1.5.1
* (c) 2020-2022 Yurii Derevych

@@ -50,3 +50,3 @@ * Sponsored by https://currencyrate.today/

from = (number: number,
options: FormatMoneyOptions,
options: FormatMoneyOptions | {},
parse: boolean = false): string | number | FormatMoneyParse | undefined => {

@@ -53,0 +53,0 @@ const opt = {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc