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: netlify/functions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.5.1
Choose a base ref
...
head repository: netlify/functions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.6.0
Choose a head ref
  • 8 commits
  • 7 files changed
  • 4 contributors

Commits on Jan 19, 2024

  1. fix(deps): update dependency @netlify/serverless-functions-api to v1.…

    …13.1 (#462)
    
    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    |
    [@netlify/serverless-functions-api](https://togithub.com/netlify/serverless-functions-api)
    | [`1.13.0` ->
    `1.13.1`](https://renovatebot.com/diffs/npm/@netlify%2fserverless-functions-api/1.13.0/1.13.1)
    |
    [![age](https://developer.mend.io/api/mc/badges/age/npm/@netlify%2fserverless-functions-api/1.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@netlify%2fserverless-functions-api/1.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@netlify%2fserverless-functions-api/1.13.0/1.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@netlify%2fserverless-functions-api/1.13.0/1.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>netlify/serverless-functions-api
    (@&#8203;netlify/serverless-functions-api)</summary>
    
    ###
    [`v1.13.1`](https://togithub.com/netlify/serverless-functions-api/blob/HEAD/CHANGELOG.md#1131-2024-01-18)
    
    [Compare
    Source](https://togithub.com/netlify/serverless-functions-api/compare/v1.13.0...v1.13.1)
    
    ##### Bug Fixes
    
    - support response with empty body
    ([#&#8203;203](https://togithub.com/netlify/serverless-functions-api/issues/203))
    ([b56a624](https://togithub.com/netlify/serverless-functions-api/commit/b56a624058bfae1f56bcd0c5b2bcbb3c4ce437d9))
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/netlify/functions).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 19, 2024
    Copy the full SHA
    29b33ae View commit details

Commits on Jan 22, 2024

  1. chore(deps): update dependency tsd to v0.30.4 (#464)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [tsd](https://togithub.com/tsdjs/tsd) | [`0.30.3` ->
    `0.30.4`](https://renovatebot.com/diffs/npm/tsd/0.30.3/0.30.4) |
    [![age](https://developer.mend.io/api/mc/badges/age/npm/tsd/0.30.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tsd/0.30.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tsd/0.30.3/0.30.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsd/0.30.3/0.30.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>tsdjs/tsd (tsd)</summary>
    
    ### [`v0.30.4`](https://togithub.com/tsdjs/tsd/releases/tag/v0.30.4)
    
    [Compare
    Source](https://togithub.com/tsdjs/tsd/compare/v0.30.3...v0.30.4)
    
    - Add decorator-related diagnostic codes to `expectError`
    ([#&#8203;207](https://togithub.com/tsdjs/tsd/issues/207))
    [`8eeab3d`](https://togithub.com/tsdjs/tsd/commit/8eeab3d)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/netlify/functions).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 22, 2024
    Copy the full SHA
    495c672 View commit details

Commits on Jan 29, 2024

  1. chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#…

    …465)
    
    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [npm-run-all](https://togithub.com/mysticatea/npm-run-all) |
    devDependencies | replacement | [`^4.1.5` ->
    `^5.0.0`](https://renovatebot.com/diffs/npm/npm-run-all/4.1.5/) |
    
    This is a special PR that replaces `npm-run-all` with the community
    suggested minimal stable replacement version.
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/netlify/functions).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 29, 2024
    Copy the full SHA
    3bad43a View commit details

Commits on Feb 8, 2024

  1. fix(deps): update dependency @netlify/serverless-functions-api to v1.…

    …14.0 (#470)
    
    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    |
    [@netlify/serverless-functions-api](https://togithub.com/netlify/serverless-functions-api)
    | [`1.13.1` ->
    `1.14.0`](https://renovatebot.com/diffs/npm/@netlify%2fserverless-functions-api/1.13.1/1.14.0)
    |
    [![age](https://developer.mend.io/api/mc/badges/age/npm/@netlify%2fserverless-functions-api/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@netlify%2fserverless-functions-api/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@netlify%2fserverless-functions-api/1.13.1/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@netlify%2fserverless-functions-api/1.13.1/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>netlify/serverless-functions-api
    (@&#8203;netlify/serverless-functions-api)</summary>
    
    ###
    [`v1.14.0`](https://togithub.com/netlify/serverless-functions-api/compare/b81a1cb5e864917070ad12e1f037aa858f3b5e38...37a68b7b404afef1b1eeedb7c6224e8c238db119)
    
    [Compare
    Source](https://togithub.com/netlify/serverless-functions-api/compare/b81a1cb5e864917070ad12e1f037aa858f3b5e38...37a68b7b404afef1b1eeedb7c6224e8c238db119)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/netlify/functions).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 8, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c77eb33 View commit details

Commits on Feb 12, 2024

  1. chore(deps): update dependency semver to v7.6.0 (#471)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [semver](https://togithub.com/npm/node-semver) | [`7.5.4` ->
    `7.6.0`](https://renovatebot.com/diffs/npm/semver/7.5.4/7.6.0) |
    [![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.5.4/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.5.4/7.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>npm/node-semver (semver)</summary>
    
    ###
    [`v7.6.0`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#760-2024-01-31)
    
    [Compare
    Source](https://togithub.com/npm/node-semver/compare/v7.5.4...v7.6.0)
    
    ##### Features
    
    -
    [`a7ab13a`](https://togithub.com/npm/node-semver/commit/a7ab13a46201e342d34e84a989632b380f755baf)
    [#&#8203;671](https://togithub.com/npm/node-semver/pull/671) preserve
    pre-release and build parts of a version on coerce
    ([#&#8203;671](https://togithub.com/npm/node-semver/issues/671))
    ([@&#8203;madtisa](https://togithub.com/madtisa), madtisa,
    [@&#8203;wraithgar](https://togithub.com/wraithgar))
    
    ##### Chores
    
    -
    [`816c7b2`](https://togithub.com/npm/node-semver/commit/816c7b2cbfcb1986958a290f941eddfd0441139e)
    [#&#8203;667](https://togithub.com/npm/node-semver/pull/667) postinstall
    for dependabot template-oss PR
    ([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
    -
    [`0bd24d9`](https://togithub.com/npm/node-semver/commit/0bd24d943cbd1a7f6a2b8d384590bfa98559e1de)
    [#&#8203;667](https://togithub.com/npm/node-semver/pull/667) bump
    [@&#8203;npmcli/template-oss](https://togithub.com/npmcli/template-oss)
    from 4.21.1 to 4.21.3
    ([@&#8203;dependabot](https://togithub.com/dependabot)\[bot])
    -
    [`e521932`](https://togithub.com/npm/node-semver/commit/e521932f115a81030f4e7c34e8631cdd3c6a108b)
    [#&#8203;652](https://togithub.com/npm/node-semver/pull/652) postinstall
    for dependabot template-oss PR
    ([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
    -
    [`8873991`](https://togithub.com/npm/node-semver/commit/88739918080debeb239aae840b35c07436148e50)
    [#&#8203;652](https://togithub.com/npm/node-semver/pull/652) chore:
    chore: postinstall for dependabot template-oss PR
    ([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
    -
    [`f317dc8`](https://togithub.com/npm/node-semver/commit/f317dc8689781bcfd98e2c32b46157276acdd47c)
    [#&#8203;652](https://togithub.com/npm/node-semver/pull/652) bump
    [@&#8203;npmcli/template-oss](https://togithub.com/npmcli/template-oss)
    from 4.19.0 to 4.21.0
    ([@&#8203;dependabot](https://togithub.com/dependabot)\[bot])
    -
    [`7303db1`](https://togithub.com/npm/node-semver/commit/7303db1fe54d6905b23ccb0162878e37d73535ef)
    [#&#8203;658](https://togithub.com/npm/node-semver/pull/658) add clean()
    test for build metadata
    ([#&#8203;658](https://togithub.com/npm/node-semver/issues/658))
    ([@&#8203;jethrodaniel](https://togithub.com/jethrodaniel))
    -
    [`6240d75`](https://togithub.com/npm/node-semver/commit/6240d75a7c620b0a222f05969a91fdc3dc2be0fb)
    [#&#8203;656](https://togithub.com/npm/node-semver/pull/656) add missing
    quotes in README.md
    ([#&#8203;656](https://togithub.com/npm/node-semver/issues/656))
    ([@&#8203;zyxkad](https://togithub.com/zyxkad))
    -
    [`14d263f`](https://togithub.com/npm/node-semver/commit/14d263faa156e408a033b9b12a2f87735c2df42c)
    [#&#8203;625](https://togithub.com/npm/node-semver/pull/625) postinstall
    for dependabot template-oss PR
    ([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
    -
    [`7c34e1a`](https://togithub.com/npm/node-semver/commit/7c34e1ac1bcc0bc6579b30745c96075c69bd0332)
    [#&#8203;625](https://togithub.com/npm/node-semver/pull/625) bump
    [@&#8203;npmcli/template-oss](https://togithub.com/npmcli/template-oss)
    from 4.18.1 to 4.19.0
    ([@&#8203;dependabot](https://togithub.com/dependabot)\[bot])
    -
    [`123e0b0`](https://togithub.com/npm/node-semver/commit/123e0b03287e1af295ef82d55f55c16805596f35)
    [#&#8203;622](https://togithub.com/npm/node-semver/pull/622) postinstall
    for dependabot template-oss PR
    ([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
    -
    [`737d5e1`](https://togithub.com/npm/node-semver/commit/737d5e1cf10e631bab8a28594aa2d5c9d4090814)
    [#&#8203;622](https://togithub.com/npm/node-semver/pull/622) bump
    [@&#8203;npmcli/template-oss](https://togithub.com/npmcli/template-oss)
    from 4.18.0 to 4.18.1
    ([@&#8203;dependabot](https://togithub.com/dependabot)\[bot])
    -
    [`cce6180`](https://togithub.com/npm/node-semver/commit/cce61804ba6f997225a1267135c06676fe0524d2)
    [#&#8203;598](https://togithub.com/npm/node-semver/pull/598) postinstall
    for dependabot template-oss PR
    ([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
    -
    [`b914a3d`](https://togithub.com/npm/node-semver/commit/b914a3d0d26ca27d2685053d7d390af4e02eedd9)
    [#&#8203;598](https://togithub.com/npm/node-semver/pull/598) bump
    [@&#8203;npmcli/template-oss](https://togithub.com/npmcli/template-oss)
    from 4.17.0 to 4.18.0
    ([@&#8203;dependabot](https://togithub.com/dependabot)\[bot])
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Enabled.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/netlify/functions).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 12, 2024
    Copy the full SHA
    83e4750 View commit details

Commits on Feb 13, 2024

  1. fix: skip purgeCache in local dev (#472)

    **Which problem is this pull request solving?**
    
    Currently running `purgeCache` in local development throws an error.
    While I wouldn't expect it to actually purge anything (because there's
    no cache anyway), this prevents us running dev for any site that does
    use this.
    
    **Describe the solution you've chosen**
    
    Log a message and return if called in local dev without a token. If a
    token is passed I assume the user knows what they're doing and wants it
    to work for real.
    
    **Describe alternatives you've considered**
    
    Example: Another solution would be [...]
    
    **Checklist**
    
    Please add a `x` inside each checkbox:
    
    - [ ] I have read the [contribution
    guidelines](../blob/master/CONTRIBUTING.md).
    - [ ] The status checks are successful (continuous integration). Those
    can be seen below.
    
    ---------
    
    Co-authored-by: Marcus Weiner <marcus.weiner@gmail.com>
    ascorbic and mraerino authored Feb 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9236053 View commit details
  2. feat: publish ESM version (#473)

    **Which problem is this pull request solving?**
    
    This module doesn't currently publish an ESM version. It's hard to use
    this in ES modules, because it needs to be dynamically imported, but it
    imports node builtins that can't be dynamically imported.
    
    **Describe the solution you've chosen**
    
    This PR uses `tsup` to build both cjs and esm. It also adds publint and
    arethetypeswrong to check the output, and removes the one-line
    `is-promise` CJS dependency.
    ascorbic authored Feb 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b1b7553 View commit details
  3. chore(main): release 2.6.0 (#463)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ## [2.6.0](v2.5.1...v2.6.0)
    (2024-02-13)
    
    
    ### Features
    
    * publish ESM version
    ([#473](#473))
    ([b1b7553](b1b7553))
    
    
    ### Bug Fixes
    
    * **deps:** update dependency @netlify/serverless-functions-api to
    v1.13.1 ([#462](#462))
    ([29b33ae](29b33ae))
    * **deps:** update dependency @netlify/serverless-functions-api to
    v1.14.0 ([#470](#470))
    ([c77eb33](c77eb33))
    * skip purgeCache in local dev
    ([#472](#472))
    ([9236053](9236053))
    
    ---
    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: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
    token-generator-app[bot] authored Feb 13, 2024
    Copy the full SHA
    5fb36b9 View commit details
Showing with 3,110 additions and 142 deletions.
  1. +14 −2 .github/workflows/workflow.yml
  2. +14 −0 CHANGELOG.md
  3. +3,028 −129 package-lock.json
  4. +19 −8 package.json
  5. +2 −3 src/lib/builder.ts
  6. +7 −0 src/lib/purge_cache.ts
  7. +26 −0 test/unit/purge_cache.js
16 changes: 14 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -23,17 +23,29 @@ jobs:
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Node.js ${{ matrix.node-version }}
- name: Node.js latest
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: '*'
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm ci
- name: Linting
run: npm run format:ci
if: "${{ matrix.node-version == '*' }}"
- name: Build
run: npm run build
- name: Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
if: "${{ matrix.node-version != '*' }}"
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
check-latest: true
- name: Install dependencies ${{ matrix.node-version }}
run: npm ci
if: "${{ matrix.node-version != '*' }}"
- name: Tests
run: npm run test:ci
- name: Get test coverage flags
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [2.6.0](https://github.com/netlify/functions/compare/v2.5.1...v2.6.0) (2024-02-13)


### Features

* publish ESM version ([#473](https://github.com/netlify/functions/issues/473)) ([b1b7553](https://github.com/netlify/functions/commit/b1b7553d7d3c7bce3504dbb6369d9901c69ac9f6))


### Bug Fixes

* **deps:** update dependency @netlify/serverless-functions-api to v1.13.1 ([#462](https://github.com/netlify/functions/issues/462)) ([29b33ae](https://github.com/netlify/functions/commit/29b33ae3083a2bef04ed70efea02c9ed7d62a65b))
* **deps:** update dependency @netlify/serverless-functions-api to v1.14.0 ([#470](https://github.com/netlify/functions/issues/470)) ([c77eb33](https://github.com/netlify/functions/commit/c77eb338a2571e2b8cb820a09acdc9489406d247))
* skip purgeCache in local dev ([#472](https://github.com/netlify/functions/issues/472)) ([9236053](https://github.com/netlify/functions/commit/92360530e9edd9685c0416f379caa6913e413cfa))

## [2.5.1](https://github.com/netlify/functions/compare/v2.5.0...v2.5.1) (2024-01-19)


Loading