Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
07864e0
stuff
remorses Jul 27, 2023
bd7739e
readme: update
remorses Jul 27, 2023
d68798d
works in edge runtime
remorses Jul 27, 2023
8e4ea13
nn
remorses Jul 27, 2023
c4e1a31
types
remorses Jul 27, 2023
0145581
fix
remorses Jul 27, 2023
c040269
make it work everywhere
remorses Aug 2, 2023
329b029
nn
remorses Aug 2, 2023
2e0e205
less strict
remorses Aug 2, 2023
ac4ae31
changed gitignore
remorses Aug 2, 2023
ccbdc4b
nn
remorses Aug 2, 2023
de907a8
added readme
remorses Aug 2, 2023
f37ab41
license
remorses Aug 2, 2023
8b54984
rename
remorses Aug 2, 2023
38267fa
fix copy
remorses Aug 2, 2023
9ab8187
don't ignore dist
remorses Aug 2, 2023
897221a
fix missing files
remorses Aug 2, 2023
5925d38
fix package.json
remorses Aug 2, 2023
838c934
readme
remorses Aug 2, 2023
482181f
readme
remorses Aug 2, 2023
2f32f97
more docs on cloudflare
remorses Aug 2, 2023
1266ceb
prepublish
remorses Aug 2, 2023
4729850
fix nextjs usage
remorses Aug 2, 2023
76586b7
release
remorses Aug 2, 2023
cfbb33e
works in deno too
remorses Aug 2, 2023
9127771
print error
remorses Aug 4, 2023
88bcd23
updates
remorses Aug 6, 2023
4dfbd93
nn
remorses Aug 23, 2023
20c6715
remove assert dep
remorses Sep 22, 2023
a04a601
release
remorses Sep 22, 2023
fd0a4ed
update
remorses Nov 25, 2023
0587215
nn
remorses Nov 29, 2023
a90465c
release
remorses Jan 16, 2024
07f0850
fix types, fix #1
remorses Jan 16, 2024
cc39acc
release
remorses Jan 16, 2024
4310583
initPromise is a static prop
remorses Jan 16, 2024
6c9f7cf
update next
remorses Jan 25, 2024
aafe197
updates
remorses Feb 4, 2024
8e9e8b5
updates
remorses May 6, 2024
98d8852
updates
remorses May 29, 2024
de0755b
updates
remorses Jun 19, 2024
9648820
use a readable stream so errors are managed correctly
remorses Jul 26, 2024
67df6b8
new version
remorses Jul 26, 2024
1c1d7df
fix node existing the process bug?
remorses Jul 26, 2024
0a706b9
tests for nodejs bug, after node 18. add more exports
remorses Sep 1, 2024
129556d
release
remorses Oct 16, 2024
f0a33a7
update vitest
remorses Dec 9, 2024
acd9c4b
updates
remorses Dec 9, 2024
8b740fd
updates
remorses Dec 11, 2024
c55a0b1
updates
remorses Apr 7, 2025
c0e713a
allow package to be used with turborepo
dferber90 Jun 12, 2025
1700ac0
Merge pull request #6 from dferber90/patch-1
remorses Jun 13, 2025
27017c8
use updated version of lol html
remorses Jun 13, 2025
3ff6c1d
copy dist from npm, wasm-pack no longer works
remorses Jun 13, 2025
164ffcf
release
remorses Jun 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/test.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.DS_Store
.idea
dist
node_modules
target
target
node
pkg
play.mjs
npm
3 changes: 0 additions & 3 deletions .prettierrc

This file was deleted.

70 changes: 49 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,61 @@
# 🚧 Changelog
# htmlrewriter

## 0.4.1
## 0.0.12

- Throw `TypeError`s instead of `string`s on parser errors
### Patch Changes

## 0.4.0
- Fix dist/html_rewriter

- Add support for `Element#onEndTag`
- Add support for the
[`html_rewriter_treats_esi_include_as_void_tag`](https://developers.cloudflare.com/workers/platform/compatibility-dates#htmlrewriter-handling-of-esiinclude)
compatibility flag
- Throw a `TypeError` instead of a `string` when a content token is used outside
the relevant content handler
## 0.0.11

## 0.3.3
### Patch Changes

- Make `Promise` detection for async handlers stricter
- Add export for dist/html_rewriter

## 0.3.2
## 0.0.10

- Fix `Promise` detection for async handlers. `Promise`s in different realms
will now be detected. Closes
[issue #1](https://github.com/mrbbot/html-rewriter-wasm/issues/1).
### Patch Changes

## 0.3.1
- Added more exports for individual files

- Change the return type of `Element#attributes` to `IterableIterator`
- Bind handlers' `this` in Rust
## 0.0.7

## 0.3.0
### Patch Changes

Initial Release
- HTMLRewriter initPromise is static, fix typescript declaration bug

## 0.0.6

### Patch Changes

- Fix types for HtmlRewriter

## 0.0.5

### Patch Changes

- Add types export

## 0.0.4

### Patch Changes

- Remove dep on assert

## 0.0.3

### Patch Changes

- add missing vercel.js file to npm

## 0.0.2

### Patch Changes

- fix next.js condition using browser

## 0.0.1

### Patch Changes

- use the workerd condition to build
Loading
Loading