mystmd 1.3.24__tar.gz → 1.3.25__tar.gz
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.
- {mystmd-1.3.24 → mystmd-1.3.25}/PKG-INFO +1 -1
- {mystmd-1.3.24 → mystmd-1.3.25}/_package.json +2 -2
- {mystmd-1.3.24 → mystmd-1.3.25}/src/mystmd_py/myst.cjs +16 -6
- {mystmd-1.3.24 → mystmd-1.3.25}/.gitignore +0 -0
- {mystmd-1.3.24 → mystmd-1.3.25}/LICENSE +0 -0
- {mystmd-1.3.24 → mystmd-1.3.25}/README.md +0 -0
- {mystmd-1.3.24 → mystmd-1.3.25}/pyproject.toml +0 -0
- {mystmd-1.3.24 → mystmd-1.3.25}/src/mystmd_py/__init__.py +0 -0
- {mystmd-1.3.24 → mystmd-1.3.25}/src/mystmd_py/main.py +0 -0
- {mystmd-1.3.24 → mystmd-1.3.25}/src/mystmd_py/nodeenv.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "mystmd",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.25",
|
4
4
|
"description": "Command line tools for MyST Markdown",
|
5
5
|
"author": "Rowan Cockett <rowan@curvenote.com>",
|
6
6
|
"license": "MIT",
|
@@ -45,6 +45,6 @@
|
|
45
45
|
"commander": "^10.0.1",
|
46
46
|
"core-js": "^3.31.1",
|
47
47
|
"js-yaml": "^4.1.0",
|
48
|
-
"myst-cli": "^1.3.
|
48
|
+
"myst-cli": "^1.3.25"
|
49
49
|
}
|
50
50
|
}
|
@@ -193891,7 +193891,7 @@ var {
|
|
193891
193891
|
} = import_index.default;
|
193892
193892
|
|
193893
193893
|
// src/version.ts
|
193894
|
-
var version = "1.3.
|
193894
|
+
var version = "1.3.25";
|
193895
193895
|
var version_default = version;
|
193896
193896
|
|
193897
193897
|
// ../myst-cli/dist/build/build.js
|
@@ -194769,10 +194769,10 @@ var doiOrg = {
|
|
194769
194769
|
};
|
194770
194770
|
var elife = {
|
194771
194771
|
test(url) {
|
194772
|
-
return url.hostname.endsWith("elifesciences.org") && url.pathname
|
194772
|
+
return url.hostname.endsWith("elifesciences.org") && /^\/(?:articles|reviewed-preprints)\/\d+$/.test(url.pathname);
|
194773
194773
|
},
|
194774
194774
|
parse(url) {
|
194775
|
-
return `10.7554/eLife.${url.pathname.replace(
|
194775
|
+
return `10.7554/eLife.${url.pathname.replace(/^\/(?:articles|reviewed-preprints)\//, "")}`;
|
194776
194776
|
}
|
194777
194777
|
};
|
194778
194778
|
var zenodo = {
|
@@ -237358,7 +237358,7 @@ var TRANSFORM_SOURCE2 = "BlockTransform:BlockMetadata";
|
|
237358
237358
|
function blockMetadataTransform(mdast2, file) {
|
237359
237359
|
const blocks2 = selectAll("block", mdast2);
|
237360
237360
|
blocks2.forEach((block5) => {
|
237361
|
-
var _a6, _b, _c;
|
237361
|
+
var _a6, _b, _c, _d2, _e;
|
237362
237362
|
if (block5.meta) {
|
237363
237363
|
try {
|
237364
237364
|
const data = JSON.parse(block5.meta);
|
@@ -237372,7 +237372,17 @@ function blockMetadataTransform(mdast2, file) {
|
|
237372
237372
|
});
|
237373
237373
|
}
|
237374
237374
|
}
|
237375
|
-
const
|
237375
|
+
const kind = (_a6 = block5.data) === null || _a6 === void 0 ? void 0 : _a6.kind;
|
237376
|
+
if (kind) {
|
237377
|
+
block5.kind = kind;
|
237378
|
+
delete block5.data.kind;
|
237379
|
+
}
|
237380
|
+
const className = (_b = block5.data) === null || _b === void 0 ? void 0 : _b.class;
|
237381
|
+
if (className) {
|
237382
|
+
block5.class = className;
|
237383
|
+
delete block5.data.class;
|
237384
|
+
}
|
237385
|
+
const label = (_d2 = (_c = block5.data) === null || _c === void 0 ? void 0 : _c.label) !== null && _d2 !== void 0 ? _d2 : (_e = block5.data) === null || _e === void 0 ? void 0 : _e.id;
|
237376
237386
|
if (typeof label === "string") {
|
237377
237387
|
const normalized = normalizeLabel(label);
|
237378
237388
|
if (normalized) {
|
@@ -289745,7 +289755,7 @@ var import_node_path16 = __toESM(require("path"), 1);
|
|
289745
289755
|
var import_nbtx = __toESM(require_cjs2(), 1);
|
289746
289756
|
|
289747
289757
|
// ../myst-cli/dist/version.js
|
289748
|
-
var version2 = "1.3.
|
289758
|
+
var version2 = "1.3.25";
|
289749
289759
|
var version_default2 = version2;
|
289750
289760
|
|
289751
289761
|
// ../myst-cli/dist/utils/headers.js
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|