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

to-words

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-words - npm Package Compare versions

Comparing version 3.6.1 to 3.7.0

__tests__/fr-BE.test.ts

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [3.7.0](https://github.com/mastermunj/to-words/compare/v3.6.1...v3.7.0) (2023-11-28)
### Features
* **locale:** add fr-BE support ([85de6d0](https://github.com/mastermunj/to-words/commit/85de6d0ae86f775205d99b01010b06e86f54489d))
### [3.6.1](https://github.com/mastermunj/to-words/compare/v3.6.0...v3.6.1) (2023-06-27)

@@ -7,0 +14,0 @@

@@ -17,3 +17,5 @@ "use strict";

const en_GB_1 = __importDefault(require("./locales/en-GB"));
const en_PH_1 = __importDefault(require("./locales/en-PH"));
const fa_IR_1 = __importDefault(require("./locales/fa-IR"));
const fr_BE_1 = __importDefault(require("./locales/fr-BE"));
const fr_FR_1 = __importDefault(require("./locales/fr-FR"));

@@ -68,4 +70,8 @@ const gu_IN_1 = __importDefault(require("./locales/gu-IN"));

return en_GB_1.default;
case 'en-PH':
return en_PH_1.default;
case 'fa-IR':
return fa_IR_1.default;
case 'fr-BE':
return fr_BE_1.default;
case 'fr-FR':

@@ -72,0 +78,0 @@ return fr_FR_1.default;

40

package.json
{
"name": "to-words",
"version": "3.6.1",
"version": "3.7.0",
"description": "Converts numbers (including decimal points) into words & currency.",

@@ -44,27 +44,27 @@ "keywords": [

"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.2",
"@types/source-map-support": "^0.5.6",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.202",
"@types/node": "^20.10.0",
"@types/source-map-support": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"lodash": "^4.17.21",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"sort-package-json": "^1.57.0",
"source-map-support": "^0.5.21",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.0",
"typescript": "^5.1.3"
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
},

@@ -71,0 +71,0 @@ "engines": {

@@ -121,2 +121,3 @@ # Number to Words

| Iran | Persian | fa-IR |
| Belgium | French | fr-BE |
| France | French | fr-FR |

@@ -123,0 +124,0 @@ | India | Gujarati | gu-IN |

@@ -14,2 +14,3 @@ import { ConstructorOf, ConverterOptions, LocaleInterface, NumberWordMap, ToWordsOptions } from './types';

import faIr from './locales/fa-IR';
import frBe from './locales/fr-BE';
import frFr from './locales/fr-FR';

@@ -74,2 +75,4 @@ import guIn from './locales/gu-IN';

return faIr;
case 'fr-BE':
return frBe;
case 'fr-FR':

@@ -76,0 +79,0 @@ return frFr;

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