Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Releases: hckhanh/read-vn-number

v4.1.0

26 Feb 01:58
Compare
Choose a tag to compare

4.1.0 (2024-02-26)

Features

  • build: upgrade to Yarn 4 (396917d)

v4.0.1

03 Apr 09:39
Compare
Choose a tag to compare

4.0.1 (2021-04-03)

Bug Fixes

  • deps: move semantic-release from dependencies to devDependencies (99ef5b6)

v4.0.0

02 Apr 10:34
Compare
Choose a tag to compare

4.0.0 (2021-04-02)

Features

  • restructure build packages (c426a9d)

BREAKING CHANGES

  • there are no es6, esnext and amd for the package anymore. The release package will have cjs, es and types folders instead.

v3.2.1

24 Oct 08:17
Compare
Choose a tag to compare

Bug Fixes

  • gpr: fix GPR workflow to publish GPR package (b9c41ba)

v3.1.0

24 Oct 05:58
Compare
Choose a tag to compare

Features

  • analysis: add CodeQL workflow (af2cf53)
  • package: replace .npmignore by files property to ignore unused files (9740be7)

Bug Fixes

  • styles: fix code styling for codeql-analysis.yml (edc12c2)
  • workflow: correct version of actions/checkout and actions/setup-node actions (8ebc9b5)

Dependencies

  • deps-dev: bump @commitlint/cli from 9.1.2 to 11.0.0 (#106) (762bd33)
  • deps-dev: bump @commitlint/config-conventional (#107) (5c4dc7d)
  • deps-dev: bump @types/node from 14.6.0 to 14.6.2 (#99) (d8696c5)
  • deps-dev: bump @types/node from 14.6.2 to 14.14.2 (#123) (9f66846)
  • deps-dev: bump dependency-cruiser from 9.11.1 to 9.12.0 (#96) (1c8a114)
  • deps-dev: bump dependency-cruiser from 9.12.0 to 9.15.1 (#120) (f851d78)
  • deps-dev: bump eslint-config-prettier from 6.11.0 to 6.14.0 (#127) (b5094d0)
  • deps-dev: bump husky from 4.2.5 to 4.3.0 (#103) (e25d5c0)
  • deps-dev: bump mocha from 8.1.2 to 8.1.3 (#98) (fcf33f8)
  • deps-dev: bump mocha from 8.1.3 to 8.2.0 (#129) (79d4306)
  • deps-dev: bump prettier from 2.1.1 to 2.1.2 (#128) (6999b37)
  • deps-dev: bump typescript from 4.0.2 to 4.0.3 (#126) (63b2cbb)

v3.0.0

26 Aug 14:52
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • drop support for Node.js v10

Features

  • drop support for Node.js v10 (639bd34)

Improvements

  • dependabot: upgrade Dependabot from v1 to v2 (GitHub-native Dependabot) (1b63a27)

Dependencies

  • deps: bump lodash from 4.17.15 to 4.17.20 (#93) (3a3cf40)
  • deps-dev: bump @commitlint/cli from 8.3.5 to 9.1.2 (#83) (2b8e024)
  • deps-dev: bump @commitlint/config-conventional from 8.3.4 to 9.1.2 (#84) (7a350f9)
  • deps-dev: bump @types/chai from 4.2.11 to 4.2.12 (#75) (b76b362)
  • deps-dev: bump @types/mocha from 7.0.2 to 8.0.3 (#86) (061c757)
  • deps-dev: bump @types/node from 14.0.5 to 14.0.9 (86b87e3)
  • deps-dev: bump @types/node from 14.0.9 to 14.6.0 (#85) (6f52b8c)
  • deps-dev: bump mocha from 7.2.0 to 8.1.2 (#90) (49f81d5)
  • deps-dev: bump prettier from 2.0.5 to 2.1.1 (#92) (5bc9aa4)
  • deps-dev: bump standard-version from 8.0.0 to 9.0.0 (#82) (2d2435e)
  • deps-dev: bump standard-version from 8.0.1 to 9.0.0 (#94) (829c279)
  • deps-dev: bump ts-node from 8.10.1 to 8.10.2 (12d7fda)
  • deps-dev: bump ts-node from 8.10.2 to 9.0.0 (#88) (6a54abc)
  • deps-dev: bump typescript from 3.9.3 to 4.0.2 (#87) (bcf6664)

v2.0.3

03 Jun 04:50
Compare
Choose a tag to compare

Improvements

  • dependabot: upgrade Dependabot from v1 to v2 (GitHub-native Dependabot) (1b63a27)

Dependencies

  • deps-dev: bump @types/node from 14.0.5 to 14.0.9 (86b87e3)
  • deps-dev: bump ts-node from 8.10.1 to 8.10.2 (12d7fda)

v2.0.2

28 May 06:37
Compare
Choose a tag to compare
  • Bump typescript from 3.8.3 to 3.9.3 dependencies
  • Bump @types/node from 13.13.5 to 14.0.5 dependencies
  • Bump @typescript-eslint/parser from 2.31.0 to 2.34.0 dependencies
  • Bump @typescript-eslint/eslint-plugin from 2.31.0 to 2.34.0 dependencies

v2.0.1

06 May 11:15
Compare
Choose a tag to compare
  • Update some testing packages

v2.0.0

16 Apr 03:01
Compare
Choose a tag to compare
  • Bump mocha, typescript to latest
  • Upgrade some type packages and dev dependencies

Breaking changes

Import and use in ES6+:

import readNumber from 'read-vn-number'

readNumber('19990000') // or readNumber(19990000)
// output: mười chín triệu chín trăm chín mươi nghìn

or commonjs way:

const readNumber = require('read-vn-number')

readNumber('100000000')
// output: một trăm triệu

If you are working with TypeScript, you can directly import from the source:

import readNumber from 'read-vn-number/src'

readNumber('1000000000')
// output: một tỷ