-
Notifications
You must be signed in to change notification settings - Fork 30k
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
permission: add path separator to loader check #47030
Merged
nodejs-github-bot
merged 1 commit into
nodejs:main
from
RafaelGSS:fix/permission-model-package-json
Mar 15, 2023
Merged
permission: add path separator to loader check #47030
nodejs-github-bot
merged 1 commit into
nodejs:main
from
RafaelGSS:fix/permission-model-package-json
Mar 15, 2023
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
Review requested:
|
github-actions
bot
added
request-ci-failed
An error occurred while starting CI via request-ci label, and manual interventon is needed.
and removed
request-ci
Add this label to start a Jenkins CI on a PR.
labels
Mar 9, 2023
Failed to start CI- Validating Jenkins credentials ✘ Jenkins credentials invalidhttps://github.com/nodejs/node/actions/runs/4376751803 |
aduh95
reviewed
Mar 9, 2023
aduh95
reviewed
Mar 9, 2023
RafaelGSS
force-pushed
the
fix/permission-model-package-json
branch
from
March 9, 2023 19:15
05b939b
to
f01ff0e
Compare
aduh95
added
request-ci
Add this label to start a Jenkins CI on a PR.
and removed
request-ci-failed
An error occurred while starting CI via request-ci label, and manual interventon is needed.
labels
Mar 9, 2023
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Mar 9, 2023
cjihrig
reviewed
Mar 9, 2023
RafaelGSS
force-pushed
the
fix/permission-model-package-json
branch
from
March 9, 2023 23:18
f01ff0e
to
0c16b39
Compare
22 tasks
RafaelGSS
force-pushed
the
fix/permission-model-package-json
branch
from
March 10, 2023 00:24
0c16b39
to
ed41d3d
Compare
GeoffreyBooth
approved these changes
Mar 10, 2023
RafaelGSS
force-pushed
the
fix/permission-model-package-json
branch
from
March 10, 2023 19:47
ed41d3d
to
ceca668
Compare
benjamingr
approved these changes
Mar 10, 2023
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Mar 10, 2023
22 tasks
This was referenced Mar 12, 2023
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
RafaelGSS
force-pushed
the
fix/permission-model-package-json
branch
from
March 14, 2023 23:27
ceca668
to
a2f399b
Compare
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Mar 14, 2023
22 tasks
RafaelGSS
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Mar 15, 2023
nodejs-github-bot
added
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
and removed
commit-queue
Add this label to land a pull request using GitHub Actions.
labels
Mar 15, 2023
Commit Queue failed- Loading data for nodejs/node/pull/47030 ✔ Done loading data for nodejs/node/pull/47030 ----------------------------------- PR info ------------------------------------ Title permission: add path separator to loader check (#47030) Author Rafael Gonzaga (@RafaelGSS) Branch RafaelGSS:fix/permission-model-package-json -> nodejs:main Labels needs-ci Commits 1 - permission: add path separator to loader check Committers 1 - RafaelGSS PR-URL: https://github.com/nodejs/node/pull/47030 Reviewed-By: Geoffrey Booth Reviewed-By: Benjamin Gruenbaum ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/47030 Reviewed-By: Geoffrey Booth Reviewed-By: Benjamin Gruenbaum -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - permission: add path separator to loader check ℹ This PR was created on Thu, 09 Mar 2023 16:26:17 GMT ✔ Approvals: 2 ✔ - Geoffrey Booth (@GeoffreyBooth) (TSC): https://github.com/nodejs/node/pull/47030#pullrequestreview-1334118656 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/47030#pullrequestreview-1335554726 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-03-14T23:34:49Z: https://ci.nodejs.org/job/node-test-pull-request/50383/ - Querying data for job/node-test-pull-request/50383/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/4426823538 |
ShogunPanda
approved these changes
Mar 15, 2023
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.
LGTM!
marco-ippolito
approved these changes
Mar 15, 2023
RafaelGSS
added
commit-queue
Add this label to land a pull request using GitHub Actions.
and removed
commit-queue-failed
An error occurred while landing this pull request using GitHub Actions.
labels
Mar 15, 2023
nodejs-github-bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Mar 15, 2023
Landed in 1726da9 |
22 tasks
RafaelGSS
added
backport-blocked-v16.x
backport-blocked-v18.x
PRs that should land on the v18.x-staging branch but are blocked by another PR's pending backport.
dont-land-on-v20.x
PRs that should not land on the v20.x-staging branch and should not be released in v20.x.
dont-land-on-v18.x
PRs that should not land on the v18.x-staging branch and should not be released in v18.x.
and removed
dont-land-on-v20.x
PRs that should not land on the v20.x-staging branch and should not be released in v20.x.
backport-blocked-v16.x
backport-blocked-v18.x
PRs that should land on the v18.x-staging branch but are blocked by another PR's pending backport.
labels
Apr 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dont-land-on-v18.x
PRs that should not land on the v18.x-staging branch and should not be released in v18.x.
needs-ci
PRs that need a full CI run.
permission
Issues and PRs related to the Permission Model
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.
When no package.json is found the loader walks upwards until the root path
/
. When checking the root, thecheckPath
is empty (''
) and an attempt to read/package.json
is made. However, reading from/
isn't allowed (considering --allow-fs-read=/Users/ was passed).This commit fixes this behavior.