-
Notifications
You must be signed in to change notification settings - Fork 16
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: npm/package-json
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: npm/package-json
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.1.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 18 files changed
- 5 contributors
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 45a2937 - Browse repository at this point
Copy the full SHA 45a2937View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90863c1 - Browse repository at this point
Copy the full SHA 90863c1View commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 191b521 - Browse repository at this point
Copy the full SHA 191b521View commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a974274 - Browse repository at this point
Copy the full SHA a974274View commit details -
fix: add
normalizePackageMan
helper (#100)Aligns normalization logic with `directories.bin` See also: https://github.com/npm/normalize-package-data/blob/main/lib/fixer.js#L105 ```js fixManField: function (data) { if (!data.man) { return } if (typeof data.man === 'string') { data.man = [data.man] } }, ``` * continues npm/read-package-json#177 * relates #104 CC @wraithgar
Configuration menu - View commit details
-
Copy full SHA for 46c563b - Browse repository at this point
Copy the full SHA 46c563bView commit details
Commits on May 28, 2024
-
fix: apply
securePath
to package bin (#105)## What / Why * Aligns path normalization logic when processing `bin` and `man` refs. * Fixes out of scope path traversals for `bin` ```js function unixifyPath (ref) { return ref.replace(/\\|:/g, '/') } function securePath (ref) { const secured = path.join('.', path.join('/', unixifyPath(ref))) return secured.startsWith('.') ? '' : secured } function secureAndUnixifyPath (ref) { return unixifyPath(securePath(ref)) } ``` ## References continues [#100](#100 (comment)), #104
Configuration menu - View commit details
-
Copy full SHA for 54756d2 - Browse repository at this point
Copy the full SHA 54756d2View commit details
Commits on May 29, 2024
-
🤖 I have created a release *beep* *boop* --- ## [5.1.1](v5.1.0...v5.1.1) (2024-05-28) ### Bug Fixes * [`54756d2`](54756d2) [#105](#105) apply `securePath` to package bin (#105) (@antongolub) * [`46c563b`](46c563b) add `normalizePackageMan` helper (#100) (@antongolub) * [`a974274`](a974274) prevent `directory.man` referencing outside the package root (#104) (@antongolub) * [`191b521`](191b521) [#102](#102) invalid scripts warning fixed for undefined scripts (#102) (@milaninfy) ### Chores * [`45a2937`](45a2937) [#98](#98) bump @npmcli/template-oss to 4.22.0 (@lukekarrys) * [`90863c1`](90863c1) [#98](#98) postinstall for dependabot template-oss PR (@lukekarrys) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e6c2bdd - Browse repository at this point
Copy the full SHA e6c2bddView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.1.0...v5.1.1