myst-transforms
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -15,3 +15,3 @@ import { RuleId, fileError } from 'myst-common'; | ||
} | ||
if (uri && doi.validate(uri, { strict: true })) | ||
if (uri && doi.validate(uri)) | ||
return true; | ||
@@ -23,3 +23,3 @@ return false; | ||
const doiString = doi.normalize(urlSource); | ||
if (!doiString || !doi.validate(doiString)) { | ||
if (!doiString) { | ||
fileError(file, `DOI is not valid: ${urlSource}`, { | ||
@@ -26,0 +26,0 @@ node: link, |
{ | ||
"name": "myst-transforms", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"sideEffects": false, | ||
@@ -29,6 +29,6 @@ "type": "module", | ||
"mdast-util-find-and-replace": "^2.1.0", | ||
"myst-common": "^1.1.11", | ||
"myst-common": "^1.1.12", | ||
"myst-spec": "^0.0.4", | ||
"myst-spec-ext": "^1.1.11", | ||
"myst-to-html": "1.0.12", | ||
"myst-spec-ext": "^1.1.12", | ||
"myst-to-html": "1.0.13", | ||
"rehype-parse": "^8.0.4", | ||
@@ -35,0 +35,0 @@ "rehype-remark": "^9.1.2", |
139807
+ Addedmyst-to-html@1.0.13(transitive)
- Removedmyst-to-html@1.0.12(transitive)
Updatedmyst-common@^1.1.12
Updatedmyst-spec-ext@^1.1.12
Updatedmyst-to-html@1.0.13