Skip to content

Commit

Permalink
Update tsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Nov 18, 2024
1 parent 0265ac4 commit e609a5e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 28 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
},
"dependencies": {
"@mui/icons-material": "^6.1.7",
"evt": "^2.5.7",
"evt": "^2.5.8",
"memoizee": "^0.4.17",
"@types/memoizee": "^0.4.11",
"minimal-polyfills": "^2.2.3",
"powerhooks": "^1.0.15",
"powerhooks": "^1.0.19",
"run-exclusive": "^2.2.19",
"tsafe": "^1.7.5",
"tsafe": "^1.8.5",
"tss-react": "^4.9.13",
"react-markdown": "^9.0.1"
},
Expand Down
3 changes: 1 addition & 2 deletions src/RangeSlider/SimpleOrRangeSlider.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { useMemo, memo } from "react";
import Slider from "@mui/material/Slider";
import type { SliderProps } from "@mui/material/Slider";
import { assert } from "tsafe/assert";
import { is } from "tsafe/is";
import { assert, is } from "tsafe/assert";
import { useConstCallback } from "powerhooks/useConstCallback";
import { tss } from "../lib/tss";
import { Text } from "../Text";
Expand Down
3 changes: 1 addition & 2 deletions src/stories/getStory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import type { ReactComponent } from "../tools/ReactComponent";
import { OnyxiaUi } from "./theme";
import { Text } from "../Text";
import { getIsDarkModeEnabledOsDefault } from "../tools/getIsDarkModeEnabledOsDefault";
import { assert, type Equals } from "tsafe/assert";
import { is } from "tsafe/is";
import { assert, type Equals, is } from "tsafe/assert";

export function getStoryFactory<Props extends Record<string, any>>(params: {
sectionName: string;
Expand Down
37 changes: 16 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7494,14 +7494,14 @@ evt@^2.5.3:
run-exclusive "^2.2.19"
tsafe "^1.6.5"

evt@^2.5.7:
version "2.5.7"
resolved "https://registry.yarnpkg.com/evt/-/evt-2.5.7.tgz#55c5f8ff910f4b7531bfac91e963d4cb3231f253"
integrity sha512-dr7Wd16ry5F8WNU1xXLKpFpO3HsoAGg8zC48e08vDdzMzGWCP9/QFGt1PQptEEDh8SwYP3EL8M+d/Gb0kgUp6g==
evt@^2.5.8:
version "2.5.8"
resolved "https://registry.yarnpkg.com/evt/-/evt-2.5.8.tgz#4cc4e2db92d89cc43e00a0755703317f5f9b6d4c"
integrity sha512-wjurRtEqepH03fZSzkCUAw2tNNtEoeoEYXf7EqG8uU52wQ3D/+ctyQE8hf+YR/5DXZlwl2jNGLMm4hAd/wyD6g==
dependencies:
minimal-polyfills "^2.2.3"
run-exclusive "^2.2.19"
tsafe "^1.6.6"
tsafe "^1.8.5"

exec-sh@^0.3.2:
version "0.3.6"
Expand Down Expand Up @@ -12850,14 +12850,14 @@ powerhooks@^1.0.1:
memoizee "^0.4.15"
tsafe "^1.6.5"

powerhooks@^1.0.15:
version "1.0.15"
resolved "https://registry.yarnpkg.com/powerhooks/-/powerhooks-1.0.15.tgz#396ec7634ee0d61fe432956ed293ec61713fcc54"
integrity sha512-rTOGCA7egw/yjVaclOMrKTgTV6kAbmx8IY1t8CN8C2hnhInlAawAvLqaKxm0Qc997jnqI8SlQqdVFpLVhvvsXw==
powerhooks@^1.0.19:
version "1.0.19"
resolved "https://registry.yarnpkg.com/powerhooks/-/powerhooks-1.0.19.tgz#e93ce44f55d31ca26a4511883a49cfe5341d47af"
integrity sha512-kmZX0LLvJyaIphwf2FjKABAQwQFrRqsEA41N4CB8EzfDobyXle545t4teajVo/NPboy0HEaioyv55FWN7d58/Q==
dependencies:
evt "^2.5.7"
memoizee "^0.4.15"
tsafe "^1.7.5"
evt "^2.5.8"
memoizee "^0.4.17"
tsafe "^1.8.5"

prelude-ls@^1.2.1:
version "1.2.1"
Expand Down Expand Up @@ -15289,15 +15289,10 @@ tsafe@^1.6.4, tsafe@^1.6.5:
resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.6.5.tgz#74943b69190069168a53d2accd6d07891cf1cce8"
integrity sha512-895zss8xqqHKTc28sHGIfZKnt3C5jrstB1DyPr/h3/flK0zojsZUMQL1/W4ytdDW6KI4Oth62nb9rrxmA3s3Iw==

tsafe@^1.6.6:
version "1.7.2"
resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.7.2.tgz#0f63d414876287ad01b135f832722f93e22da374"
integrity sha512-dAPfQLhCfCRre5qs+Z5Q2a7s2CV7RxffZUmvj7puGaePYjECzWREJFd3w4XSFe/T5tbxgowfItA/JSSZ6Ma3dA==

tsafe@^1.7.5:
version "1.7.5"
resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.7.5.tgz#0d3a31202b5ef87c7ba997e66e03fd80801278ef"
integrity sha512-tbNyyBSbwfbilFfiuXkSOj82a6++ovgANwcoqBAcO9/REPoZMEQoE8kWPeO0dy5A2D/2Lajr8Ohue5T0ifIvLQ==
tsafe@^1.8.5:
version "1.8.5"
resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.8.5.tgz#cdf9fa3111974ac480d7ee519f8241815e5d22ea"
integrity sha512-LFWTWQrW6rwSY+IBNFl2ridGfUzVsPwrZ26T4KUJww/py8rzaQ/SY+MIz6YROozpUCaRcuISqagmlwub9YT9kw==

tsconfig-paths@^3.14.2:
version "3.14.2"
Expand Down

0 comments on commit e609a5e

Please sign in to comment.