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.0.0 to 3.0.1

__tests__/tr-TR.test.ts

2

CHANGELOG.md

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

### [3.0.1](https://github.com/mastermunj/to-words/compare/v3.0.0...v3.0.1) (2021-10-23)
## [3.0.0](https://github.com/mastermunj/to-words/compare/v2.5.0...v3.0.0) (2021-09-14)

@@ -7,0 +9,0 @@

@@ -18,2 +18,3 @@ "use strict";

const mr_IN_1 = __importDefault(require("./locales/mr-IN"));
const tr_TR_1 = __importDefault(require("./locales/tr-TR"));
exports.DefaultConverterOptions = {

@@ -60,2 +61,4 @@ currency: false,

return mr_IN_1.default;
case 'tr-TR':
return tr_TR_1.default;
}

@@ -62,0 +65,0 @@ /* eslint-enable @typescript-eslint/no-var-requires */

36

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

@@ -29,10 +29,10 @@ "keywords": [

"clean": "rimraf dist coverage",
"commit": "git-cz",
"lint": "eslint --max-warnings=0 --ext .ts .",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"release": "standard-version",
"release:mock": "npm run release -- --dry-run",
"test": "jest --detectOpenHandles --coverage --no-cache",
"test:watch": "npm run test -- --watch",
"prepare": "husky install",
"commit": "git-cz"
"test:watch": "npm run test -- --watch"
},

@@ -45,7 +45,7 @@ "config": {

"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.172",
"@types/node": "^16.9.1",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.176",
"@types/node": "^16.11.4",
"@types/source-map-support": "^0.5.4",

@@ -58,15 +58,15 @@ "@typescript-eslint/eslint-plugin": "^4.31.1",

"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jest": "^25.0.1",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jest": "^27.2.0",
"lint-staged": "^11.1.2",
"husky": "^7.0.4",
"jest": "^27.3.1",
"lint-staged": "^11.2.3",
"lodash": "^4.17.21",
"prettier": "^2.4.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"sort-package-json": "^1.51.0",
"sort-package-json": "^1.52.0",
"source-map-support": "^0.5.20",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
"standard-version": "^9.3.2",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
},

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

@@ -109,4 +109,5 @@ # Number to Words

| India | Marathi | mr-IN |
| Turkey | Turkish | tr-TR |
## Inspiration for core logic
[https://stackoverflow.com/a/46221860](https://stackoverflow.com/a/46221860)

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

import mrIn from './locales/mr-IN';
import trTr from './locales/tr-TR';

@@ -61,2 +62,4 @@ export const DefaultConverterOptions: ConverterOptions = {

return mrIn;
case 'tr-TR':
return trTr;
}

@@ -63,0 +66,0 @@ /* eslint-enable @typescript-eslint/no-var-requires */

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