parse-tmx 2.11.0 → 2.13.0
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 +1 -1
- package/dist/index.js +2 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ pnpm i parse-tmx
|
|
|
24
24
|
|
|
25
25
|
## <a name="documentation">📖 Documentation</a>
|
|
26
26
|
|
|
27
|
-
We highly recommend you take a look at the [documentation](https://esposter.com/docs/modules/
|
|
27
|
+
We highly recommend you take a look at the [documentation](https://esposter.com/docs/modules/parse-tmx.html) to level up.
|
|
28
28
|
|
|
29
29
|
### Usage
|
|
30
30
|
|
package/dist/index.js
CHANGED
|
@@ -17579,11 +17579,6 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
17579
17579
|
var i$2 = parseInt(t$3 || r$3, 16);
|
|
17580
17580
|
return i$2 > 1114111 && n$2.throwUnexpectedToken(o.Messages.InvalidRegExp), i$2 <= 65535 ? String.fromCharCode(i$2) : "";
|
|
17581
17581
|
})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, ""));
|
|
17582
|
-
try {
|
|
17583
|
-
RegExp(r$2);
|
|
17584
|
-
} catch (e$4) {
|
|
17585
|
-
this.throwUnexpectedToken(o.Messages.InvalidRegExp);
|
|
17586
|
-
}
|
|
17587
17582
|
try {
|
|
17588
17583
|
return new RegExp(e$3, t$2);
|
|
17589
17584
|
} catch (e$4) {
|
|
@@ -18927,7 +18922,7 @@ var require_xmlbuilder2_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
18927
18922
|
]);
|
|
18928
18923
|
}));
|
|
18929
18924
|
}) });
|
|
18930
|
-
var import_xmlbuilder2_min = /* @__PURE__ */ __toESM(require_xmlbuilder2_min()
|
|
18925
|
+
var import_xmlbuilder2_min = /* @__PURE__ */ __toESM(require_xmlbuilder2_min());
|
|
18931
18926
|
const BUILTIN_NAME_KEY = "#name";
|
|
18932
18927
|
const TEXT_NODE_NAME = "__text__";
|
|
18933
18928
|
const DefaultParserOptions = {
|
|
@@ -21691,7 +21686,7 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sax@1.4
|
|
|
21691
21686
|
})();
|
|
21692
21687
|
})(typeof exports$1 === "undefined" ? exports$1.sax = {} : exports$1);
|
|
21693
21688
|
}) });
|
|
21694
|
-
var import_sax = /* @__PURE__ */ __toESM(require_sax()
|
|
21689
|
+
var import_sax = /* @__PURE__ */ __toESM(require_sax());
|
|
21695
21690
|
var Parser = class {
|
|
21696
21691
|
get xmlnsKey() {
|
|
21697
21692
|
return `${this.options.attrkey}ns`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "parse-tmx",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "A parser for tmx.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/Esposter/Esposter/blob/main/packages/parse-tmx#readme",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"export:gen": "ctix build --config ../configuration/.ctirc-ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@esposter/xml2js": "2.
|
|
38
|
+
"@esposter/xml2js": "2.13.0",
|
|
39
39
|
"data-urls": "^5.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/data-urls": "^3.0.4",
|
|
43
43
|
"@types/xml2js": "^0.4.14"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "1765c0d90ecc03c94e942d88b8d8da962a8f53bc"
|
|
46
46
|
}
|