mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
chore: upgrade lru-cache to v5 (#4380)
This commit is contained in:
parent
70f0dc3825
commit
ccbe6c3b1f
@ -12,7 +12,7 @@
|
|||||||
"@nuxtjs/devalue": "^1.1.0",
|
"@nuxtjs/devalue": "^1.1.0",
|
||||||
"consola": "^2.3.0",
|
"consola": "^2.3.0",
|
||||||
"fs-extra": "^7.0.1",
|
"fs-extra": "^7.0.1",
|
||||||
"lru-cache": "^4.1.3",
|
"lru-cache": "^5.1.1",
|
||||||
"vue": "^2.5.17",
|
"vue": "^2.5.17",
|
||||||
"vue-meta": "^1.5.5",
|
"vue-meta": "^1.5.5",
|
||||||
"vue-no-ssr": "^1.1.0",
|
"vue-no-ssr": "^1.1.0",
|
||||||
|
@ -9,7 +9,7 @@ export default class SPAMetaRenderer {
|
|||||||
this.renderer = renderer
|
this.renderer = renderer
|
||||||
this.options = this.renderer.context.options
|
this.options = this.renderer.context.options
|
||||||
this.vueRenderer = createRenderer()
|
this.vueRenderer = createRenderer()
|
||||||
this.cache = LRU({})
|
this.cache = new LRU()
|
||||||
|
|
||||||
// Add VueMeta to Vue (this is only for SPA mode)
|
// Add VueMeta to Vue (this is only for SPA mode)
|
||||||
// See app/index.js
|
// See app/index.js
|
||||||
|
@ -6657,6 +6657,13 @@ lru-cache@4.1.x, lru-cache@^4.0.1, lru-cache@^4.1.2, lru-cache@^4.1.3:
|
|||||||
pseudomap "^1.0.2"
|
pseudomap "^1.0.2"
|
||||||
yallist "^2.1.2"
|
yallist "^2.1.2"
|
||||||
|
|
||||||
|
lru-cache@^5.1.1:
|
||||||
|
version "5.1.1"
|
||||||
|
resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
|
||||||
|
integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==
|
||||||
|
dependencies:
|
||||||
|
yallist "^3.0.2"
|
||||||
|
|
||||||
magic-string@0.25.0:
|
magic-string@0.25.0:
|
||||||
version "0.25.0"
|
version "0.25.0"
|
||||||
resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.0.tgz#1f3696f9931ff0a1ed4c132250529e19cad6759b"
|
resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.0.tgz#1f3696f9931ff0a1ed4c132250529e19cad6759b"
|
||||||
|
Loading…
Reference in New Issue
Block a user