@podlite/markdown 0.0.38 → 0.0.40
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/lib/index.cjs +22 -22
- package/lib/index.cjs.map +4 -4
- package/lib/index.esm.js +9 -18
- package/lib/index.esm.js.map +4 -4
- package/package.json +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -25746,7 +25746,7 @@ var require_package = __commonJS({
|
|
|
25746
25746
|
"../podlite-schema/package.json"(exports, module) {
|
|
25747
25747
|
module.exports = {
|
|
25748
25748
|
name: "@podlite/schema",
|
|
25749
|
-
version: "0.0.
|
|
25749
|
+
version: "0.0.47",
|
|
25750
25750
|
description: "AST tools and schema for Podlite markup language \u2014 validate, traverse, and transform document trees",
|
|
25751
25751
|
main: "./src/index.ts",
|
|
25752
25752
|
homepage: "https://podlite.org",
|
|
@@ -25923,15 +25923,6 @@ var require_extend = __commonJS({
|
|
|
25923
25923
|
}
|
|
25924
25924
|
});
|
|
25925
25925
|
|
|
25926
|
-
// ../../node_modules/vfile/node_modules/is-buffer/index.js
|
|
25927
|
-
var require_is_buffer2 = __commonJS({
|
|
25928
|
-
"../../node_modules/vfile/node_modules/is-buffer/index.js"(exports, module) {
|
|
25929
|
-
module.exports = function isBuffer2(obj) {
|
|
25930
|
-
return obj != null && obj.constructor != null && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj);
|
|
25931
|
-
};
|
|
25932
|
-
}
|
|
25933
|
-
});
|
|
25934
|
-
|
|
25935
25926
|
// ../podlite-schema/src/index.ts
|
|
25936
25927
|
var import_ajv = __toESM(require_ajv());
|
|
25937
25928
|
var pointer = __toESM(require_json_pointer());
|
|
@@ -28179,8 +28170,8 @@ function wrap(middleware, callback) {
|
|
|
28179
28170
|
}
|
|
28180
28171
|
}
|
|
28181
28172
|
|
|
28182
|
-
// ../../node_modules/vfile/lib/index.js
|
|
28183
|
-
var import_is_buffer = __toESM(
|
|
28173
|
+
// ../../node_modules/unified/node_modules/vfile/lib/index.js
|
|
28174
|
+
var import_is_buffer = __toESM(require_is_buffer(), 1);
|
|
28184
28175
|
|
|
28185
28176
|
// ../../node_modules/unist-util-stringify-position/index.js
|
|
28186
28177
|
function stringifyPosition(value) {
|
|
@@ -28208,7 +28199,7 @@ function index(value) {
|
|
|
28208
28199
|
return value && typeof value === "number" ? value : 1;
|
|
28209
28200
|
}
|
|
28210
28201
|
|
|
28211
|
-
// ../../node_modules/vfile-message/index.js
|
|
28202
|
+
// ../../node_modules/unified/node_modules/vfile-message/index.js
|
|
28212
28203
|
var VFileMessage = class extends Error {
|
|
28213
28204
|
constructor(reason, place, origin) {
|
|
28214
28205
|
const parts = [null, null];
|
|
@@ -28270,7 +28261,7 @@ VFileMessage.prototype.source = null;
|
|
|
28270
28261
|
VFileMessage.prototype.ruleId = null;
|
|
28271
28262
|
VFileMessage.prototype.position = null;
|
|
28272
28263
|
|
|
28273
|
-
// ../../node_modules/vfile/lib/minpath.browser.js
|
|
28264
|
+
// ../../node_modules/unified/node_modules/vfile/lib/minpath.browser.js
|
|
28274
28265
|
var path = { basename, dirname, extname, join, sep: "/" };
|
|
28275
28266
|
function basename(path3, ext) {
|
|
28276
28267
|
if (ext !== void 0 && typeof ext !== "string") {
|
|
@@ -28481,18 +28472,18 @@ function assertPath(path3) {
|
|
|
28481
28472
|
}
|
|
28482
28473
|
}
|
|
28483
28474
|
|
|
28484
|
-
// ../../node_modules/vfile/lib/minproc.browser.js
|
|
28475
|
+
// ../../node_modules/unified/node_modules/vfile/lib/minproc.browser.js
|
|
28485
28476
|
var proc = { cwd };
|
|
28486
28477
|
function cwd() {
|
|
28487
28478
|
return "/";
|
|
28488
28479
|
}
|
|
28489
28480
|
|
|
28490
|
-
// ../../node_modules/vfile/lib/minurl.shared.js
|
|
28481
|
+
// ../../node_modules/unified/node_modules/vfile/lib/minurl.shared.js
|
|
28491
28482
|
function isUrl(fileURLOrPath) {
|
|
28492
28483
|
return fileURLOrPath !== null && typeof fileURLOrPath === "object" && fileURLOrPath.href && fileURLOrPath.origin;
|
|
28493
28484
|
}
|
|
28494
28485
|
|
|
28495
|
-
// ../../node_modules/vfile/lib/minurl.browser.js
|
|
28486
|
+
// ../../node_modules/unified/node_modules/vfile/lib/minurl.browser.js
|
|
28496
28487
|
function urlToPath(path3) {
|
|
28497
28488
|
if (typeof path3 === "string") {
|
|
28498
28489
|
path3 = new URL(path3);
|
|
@@ -28535,7 +28526,7 @@ function getPathFromURLPosix(url) {
|
|
|
28535
28526
|
return decodeURIComponent(pathname);
|
|
28536
28527
|
}
|
|
28537
28528
|
|
|
28538
|
-
// ../../node_modules/vfile/lib/index.js
|
|
28529
|
+
// ../../node_modules/unified/node_modules/vfile/lib/index.js
|
|
28539
28530
|
var order = ["history", "path", "basename", "stem", "extname", "dirname"];
|
|
28540
28531
|
var VFile = class {
|
|
28541
28532
|
constructor(value) {
|