spiegel-keyman/developer/src/common/web/utils/package.json
Marc Durdin 7d5c98ddba fix(developer): bump fast-xml-parser to 5.0.9
This is a major dependency version bump (4.5.0 to 5.0.9) which we would
normally avoid during beta. However, we need the fix
NaturalIntelligence/fast-xml-parser#725 for hex escapes in XML, which is
incorporated in 5.0.9.

I have assessed the other changes to fast-xml-parser and found no
breaking changes for us, but I tightened the types in xml-utils
declarations and found some minor inconsistencies which appear to have
no impact, and which I have corrected:
* wrong type in unused parameter to `tagValueProcessor`
* reference to unused property `options.emptyTag`

While doing this, I consolidated the common options for the parser in
order to verify consistency, but made no changes to the resolved
parsing/building options.

Added a test to ldml keyboard reading, to verify that numeric strings
are treated as strings, given the divergence in the `numberParseOptions`
option, and it shows that numeric strings are treated as strings.

Fixes: #13348
2025-03-17 06:22:29 +07:00

50 lines
1.1 KiB
JSON

{
"name": "@keymanapp/developer-utils",
"description": "Keyman Developer utilities",
"type": "module",
"exports": {
".": "./build/src/index.js"
},
"files": [
"/build/"
],
"dependencies": {
"@keymanapp/common-types": "*",
"@sentry/node": "^7.57.0",
"eventemitter3": "^5.0.0",
"fast-xml-parser": "^5.0.9",
"path-browserify": "^1.0.1",
"restructure": "^3.0.1",
"sax": ">=0.6.0",
"semver": "^7.5.4",
"xmlbuilder": "~11.0.0"
},
"devDependencies": {
"@types/git-diff": "^2.0.3",
"@types/node": "^20.4.1",
"@types/path-browserify": "^1.0.3",
"@types/semver": "^7.3.12",
"c8": "^7.12.0",
"git-diff": "^2.0.6",
"mocha": "^8.4.0",
"typescript": "^5.4.5"
},
"scripts": {
"build": "tsc -b"
},
"mocha": {
"spec": "build/test/**/*.tests.js",
"require": [
"source-map-support/register"
]
},
"author": "Marc Durdin <marc@keyman.com> (https://github.com/mcdurdin)",
"license": "MIT",
"bugs": {
"url": "https://github.com/keymanapp/keyman/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/keymanapp/keyman.git"
}
}