Skip to content

Commit 5947396

Browse files
committed
upgrade to [email protected], [email protected], few htmx_exts to latest version
1 parent f1cc346 commit 5947396

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

fasthtml/core.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -434,20 +434,20 @@ async def _wrap_call(f, req, params):
434434

435435
# %% ../nbs/api/00_core.ipynb
436436
htmx_exts = {
437-
"head-support": "https://unpkg.com/[email protected].1/head-support.js",
438-
"preload": "https://unpkg.com/htmx-ext-preload@2.0.1/preload.js",
439-
"class-tools": "https://unpkg.com/[email protected]/class-tools.js",
440-
"loading-states": "https://unpkg.com/[email protected]/loading-states.js",
441-
"multi-swap": "https://unpkg.com/[email protected]/multi-swap.js",
442-
"path-deps": "https://unpkg.com/[email protected]/path-deps.js",
437+
"head-support": "https://unpkg.com/[email protected].3/head-support.js",
438+
"preload": "https://unpkg.com/htmx-ext-preload@2.1.0/preload.js",
439+
"class-tools": "https://unpkg.com/[email protected]/class-tools.js",
440+
"loading-states": "https://unpkg.com/[email protected]/loading-states.js",
441+
"multi-swap": "https://unpkg.com/[email protected]/multi-swap.js",
442+
"path-deps": "https://unpkg.com/[email protected]/path-deps.js",
443443
"remove-me": "https://unpkg.com/[email protected]/remove-me.js",
444-
"ws": "https://unpkg.com/[email protected].1/ws.js",
444+
"ws": "https://unpkg.com/[email protected].2/ws.js",
445445
"chunked-transfer": "https://unpkg.com/[email protected]/transfer-encoding-chunked.js"
446446
}
447447

448448
# %% ../nbs/api/00_core.ipynb
449-
htmxsrc = Script(src="https://unpkg.com/[email protected].3/dist/htmx.min.js")
450-
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/[email protected].4/fasthtml.js")
449+
htmxsrc = Script(src="https://unpkg.com/[email protected].4/dist/htmx.min.js")
450+
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/[email protected].12/fasthtml.js")
451451
surrsrc = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js")
452452
scopesrc = Script(src="https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js")
453453
viewport = Meta(name="viewport", content="width=device-width, initial-scale=1, viewport-fit=cover")

nbs/api/00_core.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,14 +1175,14 @@
11751175
"source": [
11761176
"#| export\n",
11771177
"htmx_exts = {\n",
1178-
" \"head-support\": \"https://unpkg.com/[email protected].1/head-support.js\", \n",
1179-
" \"preload\": \"https://unpkg.com/htmx-ext-preload@2.0.1/preload.js\", \n",
1180-
" \"class-tools\": \"https://unpkg.com/[email protected]/class-tools.js\", \n",
1181-
" \"loading-states\": \"https://unpkg.com/[email protected]/loading-states.js\", \n",
1182-
" \"multi-swap\": \"https://unpkg.com/[email protected]/multi-swap.js\", \n",
1183-
" \"path-deps\": \"https://unpkg.com/[email protected]/path-deps.js\", \n",
1178+
" \"head-support\": \"https://unpkg.com/[email protected].3/head-support.js\",\n",
1179+
" \"preload\": \"https://unpkg.com/htmx-ext-preload@2.1.0/preload.js\",\n",
1180+
" \"class-tools\": \"https://unpkg.com/[email protected]/class-tools.js\",\n",
1181+
" \"loading-states\": \"https://unpkg.com/[email protected]/loading-states.js\",\n",
1182+
" \"multi-swap\": \"https://unpkg.com/[email protected]/multi-swap.js\",\n",
1183+
" \"path-deps\": \"https://unpkg.com/[email protected]/path-deps.js\",\n",
11841184
" \"remove-me\": \"https://unpkg.com/[email protected]/remove-me.js\",\n",
1185-
" \"ws\": \"https://unpkg.com/[email protected].1/ws.js\",\n",
1185+
" \"ws\": \"https://unpkg.com/[email protected].2/ws.js\",\n",
11861186
" \"chunked-transfer\": \"https://unpkg.com/[email protected]/transfer-encoding-chunked.js\"\n",
11871187
"}"
11881188
]
@@ -1195,8 +1195,8 @@
11951195
"outputs": [],
11961196
"source": [
11971197
"#| export\n",
1198-
"htmxsrc = Script(src=\"https://unpkg.com/[email protected].3/dist/htmx.min.js\")\n",
1199-
"fhjsscr = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/[email protected].4/fasthtml.js\")\n",
1198+
"htmxsrc = Script(src=\"https://unpkg.com/[email protected].4/dist/htmx.min.js\")\n",
1199+
"fhjsscr = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/[email protected].12/fasthtml.js\")\n",
12001200
"surrsrc = Script(src=\"https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js\")\n",
12011201
"scopesrc = Script(src=\"https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js\")\n",
12021202
"viewport = Meta(name=\"viewport\", content=\"width=device-width, initial-scale=1, viewport-fit=cover\")\n",

0 commit comments

Comments
 (0)