New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

myst-transforms

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myst-transforms - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

6

dist/containers.js

@@ -191,8 +191,8 @@ import { fileError, fileWarn, liftChildren, normalizeLabel, RuleId, plural } from 'myst-common';

children.push(placeholderImage);
// Caption/legend are above tables and below all other figures
// Caption is above tables and below all other figures
if (container.kind === 'table') {
if (legend)
children.unshift(legend);
if (caption)
children.unshift(caption);
if (legend)
children.push(legend);
}

@@ -199,0 +199,0 @@ else {

@@ -399,11 +399,6 @@ import { visit } from 'unist-util-visit';

return `(%s)`;
switch (kind) {
case 'table':
return `Table %s:`;
case 'code':
return `Program %s:`;
case 'figure':
default:
return `Figure %s:`;
}
if (!kind)
return 'Figure %s:';
const template = getDefaultNumberedReferenceLabel(kind);
return `${template}:`;
}

@@ -410,0 +405,0 @@ /** Visit all containers and add captionNumber node to caption paragraph

{
"name": "myst-transforms",
"version": "1.1.15",
"version": "1.1.16",
"sideEffects": false,

@@ -29,6 +29,6 @@ "type": "module",

"mdast-util-find-and-replace": "^2.1.0",
"myst-common": "^1.1.17",
"myst-common": "^1.1.18",
"myst-spec": "^0.0.4",
"myst-spec-ext": "^1.1.17",
"myst-to-html": "1.0.17",
"myst-spec-ext": "^1.1.18",
"myst-to-html": "1.0.18",
"rehype-parse": "^8.0.4",

@@ -35,0 +35,0 @@ "rehype-remark": "^9.1.2",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc