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

Release/v7.6.1 #2825

Merged
merged 15 commits into from Mar 4, 2021
Merged

Release/v7.6.1 #2825

merged 15 commits into from Mar 4, 2021

Commits on Mar 4, 2021

  1. fix(docs): update scripts docs

    The lifecycle events section was very out of date, and lots
    of other cleanup needed to happen too
    
    PR-URL: #2690
    Credit: @wraithgar
    Close: #2690
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    c8b73db View commit details
    Browse the repository at this point in the history
  2. Remove unused arguments on various function calls

    I checked cli's code with Typescript using the tsconfig below. The
    compiler found a few arguments that are not used, so I removed them. In
    the case of `npm whoami`, it is clearer that it ignores its `args`
    and instead relies on `npm.flatOptions`.
    
    ```json
    {
        "compilerOptions": {
            "moduleResolution": "node",
            "module": "commonjs",
            "resolveJsonModule": true,
            "target": "es2019",
            "noImplicitAny": false,
            "noImplicitThis": true,
            "strict": true,
            "maxNodeModuleJsDepth": 0,
            "noEmit": true,
            "allowJs": true,
            "checkJs": true,
            "types": ["node"],
            "lib": ["esnext"]
        },
        "include": ["lib"]
    }
    ```
    
    PR-URL: #2766
    Credit: @sandersn
    Close: #2766
    Reviewed-by: @nlf, @ruyadorno, @Matausi29
    sandersn authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    b33c760 View commit details
    Browse the repository at this point in the history
  3. fix(npm) pass npm context everywhere

    Instead of files randomly requiring the npm singleton,
    we pass it where it needs to go so that tests don't need
    to do so much require mocking everywhere
    
    PR-URL: #2772
    Credit: @wraithgar
    Close: #2772
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    4a5dd3a View commit details
    Browse the repository at this point in the history
  4. Get correct npm prefix on all Windows unix shells

    1. Set the shebang to /usr/bin/env bash instead of /bin/sh (which might
       be dash or some other shell)
    2. Use Unix-style line endings, not Windows-style (Cygwin accepts
       either, but mingw bash sometimes objects, and WSL bash always does)
    3. Test against paths using wslpath if available, but still pass win32
       paths to node.exe, since it is a Windows binary that only knows how
       to handle Windows paths.
    
    This makes npm as installed by the Node.js Windows MSI installer behave
    properly under WSL, Cygwin, MINGW Git Bash, and the internal MINGW Git
    Bash when posix CLI utilities are exposed to the cmd.exe shell.
    
    The test is not quite as comprehensive as I'd like.  It runs on the
    various Windows bash implementations if they are found in their expected
    locations, skipping any that are not installed.  Short of shipping
    mingw, cygwin, and wsl as test fixtures, I'm not sure how we could do
    much better, however.  At least, we can use this test to assist debug
    and catch issues on Windows machines (ours or users who report
    problems).
    
    PR-URL: #2789
    Credit: @isaacs
    Close: #2789
    Reviewed-by: @nlf
    isaacs authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    e69be2a View commit details
    Browse the repository at this point in the history
  5. fix(search): don't pass unused args

    The searchopts get parsed and added to the query elsewhere, they're not
    part of the `include` array they are an extra querystring that is added
    to the search request.
    
    PR-URL: #2803
    Credit: @wraithgar
    Close: #2803
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    2d682e4 View commit details
    Browse the repository at this point in the history
  6. feat/explain: show when an edge is a bundled edge

    PR-URL: #2807
    Credit: @kumavis
    Close: #2807
    Reviewed-by: @ruyadorno
    kumavis authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    3c9a589 View commit details
    Browse the repository at this point in the history
  7. chore: update republish timeout after unpublish

    PR-URL: #2809
    Credit: @BAJ-
    Close: #2809
    Reviewed-by: @christoflemke, @sarin1234, @darcyclarke
    BAJ- authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    5d92239 View commit details
    Browse the repository at this point in the history
  8. fix(diff): set option where for pacote

    pacote expects a **where** option that sets the cwd for all its
    operations, ref: https://github.com/npm/pacote#options
    
    This change properly sets that option in libnpmdiff options that will
    then properly forward it to pacote, this is specially important for when
    reading local file system specs.
    
    PR-URL: #2822
    Credit: @ruyadorno
    Close: #2822
    Reviewed-by: @wraithgar
    ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    b3e7dd1 View commit details
    Browse the repository at this point in the history
  9. @npmcli/arborist@2.2.6

    ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    2d4ae59 View commit details
    Browse the repository at this point in the history
  10. eslint@7.21.0

    ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    1efdd96 View commit details
    Browse the repository at this point in the history
  11. fix(repo, auth.sso): don't promisify open-url

    This causes a `cb() not called` error as the promisified
    function explodes silently.
    
    PR-URL: #2824
    Credit: @wraithgar
    Close: #2824
    Reviewed-by: @ruyadorno
    wraithgar authored and ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    9600664 View commit details
    Browse the repository at this point in the history
  12. docs: changelog for v7.6.1

    ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    6433a95 View commit details
    Browse the repository at this point in the history
  13. update AUTHORS

    ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    68984ce View commit details
    Browse the repository at this point in the history
  14. 7.6.1

    ruyadorno committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    323aece View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8806015 View commit details
    Browse the repository at this point in the history