Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add deep-merge util #1503

Merged
merged 14 commits into from
Sep 23, 2020
Merged

Commits on Sep 5, 2020

  1. feat: add deep-merge utl

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    026dc18 View commit details
    Browse the repository at this point in the history
  2. fix: refactor checking if prop is obj and use Record type

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    b787cca View commit details
    Browse the repository at this point in the history
  3. fix: replace array-props entirely and add tests

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    1d00656 View commit details
    Browse the repository at this point in the history
  4. fix: export deepMerge

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    ce389d1 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. fix: ensure arrays are replaced and that structural source props over…

    …ride primtive target props
    
    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    17532bb View commit details
    Browse the repository at this point in the history
  2. feat: add a max depth param that defaults to 10 to cycle check

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    f4624b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. fix: use Object.entries in lieu of for...in to ensure we are iteratin…

    …g own properties only
    
    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    6570984 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. docs: add jsdoc

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    c34f5c0 View commit details
    Browse the repository at this point in the history
  2. fix: deduplicate prop type checking code via util function

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    388b6c8 View commit details
    Browse the repository at this point in the history
  3. fix: remove unnecessary prop initialization in both are arrays branch

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    a5e55eb View commit details
    Browse the repository at this point in the history
  4. refactor: merge cases to clarify that both props being arrays satisfi…

    …es both props being objects but requires different logic
    
    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    63386b8 View commit details
    Browse the repository at this point in the history
  5. fix: use braces for else branch

    Signed-off-by: Naseem <naseem@transit.app>
    Naseem committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    7322eb8 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    08e7b7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f7bc84 View commit details
    Browse the repository at this point in the history