@daaler/jutils 0.4.12 → 0.5.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/cjs/browser.js +4 -1
- package/cjs/browser.js.map +1 -1
- package/cjs/exception/exceptions.js +4 -1
- package/cjs/exception/exceptions.js.map +1 -1
- package/cjs/index.js +63 -27
- package/cjs/index.js.map +1 -1
- package/cjs/jdom/dom-utils-browser.js +4 -1
- package/cjs/jdom/dom-utils-browser.js.map +1 -1
- package/cjs/jdom/dom-utils-node-jsdom.js +4 -1
- package/cjs/jdom/dom-utils-node-jsdom.js.map +1 -1
- package/cjs/jdom/dom-utils-node-linkedom.js +4 -1
- package/cjs/jdom/dom-utils-node-linkedom.js.map +1 -1
- package/cjs/jschema/integer.js +4 -1
- package/cjs/jschema/integer.js.map +1 -1
- package/cjs/jschema/jschema.js +6 -3
- package/cjs/jschema/jschema.js.map +1 -1
- package/cjs/jschema/old-jschema.js +5 -2
- package/cjs/jschema/old-jschema.js.map +1 -1
- package/cjs/jschema/tmpx.js +7 -4
- package/cjs/jschema/tmpx.js.map +1 -1
- package/cjs/jschema/tuple.js +4 -1
- package/cjs/jschema/tuple.js.map +1 -1
- package/cjs/node-jsdom.js +4 -1
- package/cjs/node-jsdom.js.map +1 -1
- package/cjs/node-linkedom.js +4 -1
- package/cjs/node-linkedom.js.map +1 -1
- package/cjs/node.js +4 -1
- package/cjs/node.js.map +1 -1
- package/cjs/text/location.js +11 -10
- package/cjs/text/location.js.map +1 -1
- package/cjs/text/position.js +10 -7
- package/cjs/text/position.js.map +1 -1
- package/esm/text/location.js +11 -10
- package/esm/text/location.js.map +1 -1
- package/esm/text/position.js +10 -7
- package/esm/text/position.js.map +1 -1
- package/package.json +1 -6
- package/types/text/location.d.ts +9 -8
- package/types/text/location.d.ts.map +1 -1
- package/types/text/position.d.ts +7 -6
- package/types/text/position.d.ts.map +1 -1
package/cjs/browser.js
CHANGED
|
@@ -13,6 +13,9 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
16
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
20
|
exports.domUtils = exports.xmlSerializer = exports.domParser = exports.jdocument = exports.jwindow = void 0;
|
|
18
21
|
__exportStar(require("./index.js"), exports);
|
|
@@ -22,5 +25,5 @@ Object.defineProperty(exports, "jdocument", { enumerable: true, get: function ()
|
|
|
22
25
|
Object.defineProperty(exports, "domParser", { enumerable: true, get: function () { return jdom_browser_ts_1.domParser; } });
|
|
23
26
|
Object.defineProperty(exports, "xmlSerializer", { enumerable: true, get: function () { return jdom_browser_ts_1.xmlSerializer; } });
|
|
24
27
|
var dom_utils_browser_ts_1 = require("./jdom/dom-utils-browser.js");
|
|
25
|
-
Object.defineProperty(exports, "domUtils", { enumerable: true, get: function () { return dom_utils_browser_ts_1.default; } });
|
|
28
|
+
Object.defineProperty(exports, "domUtils", { enumerable: true, get: function () { return __importDefault(dom_utils_browser_ts_1).default; } });
|
|
26
29
|
//# sourceMappingURL=browser.js.map
|
package/cjs/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0DAAmF;AAA1E,0GAAA,OAAO,OAAA;AAAC,4GAAA,SAAS,OAAA;AAAC,4GAAA,SAAS,OAAA;AAAC,gHAAA,aAAa,OAAA;AAClD,oEAAkE;AAAzD,iIAAA,OAAO,OAAY"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.getExceptionNoError = exports.getException = exports.registerException = void 0;
|
|
4
|
-
const exception_ts_1 = require("./exception.js");
|
|
7
|
+
const exception_ts_1 = __importDefault(require("./exception.js"));
|
|
5
8
|
const exceptions = {
|
|
6
9
|
[exception_ts_1.default.typeId]: exception_ts_1.default,
|
|
7
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exceptions.js","sourceRoot":"","sources":["../../src/exception/exceptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exceptions.js","sourceRoot":"","sources":["../../src/exception/exceptions.ts"],"names":[],"mappings":";;;;;;AAAA,kEAAuC;AASvC,MAAM,UAAU,GAAsC;IACrD,CAAC,sBAAS,CAAC,MAAM,CAAC,EAAG,sBAAS;CAC9B,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,UAAyB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACjC,IAAG,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;QACvB,IAAG,UAAU,CAAC,MAAM,CAAC,KAAK,UAAU;YAAE,OAAO;QAC7C,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;IACtF,CAAC;IACD,UAAU,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;AACjC,CAAC,CAAC;AAaO,8CAAiB;AAX1B,MAAM,YAAY,GAAG,CAAC,MAAa,EAAE,EAAE;IACtC,IAAG,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;IACpF,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC,CAAC;AAQyB,oCAAY;AANvC,MAAM,mBAAmB,GAAG,CAAC,MAAa,EAAE,EAAE;IAC7C,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC,CAAC;AAIsC,kDAAmB"}
|
package/cjs/index.js
CHANGED
|
@@ -1,61 +1,97 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
2
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
39
|
exports.Position = exports.Location = exports.DomUtils = exports.pass = exports.noopn = exports.noop3 = exports.noop2 = exports.noop1 = exports.noop = exports.isUnicodeAlphanumeric = exports.isDigit = exports.isAsciiLetter = exports.isAsciiAlphanumeric = exports.recursiveMerge = exports.notImplemented = exports.notImplementedError = exports.NotImplementedError = exports.error = exports.getExceptionNoError = exports.getException = exports.registerException = exports.matchExceptions = exports.Exception = exports.Notifications = exports.IdBasedCache = exports.IdBasedLRUCache = exports.WeakValueCache = exports.jdebug = exports.Integer = exports.UUID = exports.JSchema = exports.maxDate = exports.zeroDate = exports.zeroTime = exports.timefromx = exports.timefromnow = exports.timedifference = exports.wait = exports.interrupt = void 0;
|
|
4
|
-
const interrupt_ts_1 = require("./async-tricks/interrupt.js");
|
|
40
|
+
const interrupt_ts_1 = __importDefault(require("./async-tricks/interrupt.js"));
|
|
5
41
|
exports.interrupt = interrupt_ts_1.default;
|
|
6
|
-
const wait_ts_1 = require("./async-tricks/wait.js");
|
|
42
|
+
const wait_ts_1 = __importDefault(require("./async-tricks/wait.js"));
|
|
7
43
|
exports.wait = wait_ts_1.default;
|
|
8
|
-
const timedifference_ts_1 = require("./time/timedifference.js");
|
|
44
|
+
const timedifference_ts_1 = __importDefault(require("./time/timedifference.js"));
|
|
9
45
|
exports.timedifference = timedifference_ts_1.default;
|
|
10
|
-
const timefromnow_ts_1 = require("./time/timefromnow.js");
|
|
46
|
+
const timefromnow_ts_1 = __importDefault(require("./time/timefromnow.js"));
|
|
11
47
|
exports.timefromnow = timefromnow_ts_1.default;
|
|
12
|
-
const timefromx_ts_1 = require("./time/timefromx.js");
|
|
48
|
+
const timefromx_ts_1 = __importDefault(require("./time/timefromx.js"));
|
|
13
49
|
exports.timefromx = timefromx_ts_1.default;
|
|
14
|
-
const zero_date_ts_1 = require("./time/zero-date.js");
|
|
50
|
+
const zero_date_ts_1 = __importDefault(require("./time/zero-date.js"));
|
|
15
51
|
exports.zeroTime = zero_date_ts_1.default;
|
|
16
52
|
exports.zeroDate = zero_date_ts_1.default;
|
|
17
|
-
const max_date_ts_1 = require("./time/max-date.js");
|
|
53
|
+
const max_date_ts_1 = __importDefault(require("./time/max-date.js"));
|
|
18
54
|
exports.maxDate = max_date_ts_1.default;
|
|
19
|
-
const jschema_ts_1 = require("./jschema/jschema.js");
|
|
55
|
+
const jschema_ts_1 = __importDefault(require("./jschema/jschema.js"));
|
|
20
56
|
exports.JSchema = jschema_ts_1.default;
|
|
21
|
-
const uuid_ts_1 = require("./jschema/uuid.js");
|
|
57
|
+
const uuid_ts_1 = __importDefault(require("./jschema/uuid.js"));
|
|
22
58
|
exports.UUID = uuid_ts_1.default;
|
|
23
|
-
const integer_ts_1 = require("./jschema/integer.js");
|
|
59
|
+
const integer_ts_1 = __importDefault(require("./jschema/integer.js"));
|
|
24
60
|
exports.Integer = integer_ts_1.default;
|
|
25
|
-
const jdebug_ts_1 = require("./debug/jdebug.js");
|
|
61
|
+
const jdebug_ts_1 = __importDefault(require("./debug/jdebug.js"));
|
|
26
62
|
exports.jdebug = jdebug_ts_1.default;
|
|
27
|
-
const weak_value_cache_ts_1 = require("./cache/weak-value-cache.js");
|
|
63
|
+
const weak_value_cache_ts_1 = __importDefault(require("./cache/weak-value-cache.js"));
|
|
28
64
|
exports.WeakValueCache = weak_value_cache_ts_1.default;
|
|
29
|
-
const id_based_lru_cache_ts_1 = require("./cache/id-based-lru-cache.js");
|
|
65
|
+
const id_based_lru_cache_ts_1 = __importDefault(require("./cache/id-based-lru-cache.js"));
|
|
30
66
|
exports.IdBasedLRUCache = id_based_lru_cache_ts_1.default;
|
|
31
|
-
const id_based_cache_ts_1 = require("./cache/id-based-cache.js");
|
|
67
|
+
const id_based_cache_ts_1 = __importDefault(require("./cache/id-based-cache.js"));
|
|
32
68
|
exports.IdBasedCache = id_based_cache_ts_1.default;
|
|
33
|
-
const notifications_ts_1 = require("./notifications/notifications.js");
|
|
69
|
+
const notifications_ts_1 = __importDefault(require("./notifications/notifications.js"));
|
|
34
70
|
exports.Notifications = notifications_ts_1.default;
|
|
35
|
-
const exception_ts_1 = require("./exception/exception.js");
|
|
71
|
+
const exception_ts_1 = __importDefault(require("./exception/exception.js"));
|
|
36
72
|
exports.Exception = exception_ts_1.default;
|
|
37
|
-
const match_exceptions_ts_1 = require("./exception/match-exceptions.js");
|
|
73
|
+
const match_exceptions_ts_1 = __importDefault(require("./exception/match-exceptions.js"));
|
|
38
74
|
exports.matchExceptions = match_exceptions_ts_1.default;
|
|
39
75
|
const exceptions_ts_1 = require("./exception/exceptions.js");
|
|
40
76
|
Object.defineProperty(exports, "registerException", { enumerable: true, get: function () { return exceptions_ts_1.registerException; } });
|
|
41
77
|
Object.defineProperty(exports, "getException", { enumerable: true, get: function () { return exceptions_ts_1.getException; } });
|
|
42
78
|
Object.defineProperty(exports, "getExceptionNoError", { enumerable: true, get: function () { return exceptions_ts_1.getExceptionNoError; } });
|
|
43
|
-
const error_ts_1 = require("./error/error.js");
|
|
79
|
+
const error_ts_1 = __importDefault(require("./error/error.js"));
|
|
44
80
|
exports.error = error_ts_1.default;
|
|
45
|
-
const not_implemented_ts_1 = require("./error/not-implemented.js");
|
|
81
|
+
const not_implemented_ts_1 = __importStar(require("./error/not-implemented.js"));
|
|
46
82
|
exports.NotImplementedError = not_implemented_ts_1.default;
|
|
47
83
|
Object.defineProperty(exports, "notImplementedError", { enumerable: true, get: function () { return not_implemented_ts_1.notImplementedError; } });
|
|
48
84
|
Object.defineProperty(exports, "notImplemented", { enumerable: true, get: function () { return not_implemented_ts_1.notImplemented; } });
|
|
49
|
-
const recursive_merge_ts_1 = require("./data/recursive-merge.js");
|
|
85
|
+
const recursive_merge_ts_1 = __importDefault(require("./data/recursive-merge.js"));
|
|
50
86
|
exports.recursiveMerge = recursive_merge_ts_1.default;
|
|
51
87
|
var is_ascii_alphanumeric_ts_1 = require("./string/is-ascii-alphanumeric.js");
|
|
52
|
-
Object.defineProperty(exports, "isAsciiAlphanumeric", { enumerable: true, get: function () { return is_ascii_alphanumeric_ts_1.default; } });
|
|
88
|
+
Object.defineProperty(exports, "isAsciiAlphanumeric", { enumerable: true, get: function () { return __importDefault(is_ascii_alphanumeric_ts_1).default; } });
|
|
53
89
|
var is_ascii_letter_ts_1 = require("./string/is-ascii-letter.js");
|
|
54
|
-
Object.defineProperty(exports, "isAsciiLetter", { enumerable: true, get: function () { return is_ascii_letter_ts_1.default; } });
|
|
90
|
+
Object.defineProperty(exports, "isAsciiLetter", { enumerable: true, get: function () { return __importDefault(is_ascii_letter_ts_1).default; } });
|
|
55
91
|
var is_digit_ts_1 = require("./string/is-digit.js");
|
|
56
|
-
Object.defineProperty(exports, "isDigit", { enumerable: true, get: function () { return is_digit_ts_1.default; } });
|
|
92
|
+
Object.defineProperty(exports, "isDigit", { enumerable: true, get: function () { return __importDefault(is_digit_ts_1).default; } });
|
|
57
93
|
var is_unicode_alphanumeric_ts_1 = require("./string/is-unicode-alphanumeric.js");
|
|
58
|
-
Object.defineProperty(exports, "isUnicodeAlphanumeric", { enumerable: true, get: function () { return is_unicode_alphanumeric_ts_1.default; } });
|
|
94
|
+
Object.defineProperty(exports, "isUnicodeAlphanumeric", { enumerable: true, get: function () { return __importDefault(is_unicode_alphanumeric_ts_1).default; } });
|
|
59
95
|
var noop_ts_1 = require("./op/noop.js");
|
|
60
96
|
Object.defineProperty(exports, "noop", { enumerable: true, get: function () { return noop_ts_1.noop; } });
|
|
61
97
|
Object.defineProperty(exports, "noop1", { enumerable: true, get: function () { return noop_ts_1.noop1; } });
|
|
@@ -64,9 +100,9 @@ Object.defineProperty(exports, "noop3", { enumerable: true, get: function () { r
|
|
|
64
100
|
Object.defineProperty(exports, "noopn", { enumerable: true, get: function () { return noop_ts_1.noopn; } });
|
|
65
101
|
Object.defineProperty(exports, "pass", { enumerable: true, get: function () { return noop_ts_1.pass; } });
|
|
66
102
|
var dom_utils_ts_1 = require("./jdom/dom-utils.js");
|
|
67
|
-
Object.defineProperty(exports, "DomUtils", { enumerable: true, get: function () { return dom_utils_ts_1.default; } });
|
|
103
|
+
Object.defineProperty(exports, "DomUtils", { enumerable: true, get: function () { return __importDefault(dom_utils_ts_1).default; } });
|
|
68
104
|
var location_ts_1 = require("./text/location.js");
|
|
69
|
-
Object.defineProperty(exports, "Location", { enumerable: true, get: function () { return location_ts_1.default; } });
|
|
105
|
+
Object.defineProperty(exports, "Location", { enumerable: true, get: function () { return __importDefault(location_ts_1).default; } });
|
|
70
106
|
var position_ts_1 = require("./text/position.js");
|
|
71
|
-
Object.defineProperty(exports, "Position", { enumerable: true, get: function () { return position_ts_1.default; } });
|
|
107
|
+
Object.defineProperty(exports, "Position", { enumerable: true, get: function () { return __importDefault(position_ts_1).default; } });
|
|
72
108
|
//# sourceMappingURL=index.js.map
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAAoD;AAuBnD,oBAvBM,sBAAS,CAuBN;AAtBV,qEAA0C;AAuBzC,eAvBM,iBAAI,CAuBN;AAtBL,iFAAsD;AAuBrD,yBAvBM,2BAAc,CAuBN;AAtBf,2EAAgD;AAuB/C,sBAvBM,wBAAW,CAuBN;AAtBZ,uEAA4C;AAuB3C,oBAvBM,sBAAS,CAuBN;AAtBV,uEAA2C;AAuB9B,mBAvBN,sBAAQ,CAuBM;AACpB,mBAxBM,sBAAQ,CA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AyD;AAAhD,wHAAA,OAAO,OAAY;AAC5B,kDAAyD;AAAhD,wHAAA,OAAO,OAAY"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const jdom_browser_ts_1 = require("./jdom-browser.js");
|
|
4
|
-
const dom_utils_ts_1 = require("./dom-utils.js");
|
|
7
|
+
const dom_utils_ts_1 = __importDefault(require("./dom-utils.js"));
|
|
5
8
|
const domUtils = new dom_utils_ts_1.default(jdom_browser_ts_1.jdocument, jdom_browser_ts_1.domParser, jdom_browser_ts_1.xmlSerializer);
|
|
6
9
|
exports.default = domUtils;
|
|
7
10
|
//# sourceMappingURL=dom-utils-browser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom-utils-browser.js","sourceRoot":"","sources":["../../src/jdom/dom-utils-browser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dom-utils-browser.js","sourceRoot":"","sources":["../../src/jdom/dom-utils-browser.ts"],"names":[],"mappings":";;;;;AAAA,uDAAsE;AACtE,kEAAsC;AAItC,MAAM,QAAQ,GAAG,IAAI,sBAAQ,CAAC,2BAAS,EAAC,2BAAS,EAAC,+BAAa,CAAC,CAAC;AAEjE,kBAAe,QAAQ,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const jdom_node_jsdom_ts_1 = require("./jdom-node-jsdom.js");
|
|
4
|
-
const dom_utils_ts_1 = require("./dom-utils.js");
|
|
7
|
+
const dom_utils_ts_1 = __importDefault(require("./dom-utils.js"));
|
|
5
8
|
const domUtils = new dom_utils_ts_1.default(jdom_node_jsdom_ts_1.jdocument, jdom_node_jsdom_ts_1.domParser, jdom_node_jsdom_ts_1.xmlSerializer);
|
|
6
9
|
exports.default = domUtils;
|
|
7
10
|
//# sourceMappingURL=dom-utils-node-jsdom.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom-utils-node-jsdom.js","sourceRoot":"","sources":["../../src/jdom/dom-utils-node-jsdom.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dom-utils-node-jsdom.js","sourceRoot":"","sources":["../../src/jdom/dom-utils-node-jsdom.ts"],"names":[],"mappings":";;;;;AAAA,6DAAyE;AACzE,kEAAsC;AAItC,MAAM,QAAQ,GAAG,IAAI,sBAAQ,CAAC,8BAAS,EAAC,8BAAS,EAAC,kCAAa,CAAC,CAAC;AAEjE,kBAAe,QAAQ,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const jdom_node_linkedom_ts_1 = require("./jdom-node-linkedom.js");
|
|
4
|
-
const dom_utils_ts_1 = require("./dom-utils.js");
|
|
7
|
+
const dom_utils_ts_1 = __importDefault(require("./dom-utils.js"));
|
|
5
8
|
const domUtils = new dom_utils_ts_1.default(jdom_node_linkedom_ts_1.jdocument, jdom_node_linkedom_ts_1.domParser, jdom_node_linkedom_ts_1.xmlSerializer);
|
|
6
9
|
exports.default = domUtils;
|
|
7
10
|
//# sourceMappingURL=dom-utils-node-linkedom.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom-utils-node-linkedom.js","sourceRoot":"","sources":["../../src/jdom/dom-utils-node-linkedom.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dom-utils-node-linkedom.js","sourceRoot":"","sources":["../../src/jdom/dom-utils-node-linkedom.ts"],"names":[],"mappings":";;;;;AAAA,mEAA4E;AAC5E,kEAAsC;AAItC,MAAM,QAAQ,GAAG,IAAI,sBAAQ,CAAC,iCAAS,EAAC,iCAAsB,EAAC,qCAAa,CAAC,CAAC;AAE9E,kBAAe,QAAQ,CAAA"}
|
package/cjs/jschema/integer.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const jtype_ts_1 = require("./jtype.js");
|
|
6
|
+
const jtype_ts_1 = __importDefault(require("./jtype.js"));
|
|
4
7
|
class Integer extends jtype_ts_1.default {
|
|
5
8
|
static _kind = "Integer";
|
|
6
9
|
static isInteger = Number.isSafeInteger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integer.js","sourceRoot":"","sources":["../../src/jschema/integer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integer.js","sourceRoot":"","sources":["../../src/jschema/integer.ts"],"names":[],"mappings":";;;;;AAAA,0DAA+B;AAI/B,MAA8B,OAAQ,SAAQ,kBAAK;IAClD,MAAM,CAAU,KAAK,GAAG,SAAS,CAAC;IAClC,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,aAAa,CAAC;IACxC,MAAM,CAAC,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC;;AAHrC,0BAIC;AAAA,CAAC"}
|
package/cjs/jschema/jschema.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const any_ts_1 = require("./any.js");
|
|
4
|
-
const integer_ts_1 = require("./integer.js");
|
|
5
|
-
const tuple_ts_1 = require("./tuple.js");
|
|
6
|
+
const any_ts_1 = __importDefault(require("./any.js"));
|
|
7
|
+
const integer_ts_1 = __importDefault(require("./integer.js"));
|
|
8
|
+
const tuple_ts_1 = __importDefault(require("./tuple.js"));
|
|
6
9
|
class JSchema {
|
|
7
10
|
_schema;
|
|
8
11
|
// @ts-ignore
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jschema.js","sourceRoot":"","sources":["../../src/jschema/jschema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jschema.js","sourceRoot":"","sources":["../../src/jschema/jschema.ts"],"names":[],"mappings":";;;;;AACA,sDAA2B;AAC3B,8DAAmC;AACnC,0DAA+B;AAI/B,MAAqB,OAAO;IAC3B,OAAO,CAAoB;IAE3B,aAAa;IACb,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IAEnC,YAAY,MAAQ;QACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAC7C,CAAC;IAED,eAAe,CAAC,MAAQ;QACvB,MAAM,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACxC,OAAO,OAA6B,CAAC;IACtC,CAAC;CACD;AAdD,0BAcC;AAAA,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,MAAU,EAAE,EAAE;IACtC,aAAa;IACb,IAAG,MAAM,YAAY,OAAO;QAAE,OAAO,MAAM,CAAC,MAAM,CAAC;IACnD,IAAG,MAAM,CAAC,WAAW,KAAK,MAAM;QAAE,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnE,IAAG,MAAM,CAAC,WAAW,KAAK,KAAK;QAAE,OAAO,mBAAmB,CAAC,M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AG,EAAC,aAAa,CAAC,CAAC;AACtC,cAAc,CAAC,GAAG,CAAC,IAAI,EAAC,EAAE,IAAI,EAAC,IAAI,EAAE,CAAC,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const integer_ts_1 = require("./integer.js");
|
|
4
|
-
const any_ts_1 = require("./any.js");
|
|
6
|
+
const integer_ts_1 = __importDefault(require("./integer.js"));
|
|
7
|
+
const any_ts_1 = __importDefault(require("./any.js"));
|
|
5
8
|
class JSchema {
|
|
6
9
|
schema;
|
|
7
10
|
constructor(schema) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"old-jschema.js","sourceRoot":"","sources":["../../src/jschema/old-jschema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"old-jschema.js","sourceRoot":"","sources":["../../src/jschema/old-jschema.ts"],"names":[],"mappings":";;;;;AAAA,8DAAmC;AACnC,sDAA2B;AAgB3B,MAAM,OAAO;IACZ,MAAM,CAAK;IAGX,YAAY,MAAuB;QAClC,IAAI,CAAC,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACD;AAAA,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,MAAuB,EAAE,EAAE;IACjD,IAAG,MAAM,YAAY,OAAO;QAAE,OAAO,MAAM,CAAC,MAAM,CAAC;IACnD,IAAG,MAAM,CAAC,WAAW,KAAK,MAAM;QAAE,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACnE,IAAG,MAAM,CAAC,WAAW,KAAK,KAAK;QAAE,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACpE,IAAG,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC;QAAE,OAA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AAY,EAAC,IAAI,EAAC,IAAI,EAAC,EAAE,EAAE,CAAC,CAAC,CAAC,0BAA0B;AAChG,cAAc,CAAC,GAAG,CAAC,KAAK,EAAC,EAAE,IAAI,EAAC,KAAK,EAAC,KAAK,EAAC,gBAAG,EAAE,CAAC,CAAC,CAAC,0BAA0B;AAC9E,cAAc,CAAC,GAAG,CAAC,MAAM,EAAC,EAAE,IAAI,EAAC,MAAM,EAAE,CAAC,CAAC;AAC3C,cAAc,CAAC,GAAG,CAAC,MAAM,EAAC,EAAE,IAAI,EAAC,MAAM,EAAE,CAAC,CAAC;AAC3C,cAAc,CAAC,GAAG,CAAC,oBAAO,EAAC,EAAE,IAAI,EAAC,oBAAO,EAAE,CAAC,CAAC;AAC7C,cAAc,CAAC,GAAG,CAAC,OAAO,EAAC,EAAE,IAAI,EAAC,OAAO,EAAE,CAAC,CAAC;AAI7C,kBAAe,OAAO,CAAC"}
|
package/cjs/jschema/tmpx.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const integer_ts_1 = require("./integer.js");
|
|
4
|
-
const tuple_ts_1 = require("./tuple.js");
|
|
5
|
-
const any_ts_1 = require("./any.js");
|
|
6
|
-
const jschema_ts_1 = require("./jschema.js");
|
|
6
|
+
const integer_ts_1 = __importDefault(require("./integer.js"));
|
|
7
|
+
const tuple_ts_1 = __importDefault(require("./tuple.js"));
|
|
8
|
+
const any_ts_1 = __importDefault(require("./any.js"));
|
|
9
|
+
const jschema_ts_1 = __importDefault(require("./jschema.js"));
|
|
7
10
|
const courseSchema = new jschema_ts_1.default({
|
|
8
11
|
type: Object,
|
|
9
12
|
keys: {
|
package/cjs/jschema/tmpx.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmpx.js","sourceRoot":"","sources":["../../src/jschema/tmpx.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tmpx.js","sourceRoot":"","sources":["../../src/jschema/tmpx.ts"],"names":[],"mappings":";;;;;AAAA,8DAAmC;AACnC,0DAA+B;AAC/B,sDAA2B;AAC3B,8DAAmC;AAInC,MAAM,YAAY,GAAG,IAAI,oBAAO,CAAC;IAChC,IAAI,EAAG,MAAM;IACb,IAAI,EAAG;QACN,GAAG,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;QACrB,GAAG,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;QACrB,KAAK,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;KACvB;CACD,CAAC,CAAC;AAIH,MAAM,UAAU,GAAG,IAAI,oBAAO,CAAC;IAC9B,IAAI,EAAG,MAAM;CACb,CAAC,CAAC;AAIH,MAAM,SAAS,GAAG,IAAI,oBAAO,CAAC,gBAAG,CAAC,CAAC;AAInC,KAAK;AAEL,MAAM,UAAU,GAAG,IAAI,oBAAO,CAAC,IAAI,CAAC,CAAC;AAIrC,KAAK;AAEL,MAAM,WAAW,GAAG,IAAI,oBAAO,CAAC,EAAE,IAAI,EAAC,kBAAK,EAAC,MAAM,EAAC,CAAE,MAAM,EAAC,MAAM,CAAE,EAAE,CAAC,CAAC;AAIzE,KAAK;AAEL,MAAM,aAAa,GAAG,IAAI,oBAAO,CAAC;IACjC,IAAI,EAAG,MAAM;IACb,IAAI,EAAG;QACN,GAAG,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;QACrB,GAAG,EAAG,MAAM;QACZ,IAAI,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;QACtB,KAAK,EAAG,MAAM;QACd,KAAK,EAAG,EAAE,IAAI,EAAC,oBAAO,EAAE;QACxB,MAAM,EAAG,oBAAO;QAChB,IAAI,EAAG,EAAE,IAAI,EAAC,OAAO,EAAE;QACvB,KAAK,EAAG,OAAO;QACf,IAAI,EAAG;YACN,IAAI,EAAG,MAAM;YACb,IAAI,EAAG;gBACN,SAAS,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;gBAC3B,SAAS,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;aAC3B;YACD,YAAY,EAAG;gBACd,QAAQ,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;aAC1B;SACD;QACD,GAAG,EAAG,EAAE,IAAI,EAAC,KAAK,EAAC,KAAK,EAAC,EAAE,IAAI,EAAC,MAAM,EAAE,EAAE;QAC1C,SAAS,EAAG,gBAAG;QACf,OAAO,EAAG,IAAI;KACd;CACD,CAAC,CAAC;AAIH,MAAM,cAAc,GAAG,IAAI,oBAAO,CAAC;IAClC,IAAI,EAAG,MAAM;IACb,IAAI,EAAG;QACN,IAAI,EAAG;YACN,IAAI,EAAG,MAAM;YACb,IAAI,EAAG;gBACN,SAAS,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;gBAC3B,SAAS,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;aAC3B;YACD,YAAY,EAAG;gBACd,QAAQ,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;aAC1B;SACD;QACD,QAAQ,EAAG;YACV,IAAI,EAAG,MAAM;YACb,IAAI,EAAG;gBACN,SAAS,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;gBAC3B,SAAS,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;aAC3B;SACD;QACD,OAAO,EAAG;YACT,IAAI,EAAG,MAAM;YACb,YAAY,EAAG;gBACd,QAAQ,EAAG,EAAE,IAAI,EAAC,MAAM,EAAE;aAC1B;SACD;KACD;CACD,CAAC,CAAC"}
|
package/cjs/jschema/tuple.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const jtype_ts_1 = require("./jtype.js");
|
|
6
|
+
const jtype_ts_1 = __importDefault(require("./jtype.js"));
|
|
4
7
|
class Tuple extends jtype_ts_1.default {
|
|
5
8
|
static _kind = "Tuple";
|
|
6
9
|
}
|
package/cjs/jschema/tuple.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuple.js","sourceRoot":"","sources":["../../src/jschema/tuple.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tuple.js","sourceRoot":"","sources":["../../src/jschema/tuple.ts"],"names":[],"mappings":";;;;;AAAA,0DAA+B;AAI/B,MAA8B,KAAM,SAAQ,kBAAK;IAChD,MAAM,CAAU,KAAK,GAAI,OAAO,CAAC;;AADlC,wBAEC;AAAA,CAAC"}
|
package/cjs/node-jsdom.js
CHANGED
|
@@ -13,6 +13,9 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
16
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
20
|
exports.domUtils = exports.xmlSerializer = exports.domParser = exports.jdocument = exports.jwindow = void 0;
|
|
18
21
|
__exportStar(require("./node.js"), exports);
|
|
@@ -22,5 +25,5 @@ Object.defineProperty(exports, "jdocument", { enumerable: true, get: function ()
|
|
|
22
25
|
Object.defineProperty(exports, "domParser", { enumerable: true, get: function () { return jdom_node_jsdom_ts_1.domParser; } });
|
|
23
26
|
Object.defineProperty(exports, "xmlSerializer", { enumerable: true, get: function () { return jdom_node_jsdom_ts_1.xmlSerializer; } });
|
|
24
27
|
var dom_utils_node_jsdom_ts_1 = require("./jdom/dom-utils-node-jsdom.js");
|
|
25
|
-
Object.defineProperty(exports, "domUtils", { enumerable: true, get: function () { return dom_utils_node_jsdom_ts_1.default; } });
|
|
28
|
+
Object.defineProperty(exports, "domUtils", { enumerable: true, get: function () { return __importDefault(dom_utils_node_jsdom_ts_1).default; } });
|
|
26
29
|
//# sourceMappingURL=node-jsdom.js.map
|
package/cjs/node-jsdom.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-jsdom.js","sourceRoot":"","sources":["../src/node-jsdom.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node-jsdom.js","sourceRoot":"","sources":["../src/node-jsdom.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gEAAsF;AAA7E,6GAAA,OAAO,OAAA;AAAC,+GAAA,SAAS,OAAA;AAAC,+GAAA,SAAS,OAAA;AAAC,mHAAA,aAAa,OAAA;AAClD,0EAAqE;AAA5D,oIAAA,OAAO,OAAY"}
|
package/cjs/node-linkedom.js
CHANGED
|
@@ -13,6 +13,9 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
16
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
20
|
exports.domUtils = exports.xmlSerializer = exports.domParser = exports.jdocument = exports.jwindow = void 0;
|
|
18
21
|
__exportStar(require("./node.js"), exports);
|
|
@@ -22,5 +25,5 @@ Object.defineProperty(exports, "jdocument", { enumerable: true, get: function ()
|
|
|
22
25
|
Object.defineProperty(exports, "domParser", { enumerable: true, get: function () { return jdom_node_linkedom_ts_1.domParser; } });
|
|
23
26
|
Object.defineProperty(exports, "xmlSerializer", { enumerable: true, get: function () { return jdom_node_linkedom_ts_1.xmlSerializer; } });
|
|
24
27
|
var dom_utils_node_linkedom_ts_1 = require("./jdom/dom-utils-node-linkedom.js");
|
|
25
|
-
Object.defineProperty(exports, "domUtils", { enumerable: true, get: function () { return dom_utils_node_linkedom_ts_1.default; } });
|
|
28
|
+
Object.defineProperty(exports, "domUtils", { enumerable: true, get: function () { return __importDefault(dom_utils_node_linkedom_ts_1).default; } });
|
|
26
29
|
//# sourceMappingURL=node-linkedom.js.map
|
package/cjs/node-linkedom.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-linkedom.js","sourceRoot":"","sources":["../src/node-linkedom.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node-linkedom.js","sourceRoot":"","sources":["../src/node-linkedom.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,sEAAyF;AAAhF,gHAAA,OAAO,OAAA;AAAC,kHAAA,SAAS,OAAA;AAAC,kHAAA,SAAS,OAAA;AAAC,sHAAA,aAAa,OAAA;AAClD,gFAAwE;AAA/D,uIAAA,OAAO,OAAY"}
|
package/cjs/node.js
CHANGED
|
@@ -13,9 +13,12 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
16
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
20
|
exports.randomInteger = void 0;
|
|
18
21
|
__exportStar(require("./index.js"), exports);
|
|
19
22
|
var random_integer_node_ts_1 = require("./random/random-integer-node.js");
|
|
20
|
-
Object.defineProperty(exports, "randomInteger", { enumerable: true, get: function () { return random_integer_node_ts_1.default; } });
|
|
23
|
+
Object.defineProperty(exports, "randomInteger", { enumerable: true, get: function () { return __importDefault(random_integer_node_ts_1).default; } });
|
|
21
24
|
//# sourceMappingURL=node.js.map
|
package/cjs/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0EAA0E;AAAjE,wIAAA,OAAO,OAAiB"}
|
package/cjs/text/location.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class Location {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get
|
|
8
|
-
get
|
|
9
|
-
get
|
|
10
|
-
constructor(
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
13
|
-
|
|
4
|
+
_start;
|
|
5
|
+
_end;
|
|
6
|
+
_source;
|
|
7
|
+
get start() { return this._start; }
|
|
8
|
+
get end() { return this._end; }
|
|
9
|
+
get source() { return this._source; }
|
|
10
|
+
constructor(start, end, source) {
|
|
11
|
+
this._start = start;
|
|
12
|
+
this._end = end;
|
|
13
|
+
if (source != undefined)
|
|
14
|
+
this._source = source;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
exports.default = Location;
|
package/cjs/text/location.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../src/text/location.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../src/text/location.ts"],"names":[],"mappings":";;AAIA,MAAqB,QAAQ;IAC5B,MAAM,CAAU;IAChB,IAAI,CAAU;IACd,OAAO,CAAS;IAEhB,IAAI,KAAK,KAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAA,CAAC;IACjC,IAAI,GAAG,KAAI,OAAO,IAAI,CAAC,IAAI,CAAC,CAAA,CAAC;IAC7B,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IAEnC,YAAY,KAAc,EAAC,GAAY,EAAC,MAAc;QACrD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAG,MAAM,IAAI,SAAS;YAAE,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC/C,CAAC;CACD;AAdD,2BAcC"}
|
package/cjs/text/position.js
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class Position {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
get
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
_offset;
|
|
5
|
+
_line;
|
|
6
|
+
_column;
|
|
7
|
+
get offset() { return this._offset; }
|
|
8
|
+
get line() { return this._line; }
|
|
9
|
+
get column() { return this._column; }
|
|
10
|
+
constructor(offset, line, column) {
|
|
11
|
+
this._offset = offset;
|
|
12
|
+
this._line = line;
|
|
13
|
+
this._column = column;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
13
16
|
exports.default = Position;
|
package/cjs/text/position.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"position.js","sourceRoot":"","sources":["../../src/text/position.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"position.js","sourceRoot":"","sources":["../../src/text/position.ts"],"names":[],"mappings":";;AACA,MAAqB,QAAQ;IAC5B,OAAO,CAAQ;IACf,KAAK,CAAQ;IACb,OAAO,CAAQ;IAEf,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IACnC,IAAI,IAAI,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAA,CAAC;IAC/B,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IAEnC,YAAY,MAAa,EAAC,IAAW,EAAC,MAAa;QAClD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACvB,CAAC;CACD;AAdD,2BAcC"}
|
package/esm/text/location.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
export default class Location {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
get
|
|
6
|
-
get
|
|
7
|
-
get
|
|
8
|
-
constructor(
|
|
9
|
-
this.
|
|
10
|
-
this.
|
|
11
|
-
|
|
2
|
+
_start;
|
|
3
|
+
_end;
|
|
4
|
+
_source;
|
|
5
|
+
get start() { return this._start; }
|
|
6
|
+
get end() { return this._end; }
|
|
7
|
+
get source() { return this._source; }
|
|
8
|
+
constructor(start, end, source) {
|
|
9
|
+
this._start = start;
|
|
10
|
+
this._end = end;
|
|
11
|
+
if (source != undefined)
|
|
12
|
+
this._source = source;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=location.js.map
|
package/esm/text/location.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../src/text/location.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../src/text/location.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC5B,MAAM,CAAU;IAChB,IAAI,CAAU;IACd,OAAO,CAAS;IAEhB,IAAI,KAAK,KAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAA,CAAC;IACjC,IAAI,GAAG,KAAI,OAAO,IAAI,CAAC,IAAI,CAAC,CAAA,CAAC;IAC7B,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IAEnC,YAAY,KAAc,EAAC,GAAY,EAAC,MAAc;QACrD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAG,MAAM,IAAI,SAAS;YAAE,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC/C,CAAC;CACD"}
|
package/esm/text/position.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export default class Position {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
get
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
_offset;
|
|
3
|
+
_line;
|
|
4
|
+
_column;
|
|
5
|
+
get offset() { return this._offset; }
|
|
6
|
+
get line() { return this._line; }
|
|
7
|
+
get column() { return this._column; }
|
|
8
|
+
constructor(offset, line, column) {
|
|
9
|
+
this._offset = offset;
|
|
10
|
+
this._line = line;
|
|
11
|
+
this._column = column;
|
|
9
12
|
}
|
|
10
13
|
}
|
|
11
14
|
//# sourceMappingURL=position.js.map
|
package/esm/text/position.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"position.js","sourceRoot":"","sources":["../../src/text/position.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"position.js","sourceRoot":"","sources":["../../src/text/position.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC5B,OAAO,CAAQ;IACf,KAAK,CAAQ;IACb,OAAO,CAAQ;IAEf,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IACnC,IAAI,IAAI,KAAI,OAAO,IAAI,CAAC,KAAK,CAAC,CAAA,CAAC;IAC/B,IAAI,MAAM,KAAI,OAAO,IAAI,CAAC,OAAO,CAAC,CAAA,CAAC;IAEnC,YAAY,MAAa,EAAC,IAAW,EAAC,MAAa;QAClD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACvB,CAAC;CACD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daaler/jutils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Utility functions for js",
|
|
5
5
|
"author": "Jarno Parviainen - jarno.parviainen@gmail.com",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -41,11 +41,6 @@
|
|
|
41
41
|
"./react": {
|
|
42
42
|
"import": "./esm/react.js",
|
|
43
43
|
"types": "./types/react.d.ts"
|
|
44
|
-
},
|
|
45
|
-
"./jdom-node-linkedom": {
|
|
46
|
-
"import": "./esm/jdom/jdom-node-linkedom.js",
|
|
47
|
-
"require": "./cjs/jdom/jdom-node-linkedom.js",
|
|
48
|
-
"types": "./types/jdom/jdom-node-linkedom.d.ts"
|
|
49
44
|
}
|
|
50
45
|
},
|
|
51
46
|
"files": [
|
package/types/text/location.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
get
|
|
7
|
-
get
|
|
8
|
-
|
|
1
|
+
import Position from "./position.ts";
|
|
2
|
+
export default class Location<Source = any> {
|
|
3
|
+
_start: Position;
|
|
4
|
+
_end: Position;
|
|
5
|
+
_source?: Source;
|
|
6
|
+
get start(): Position;
|
|
7
|
+
get end(): Position;
|
|
8
|
+
get source(): Source | undefined;
|
|
9
|
+
constructor(start: Position, end: Position, source?: Source);
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=location.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/text/location.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/text/location.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AAIrC,MAAM,CAAC,OAAO,OAAO,QAAQ,CAAC,MAAM,GAAC,GAAG;IACvC,MAAM,EAAC,QAAQ,CAAC;IAChB,IAAI,EAAC,QAAQ,CAAC;IACd,OAAO,CAAC,EAAC,MAAM,CAAC;IAEhB,IAAI,KAAK,aAAwB;IACjC,IAAI,GAAG,aAAsB;IAC7B,IAAI,MAAM,uBAAyB;gBAEvB,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,QAAQ,EAAC,MAAM,CAAC,EAAC,MAAM;CAKtD"}
|
package/types/text/position.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type Location from "./location.ts";
|
|
2
1
|
export default class Position {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
get
|
|
7
|
-
|
|
2
|
+
_offset: number;
|
|
3
|
+
_line: number;
|
|
4
|
+
_column: number;
|
|
5
|
+
get offset(): number;
|
|
6
|
+
get line(): number;
|
|
7
|
+
get column(): number;
|
|
8
|
+
constructor(offset: number, line: number, column: number);
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=position.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../src/text/position.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../src/text/position.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC5B,OAAO,EAAC,MAAM,CAAC;IACf,KAAK,EAAC,MAAM,CAAC;IACb,OAAO,EAAC,MAAM,CAAC;IAEf,IAAI,MAAM,WAAyB;IACnC,IAAI,IAAI,WAAuB;IAC/B,IAAI,MAAM,WAAyB;gBAEvB,MAAM,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM;CAKnD"}
|