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

assert.deepEqual: fix bug with faked boxed primitives #29029

Closed
wants to merge 3 commits into from

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented Aug 7, 2019

I discovered this bug while perusing the code, to try to bring the npm deep-equal package into sync with node's.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
    • note: the related tests have passed; i didn't run the full suite
  • tests and/or benchmarks are included
  • documentation is changed or added (n/a)
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the util Issues and PRs related to the built-in util module. label Aug 7, 2019
@Trott
Copy link
Member

Trott commented Aug 7, 2019

@nodejs/assert

@ljharb ljharb force-pushed the deep_equal_boxed_primitive branch 2 times, most recently from b30d71d to 2737496 Compare August 7, 2019 03:17
@ljharb ljharb force-pushed the deep_equal_boxed_primitive branch from 2737496 to d90707a Compare August 7, 2019 05:55
@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member

Trott commented Aug 7, 2019

CITGM master: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1934/
CITGM this PR: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1936/ (queued, will 404 until a worker is available)

@Trott
Copy link
Member

Trott commented Aug 7, 2019

Not semver-major, but since assert.deepEqual() can get weird, running CITGM anyway....

If interested in making deepEqual() less weird, check out #28011.

@trivikr trivikr added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 8, 2019
@devsnek
Copy link
Member

devsnek commented Aug 9, 2019

Landed in 885c644...8fdd634

@devsnek devsnek closed this Aug 9, 2019
@devsnek devsnek removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 9, 2019
devsnek pushed a commit that referenced this pull request Aug 9, 2019
PR-URL: #29029
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
devsnek pushed a commit that referenced this pull request Aug 9, 2019
PR-URL: #29029
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
devsnek pushed a commit that referenced this pull request Aug 9, 2019
... before trying to valueOf them

PR-URL: #29029
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@ljharb ljharb deleted the deep_equal_boxed_primitive branch August 9, 2019 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants