@flighthq/xml 0.5.1-next.4305.c5b7dc0 → 0.5.1-next.4329.8d695d9
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/dist/contract.js +2 -2
- package/dist/index.js +1 -1
- package/dist/xmlParse.js +1 -1
- package/dist/xmlQuery.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/xml`. The `@flighthq
|
|
|
13
13
|
This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
|
|
14
14
|
|
|
15
15
|
- [Flight project](https://github.com/flighthq/flight)
|
|
16
|
-
- [Source for @flighthq/xml@0.5.1-next.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/xml@0.5.1-next.4329.8d695d9](https://github.com/flighthq/flight/tree/8d695d97fdf10328d441d2ba3091fd16029b5387/packages/xml)
|
|
17
|
+
- [License](https://github.com/flighthq/flight/blob/8d695d97fdf10328d441d2ba3091fd16029b5387/LICENSE.md)
|
package/dist/contract.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated from crates/flight-xml/src/lib.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
export { parseXmlAttributes, parseXmlDocument } from
|
|
4
|
-
export { getXmlElementAttribute, getXmlElementAttributeNumber, getXmlElementChildByName, getXmlElementChildrenByName, } from
|
|
3
|
+
export { parseXmlAttributes, parseXmlDocument } from './xmlParse.js';
|
|
4
|
+
export { getXmlElementAttribute, getXmlElementAttributeNumber, getXmlElementChildByName, getXmlElementChildrenByName, } from './xmlQuery.js';
|
|
5
5
|
//# sourceMappingURL=contract.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Generated from crates/flight-xml/src/lib.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
export { getXmlElementAttribute, getXmlElementAttributeNumber, getXmlElementChildByName, getXmlElementChildrenByName, parseXmlAttributes, parseXmlDocument, } from
|
|
3
|
+
export { getXmlElementAttribute, getXmlElementAttributeNumber, getXmlElementChildByName, getXmlElementChildrenByName, parseXmlAttributes, parseXmlDocument, } from './contract.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/xmlParse.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated from crates/flight-xml/src/xml_parse.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
import { createXmlRecord, createXmlScanner, decodeXmlEntitiesNative, expandXmlEntitiesNative, parseXmlAttributesNative, prepareXmlDocumentNative, pushXmlElementContent, pushXmlTextContent, xmlIsWhitespace, xmlScannerFind, xmlScannerLength, xmlScannerStartsWith, xmlScannerUnitAt, xmlTrim, xmlUtf16Slice, } from
|
|
3
|
+
import { createXmlRecord, createXmlScanner, decodeXmlEntitiesNative, expandXmlEntitiesNative, parseXmlAttributesNative, prepareXmlDocumentNative, pushXmlElementContent, pushXmlTextContent, xmlIsWhitespace, xmlScannerFind, xmlScannerLength, xmlScannerStartsWith, xmlScannerUnitAt, xmlTrim, xmlUtf16Slice, } from './xmlNative.js';
|
|
4
4
|
/**
|
|
5
5
|
* Authored XML rarely nests beyond a few dozen elements. This leaves an order of magnitude of
|
|
6
6
|
* margin while stopping recursion well below the engine-dependent call-stack limit.
|
package/dist/xmlQuery.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated from crates/flight-xml/src/xml_query.rs by flight-compiler.
|
|
2
2
|
// Rust is authoritative; run `npm run generate` after changing it.
|
|
3
|
-
import { getXmlRecordValue, parseXmlNumberNative, xmlTrim } from
|
|
3
|
+
import { getXmlRecordValue, parseXmlNumberNative, xmlTrim } from './xmlNative.js';
|
|
4
4
|
/**
|
|
5
5
|
* The attribute value for `name`, or None when the element has no such attribute.
|
|
6
6
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/xml",
|
|
3
|
-
"version": "0.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.4329.8d695d9",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"typescript": "^
|
|
43
|
+
"typescript": "^7.0.2"
|
|
44
44
|
},
|
|
45
45
|
"description": "Lightweight tree-building (DOM-style) XML parser: parseXmlDocument builds an XmlElement tree, plus parseXmlAttributes and element query helpers, for atlas, plist, and sprite-sheet format files",
|
|
46
46
|
"sideEffects": false
|