Skip to content
Permalink

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: APIJSON/node-canvas
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Automattic/node-canvas
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Sep 7, 2025

  1. Configuration menu
    Copy the full SHA
    418f555 View commit details
    Browse the repository at this point in the history
  2. fix: reject loadImage when src is null or invalid (Automattic#2518)

    Description:
    - To handle non-string/non-Buffer sources while fetching image.
    - Add test cases for '', null, and undefined inputs to loadImage()
    
    Test Result:
    ```
    npm run test
    ...
          ✔ rejects when loadImage is called with null
          ✔ rejects when loadImage is called with undefined
          ✔ rejects when loadImage is called with empty string
    
      291 passing (302ms)
      6 pending
    ```
    Ian-I-Chien authored Sep 7, 2025
    Configuration menu
    Copy the full SHA
    616859b View commit details
    Browse the repository at this point in the history
Loading