Skip to content

Commit

Permalink
build(deps): bump tiny-lru from 8.0.2 to 9.0.2 (#4305)
Browse files Browse the repository at this point in the history
* build(deps): bump tiny-lru from 8.0.2 to 9.0.2

Bumps [tiny-lru](https://github.com/avoidwork/tiny-lru) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/avoidwork/tiny-lru/releases)
- [Changelog](https://github.com/avoidwork/tiny-lru/blob/master/CHANGELOG.md)
- [Commits](avoidwork/tiny-lru@8.0.2...9.0.2)

---
updated-dependencies:
- dependency-name: tiny-lru
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lru error

* remove webpack patch

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: uzlopak <aras.abbasi@googlemail.com>
  • Loading branch information
dependabot[bot] and Uzlopak committed Sep 30, 2022
1 parent aacd099 commit 3dd23fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/contentTypeParser.js
@@ -1,11 +1,7 @@
'use strict'

const { AsyncResource } = require('async_hooks')
let lru = require('tiny-lru')
// Needed to handle Webpack and faux modules
// See https://github.com/fastify/fastify/issues/2356
// and https://github.com/fastify/fastify/discussions/2907.
lru = typeof lru === 'function' ? lru : lru.default
const lru = require('tiny-lru').lru

const secureJson = require('secure-json-parse')
const {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -184,7 +184,7 @@
"rfdc": "^1.3.0",
"secure-json-parse": "^2.5.0",
"semver": "^7.3.7",
"tiny-lru": "^8.0.2"
"tiny-lru": "^9.0.2"
},
"standard": {
"ignore": [
Expand Down

0 comments on commit 3dd23fe

Please sign in to comment.