Skip to content

Commit 9f08eed

Browse files
Merge branch 'dev' into history-improvments3
2 parents 065a8e6 + 3c1ac71 commit 9f08eed

149 files changed

Lines changed: 4781 additions & 1138 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
## introduction
1111

1212
htmx allows you to access [AJAX](https://htmx.org/docs#ajax), [CSS Transitions](https://htmx.org/docs#css_transitions),
13-
[WebSockets](https://htmx.org/docs#websockets) and [Server Sent Events](https://htmx.org/docs#sse)
13+
[WebSockets](https://htmx.org/extensions/ws/) and [Server Sent Events](https://htmx.org/extensions/sse/)
1414
directly in HTML, using [attributes](https://htmx.org/reference#attributes), so you can build
1515
[modern user interfaces](https://htmx.org/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and
1616
[power](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) of hypertext
1717

18-
htmx is small ([~14k min.gz'd](https://unpkg.com/htmx.org/dist/)),
18+
htmx is small ([~14k min.gz'd](https://cdn.jsdelivr.net/npm/htmx.org/dist/)),
1919
[dependency-free](https://github.com/bigskysoftware/htmx/blob/master/package.json) &
2020
[extendable](https://htmx.org/extensions)
2121

@@ -32,7 +32,7 @@ By removing these arbitrary constraints htmx completes HTML as a
3232
## quick start
3333

3434
```html
35-
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
35+
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.4/dist/htmx.min.js"></script>
3636
<!-- have a button POST a click via AJAX -->
3737
<button hx-post="/clicked" hx-swap="outerHTML">
3838
Click Me
@@ -99,8 +99,6 @@ At this point you can modify `/src/htmx.js` to add features, and then add tests
9999
htmx uses the [mocha](https://mochajs.org/) testing framework, the [chai](https://www.chaijs.com/) assertion framework
100100
and [sinon](https://sinonjs.org/releases/v9/fake-xhr-and-server/) to mock out AJAX requests. They are all OK.
101101

102-
You can also run live tests and demo of the WebSockets and Server-Side Events extensions with `npm run ws-tests`
103-
104102
## haiku
105103

106104
*javascript fatigue:<br/>

SECURITY.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| 2.x | :white_check_mark: |
8+
| 1.9.x | :white_check_mark: |
9+
| < 1.9 | :x: |
10+
11+
## Reporting a Vulnerability
12+
13+
If you think you've found a vulnerability, please use the _Report a vulnerability_ button found in the [security tab](https://github.com/bigskysoftware/htmx/security) of the project on Github.
14+
15+
This process is documented in GitHub's _Secure Coding_ guide: [Privately reporting a security vulnerability](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability).

editors/jetbrains/htmx.svg

Lines changed: 46 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)