Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies #251

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/mighty-lobsters-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"next-yak": patch
"yak-swc": patch
---

Updated all dependencies
2 changes: 1 addition & 1 deletion packages/benchmarks/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion packages/example/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
35 changes: 18 additions & 17 deletions packages/example/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
/// <reference types="vitest" />
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react"
import react from "@vitejs/plugin-react";
import { defineConfig, mergeConfig } from "vitest/config";

// https://vitejs.dev/config/
export default defineConfig({
plugins:
[
react()
],
test: {
globals: true,
environment: "jsdom",
export default mergeConfig(
{
plugins: [react()],
},
defineConfig({
test: {
globals: true,
environment: "jsdom",

// This is only necessary because we use Vitest and Jest (to see verify that both work)
// and they should use different snapshot names
resolveSnapshotPath: (testPath, snapshotExtension) =>
testPath.replace('__tests__', '__tests__/__vite_snapshots__') + snapshotExtension,
}
});
// This is only necessary because we use Vitest and Jest (to see verify that both work)
// and they should use different snapshot names
resolveSnapshotPath: (testPath, snapshotExtension) =>
testPath.replace("__tests__", "__tests__/__vite_snapshots__") +
snapshotExtension,
},
}),
);
32 changes: 16 additions & 16 deletions packages/yak-swc/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/yak-swc/css_in_js_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ keywords = ["css", "parser", "css-in-js"]
categories = ["parser-implementations", "web-programming"]

[dependencies]
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.119"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.134"
serde_repr = "0.1"

[dev-dependencies]
4 changes: 2 additions & 2 deletions packages/yak-swc/relative_posix_path/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,5 +12,5 @@ categories = ["filesystem", "os::unix-apis", "os::windows-apis"]

[dependencies]
lazy_static = "1.4.0"
pathdiff = "0.2.1"
regex = "1.10.3"
pathdiff = "0.2.3"
regex = "1.10.3"
12 changes: 6 additions & 6 deletions packages/yak-swc/yak_swc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -8,19 +8,19 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
lazy_static = "1.4.0"
serde = "1.0.203"
serde_json = "1.0.120"
swc_core = { version = "5.0.1", features = ["ecma_plugin_transform"] }
serde = "1.0.217"
serde_json = "1.0.134"
swc_core = { version = "5.0.4", features = ["ecma_plugin_transform"] }
css_in_js_parser = { path = "../css_in_js_parser" }
relative_posix_path = { path = "../relative_posix_path" }
itertools = "0.13.0"
percent-encoding = "2.3.1"
rustc-hash = "2.0.0"
rustc-hash = "2.1.0"

[dev-dependencies]
divan = "0.1.14"
divan = "0.1.17"
regex = "1.10.3"
swc = "5.0.1"
swc = "5.0.2"
swc_ecma_transforms_testing = "5.0.0"
swc_ecma_parser = "5.0.0"
testing = "5.0.0"
Loading