Skip to content

Commit

Permalink
fix(deps): update dependency @netlify/serverless-functions-api to v1.…
Browse files Browse the repository at this point in the history
…11.0 (#442)

[![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.10.1` ->
`1.11.0`](https://renovatebot.com/diffs/npm/@netlify%2fserverless-functions-api/1.10.1/1.11.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@netlify%2fserverless-functions-api/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@netlify%2fserverless-functions-api/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@netlify%2fserverless-functions-api/1.10.1/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@netlify%2fserverless-functions-api/1.10.1/1.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>netlify/serverless-functions-api
(@&#8203;netlify/serverless-functions-api)</summary>

###
[`v1.11.0`](https://togithub.com/netlify/serverless-functions-api/compare/88771e309ef70169e82736471ad091b0c705e2b2...2cb546e7efc8fde5edf32add76b98ace326bcb0c)

[Compare
Source](https://togithub.com/netlify/serverless-functions-api/compare/88771e309ef70169e82736471ad091b0c705e2b2...2cb546e7efc8fde5edf32add76b98ace326bcb0c)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Simon Knott <[email protected]>
  • Loading branch information
renovate[bot] and Skn0tt authored Nov 3, 2023
1 parent fc932cf commit d558f36
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"test": "test"
},
"dependencies": {
"@netlify/serverless-functions-api": "1.10.1",
"@netlify/serverless-functions-api": "1.11.0",
"is-promise": "^4.0.0"
},
"devDependencies": {
Expand Down
7 changes: 0 additions & 7 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import type { getNetlifyGlobal } from '@netlify/serverless-functions-api'

export { builder } from './lib/builder.js'
export { purgeCache } from './lib/purge_cache.js'
export { schedule } from './lib/schedule.js'
export { stream } from './lib/stream.js'
export * from './function/index.js'

// Ambient type declarations
declare global {
const Netlify: ReturnType<typeof getNetlifyGlobal>
}
6 changes: 6 additions & 0 deletions test/types/Netlify_Global.test-d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { expectAssignable } from 'tsd'

// eslint-disable-next-line import/no-unassigned-import
import '../../src/main.js'

expectAssignable<{ env: unknown }>(Netlify)

0 comments on commit d558f36

Please sign in to comment.