@openclaw/nextcloud-talk 2026.10.10 → 2026.11.5-beta.1
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/dist/.setup/api-BvrRSilb.mjs +2 -0
- package/dist/.setup/{channel-D9tHRtkv.mjs → channel-BA1-OoqO.mjs} +1695 -934
- package/dist/.setup/outbound-media-CpFe1Xgz.mjs +303 -0
- package/dist/.setup/reply-BEkv387l.mjs +64 -0
- package/dist/.setup/{runtime-api-DSz4xBAm.mjs → runtime-api-CGy_KpdV.mjs} +1 -2
- package/dist/.setup/{secret-contract-api-CKCDZ3m8.mjs → secret-contract-api-QMihLdr1.mjs} +1 -1
- package/dist/.setup/secret-contract-yjCLewtg.mjs +19 -0
- package/dist/.source-module-urls/3332e832383d54fca83a3cfe8961ecdecf361c1eec0972c99f00a876d9481d98.json +1 -1
- package/dist/api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/configured-state.js +2 -5
- package/dist/runtime-api.js +1 -1
- package/dist/secret-contract-api.js +1 -1
- package/dist/setup-entry.js +2 -2
- package/node_modules/saxes/README.md +323 -0
- package/node_modules/saxes/node_modules/xmlchars/LICENSE +18 -0
- package/node_modules/saxes/node_modules/xmlchars/README.md +33 -0
- package/node_modules/saxes/node_modules/xmlchars/package.json +51 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
- package/node_modules/saxes/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
- package/node_modules/saxes/node_modules/xmlchars/xmlchars.d.ts +170 -0
- package/node_modules/saxes/node_modules/xmlchars/xmlchars.js +191 -0
- package/node_modules/saxes/node_modules/xmlchars/xmlchars.js.map +1 -0
- package/node_modules/saxes/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/node_modules/saxes/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/node_modules/saxes/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- package/node_modules/saxes/package.json +71 -0
- package/node_modules/saxes/saxes.d.ts +635 -0
- package/node_modules/saxes/saxes.js +2053 -0
- package/node_modules/saxes/saxes.js.map +1 -0
- package/node_modules/zod/package.json +1 -1
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
- package/node_modules/zod/src/v4/core/compile.ts +9 -0
- package/node_modules/zod/src/v4/core/schemas.ts +35 -1
- package/node_modules/zod/src/v4/core/util.ts +13 -0
- package/node_modules/zod/src/v4/core/versions.ts +1 -1
- package/node_modules/zod/v4/core/compile.cjs +8 -0
- package/node_modules/zod/v4/core/compile.js +8 -0
- package/node_modules/zod/v4/core/schemas.cjs +30 -0
- package/node_modules/zod/v4/core/schemas.d.cts +3 -1
- package/node_modules/zod/v4/core/schemas.d.ts +3 -1
- package/node_modules/zod/v4/core/schemas.js +30 -0
- package/node_modules/zod/v4/core/util.cjs +15 -0
- package/node_modules/zod/v4/core/util.d.cts +2 -0
- package/node_modules/zod/v4/core/util.d.ts +2 -0
- package/node_modules/zod/v4/core/util.js +14 -0
- package/node_modules/zod/v4/core/versions.cjs +1 -1
- package/node_modules/zod/v4/core/versions.js +1 -1
- package/openclaw.plugin.json +23 -1
- package/package.json +8 -6
- package/dist/.setup/api-BgnUYkO3.mjs +0 -2
- package/dist/.setup/secret-contract-BHyPrmz3.mjs +0 -14
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Character classes for XML.
|
|
4
|
+
*
|
|
5
|
+
* @deprecated since 1.3.0. Import from the ``xml`` and ``xmlns`` hierarchies
|
|
6
|
+
* instead.
|
|
7
|
+
*
|
|
8
|
+
* @author Louis-Dominique Dubeau
|
|
9
|
+
* @license MIT
|
|
10
|
+
* @copyright Louis-Dominique Dubeau
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
var ed4 = require("./xml/1.0/ed4");
|
|
14
|
+
var ed5 = require("./xml/1.0/ed5");
|
|
15
|
+
var nsed3 = require("./xmlns/1.0/ed3");
|
|
16
|
+
// tslint:disable-next-line:no-console
|
|
17
|
+
console.warn("DEPRECATION WARNING: the xmlchar *module* is deprecated: please \
|
|
18
|
+
replace e.g. require('xmlchars') with require('xmlchars/xml/...')");
|
|
19
|
+
/**
|
|
20
|
+
* Character class utilities for XML 1.0.
|
|
21
|
+
*/
|
|
22
|
+
// tslint:disable-next-line:no-namespace
|
|
23
|
+
var XML_1_0;
|
|
24
|
+
(function (XML_1_0) {
|
|
25
|
+
/**
|
|
26
|
+
* Fifth edition.
|
|
27
|
+
*/
|
|
28
|
+
var ED5;
|
|
29
|
+
(function (ED5) {
|
|
30
|
+
/**
|
|
31
|
+
* Regular expression fragments. These fragments are designed to be included
|
|
32
|
+
* inside square brackets in a regular expression.
|
|
33
|
+
*/
|
|
34
|
+
var fragments;
|
|
35
|
+
(function (fragments) {
|
|
36
|
+
fragments.CHAR = ed5.CHAR;
|
|
37
|
+
fragments.S = ed5.S;
|
|
38
|
+
fragments.NAME_START_CHAR = ed5.NAME_START_CHAR;
|
|
39
|
+
fragments.NAME_CHAR = ed5.NAME_CHAR;
|
|
40
|
+
})(fragments = ED5.fragments || (ED5.fragments = {}));
|
|
41
|
+
/**
|
|
42
|
+
* Regular expression. These correspond to the productions of the same name
|
|
43
|
+
* in the specification.
|
|
44
|
+
*/
|
|
45
|
+
var regexes;
|
|
46
|
+
(function (regexes) {
|
|
47
|
+
regexes.CHAR = ed5.CHAR_RE;
|
|
48
|
+
regexes.S = ed5.S_RE;
|
|
49
|
+
regexes.NAME_START_CHAR = ed5.NAME_START_CHAR_RE;
|
|
50
|
+
regexes.NAME_CHAR = ed5.NAME_CHAR_RE;
|
|
51
|
+
regexes.NAME = ed5.NAME_RE;
|
|
52
|
+
regexes.NMTOKEN = ed5.NMTOKEN_RE;
|
|
53
|
+
})(regexes = ED5.regexes || (ED5.regexes = {}));
|
|
54
|
+
/**
|
|
55
|
+
* Lists of characters.
|
|
56
|
+
*
|
|
57
|
+
* The names defined in this namespace are arrays of codepoints which
|
|
58
|
+
* contain the set of codepoints that an XML production encompasses. Note
|
|
59
|
+
* that many productions are too large to be reasonably represented as sets.
|
|
60
|
+
*/
|
|
61
|
+
var lists;
|
|
62
|
+
(function (lists) {
|
|
63
|
+
lists.S = ed5.S_LIST;
|
|
64
|
+
})(lists = ED5.lists || (ED5.lists = {}));
|
|
65
|
+
/**
|
|
66
|
+
* Determines whether a codepoint matches the ``CHAR`` production.
|
|
67
|
+
*
|
|
68
|
+
* @param c The code point.
|
|
69
|
+
*
|
|
70
|
+
* @returns ``true`` if the codepoint matches ``CHAR``.
|
|
71
|
+
*/
|
|
72
|
+
ED5.isChar = ed5.isChar;
|
|
73
|
+
/**
|
|
74
|
+
* Determines whether a codepoint matches the ``S`` (space) production.
|
|
75
|
+
*
|
|
76
|
+
* @param c The code point.
|
|
77
|
+
*
|
|
78
|
+
* @returns ``true`` if the codepoint matches ``S``.
|
|
79
|
+
*/
|
|
80
|
+
ED5.isS = ed5.isS;
|
|
81
|
+
/**
|
|
82
|
+
* Determines whether a codepoint matches the ``NAME_START_CHAR``
|
|
83
|
+
* production.
|
|
84
|
+
*
|
|
85
|
+
* @param c The code point.
|
|
86
|
+
*
|
|
87
|
+
* @returns ``true`` if the codepoint matches ``NAME_START_CHAR``.
|
|
88
|
+
*/
|
|
89
|
+
ED5.isNameStartChar = ed5.isNameStartChar;
|
|
90
|
+
/**
|
|
91
|
+
* Determines whether a codepoint matches the ``NAME_CHAR`` production.
|
|
92
|
+
*
|
|
93
|
+
* @param c The code point.
|
|
94
|
+
*
|
|
95
|
+
* @returns ``true`` if the codepoint matches ``NAME_CHAR``.
|
|
96
|
+
*/
|
|
97
|
+
ED5.isNameChar = ed5.isNameChar;
|
|
98
|
+
})(ED5 = XML_1_0.ED5 || (XML_1_0.ED5 = {}));
|
|
99
|
+
/**
|
|
100
|
+
* Fourth edition. These are deprecated in the 5th edition but some of the
|
|
101
|
+
* standards related to XML 1.0 (e.g. XML Schema 1.0) refer to these. So they
|
|
102
|
+
* are still generally useful.
|
|
103
|
+
*/
|
|
104
|
+
var ED4;
|
|
105
|
+
(function (ED4) {
|
|
106
|
+
/**
|
|
107
|
+
* Regular expression fragments. These fragments are designed to be included
|
|
108
|
+
* inside square brackets in a regular expression.
|
|
109
|
+
*/
|
|
110
|
+
var fragments;
|
|
111
|
+
(function (fragments) {
|
|
112
|
+
fragments.CHAR = ed4.CHAR;
|
|
113
|
+
fragments.S = ed4.S;
|
|
114
|
+
fragments.BASE_CHAR = ed4.BASE_CHAR;
|
|
115
|
+
fragments.IDEOGRAPHIC = ed4.IDEOGRAPHIC;
|
|
116
|
+
fragments.COMBINING_CHAR = ed4.COMBINING_CHAR;
|
|
117
|
+
fragments.DIGIT = ed4.DIGIT;
|
|
118
|
+
fragments.EXTENDER = ed4.EXTENDER;
|
|
119
|
+
fragments.LETTER = ed4.LETTER;
|
|
120
|
+
fragments.NAME_CHAR = ed4.NAME_CHAR;
|
|
121
|
+
})(fragments = ED4.fragments || (ED4.fragments = {}));
|
|
122
|
+
/**
|
|
123
|
+
* Regular expression. These correspond to the productions of the same
|
|
124
|
+
* name in the specification.
|
|
125
|
+
*/
|
|
126
|
+
var regexes;
|
|
127
|
+
(function (regexes) {
|
|
128
|
+
regexes.CHAR = ed4.CHAR_RE;
|
|
129
|
+
regexes.S = ed4.S_RE;
|
|
130
|
+
regexes.BASE_CHAR = ed4.BASE_CHAR_RE;
|
|
131
|
+
regexes.IDEOGRAPHIC = ed4.IDEOGRAPHIC_RE;
|
|
132
|
+
regexes.COMBINING_CHAR = ed4.COMBINING_CHAR_RE;
|
|
133
|
+
regexes.DIGIT = ed4.DIGIT_RE;
|
|
134
|
+
regexes.EXTENDER = ed4.EXTENDER_RE;
|
|
135
|
+
regexes.LETTER = ed4.LETTER_RE;
|
|
136
|
+
regexes.NAME_CHAR = ed4.NAME_CHAR_RE;
|
|
137
|
+
regexes.NAME = ed4.NAME_RE;
|
|
138
|
+
regexes.NMTOKEN = ed4.NMTOKEN_RE;
|
|
139
|
+
})(regexes = ED4.regexes || (ED4.regexes = {}));
|
|
140
|
+
})(ED4 = XML_1_0.ED4 || (XML_1_0.ED4 = {}));
|
|
141
|
+
})(XML_1_0 = exports.XML_1_0 || (exports.XML_1_0 = {}));
|
|
142
|
+
/**
|
|
143
|
+
* Character class utilities for XML NS 1.0.
|
|
144
|
+
*/
|
|
145
|
+
// tslint:disable-next-line:no-namespace
|
|
146
|
+
var XMLNS_1_0;
|
|
147
|
+
(function (XMLNS_1_0) {
|
|
148
|
+
/**
|
|
149
|
+
* Third edition.
|
|
150
|
+
*/
|
|
151
|
+
var ED3;
|
|
152
|
+
(function (ED3) {
|
|
153
|
+
/**
|
|
154
|
+
* Regular expression fragments. These fragments are designed to be included
|
|
155
|
+
* inside square brackets in a regular expression.
|
|
156
|
+
*/
|
|
157
|
+
var fragments;
|
|
158
|
+
(function (fragments) {
|
|
159
|
+
fragments.NC_NAME_START_CHAR = nsed3.NC_NAME_START_CHAR;
|
|
160
|
+
fragments.NC_NAME_CHAR = nsed3.NC_NAME_CHAR;
|
|
161
|
+
})(fragments = ED3.fragments || (ED3.fragments = {}));
|
|
162
|
+
/**
|
|
163
|
+
* Regular expression. These correspond to the productions of the same name
|
|
164
|
+
* in the specification.
|
|
165
|
+
*/
|
|
166
|
+
var regexes;
|
|
167
|
+
(function (regexes) {
|
|
168
|
+
regexes.NC_NAME_START_CHAR = nsed3.NC_NAME_START_CHAR_RE;
|
|
169
|
+
regexes.NC_NAME_CHAR = nsed3.NC_NAME_CHAR_RE;
|
|
170
|
+
regexes.NC_NAME = nsed3.NC_NAME_RE;
|
|
171
|
+
})(regexes = ED3.regexes || (ED3.regexes = {}));
|
|
172
|
+
/**
|
|
173
|
+
* Determines whether a codepoint matches
|
|
174
|
+
* [[regexes.NC_NAME_START_CHAR]].
|
|
175
|
+
*
|
|
176
|
+
* @param c The code point.
|
|
177
|
+
*
|
|
178
|
+
* @returns ``true`` if the codepoint matches.
|
|
179
|
+
*/
|
|
180
|
+
ED3.isNCNameStartChar = nsed3.isNCNameStartChar;
|
|
181
|
+
/**
|
|
182
|
+
* Determines whether a codepoint matches [[regexes.NC_NAME_CHAR]].
|
|
183
|
+
*
|
|
184
|
+
* @param c The code point.
|
|
185
|
+
*
|
|
186
|
+
* @returns ``true`` if the codepoint matches.
|
|
187
|
+
*/
|
|
188
|
+
ED3.isNCNameChar = nsed3.isNCNameChar;
|
|
189
|
+
})(ED3 = XMLNS_1_0.ED3 || (XMLNS_1_0.ED3 = {}));
|
|
190
|
+
})(XMLNS_1_0 = exports.XMLNS_1_0 || (exports.XMLNS_1_0 = {}));
|
|
191
|
+
//# sourceMappingURL=xmlchars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xmlchars.js","sourceRoot":"","sources":["../../src/xmlchars.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAEH,mCAAqC;AACrC,mCAAqC;AACrC,uCAAyC;AAEzC,sCAAsC;AACtC,OAAO,CAAC,IAAI,CAAC;kEACqD,CAAC,CAAC;AAEpE;;GAEG;AACH,wCAAwC;AACxC,IAAiB,OAAO,CAsHvB;AAtHD,WAAiB,OAAO;IACtB;;OAEG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B,SAAS,CA4CzB;AA5CD,WAAiB,SAAS;IAExB;;OAEG;IACH,IAAiB,GAAG,CAsCnB;IAtCD,WAAiB,GAAG;QAClB;;;WAGG;QACH,IAAiB,SAAS,CAGzB;QAHD,WAAiB,SAAS;YACX,4BAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC;YAC9C,sBAAY,GAAG,KAAK,CAAC,YAAY,CAAC;QACjD,CAAC,EAHgB,SAAS,GAAT,aAAS,KAAT,aAAS,QAGzB;QAED;;;WAGG;QACH,IAAiB,OAAO,CAIvB;QAJD,WAAiB,OAAO;YACT,0BAAkB,GAAG,KAAK,CAAC,qBAAqB,CAAC;YACjD,oBAAY,GAAG,KAAK,CAAC,eAAe,CAAC;YACrC,eAAO,GAAG,KAAK,CAAC,UAAU,CAAC;QAC1C,CAAC,EAJgB,OAAO,GAAP,WAAO,KAAP,WAAO,QAIvB;QAED;;;;;;;WAOG;QACU,qBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;QAEzD;;;;;;WAMG;QACU,gBAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IACjD,CAAC,EAtCgB,GAAG,GAAH,aAAG,KAAH,aAAG,QAsCnB;AACH,CAAC,EA5CgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QA4CzB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Character class utilities for XML NS 1.0 edition 3.
|
|
3
|
+
*
|
|
4
|
+
* @author Louis-Dominique Dubeau
|
|
5
|
+
* @license MIT
|
|
6
|
+
* @copyright Louis-Dominique Dubeau
|
|
7
|
+
*/
|
|
8
|
+
export declare const NC_NAME_START_CHAR = "A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\uD800\uDC00-\uDB7F\uDFFF";
|
|
9
|
+
export declare const NC_NAME_CHAR: string;
|
|
10
|
+
export declare const NC_NAME_START_CHAR_RE: RegExp;
|
|
11
|
+
export declare const NC_NAME_CHAR_RE: RegExp;
|
|
12
|
+
export declare const NC_NAME_RE: RegExp;
|
|
13
|
+
/**
|
|
14
|
+
* Determines whether a codepoint matches [[NC_NAME_START_CHAR]].
|
|
15
|
+
*
|
|
16
|
+
* @param c The code point.
|
|
17
|
+
*
|
|
18
|
+
* @returns ``true`` if the codepoint matches.
|
|
19
|
+
*/
|
|
20
|
+
export declare function isNCNameStartChar(c: number): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Determines whether a codepoint matches [[NC_NAME_CHAR]].
|
|
23
|
+
*
|
|
24
|
+
* @param c The code point.
|
|
25
|
+
*
|
|
26
|
+
* @returns ``true`` if the codepoint matches.
|
|
27
|
+
*/
|
|
28
|
+
export declare function isNCNameChar(c: number): boolean;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Character class utilities for XML NS 1.0 edition 3.
|
|
4
|
+
*
|
|
5
|
+
* @author Louis-Dominique Dubeau
|
|
6
|
+
* @license MIT
|
|
7
|
+
* @copyright Louis-Dominique Dubeau
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//
|
|
11
|
+
// Fragments.
|
|
12
|
+
//
|
|
13
|
+
// tslint:disable-next-line:max-line-length
|
|
14
|
+
exports.NC_NAME_START_CHAR = "A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\uD800\uDC00-\uDB7F\uDFFF";
|
|
15
|
+
exports.NC_NAME_CHAR = "-" + exports.NC_NAME_START_CHAR + ".0-9\u00B7\u0300-\u036F\u203F-\u2040";
|
|
16
|
+
//
|
|
17
|
+
// Regular expressions.
|
|
18
|
+
//
|
|
19
|
+
exports.NC_NAME_START_CHAR_RE = new RegExp("^[" + exports.NC_NAME_START_CHAR + "]$", "u");
|
|
20
|
+
exports.NC_NAME_CHAR_RE = new RegExp("^[" + exports.NC_NAME_CHAR + "]$", "u");
|
|
21
|
+
exports.NC_NAME_RE = new RegExp("^[" + exports.NC_NAME_START_CHAR + "][" + exports.NC_NAME_CHAR + "]*$", "u");
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether a codepoint matches [[NC_NAME_START_CHAR]].
|
|
24
|
+
*
|
|
25
|
+
* @param c The code point.
|
|
26
|
+
*
|
|
27
|
+
* @returns ``true`` if the codepoint matches.
|
|
28
|
+
*/
|
|
29
|
+
// tslint:disable-next-line:cyclomatic-complexity
|
|
30
|
+
function isNCNameStartChar(c) {
|
|
31
|
+
return ((c >= 0x41 && c <= 0x5A) ||
|
|
32
|
+
c === 0x5F ||
|
|
33
|
+
(c >= 0x61 && c <= 0x7A) ||
|
|
34
|
+
(c >= 0xC0 && c <= 0xD6) ||
|
|
35
|
+
(c >= 0xD8 && c <= 0xF6) ||
|
|
36
|
+
(c >= 0x00F8 && c <= 0x02FF) ||
|
|
37
|
+
(c >= 0x0370 && c <= 0x037D) ||
|
|
38
|
+
(c >= 0x037F && c <= 0x1FFF) ||
|
|
39
|
+
(c >= 0x200C && c <= 0x200D) ||
|
|
40
|
+
(c >= 0x2070 && c <= 0x218F) ||
|
|
41
|
+
(c >= 0x2C00 && c <= 0x2FEF) ||
|
|
42
|
+
(c >= 0x3001 && c <= 0xD7FF) ||
|
|
43
|
+
(c >= 0xF900 && c <= 0xFDCF) ||
|
|
44
|
+
(c >= 0xFDF0 && c <= 0xFFFD) ||
|
|
45
|
+
(c >= 0x10000 && c <= 0xEFFFF));
|
|
46
|
+
}
|
|
47
|
+
exports.isNCNameStartChar = isNCNameStartChar;
|
|
48
|
+
/**
|
|
49
|
+
* Determines whether a codepoint matches [[NC_NAME_CHAR]].
|
|
50
|
+
*
|
|
51
|
+
* @param c The code point.
|
|
52
|
+
*
|
|
53
|
+
* @returns ``true`` if the codepoint matches.
|
|
54
|
+
*/
|
|
55
|
+
function isNCNameChar(c) {
|
|
56
|
+
return isNCNameStartChar(c) ||
|
|
57
|
+
(c === 0x2D ||
|
|
58
|
+
c === 0x2E ||
|
|
59
|
+
(c >= 0x30 && c <= 0x39) ||
|
|
60
|
+
c === 0x00B7 ||
|
|
61
|
+
(c >= 0x0300 && c <= 0x036F) ||
|
|
62
|
+
(c >= 0x203F && c <= 0x2040));
|
|
63
|
+
}
|
|
64
|
+
exports.isNCNameChar = isNCNameChar;
|
|
65
|
+
//# sourceMappingURL=ed3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ed3.js","sourceRoot":"","sources":["../../../../src/xmlns/1.0/ed3.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,EAAE;AACF,aAAa;AACb,EAAE;AAEF,2CAA2C;AAC9B,QAAA,kBAAkB,GAAG,iLAA2K,CAAC;AAEjM,QAAA,YAAY,GACvB,MAAI,0BAAkB,yCAAsC,CAAC;AAE/D,EAAE;AACF,uBAAuB;AACvB,EAAE;AAEW,QAAA,qBAAqB,GAChC,IAAI,MAAM,CAAC,OAAK,0BAAkB,OAAI,EAAE,GAAG,CAAC,CAAC;AAElC,QAAA,eAAe,GAAG,IAAI,MAAM,CAAC,OAAK,oBAAY,OAAI,EAAE,GAAG,CAAC,CAAC;AAEzD,QAAA,UAAU,GACrB,IAAI,MAAM,CAAC,OAAK,0BAAkB,UAAK,oBAAY,QAAK,EAAE,GAAG,CAAC,CAAC;AAEjE;;;;;;GAMG;AACH,iDAAiD;AACjD,SAAgB,iBAAiB,CAAC,CAAS;IACzC,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;QACxB,CAAC,KAAK,IAAI;QACV,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;QACxB,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ented streaming XML parser in JavaScript",
|
|
4
|
+
"author": "Louis-Dominique Dubeau <ldd@lddubeau.com>",
|
|
5
|
+
"version": "6.0.0",
|
|
6
|
+
"main": "saxes.js",
|
|
7
|
+
"types": "saxes.d.ts",
|
|
8
|
+
"license": "ISC",
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=v12.22.7"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"tsc": "tsc",
|
|
14
|
+
"copy": "cp -p README.md build/dist && sed -e'/\"private\": true/d' package.json > build/dist/package.json",
|
|
15
|
+
"build": "npm run tsc && npm run copy",
|
|
16
|
+
"test": "npm run build && mocha --delay",
|
|
17
|
+
"lint": "eslint --ignore-path .gitignore '**/*.ts' '**/*.js'",
|
|
18
|
+
"lint-fix": "npm run lint -- --fix",
|
|
19
|
+
"posttest": "npm run lint",
|
|
20
|
+
"typedoc": "typedoc --tsconfig tsconfig.json --name saxes --out build/docs/ --listInvalidSymbolLinks --excludePrivate --excludeNotExported",
|
|
21
|
+
"build-docs": "npm run typedoc",
|
|
22
|
+
"gh-pages": "npm run build-docs && mkdir -p build && (cd build; rm -rf gh-pages; git clone .. --branch gh-pages gh-pages) && mkdir -p build/gh-pages/latest && find build/gh-pages/latest -type f -delete && cp -rp build/docs/* build/gh-pages/latest && find build/gh-pages -type d -empty -delete",
|
|
23
|
+
"self:publish": "cd build/dist && npm_config_tag=`simple-dist-tag` npm publish",
|
|
24
|
+
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
|
|
25
|
+
"postversion": "npm run test && npm run self:publish",
|
|
26
|
+
"postpublish": "git push origin --follow-tags"
|
|
27
|
+
},
|
|
28
|
+
"repository": "https://github.com/lddubeau/saxes.git",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@commitlint/cli": "^14.1.0",
|
|
31
|
+
"@commitlint/config-angular": "^14.1.0",
|
|
32
|
+
"@types/chai": "^4.2.22",
|
|
33
|
+
"@types/mocha": "^9.0.0",
|
|
34
|
+
"@types/node": "^16.11.6",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
|
36
|
+
"@typescript-eslint/eslint-plugin-tslint": "^5.3.0",
|
|
37
|
+
"@typescript-eslint/parser": "^5.3.0",
|
|
38
|
+
"@xml-conformance-suite/js": "^3.0.0",
|
|
39
|
+
"@xml-conformance-suite/mocha": "^3.0.0",
|
|
40
|
+
"@xml-conformance-suite/test-data": "^3.0.0",
|
|
41
|
+
"chai": "^4.3.4",
|
|
42
|
+
"conventional-changelog-cli": "^2.1.1",
|
|
43
|
+
"eslint": "^8.2.0",
|
|
44
|
+
"eslint-config-lddubeau-base": "^6.1.0",
|
|
45
|
+
"eslint-config-lddubeau-ts": "^2.0.2",
|
|
46
|
+
"eslint-import-resolver-typescript": "^2.5.0",
|
|
47
|
+
"eslint-plugin-import": "^2.25.2",
|
|
48
|
+
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
49
|
+
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
50
|
+
"eslint-plugin-react": "^7.26.1",
|
|
51
|
+
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
52
|
+
"husky": "^7.0.4",
|
|
53
|
+
"mocha": "^9.1.3",
|
|
54
|
+
"renovate-config-lddubeau": "^1.0.0",
|
|
55
|
+
"simple-dist-tag": "^1.0.2",
|
|
56
|
+
"ts-node": "^10.4.0",
|
|
57
|
+
"tsd": "^0.18.0",
|
|
58
|
+
"tslint": "^6.1.3",
|
|
59
|
+
"tslint-microsoft-contrib": "^6.2.0",
|
|
60
|
+
"typedoc": "^0.22.8",
|
|
61
|
+
"typescript": "^4.4.4"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"xmlchars": "^2.2.0"
|
|
65
|
+
},
|
|
66
|
+
"husky": {
|
|
67
|
+
"hooks": {
|
|
68
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|