precise
Version:
Precision timer for nanosecond differences
95 lines (58 loc) • 5.75 kB
Markdown
### Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [4.0.3](https://github.com/avoidwork/precise/compare/4.0.3...4.0.3)
#### [4.0.3](https://github.com/avoidwork/precise/compare/4.0.2...4.0.3)
> 10 October 2023
- Bump eslint from 8.50.0 to 8.51.0 [`#5`](https://github.com/avoidwork/precise/pull/5)
- Bump rollup from 4.0.0 to 4.0.2 [`#4`](https://github.com/avoidwork/precise/pull/4)
- Setting extension of `main` to `.cjs` for deprecated tooling [`50059e8`](https://github.com/avoidwork/precise/commit/50059e8b7110ebac117121bcb356ef978a07c659)
- Generating CHANGELOG.md [`937ed5d`](https://github.com/avoidwork/precise/commit/937ed5d200a533f6f62b55a9c460bb640fdaf200)
- Testing with node.js 20 only (for now) [`d68e451`](https://github.com/avoidwork/precise/commit/d68e4513e7b0b845c305f3088b3a66ef6c244eb4)
#### [4.0.2](https://github.com/avoidwork/precise/compare/4.0.1...4.0.2)
> 6 October 2023
- Bump rollup from 3.29.4 to 4.0.0 [`#3`](https://github.com/avoidwork/precise/pull/3)
- Updating casing on old constants [`108382a`](https://github.com/avoidwork/precise/commit/108382ae65e6cfa0a2a6d7c34ed1ebcc5a7da499)
- Generating CHANGELOG.md [`06b226b`](https://github.com/avoidwork/precise/commit/06b226b0bf07a592043dfddd13b8766b60657a0b)
#### [4.0.1](https://github.com/avoidwork/precise/compare/4.0.0...4.0.1)
> 5 October 2023
- Adding a conditional & assertion for a `diff()` case [`147438b`](https://github.com/avoidwork/precise/commit/147438bbbd0b7e07859d78003acf805f4144ac3b)
- Generating CHANGELOG.md [`bc45b96`](https://github.com/avoidwork/precise/commit/bc45b966c22c2f006fcf2b644a5d96b49146e354)
### [4.0.0](https://github.com/avoidwork/precise/compare/3.1.0...4.0.0)
> 4 October 2023
- Adding `reset()`, adding CoPilot generated tests, updating README.md, version bump [`786a756`](https://github.com/avoidwork/precise/commit/786a756ccb45bf72faadcaee1b773d5a1819845f)
- Generating CHANGELOG.md [`3b754c0`](https://github.com/avoidwork/precise/commit/3b754c0da05de02320f02c3bdaf04c2de1e5721f)
- Adding a test for different values across time [`fa76a21`](https://github.com/avoidwork/precise/commit/fa76a216e66055cb85dd9a5066ef21f31f110f29)
#### [3.1.0](https://github.com/avoidwork/precise/compare/3.0.0...3.1.0)
> 4 October 2023
- Refactoring to utilize `process.hrtime.bigint()` [`dda0a39`](https://github.com/avoidwork/precise/commit/dda0a3929cb3f2ffb4961b44eb84bcc43ad219ef)
- Generating CHANGELOG.md [`05199ba`](https://github.com/avoidwork/precise/commit/05199ba88193d31bb1c50c252fc11bcfdec2d06f)
- Updating tests to use `strictEqual()` [`9276f74`](https://github.com/avoidwork/precise/commit/9276f74671a6e836bde76c49cc428ab626731cb0)
### [3.0.0](https://github.com/avoidwork/precise/compare/2.0.1...3.0.0)
> 4 October 2023
- Adding `husky` for precommit hook, fixing reference errors in tests, adding `nyc` to report test coverage, updating README.md, updating LICENSE, updating `.gitignore`, updating `.npmignore`, changing filenames in `dist`, version bump [`39f6d37`](https://github.com/avoidwork/precise/commit/39f6d37dfc0d1da81b3482f9c37bf53ae7ccd130)
- Adding `.github` files [`d66de7a`](https://github.com/avoidwork/precise/commit/d66de7ac67a65a864554f2c6c5011b09c21f9468)
- Updating types with manual specification [`ba9ae0d`](https://github.com/avoidwork/precise/commit/ba9ae0d8ff11d24f74a00b778eb1415672572504)
#### [2.0.1](https://github.com/avoidwork/precise/compare/2.0.0...2.0.1)
> 3 January 2023
- Updating dependencies, lowering 'engine' constraint to 10.4.0 to align with bigint support for required vm [`c929505`](https://github.com/avoidwork/precise/commit/c929505a5899b9a949030b31a1c18b1189bff204)
- Adding changelog [`484fbcd`](https://github.com/avoidwork/precise/commit/484fbcd4da3d82f49725bf5963744af960db0c1d)
- Updating CHANGELOG.md [`e1b0260`](https://github.com/avoidwork/precise/commit/e1b0260aeb8c62cb6a89125136707b56a6020a0f)
### [2.0.0](https://github.com/avoidwork/precise/compare/1.1.0...2.0.0)
> 5 September 2022
- ES Module [`#1`](https://github.com/avoidwork/precise/pull/1)
- Rewriting as an ES module, updating tests, refactoring `diff()` to return milliseconds via optional parameter [`c5bc236`](https://github.com/avoidwork/precise/commit/c5bc236056e1e5c25f0f653ddc46ae38f596d511)
#### [1.1.0](https://github.com/avoidwork/precise/compare/1.0.1...1.1.0)
> 3 September 2015
- Switching to an ES6 code base, implementing eslint & babel, fixing type mutation of `started` & `stopped` properties [`cfa6f1e`](https://github.com/avoidwork/precise/commit/cfa6f1e1703e268a5623a11330468401ee776695)
- Reducing banner [`60af287`](https://github.com/avoidwork/precise/commit/60af2872d6720b334f3a8badc1ea8f0efc00a26e)
- Updating license [`2f27604`](https://github.com/avoidwork/precise/commit/2f27604054c42040b2cb8d1ca76b9ef83a7bf388)
#### [1.0.1](https://github.com/avoidwork/precise/compare/1.0.0...1.0.1)
> 25 April 2014
- Removing `dependencies` from `package.json` (copy error) [`dae4f9c`](https://github.com/avoidwork/precise/commit/dae4f9c5c69c38b4ff2b2fcc87d533345c484828)
- Updating CHANGELOG [`930721a`](https://github.com/avoidwork/precise/commit/930721a0e5ffe4772052869547a61e5be3a859c0)
#### 1.0.0
> 25 April 2014
- Initial commit of code [`42e6344`](https://github.com/avoidwork/precise/commit/42e634434856f22680a0c3741fd363a74682bf15)
- Initial commit [`119f74a`](https://github.com/avoidwork/precise/commit/119f74aa89bcb5e047f7203ca80953093ab07c69)
- Updating CHANGELOG & fixing package.json for travis-ci [`c74df13`](https://github.com/avoidwork/precise/commit/c74df13cd8c4fefe7bfd4d0f8d16a7084bba81cb)