Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bpierre/dnum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10.1
Choose a base ref
...
head repository: bpierre/dnum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Nov 20, 2022

  1. Copy the full SHA
    f704de4 View commit details
  2. 1.10.2

    bpierre committed Nov 20, 2022
    Copy the full SHA
    459ace1 View commit details
  3. Copy the full SHA
    712581b View commit details
  4. README: add usage

    bpierre committed Nov 20, 2022
    Copy the full SHA
    b3cd251 View commit details
  5. README tweaks

    bpierre authored Nov 20, 2022
    Copy the full SHA
    45f2f30 View commit details
  6. 2.0.0

    bpierre committed Nov 20, 2022
    Copy the full SHA
    31287ea View commit details
  7. README tweaks

    bpierre committed Nov 20, 2022
    Copy the full SHA
    b0acbe7 View commit details

Commits on Nov 29, 2022

  1. Add remainder()

    bpierre committed Nov 29, 2022
    Copy the full SHA
    b10d37c View commit details
  2. Add compare()

    bpierre committed Nov 29, 2022
    Copy the full SHA
    530a83a View commit details
  3. Copy the full SHA
    71d3ac8 View commit details
  4. 2.1.0

    bpierre committed Nov 29, 2022
    Copy the full SHA
    ffd9798 View commit details

Commits on Feb 6, 2023

  1. Copy the full SHA
    9bc58de View commit details
  2. 2.2.0

    bpierre committed Feb 6, 2023
    Copy the full SHA
    823963c View commit details
  3. Copy the full SHA
    2f1d136 View commit details
  4. 2.3.0

    bpierre committed Feb 6, 2023
    Copy the full SHA
    76cfdfd View commit details

Commits on Feb 14, 2023

  1. Copy the full SHA
    5e3f3a5 View commit details
  2. upgrade dev dependencies

    bpierre committed Feb 14, 2023
    Copy the full SHA
    ac44f02 View commit details
  3. 2.3.1

    bpierre committed Feb 14, 2023
    Copy the full SHA
    ed3390b View commit details
  4. 2.3.2

    bpierre committed Feb 14, 2023
    Copy the full SHA
    9bf3697 View commit details

Commits on Feb 20, 2023

  1. Copy the full SHA
    c39e77a View commit details
  2. 2.4.0

    bpierre committed Feb 20, 2023
    Copy the full SHA
    a95742d View commit details
  3. 2.4.1

    bpierre committed Feb 20, 2023
    Copy the full SHA
    3e9a458 View commit details

Commits on Feb 21, 2023

  1. Copy the full SHA
    3f0485c View commit details
  2. 2.5.0

    bpierre committed Feb 21, 2023
    Copy the full SHA
    32db192 View commit details

Commits on Feb 22, 2023

  1. Update README.md

    bpierre authored Feb 22, 2023
    Copy the full SHA
    1ef9330 View commit details

Commits on May 1, 2023

  1. compare() bug fix + cmp() alias

    Fixes a bug where compare() could return incorrect values.
    
    Also add the cmp() alias.
    bpierre committed May 1, 2023
    Copy the full SHA
    6f5b048 View commit details
  2. 2.6.0

    bpierre committed May 1, 2023
    Copy the full SHA
    6bbbad6 View commit details

Commits on May 15, 2023

  1. Copy the full SHA
    680f4ad View commit details
  2. 2.6.1

    bpierre committed May 15, 2023
    Copy the full SHA
    e5587d5 View commit details

Commits on May 16, 2023

  1. Copy the full SHA
    8385499 View commit details
  2. Upgrade dependencies

    bpierre committed May 16, 2023
    Copy the full SHA
    e348395 View commit details
  3. 2.7.0

    bpierre committed May 16, 2023
    Copy the full SHA
    dbd29a3 View commit details
  4. Copy the full SHA
    e61ff3e View commit details

Commits on Aug 8, 2023

  1. Upgrade dependencies

    bpierre committed Aug 8, 2023
    Copy the full SHA
    08bf9b8 View commit details

Commits on Sep 2, 2023

  1. Add dprint.json

    bpierre committed Sep 2, 2023
    Copy the full SHA
    5ac1342 View commit details
  2. README tweaks

    bpierre committed Sep 2, 2023
    Copy the full SHA
    20bd9da View commit details
  3. package.json metadata

    bpierre committed Sep 2, 2023
    Copy the full SHA
    a1ccf99 View commit details
  4. 2.7.1

    bpierre committed Sep 2, 2023
    Copy the full SHA
    39d5aaf View commit details
  5. more package.json metadata

    bpierre committed Sep 2, 2023
    Copy the full SHA
    3d45711 View commit details
  6. 2.7.2

    bpierre committed Sep 2, 2023
    Copy the full SHA
    00c7515 View commit details
  7. Copy the full SHA
    aed36ae View commit details
  8. 2.7.3

    bpierre committed Sep 2, 2023
    Copy the full SHA
    0c7723b View commit details

Commits on Sep 10, 2023

  1. Bundlephobia => bundlejs

    bpierre committed Sep 10, 2023
    Copy the full SHA
    0b67c10 View commit details

Commits on Sep 14, 2023

  1. Improve sign handling

    API changes:
    
    - format(): add the signDisplay option, which allows to control how to
      display the sign for the number. It follows the same rules as
      Intl.NumberFormat#signDisplay.
    
    Internal changes:
    
    - formatSign(): (internal) returns a number sign.
    - toParts(): (internal) the whole part is now always positive. This is
      to make its behavior consistent: before this change, the sign was only
      removed when the value of the whole part was 0.
    
    Bug fixes:
    
    - Fixes an issue with the format() function where the sign was missing
      from negative numbers with a whole part equal to 0.
    bpierre committed Sep 14, 2023
    Copy the full SHA
    56e4412 View commit details
  2. 2.8.0

    bpierre committed Sep 14, 2023
    Copy the full SHA
    cfa3c01 View commit details
  3. 2.8.1

    bpierre committed Sep 14, 2023
    Copy the full SHA
    9059fc0 View commit details

Commits on Sep 23, 2023

  1. README tweaks

    bpierre committed Sep 23, 2023
    Copy the full SHA
    05c8e55 View commit details

Commits on Sep 24, 2023

  1. README tweaks

    bpierre committed Sep 24, 2023
    Copy the full SHA
    5f1d648 View commit details
  2. Documentation fixes

    bpierre committed Sep 24, 2023
    Copy the full SHA
    0edde1b View commit details

Commits on Sep 25, 2023

  1. Add toString() (#5)

    bpierre authored Sep 25, 2023
    Copy the full SHA
    89b2477 View commit details
Showing with 2,557 additions and 1,150 deletions.
  1. +215 −97 README.md
  2. +20 −0 dprint.json
  3. +29 −12 package.json
  4. +1,403 −899 pnpm-lock.yaml
  5. +15 −1 src/api.ts
  6. +107 −49 src/dnum.ts
  7. +49 −20 src/formatting.ts
  8. +1 −3 src/index.ts
  9. +81 −32 src/operations.ts
  10. +10 −2 src/types.ts
  11. +53 −3 src/utils.ts
  12. +3 −0 test/__snapshots__/all.test.ts.snap
  13. +566 −30 test/all.test.ts
  14. +1 −1 tsconfig.json
  15. +4 −1 vite.config.ts
Loading