GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: intersects with v0.0.0 and v0.0.0-0 by wraithgar · Pull Request #538 · npm/node-semver

Conversation

@wraithgar

@wraithgar wraithgar commented Apr 6, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Also fix options not being passed through from semver.intersects

Closes #521

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@wraithgar
wraithgar requested a review from a team as a code owner April 6, 2023 23:58
@wraithgar
wraithgar requested review from lukekarrys and removed request for a team April 6, 2023 23:58
@wraithgar

wraithgar commented Apr 6, 2023

Copy link
Copy Markdown
Contributor Author

This can't land before #535 since that removes the dead code that is causing coverage failures here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@wraithgar wraithgar mentioned this pull request Apr 6, 2023
[BUG] intersects(r1, r2, options) function returns true if the not intersected range < 0.0.0 and 0.x are supplied #521
Closed
1 task done
H4ad
H4ad reviewed Apr 7, 2023
View reviewed changes
Comment thread classes/comparator.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@wraithgar wraithgar mentioned this pull request Apr 7, 2023
fix: reuse comparators on subset #537
Merged
nlf
nlf approved these changes Apr 10, 2023
View reviewed changes

@nlf nlf left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is awesome, good bug fix and so much more readable!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
wraithgar added 2 commits April 10, 2023 10:59
@wraithgar
fix: intersects with v0.0.0 and v0.0.0-0
ed24de3
Also fix options not being passed through from semver.intersects
@wraithgar
fix: return early in comparator#intersects
efd559e
@wraithgar
wraithgar force-pushed the gar/zero-intersects branch from 2381bc4 to efd559e Compare April 10, 2023 18:02
@wraithgar
wraithgar merged commit 940723d into main Apr 10, 2023
@wraithgar
wraithgar deleted the gar/zero-intersects branch April 10, 2023 18:07
@github-actions github-actions Bot mentioned this pull request Apr 10, 2023
chore: release 7.4.0 #540
Merged
@ms-bot ms-bot mentioned this pull request Apr 17, 2023
chore(deps): bump 🧳 semver to ^7.6.3 mobsuccess-devops/pmd-github-action#11
Closed
@snyk-bot snyk-bot mentioned this pull request May 16, 2023
[Snyk] Upgrade semver from 6.3.0 to 7.5.0 OutSystems/cordova-plugin-add-swift-support#3
Closed
This was referenced Jul 31, 2023
Bump semver from 7.3.5 to 7.5.2 in /platform/ui ossrs/oryx#107
Closed
Bump semver from 7.3.5 to 7.5.2 in /ui ossrs/oryx#116
Closed
This was referenced May 24, 2024
[Snyk] Upgrade semver from 7.3.7 to 7.6.0 NOUIY/npm-groovy-lint#71
Closed
[Snyk] Upgrade semver from 7.3.8 to 7.6.0 NOUIY/security-wg#55
Closed
@devcurt696 devcurt696 mentioned this pull request May 29, 2024
[Snyk] Upgrade semver from 7.0.0 to 7.6.1 devcurt696/resume-builder#77
Open
@NOUIY NOUIY mentioned this pull request May 30, 2024
[Snyk] Upgrade semver from 7.3.7 to 7.6.1 NOUIY/npm-groovy-lint#77
Closed
@nestharus nestharus mentioned this pull request Sep 29, 2026
[BUG] intersects() still returns true for an empty range against "*" (follow-up to #521) #909
Open
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lukekarrys lukekarrys Awaiting requested review from lukekarrys lukekarrys is a code owner automatically assigned from npm/cli-team
2 more reviewers
@H4ad H4ad H4ad left review comments
@nlf nlf nlf approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] intersects(r1, r2, options) function returns true if the not intersected range < 0.0.0 and 0.x are supplied

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@wraithgar @nlf @H4ad
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.