@crossbind/port-expat 2.0.0-beta.63 → 2.0.0-beta.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -180,13 +180,13 @@ try {
|
|
|
180
180
|
- For large documents, pass a path instead of a string and let Expat read the file in pieces: the streaming example below does that.
|
|
181
181
|
|
|
182
182
|
### More examples
|
|
183
|
-
Each one runs in your browser on [crossbind.dev/ports/expat](https://crossbind.dev/ports/expat/#
|
|
183
|
+
Each one runs in your browser on [crossbind.dev/ports/expat](https://crossbind.dev/ports/expat/#examples), next to the code shown there:
|
|
184
184
|
|
|
185
185
|
- [Stream a file through Expat](https://crossbind.dev/ports/expat/#02-stream): `XML_GetBuffer` and `XML_ParseBuffer`, 64 KiB at a time.
|
|
186
186
|
- [Read namespaced XML whatever the prefixes](https://crossbind.dev/ports/expat/#03-namespaces): `XML_ParserCreateNS` and `XML_SetStartNamespaceDeclHandler`.
|
|
187
187
|
- [Expand entities without a billion laughs](https://crossbind.dev/ports/expat/#04-limits): `XML_SetBillionLaughsAttackProtectionMaximumAmplification` and `XML_SetBillionLaughsAttackProtectionActivationThreshold`.
|
|
188
188
|
|
|
189
|
-
Setup
|
|
189
|
+
Setup for every platform: [crossbind.dev/ports/expat](https://crossbind.dev/ports/expat/#install). The same page has [a command-line program](https://crossbind.dev/ports/expat/#wasi-program) built with `crossbind build -p wasi -e wasi`.
|
|
190
190
|
|
|
191
191
|
## What this build includes
|
|
192
192
|
- Expat 2.8.5 as a static library, built with upstream's CMake defaults: DTD and general entity support (`XML_DTD`, `XML_GE`), namespaces (`XML_NS`) and 1,024 bytes of context (`XML_CONTEXT_BYTES`). The API speaks UTF-8.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossbind/port-expat",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.65",
|
|
4
4
|
"nativeVersion": "2.9.0",
|
|
5
5
|
"description": "This package provides the precompiled Expat XML parser library, built using crossbind, for seamless integration into JavaScript, WebAssembly, and React Native projects. It enables fast and efficient parsing of XML data, making it ideal for applications requiring robust XML handling across platforms. Perfect for web, server-side, and mobile development environments.",
|
|
6
6
|
"homepage": "https://crossbind.dev/ports/expat/",
|