-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix(get-struct-paths): path with empty keys #48
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #48 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 67 69 +2
Branches 26 28 +2
=========================================
+ Hits 67 69 +2
☔ View full report in Codecov by Sentry. |
lukascivil
changed the title
fix: root path vs empty path
fix(get-struct-paths): path with empty keys
Jul 25, 2023
github-actions bot
pushed a commit
that referenced
this pull request
Aug 1, 2023
## 1.0.0 (2023-08-01) ### Features * add cli package ([#52](#52)) ([61b11ce](61b11ce)) * add lodash like result ([#29](#29)) ([c5a78ee](c5a78ee)) * add stress example ([#10](#10)) ([4f4a078](4f4a078)) * change delta interface ([99f829c](99f829c)) * change result struct ([456c37b](456c37b)) * change result struct ([b17a195](b17a195)) * change result struct to list way ([186c349](186c349)) * **core:** [BC] improve capture of node operations ([#40](#40)) ([ad1bf8a](ad1bf8a)) * **get-diff:** add json string support ([#53](#53)) ([77a0926](77a0926)) * replace oldValue and newValue with simple array ([16e9652](16e9652)) ### Bug Fixes * adjust base url ([#46](#46)) ([2246be1](2246be1)) * browser test error ([b2d5da3](b2d5da3)) * **core:** unnecessary path was captured ([#51](#51)) ([396b19d](396b19d)) * example code ([56dfe3c](56dfe3c)) * **get-struct-paths:** path with empty keys ([#48](#48)) ([ab9831e](ab9831e)) * gh pages 404 ([#45](#45)) ([f5dc714](f5dc714)) * json object was expected ([a308b75](a308b75)) * keys from object are equals to array ([#27](#27)) ([208cb5a](208cb5a)) * lint command ([b77e1ea](b77e1ea)) * null as object ([#30](#30)) ([31cc536](31cc536)) * object values was not working on diff ([b0f7747](b0f7747)) * only differentiates the first value ([8d0c3b6](8d0c3b6)) * packages not found ([e51d503](e51d503)) * prettier and eslint problems ([8df3326](8df3326)) * root path was not collected ([#47](#47)) ([cd0d1e1](cd0d1e1)) * wrong path ([4ae34d6](4ae34d6)) ### Chores * ad release to root ([d2c643b](d2c643b)) * add ls ([5a366a1](5a366a1)) * add pending config ([5a897c7](5a897c7)) * add pending semantic release generator package ([32b71f3](32b71f3)) * add pending semantic release plugin ([219ac06](219ac06)) * add permissions ([dd5db2f](dd5db2f)) * add preset to jest config ([3a50285](3a50285)) * add release branch config ([10ec237](10ec237)) * add semantic packages ([49d5b2a](49d5b2a)) * add semantic-release ([7f88d21](7f88d21)) * add tslint ([a009dff](a009dff)) * add vite builder ([5192376](5192376)) * adjust config ([44a2c3a](44a2c3a)) * adjust config ([e65d2e3](e65d2e3)) * adjust export ([#36](#36)) ([9dc182c](9dc182c)) * adjust keys ([5fa95c5](5fa95c5)) * adjust node version ([7cdb451](7cdb451)) * adjust path ([9cc3cd3](9cc3cd3)) * adjust path ([655f381](655f381)) * adjust path ([69f39fe](69f39fe)) * adjust paths ([f323a30](f323a30)) * adjust release ([e871851](e871851)) * adjust semantic release ([a4d774b](a4d774b)) * ajust semantic path ([e1cd3ac](e1cd3ac)) * build browser scripts ([c7e3b5c](c7e3b5c)) * build browser scripts ([3ac98db](3ac98db)) * change ci config ([378700c](378700c)) * change npm env ([b65a502](b65a502)) * fix ci config ([8c9a8d0](8c9a8d0)) * fix ci config file ([7ca5d4f](7ca5d4f)) * fix ci lint ([d03d67b](d03d67b)) * fix lib types ([992c601](992c601)) * fix security dependencies ([3c0a491](3c0a491)) * fix token was not found ([b0d6d18](b0d6d18)) * fix token was not found ([975acbd](975acbd)) * ignore coverage folder ([c1b2baf](c1b2baf)) * migrate from travis to github actions ([417645c](417645c)) * **monorepo:** configure NX integrated repo and semantic release ([#55](#55)) ([83cae8d](83cae8d)) * replace npm to yarn for semantic release ([4e6046d](4e6046d)) * test copy ([368b263](368b263)) * update build ([3d6775b](3d6775b)) * update build scripts ([2fed5dd](2fed5dd)) * update build scripts ([8109280](8109280)) * update ci config ([1d1b6c6](1d1b6c6)) * update jest config ([34fdd4d](34fdd4d)) * Update release.yml ([#56](#56)) ([cd60cef](cd60cef)) * upgrade app ([c81a30c](c81a30c)) * upgrade app ([e953bc9](e953bc9)) * upgrade app version ([a827fda](a827fda)) * upgrade app version ([f5bb478](f5bb478)) * upgrade app version ([f50d76a](f50d76a)) * upgrade app version ([9c92ebd](9c92ebd)) * upgrade app version ([92ddf84](92ddf84)) * upgrade app version ([1438538](1438538)) * upgrade app version ([42423cf](42423cf)) * upgrade example packages ([f7e254b](f7e254b)) * upgrade json-difference ([#37](#37)) ([03a8caa](03a8caa)) * upgrade json-difference package ([b46adb8](b46adb8)) * upgrade packages ([7dee7fa](7dee7fa)) * upgrade packages ([511cf8d](511cf8d)) * upgrade packages and adjust models export ([#35](#35)) ([44dae26](44dae26)) ### Documentation * add gh pages ([#44](#44)) ([f7692fb](f7692fb)) * add publish package badge ([14ede8c](14ede8c)) * migrate travis badge to git-hub actions ([93ab88c](93ab88c)) * update docs ([e79e078](e79e078)) * update readme ([6c13a02](6c13a02)) * update readme ([eb25167](eb25167)) * update readme ([21f27be](21f27be)) * update readme ([38b391e](38b391e)) * update readme ([a5826d2](a5826d2)) * update README.md ([#49](#49)) ([0940cd4](0940cd4)) ### Style * prettier format ([71a980f](71a980f)) ### Refactoring * adjust types ([65aa8e3](65aa8e3)) * split class methods into pure functions ([13d5b01](13d5b01)) * update diff by key ([30892d5](30892d5)) ### Tests * add function tests ([b1c022b](b1c022b)) * add more test to cover object as value ([f41556a](f41556a)) * adjust tests ([bca0b60](bca0b60))
github-actions bot
pushed a commit
that referenced
this pull request
Aug 1, 2023
## 1.0.0 (2023-08-01) ### Features * add cli package ([#52](#52)) ([61b11ce](61b11ce)) * add info ([2e91e8d](2e91e8d)) * add lodash like result ([#29](#29)) ([c5a78ee](c5a78ee)) * add some adjusts ([76f8565](76f8565)) * add some adjusts ([ecf4782](ecf4782)) * add some adjusts ([79b13d6](79b13d6)) * add some adjusts ([55f67d4](55f67d4)) * add stress example ([#10](#10)) ([4f4a078](4f4a078)) * adjust path ([bdb1ac4](bdb1ac4)) * change delta interface ([99f829c](99f829c)) * change result struct ([456c37b](456c37b)) * change result struct ([b17a195](b17a195)) * change result struct to list way ([186c349](186c349)) * **core:** [BC] improve capture of node operations ([#40](#40)) ([ad1bf8a](ad1bf8a)) * fix wrong param ([9c73216](9c73216)) * **get-diff:** add json string support ([#53](#53)) ([77a0926](77a0926)) * improve ([b3ef07f](b3ef07f)) * replace oldValue and newValue with simple array ([16e9652](16e9652)) ### Bug Fixes * adjust base url ([#46](#46)) ([2246be1](2246be1)) * browser test error ([b2d5da3](b2d5da3)) * **core:** unnecessary path was captured ([#51](#51)) ([396b19d](396b19d)) * example code ([56dfe3c](56dfe3c)) * **get-struct-paths:** path with empty keys ([#48](#48)) ([ab9831e](ab9831e)) * gh pages 404 ([#45](#45)) ([f5dc714](f5dc714)) * json object was expected ([a308b75](a308b75)) * keys from object are equals to array ([#27](#27)) ([208cb5a](208cb5a)) * lint command ([b77e1ea](b77e1ea)) * null as object ([#30](#30)) ([31cc536](31cc536)) * object values was not working on diff ([b0f7747](b0f7747)) * only differentiates the first value ([8d0c3b6](8d0c3b6)) * packages not found ([e51d503](e51d503)) * prettier and eslint problems ([8df3326](8df3326)) * root path was not collected ([#47](#47)) ([cd0d1e1](cd0d1e1)) * wrong path ([4ae34d6](4ae34d6)) ### Chores * ad release to root ([d2c643b](d2c643b)) * add ls ([5a366a1](5a366a1)) * add pending config ([5a897c7](5a897c7)) * add pending semantic release generator package ([32b71f3](32b71f3)) * add pending semantic release plugin ([219ac06](219ac06)) * add permissions ([dd5db2f](dd5db2f)) * add preset to jest config ([3a50285](3a50285)) * add release branch config ([10ec237](10ec237)) * add semantic packages ([49d5b2a](49d5b2a)) * add semantic-release ([7f88d21](7f88d21)) * add tslint ([a009dff](a009dff)) * add vite builder ([5192376](5192376)) * adjust config ([44a2c3a](44a2c3a)) * adjust config ([e65d2e3](e65d2e3)) * adjust export ([#36](#36)) ([9dc182c](9dc182c)) * adjust keys ([5fa95c5](5fa95c5)) * adjust node version ([7cdb451](7cdb451)) * adjust path ([9cc3cd3](9cc3cd3)) * adjust path ([655f381](655f381)) * adjust path ([69f39fe](69f39fe)) * adjust paths ([f323a30](f323a30)) * adjust release ([e871851](e871851)) * adjust semantic release ([a4d774b](a4d774b)) * ajust semantic path ([e1cd3ac](e1cd3ac)) * build browser scripts ([c7e3b5c](c7e3b5c)) * build browser scripts ([3ac98db](3ac98db)) * change ci config ([378700c](378700c)) * change npm env ([b65a502](b65a502)) * fix ci config ([8c9a8d0](8c9a8d0)) * fix ci config file ([7ca5d4f](7ca5d4f)) * fix ci lint ([d03d67b](d03d67b)) * fix lib path ([9d751c4](9d751c4)) * fix lib types ([992c601](992c601)) * fix security dependencies ([3c0a491](3c0a491)) * fix token was not found ([b0d6d18](b0d6d18)) * fix token was not found ([975acbd](975acbd)) * ignore coverage folder ([c1b2baf](c1b2baf)) * migrate from travis to github actions ([417645c](417645c)) * **monorepo:** configure NX integrated repo and semantic release ([#55](#55)) ([83cae8d](83cae8d)) * **release:** json-difference-v1.0.0 [skip ci] ([8445994](8445994)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) * **release:** json-difference-v1.1.0 [skip ci] ([f01d798](f01d798)) * **release:** json-difference-v1.2.0 [skip ci] ([3b9e3b7](3b9e3b7)) * **release:** json-difference-v1.3.0 [skip ci] ([a6a605a](a6a605a)) * **release:** json-difference-v1.4.0 [skip ci] ([fbe904e](fbe904e)) * replace npm to yarn for semantic release ([4e6046d](4e6046d)) * test copy ([368b263](368b263)) * update build ([3d6775b](3d6775b)) * update build scripts ([2fed5dd](2fed5dd)) * update build scripts ([8109280](8109280)) * update ci config ([1d1b6c6](1d1b6c6)) * update jest config ([34fdd4d](34fdd4d)) * Update release.yml ([#56](#56)) ([cd60cef](cd60cef)) * upgrade app ([c81a30c](c81a30c)) * upgrade app ([e953bc9](e953bc9)) * upgrade app version ([a827fda](a827fda)) * upgrade app version ([f5bb478](f5bb478)) * upgrade app version ([f50d76a](f50d76a)) * upgrade app version ([9c92ebd](9c92ebd)) * upgrade app version ([92ddf84](92ddf84)) * upgrade app version ([1438538](1438538)) * upgrade app version ([42423cf](42423cf)) * upgrade example packages ([f7e254b](f7e254b)) * upgrade json-difference ([#37](#37)) ([03a8caa](03a8caa)) * upgrade json-difference package ([b46adb8](b46adb8)) * upgrade packages ([7dee7fa](7dee7fa)) * upgrade packages ([511cf8d](511cf8d)) * upgrade packages and adjust models export ([#35](#35)) ([44dae26](44dae26)) ### Documentation * add gh pages ([#44](#44)) ([f7692fb](f7692fb)) * add publish package badge ([14ede8c](14ede8c)) * migrate travis badge to git-hub actions ([93ab88c](93ab88c)) * update docs ([e79e078](e79e078)) * update readme ([6c13a02](6c13a02)) * update readme ([eb25167](eb25167)) * update readme ([21f27be](21f27be)) * update readme ([38b391e](38b391e)) * update readme ([a5826d2](a5826d2)) * update README.md ([#49](#49)) ([0940cd4](0940cd4)) ### Style * prettier format ([71a980f](71a980f)) ### Refactoring * adjust types ([65aa8e3](65aa8e3)) * split class methods into pure functions ([13d5b01](13d5b01)) * update diff by key ([30892d5](30892d5)) ### Tests * add function tests ([b1c022b](b1c022b)) * add more test to cover object as value ([f41556a](f41556a)) * adjust tests ([bca0b60](bca0b60))
github-actions bot
pushed a commit
that referenced
this pull request
Aug 1, 2023
## [1.5.0](json-difference-v1.4.0...json-difference-v1.5.0) (2023-08-01) ### Features * add some adjusts ([76f8565](76f8565)) * add some adjusts ([ecf4782](ecf4782)) * add some adjusts ([79b13d6](79b13d6)) * fix wrong param ([9c73216](9c73216)) ### Chores * **release:** json-difference-cli-v1.0.0 [skip ci] ([013fb96](013fb96)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.1.0](json-difference-cli-v1.0.0...json-difference-cli-v1.1.0) (2023-08-02) ### Features * adjust delta log in cli ([7c7cff1](7c7cff1)) ### Chores * **release:** json-difference-v1.5.0 [skip ci] ([962d0f8](962d0f8)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.6.0](json-difference-v1.5.0...json-difference-v1.6.0) (2023-08-02) ### Features * adjust delta log in cli ([7c7cff1](7c7cff1)) ### Chores * **release:** json-difference-cli-v1.1.0 [skip ci] ([892f914](892f914)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.2.0](json-difference-cli-v1.1.0...json-difference-cli-v1.2.0) (2023-08-02) ### Features * remove flecha in cli ([629e342](629e342)) ### Chores * **release:** json-difference-v1.6.0 [skip ci] ([3a3f45c](3a3f45c)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.7.0](json-difference-v1.6.0...json-difference-v1.7.0) (2023-08-02) ### Features * remove flecha in cli ([629e342](629e342)) ### Chores * **release:** json-difference-cli-v1.2.0 [skip ci] ([9a95d05](9a95d05)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.3.0](json-difference-cli-v1.2.0...json-difference-cli-v1.3.0) (2023-08-02) ### Features * adjust json-difference-cli ([1c7a5f7](1c7a5f7)) ### Chores * **release:** json-difference-v1.7.0 [skip ci] ([e0c24b6](e0c24b6)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.8.0](json-difference-v1.7.0...json-difference-v1.8.0) (2023-08-02) ### Features * adjust json-difference-cli ([1c7a5f7](1c7a5f7)) ### Chores * **release:** json-difference-cli-v1.3.0 [skip ci] ([1aef61f](1aef61f)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
github-actions bot
pushed a commit
that referenced
this pull request
Aug 2, 2023
## [1.4.0](json-difference-cli-v1.3.0...json-difference-cli-v1.4.0) (2023-08-02) ### Features * add semver ([be93e65](be93e65)) ### Chores * **release:** json-difference-v1.8.0 [skip ci] ([7009f66](7009f66)), closes [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#52](#52) [#29](#29) [#10](#10) [#40](#40) [#53](#53) [#46](#46) [#51](#51) [#48](#48) [#45](#45) [#27](#27) [#30](#30) [#47](#47) [#36](#36) [#55](#55) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49) [#56](#56) [#37](#37) [#35](#35) [#44](#44) [#49](#49)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.