Skip to content

Commit

Permalink
chore(deps): upgrade to Vite 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Mar 24, 2024
1 parent 45fbe91 commit c95af6f
Show file tree
Hide file tree
Showing 5 changed files with 539 additions and 525 deletions.
2 changes: 1 addition & 1 deletion examples/vite-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^5.0.12",
"vite": "^5.2.6",
"vite-imagetools": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest-image-snapshot": "^6.1.0",
"@vitest/coverage-v8": "^0.34.0",
"@vitest/coverage-v8": "^1.4.0",
"jest-file-snapshot": "^0.5.0",
"jest-image-snapshot": "^6.2.0",
"rollup": "^4.5.0",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"vitest": "^0.34.0"
"vitest": "^1.4.0"
},
"dependencies": {
"sharp": "^0.33.1"
Expand Down
6 changes: 3 additions & 3 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/jest-image-snapshot": "^6.1.0",
"@types/jsdom": "^21.1.1",
"@types/picomatch": "^2.3.0",
"@vitest/coverage-v8": "^0.34.0",
"@vitest/coverage-v8": "^1.4.0",
"imagetools-core": "workspace:^",
"jest-image-snapshot": "^6.2.0",
"jsdom": "^24.0.0",
Expand All @@ -52,7 +52,7 @@
"sharp": "^0.33.1",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"vite": "^5.0.12",
"vitest": "^0.34.0"
"vite": "^5.2.6",
"vitest": "^1.4.0"
}
}
2 changes: 1 addition & 1 deletion packages/vite/src/__tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ describe('vite-imagetools', () => {
const { window } = new JSDOM(``, { runScripts: 'outside-only' })
window.eval(files[0].code)

expect(window.__IMAGE__).toBe('/assets/with-metadata-_x-Qsbou.png 600w')
expect(window.__IMAGE__).toBe('/assets/with-metadata-D_H5Cxui.png 600w')
})

test('async output format', async () => {
Expand Down
Loading

0 comments on commit c95af6f

Please sign in to comment.