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: BridgeAR/safe-stable-stringify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.0
Choose a base ref
...
head repository: BridgeAR/safe-stable-stringify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.3
Choose a head ref
  • 12 commits
  • 8 files changed
  • 2 contributors

Commits on Oct 18, 2022

  1. fix: improve type definition

    The current typescript definition always indicated a string
    as return type. That is faulty for values such as `undefined` or symbol
    values.
    The new return type determins the correct return type depending on the
    input type.
    
    Fixes: #35
    BridgeAR committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    b1e3834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c7a56b8 View commit details
    Browse the repository at this point in the history
  3. v2.4.1

    BridgeAR committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    bd81883 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2022

  1. Configuration menu
    Copy the full SHA
    da26e92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db232a7 View commit details
    Browse the repository at this point in the history
  3. fix: improve replacer type definition

    The replacer type may return an object while still guaranteeing that
    the overall return type is string.
    
    Change the tsconfig moduleResolution to nodenext to properly test
    the esm type definition.
    BridgeAR committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    978d49d View commit details
    Browse the repository at this point in the history
  4. v2.4.2

    BridgeAR committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    c466573 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. fix: pass array keys as string to replacer function

    Array keys were wrongly passed through as number before.
    
    Fixes: #42
    BridgeAR committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    5c078f2 View commit details
    Browse the repository at this point in the history
  2. perf: improve performance to escape big strings

    The time to escape strings that contained characters that needed
    escaping is now lower than before. Native JSON.stringify() got a
    lot faster in newer versions and may now be used directly.
    
    This has to side effect to also reduce the code size a bit.
    BridgeAR committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    dbc5143 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fb1724 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26dc000 View commit details
    Browse the repository at this point in the history
  5. v2.4.3

    BridgeAR committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    17b13b8 View commit details
    Browse the repository at this point in the history
Loading