-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying conpty PSEUDOCONSOLE_INHERIT_CURSOR
Related microsoft/vscode#74063
- Loading branch information
Showing
6 changed files
with
1,247 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
fac854f
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 seems to be the first commit introducing a lock file, I was wondering if it was intended?
In
.gitignore
we can see thatpackage-lock.json
is ignored, and now in this commit, it looks like the introduction of theyarn.lock
file is unintended.In the end this is not a big deal, but still made me wonder.
fac854f
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.
It was intentional
fac854f
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.
Ok because there was no mention of it in this commit.
Were there issues without it?
fac854f
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.
No issues, but there could be in the future. Libraries can break across patch/minor versions so this just ensures that it's easy to have definitely working dependencies.
fac854f
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.
Fair point, although this lock does not apply to dependents, it only applies to this repository. So people depending on it will see the breakage first hand, while you will be "shielded" or "blindfolded" here.
I am bothering you with this because I was looking at reasons to not keep my own lock files (for libraries at least). I saw that this project used to not have a lock file, and it seemed to have been working without too much trouble.
fac854f
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.
@marechal-p the reason it took so long is because node-pty doesn't have any direct dependents other than
nan
, so it's very easy to manage. If you have multiple dependencies and they have dependencies you should definitely 100% use a lock file, otherwise your build could break randomly (I've seen this in some projects before) and security vulnerabilities could slip in. You should stick with the lock file and avoid taking on dependencies where possible imo.fac854f
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.
I see all the benefits on this project's repository (mostly for "stable" CI/build). But when it gets published and pulled I don't see it helping, since the lock will have no effect and dependents will just pull whatever fits all the constraints.
I agree.
I can live with this :)
Sorry if that's annoying, I am usually stubborn, but I've seen how Python differentiate libraries (no lock) and applications (lock). When I first read that I thought "non-sense", but after getting bitten with one of my repositories building fine but dependents having issues, I am reconsidering my first opinion.
But I can understand keeping the lock file, just wanted your opinion/reason why you added it. You already answered. Now it was me just talking about my opinion, my bad :)