Skip to content

Commit

Permalink
chore(deps): update transitive deps (#18602)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Nov 7, 2024
1 parent 326ee45 commit 0c8b152
Show file tree
Hide file tree
Showing 7 changed files with 1,215 additions and 1,127 deletions.
2 changes: 1 addition & 1 deletion packages/vite/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ Repository: pillarjs/finalhandler
## follow-redirects
License: MIT
By: Ruben Verborgh, Olivier Lalonde, James Talmage
Repository: [email protected]:follow-redirects/follow-redirects.git
Repository: git+ssh://git@github.com/follow-redirects/follow-redirects.git

> Copyright 2014–present Olivier Lalonde <[email protected]>, James Talmage <[email protected]>, Ruben Verborgh
>
Expand Down
4 changes: 2 additions & 2 deletions playground/external/__tests__/external.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion playground/external/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script type="importmap">
{
"imports": {
"vue": "/[email protected].0.js",
"vue": "/[email protected].47.js",
"slash5": "/[email protected]",
"slash3": "/[email protected]"
}
Expand Down
2 changes: 1 addition & 1 deletion playground/external/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion playground/external/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'node:fs/promises'
import { defineConfig } from 'vite'

const npmDirectServeConfig = {
'/[email protected].0.js': 'vue32/dist/vue.runtime.esm-browser.js',
'/[email protected].47.js': 'vue32/dist/vue.runtime.esm-browser.js',
'/[email protected]': 'slash5/index.js',
}
/** @type {import('vite').Connect.NextHandleFunction} */
Expand Down
2 changes: 1 addition & 1 deletion playground/html/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ ${
children: `
{
"imports": {
"vue": "https://unpkg.com/[email protected].0/dist/vue.runtime.esm-browser.js"
"vue": "https://unpkg.com/[email protected].47/dist/vue.runtime.esm-browser.js"
}
}
`,
Expand Down
Loading

0 comments on commit 0c8b152

Please sign in to comment.