52 Commits

Author SHA1 Message Date
Carson Gross
1b3e78c331 fix package-lock.json 2025-06-27 07:41:58 -06:00
Carson Gross
e7bb245ef4 fix bad strings, merge master, update package-lock.json 2025-06-02 11:54:49 -06:00
Piotr Tomiak
11ff1940f0
Automatically generate Web Types for the package based on current documentation (#3071) 2025-06-02 11:25:23 -06:00
MichaelWest22
2ba7fd280e
Upgrade Typescript to move configuration from const to let (#2853)
* typescript upgrade v5.5.4

* fix dist
2024-08-29 10:30:51 -06:00
Carson Gross
0322b8782e release prep 2024-08-05 13:54:49 -06:00
dependabot[bot]
7ce7b4878b
Bump ws from 8.14.2 to 8.17.1 (#2718)
Bumps [ws](https://github.com/websockets/ws) from 8.14.2 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.14.2...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 14:17:06 -04:00
Alexander Petros
e1143de850
Generate .d.ts file in build script (#2653)
* Generate .d.ts file in build script

Resolves: #2629

* Streamline configuration options

Delete the JSConfig so we don't have to un-specify options when checking
vs generating (and also to remove a config file). Steamline the options
by re-using the NPM commands.

* Remove type generating from dev script
2024-06-20 11:18:47 -06:00
Carson Gross
6d3396c013 idk again 2024-06-17 12:16:39 -06:00
Vincent
f004978bbb
JSdoc in htmx.js + generated TypeScript definition (#2336)
* JSdoc in htmx.js + generated TypeScript definition

* Tsc trick to avoid inlining functions and reduce diff

* Replace Queryable with ParentNode

* Simplify getRawAttribute type check
2024-02-21 15:34:59 -06:00
Carson Gross
9fbbd17672 reformat 2023-12-24 16:37:51 -07:00
Carson Gross
3903e51672 fix up after merge 2023-12-24 15:33:09 -07:00
Vincent
23d473291d
Updated mocha, tests now work with node 20 (#2122)
* Updated mocha, tests now work with node 20

* Update package-lock.json

* Enable Node CI for v2.0v2.0 branch (#2123)

Run tests for v2.0v2.0 branch too

* Bump CI's node version to 20.x
2023-12-21 16:54:02 -05:00
Alexander Petros
1be703a142 Add standardJS format script
We're not enforcing it right now, but it's there if you want it.
2023-12-21 12:51:47 -05:00
Alexander Petros
7e484f65a4 Replace UMD with distribution script
This also includes a massive reformat of the htmx code, since the
indenting was changed. I used standardJS for this.
2023-12-21 12:20:48 -05:00
Alexander Petros
a66a98b9ed
Fix WS/SSE tests and replace go backend with NodeJS (#1876)
* Write WS and SSE test backend in node

* Refactor pages so that the URLs work

* Add tab highlighting script

* Fix stream with multiple events

* Fix highlighting on ext links

* Refactor WS code

* Support event trigger tests

* Add some jitter to the intervals

* Delete old go backend

* Update README with new info and credits

* Update top-level README

* Move ws to dev dependencies

* Remove extraneous go server

* Fix misplace comment
2023-10-12 15:54:40 -05:00
Alexander Petros
d1288d202a
Remove old tests from the website (#1733)
The website used to host every past test suite, copied into the www
directory. We no longer need that on the website (and it makes the
codebase impossible to search) so I removed all the old tests and the
new tests are hosted simply at /test.

I also replaced the www.js script with a simpler www.sh one (since we no
longer need to do anything besides copying, really), which allowed me to
remove a node dependency that was only used in that script.
2023-09-19 11:07:24 -05:00
Alexander Petros
d3788776d6
Fix clearWorkArea test util function (#1507)
Update the clearWorkArea function so that it doesn't error if there was
never a work area set up to begin with. This was causing the `npm test`
target to end with an error code.

The package-lock.json update happens on a fresh install with node 15, so
I'm including it here to make sure that the tests passing is
reproducible. I also updated the package.json file to warn you if you're
not running node 15.
2023-06-24 14:22:22 -06:00
Carson Gross
6c0aa11f62 bump to 1.9.2 2023-04-28 11:28:12 -06:00
Carson Gross
fec34cb18e prep 1.9.1 release 2023-04-26 11:48:57 -06:00
Carson Gross
2887a76508 update npm deps 2023-04-11 09:49:55 -06:00
Deniz Akşimşek
017a37119d
Vanquish Sass (#1312) 2023-03-01 12:02:01 -07:00
dependabot[bot]
b58bb795fb
Bump flat and mocha (#1182)
Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together.


Updates `flat` from 4.1.1 to 5.0.2
- [Release notes](https://github.com/hughsk/flat/releases)
- [Commits](https://github.com/hughsk/flat/compare/4.1.1...5.0.2)

Updates `mocha` from 7.2.0 to 10.2.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v10.2.0)

---
updated-dependencies:
- dependency-name: flat
  dependency-type: indirect
- dependency-name: mocha
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-01 10:08:59 -06:00
dependabot[bot]
8440139228
Bump decode-uri-component from 0.2.0 to 0.2.2 (#1151)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:01:55 -06:00
dependabot[bot]
85937b6907
Bump engine.io from 6.2.0 to 6.2.1 (#1138)
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:01:03 -06:00
Carson Gross
83b60f41f1 1.8 release prep 2022-07-11 13:57:23 -06:00
Carson Gross
2dfffb5182 bump sass :( 2022-05-12 17:35:49 -06:00
carson
7be95f6e3b bump for next version of htmx 2022-04-07 14:34:33 -06:00
carson
872e6ad2d6 update 2022-02-04 10:45:40 -07:00
carson
2885149b81 update podcasts 2021-07-12 13:42:30 -06:00
Chris
cdd5c9e756 add typings
removed undesired comments. we are only documenting public API

testing

bump

optional

optionals

done

removed two junk files

moved dependency to dev dependency
2021-07-06 14:01:24 -04:00
dependabot[bot]
fe407553cc
Bump postcss from 7.0.35 to 7.0.36
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 02:20:25 +00:00
dependabot[bot]
e8a6ee29c5
Bump ws from 7.2.5 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.2.5 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.2.5...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 08:40:31 +00:00
carson
f3c01b3b12 www stuff 2021-05-25 09:35:36 -06:00
carson
438dae7408 add rss feed, fixes https://github.com/bigskysoftware/htmx/issues/477 2021-05-10 10:14:32 -06:00
1cg
6ee8e4bfd3
Merge pull request #481 from bigskysoftware/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-10 09:17:49 -06:00
dependabot[bot]
2ffb3e081f
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:17:27 +00:00
dependabot[bot]
0483d96a08
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:17:20 +00:00
1cg
7453663e4c
Merge pull request #479 from bigskysoftware/dependabot/npm_and_yarn/ua-parser-js-0.7.28
Bump ua-parser-js from 0.7.23 to 0.7.28
2021-05-10 09:15:43 -06:00
dependabot[bot]
af1004c8f6
Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 22:24:19 +00:00
dependabot[bot]
0f554b520c
Bump ua-parser-js from 0.7.23 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.23 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.23...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 22:18:36 +00:00
dependabot[bot]
abe7308895
Bump pug-code-gen from 2.0.2 to 2.0.3
Bumps [pug-code-gen](https://github.com/pugjs/pug) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@2.0.2...pug@2.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-03 04:24:36 +00:00
carson
ed39bf08e4 prep 1.2.1 release 2021-02-19 10:08:15 -07:00
carson
f359182dae 1.2.0 release prep 2021-02-05 20:44:47 -07:00
akinmayowa
a0ab74cfa5 add meaningful page titles 2021-01-10 08:04:17 +01:00
dependabot[bot]
823f31876e
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 11:29:48 +00:00
carson
3aa8c64754 le big re-rename 2020-05-17 05:22:19 -07:00
Carson Gross
b4d95b8701 IE Fixes 2020-05-07 05:35:20 -07:00
carson
b003ccadf8 le big rename 2020-05-06 17:16:20 -07:00
carson
9e8f101c0f infrastructure for copying out a version of htmx for testing in the broader browser world 2020-05-02 14:31:05 -07:00
carson
457f6d001a use 11ty for the website 2020-04-28 12:24:48 -07:00