Skip to content

Commit

Permalink
Merge pull request #486 from preactjs/update_deps
Browse files Browse the repository at this point in the history
chore: update dependencies
  • Loading branch information
marvinhagemeister committed Apr 25, 2024
2 parents a6e27f7 + 1222a17 commit 2c95133
Show file tree
Hide file tree
Showing 5 changed files with 1,977 additions and 1,032 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,48 +49,48 @@
"@babel/core": "^7.18.10",
"@babel/plugin-syntax-typescript": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.18.10",
"@parcel/css": "^1.12.2",
"@playwright/test": "^1.28.0",
"@preact/preset-vite": "^2.3.0",
"@preact/signals": "^1.1.1",
"@prefresh/vite": "^2.2.9",
"@testing-library/preact": "^2.0.0",
"@preact/preset-vite": "^2.8.2",
"@preact/signals": "^1.2.3",
"@prefresh/vite": "^2.4.5",
"@testing-library/preact": "^3.2.3",
"@types/archiver": "^5.3.1",
"@types/babel__core": "^7.1.19",
"@types/chrome": "^0.0.202",
"@types/mri": "^1.1.1",
"@types/node": "^20.12.7",
"@types/node-fetch": "^2.6.2",
"@types/tar": "^6.1.2",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"archiver": "^5.3.1",
"babel-plugin-helpers": "^0.1.1",
"babel-plugin-transform-define": "^2.1.0",
"babel-plugin-transform-jsx-to-htm": "^2.2.0",
"babel-plugin-transform-rename-properties": "^0.1.0",
"cross-env": "^7.0.2",
"esbuild": "^0.15.5",
"eslint": "^7.9.0",
"eslint-plugin-react": "^7.20.6",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"fs-extra": "^10.1.0",
"husky": "^4.3.0",
"kolorist": "^1.5.1",
"lightningcss": "^1.24.1",
"lint-staged": "^10.4.0",
"mochette": "^1.0.1",
"mri": "^1.2.0",
"node-fetch": "^2.6.1",
"playwright-chromium": "^1.28.0",
"preact": "^10.10.6",
"prettier": "^2.1.2",
"prettier": "^3.2.5",
"tar": "^6.1.11",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"vite": "^3.0.9",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"web-ext": "^7.3.1"
},
"dependencies": {
"errorstacks": "^2.4.0",
"htm": "^3.0.4"
"errorstacks": "^2.4.1",
"htm": "^3.1.1"
},
"peerDependencies": {
"preact": "10.x"
Expand Down
2 changes: 1 addition & 1 deletion test-e2e/tests/inspect-signal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test("Show signals in hooks", async ({ page }) => {
await devtools.waitForSelector('[data-testid="props-row"]');
await devtools
.locator(
'[data-testid="props-row"] [data-testid="prop-name"]:has-text("_")',
'[data-testid="props-row"] [data-testid="prop-name"]:has-text("useSignal")',
)
.click();
await devtools
Expand Down
4 changes: 2 additions & 2 deletions tools/build-plugins/esbuild-plugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as babel from "@babel/core";
import fs from "fs/promises";
import fsSync from "fs";
import path from "path";
import * as parcelCss from "@parcel/css";
import * as lightningcss from "lightningcss";
import * as fsExtra from "fs-extra";
import * as kl from "kolorist";
import archiver from "archiver";
Expand Down Expand Up @@ -216,7 +216,7 @@ export function gitSourcePlugin() {
*/
export function cssModules() {
function transform(filename, code) {
const result = parcelCss.transform({
const result = lightningcss.transform({
filename,
code,
cssModules: true,
Expand Down
1 change: 0 additions & 1 deletion tools/fetch-preact-versions.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import fetch from "node-fetch";
import * as util from "util";
import fs from "fs";
import path from "path";
Expand Down
Loading

0 comments on commit 2c95133

Please sign in to comment.