Skip to content

Commit 565f448

Browse files
committed
Update deps
1 parent 3cf855d commit 565f448

File tree

4 files changed

+4140
-3374
lines changed

4 files changed

+4140
-3374
lines changed

.gitignore

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,6 @@ Icon
1313
# Thumbnails
1414
._*
1515

16-
# Files that might appear in the root of a volume
17-
.DocumentRevisions-V100
18-
.fseventsd
19-
.Spotlight-V100
20-
.TemporaryItems
21-
.Trashes
22-
.VolumeIcon.icns
23-
.com.apple.timemachine.donotpresent
24-
25-
# Directories potentially created on remote AFP share
26-
.AppleDB
27-
.AppleDesktop
28-
Network Trash Folder
29-
Temporary Items
30-
.apdisk
31-
3216
### Node ###
3317
# Logs
3418
logs
@@ -99,32 +83,17 @@ typings/
9983
# Optional REPL history
10084
.node_repl_history
10185

102-
# Output of 'npm pack'
103-
*.tgz
104-
10586
# Yarn Integrity file
10687
.yarn-integrity
10788

10889
# dotenv environment variables file
10990
.env.test
11091
.env*.local
11192

112-
# parcel-bundler cache (https://parceljs.org/)
113-
.cache
114-
.parcel-cache
115-
116-
# Next.js build output
117-
.next
118-
11993
# Nuxt.js build / generate output
12094
.nuxt
12195
dist
12296

123-
# Storybook build outputs
124-
.out
125-
.storybook-out
126-
storybook-static
127-
12897
# rollup.js default build output
12998
dist/
13099

@@ -134,21 +103,6 @@ dist/
134103
# https://nextjs.org/blog/next-9-1#public-directory-support
135104
# public
136105

137-
# vuepress build output
138-
.vuepress/dist
139-
140-
# Serverless directories
141-
.serverless/
142-
143-
# FuseBox cache
144-
.fusebox/
145-
146-
# DynamoDB Local files
147-
.dynamodb/
148-
149-
# TernJS port file
150-
.tern-port
151-
152106
# Stores VSCode versions used for testing VSCode extensions
153107
.vscode-test
154108

@@ -168,6 +122,7 @@ tsup.config.bundled*.mjs
168122
vite.config.ts.js
169123
vitest.config.ts.timestamp-*.mjs
170124
vite.config.ts.timestamp-*.mjs
125+
app.config.timestamp_*.js
171126

172127
# demo pages
173128
pages
@@ -177,6 +132,3 @@ _temp_*
177132

178133
# Local Netlify folder
179134
.netlify
180-
181-
# IntelliJ IDEA
182-
.idea

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,32 @@
3030
"postinstall": "pnpm update-tsconfigs"
3131
},
3232
"devDependencies": {
33-
"@changesets/cli": "^2.27.11",
34-
"@solidjs/start": "^1.0.6",
33+
"@changesets/cli": "^2.29.4",
34+
"@solidjs/start": "^1.1.4",
3535
"@types/jsdom": "^21.1.7",
36-
"@types/node": "^22.5.4",
37-
"@typescript-eslint/eslint-plugin": "^8.5.0",
38-
"@typescript-eslint/parser": "^8.5.0",
39-
"esbuild": "^0.24.2",
36+
"@types/node": "^22.15.31",
37+
"@typescript-eslint/eslint-plugin": "^8.34.0",
38+
"@typescript-eslint/parser": "^8.34.0",
39+
"esbuild": "^0.25.5",
4040
"esbuild-plugin-solid": "^0.6.0",
41-
"eslint": "^9.10.0",
41+
"eslint": "^9.28.0",
4242
"eslint-plugin-eslint-comments": "^3.2.0",
4343
"eslint-plugin-no-only-tests": "^3.3.0",
44-
"jsdom": "^25.0.0",
44+
"jsdom": "^25.0.1",
4545
"json-to-markdown-table": "^1.0.0",
46-
"prettier": "^3.3.3",
47-
"prettier-plugin-tailwindcss": "^0.6.6",
46+
"prettier": "^3.5.3",
47+
"prettier-plugin-tailwindcss": "^0.6.12",
4848
"rehype-autolink-headings": "^7.1.0",
49-
"rehype-highlight": "^7.0.0",
49+
"rehype-highlight": "^7.0.2",
5050
"rehype-slug": "^6.0.0",
51-
"remark-gfm": "^4.0.0",
51+
"remark-gfm": "^4.0.1",
5252
"solid-js": "^1.9.7",
53-
"tsx": "^4.19.1",
54-
"typescript": "~5.6.2",
55-
"vinxi": "^0.4.2",
56-
"vite": "5.4.4",
57-
"vite-plugin-solid": "^2.10.2",
58-
"vitest": "^2.1.0"
53+
"tsx": "^4.20.2",
54+
"typescript": "^5.8.3",
55+
"vinxi": "^0.5.7",
56+
"vite": "^6.3.5",
57+
"vite-plugin-solid": "^2.11.6",
58+
"vitest": "^2.1.9"
5959
},
6060
"packageManager": "[email protected]",
6161
"engines": {

packages/utils/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ export const clamp = (n: number, min: number, max: number) => Math.min(Math.max(
104104
* ```
105105
*/
106106
export const access = <T extends MaybeAccessor<any>>(v: T): MaybeAccessorValue<T> =>
107-
typeof v === "function" && !v.length ? v() : v;
107+
typeof v === "function" && !v.length ? v() : v as any;
108108

109109
export const asArray = <T>(value: T): (T extends any[] ? T[number] : NonNullable<T>)[] =>
110-
Array.isArray(value) ? (value as any) : value ? [value] : [];
110+
Array.isArray(value) ? (value as any) : value ? [value as any] : [];
111111

112112
/**
113113
* Access an array of MaybeAccessors
@@ -135,14 +135,14 @@ export const withAccess = <T, A extends MaybeAccessor<T>, V = MaybeAccessorValue
135135

136136
export const asAccessor = <A extends MaybeAccessor<unknown>>(
137137
v: A,
138-
): Accessor<MaybeAccessorValue<A>> => (typeof v === "function" ? (v as any) : () => v);
138+
): Accessor<MaybeAccessorValue<A>> => (typeof v === "function" ? (v as any) : () => v as any);
139139

140140
/** If value is a function – call it with a given arguments – otherwise get the value as is */
141141
export function accessWith<T>(
142142
valueOrFn: T,
143143
...args: T extends AnyFunction ? Parameters<T> : never
144144
): T extends AnyFunction ? ReturnType<T> : T {
145-
return typeof valueOrFn === "function" ? valueOrFn(...args) : valueOrFn;
145+
return typeof valueOrFn === "function" ? valueOrFn(...args) : valueOrFn as any;
146146
}
147147

148148
/**

0 commit comments

Comments
 (0)