Skip to content

Version 3.0.0-beta.6

Pre-release
Pre-release

Choose a tag to compare

@Taar Taar released this 25 Jan 18:39
· 23 commits to main since this release

General

  • Add .js to all import statements to better support esm modules
  • Fixed some styling issues
  • Refactor package so that measures can be imported/required independantly
  • Move definitions index.ts file to all.ts
  • Remove measure export from all.ts
  • Fix import statements in tests
  • Update tsconfig configs so that types are included in their own folder inside
  • Update package.json to better support esm and typescript package requirements
  • Replace ts-ignore with ts-expect-error in tests

Measures

  • Add mil/mils as imperial length unit (1/1000th of an inch)
  • Fixed Kelvin singular and plural values
  • Add Ws (Watt-second) and Wm (Watt-minute)
  • Add mH2O and mmHg pressure conversions
  • Add torque
  • Add kilogram-force to force
  • Add stones
  • Add calorie and kcalorie as new nutritional energy units

Development

  • Update development dependencies
  • Update node versions for ci runner