mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
chore(deps): update transitive deps (#18602)
This commit is contained in:
parent
326ee45b44
commit
0c8b15238b
@ -1026,7 +1026,7 @@ Repository: pillarjs/finalhandler
|
||||
## follow-redirects
|
||||
License: MIT
|
||||
By: Ruben Verborgh, Olivier Lalonde, James Talmage
|
||||
Repository: git@github.com:follow-redirects/follow-redirects.git
|
||||
Repository: git+ssh://git@github.com/follow-redirects/follow-redirects.git
|
||||
|
||||
> Copyright 2014–present Olivier Lalonde <olalonde@gmail.com>, James Talmage <james@talmage.io>, Ruben Verborgh
|
||||
>
|
||||
|
@ -16,11 +16,11 @@ test('should have default exports', async () => {
|
||||
describe.runIf(isBuild)('build', () => {
|
||||
test('should externalize imported packages', async () => {
|
||||
// If `vue` is successfully externalized, the page should use the version from the import map
|
||||
expect(await page.textContent('#imported-vue-version')).toBe('3.2.0')
|
||||
expect(await page.textContent('#imported-vue-version')).toBe('3.2.47')
|
||||
})
|
||||
|
||||
test('should externalize required packages', async () => {
|
||||
// If `vue` is successfully externalized, the page should use the version from the import map
|
||||
expect(await page.textContent('#required-vue-version')).toBe('3.2.0')
|
||||
expect(await page.textContent('#required-vue-version')).toBe('3.2.47')
|
||||
})
|
||||
})
|
||||
|
2
playground/external/index.html
vendored
2
playground/external/index.html
vendored
@ -7,7 +7,7 @@
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"vue": "/vue@3.2.0.js",
|
||||
"vue": "/vue@3.2.47.js",
|
||||
"slash5": "/slash@5.js",
|
||||
"slash3": "/slash@3.0.0.js"
|
||||
}
|
||||
|
2
playground/external/package.json
vendored
2
playground/external/package.json
vendored
@ -18,6 +18,6 @@
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vite": "workspace:*",
|
||||
"vue": "^3.5.12",
|
||||
"vue32": "npm:vue@~3.2.0"
|
||||
"vue32": "npm:vue@~3.2.47"
|
||||
}
|
||||
}
|
||||
|
2
playground/external/vite.config.js
vendored
2
playground/external/vite.config.js
vendored
@ -2,7 +2,7 @@ import fs from 'node:fs/promises'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
const npmDirectServeConfig = {
|
||||
'/vue@3.2.0.js': 'vue32/dist/vue.runtime.esm-browser.js',
|
||||
'/vue@3.2.47.js': 'vue32/dist/vue.runtime.esm-browser.js',
|
||||
'/slash@5.js': 'slash5/index.js',
|
||||
}
|
||||
/** @type {import('vite').Connect.NextHandleFunction} */
|
||||
|
@ -202,7 +202,7 @@ ${
|
||||
children: `
|
||||
{
|
||||
"imports": {
|
||||
"vue": "https://unpkg.com/vue@3.2.0/dist/vue.runtime.esm-browser.js"
|
||||
"vue": "https://unpkg.com/vue@3.2.47/dist/vue.runtime.esm-browser.js"
|
||||
}
|
||||
}
|
||||
`,
|
||||
|
2328
pnpm-lock.yaml
2328
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user