Skip to content

Commit

Permalink
Update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Mad-Kat committed Dec 29, 2024
1 parent 1e07786 commit c72fe9a
Show file tree
Hide file tree
Showing 10 changed files with 1,423 additions and 1,344 deletions.
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
Expand Up @@ -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
Expand Up @@ -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
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions packages/yak-swc/relative_posix_path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit c72fe9a

Please sign in to comment.