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
0
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.3.17 to 1.3.18

12

dist/html.js

@@ -282,2 +282,14 @@ import { unified } from 'unified';

});
// Finalize children by combining consecutive html nodes
const combined = [];
tree.children.forEach((child) => {
var _a;
if (((_a = combined[combined.length - 1]) === null || _a === void 0 ? void 0 : _a.type) === 'html' && child.type === 'html') {
combined[combined.length - 1].value = `${combined[combined.length - 1].value}${child.value}`;
}
else if (child.type !== '__delete__') {
combined.push(child);
}
});
tree.children = combined;
}

@@ -284,0 +296,0 @@ /**

8

package.json
{
"name": "myst-transforms",
"version": "1.3.17",
"version": "1.3.18",
"sideEffects": false,

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

"mdast-util-find-and-replace": "^2.1.0",
"myst-common": "^1.4.6",
"myst-frontmatter": "^1.4.6",
"myst-common": "^1.4.7",
"myst-frontmatter": "^1.4.7",
"myst-spec": "^0.0.5",
"myst-spec-ext": "^1.4.6",
"myst-spec-ext": "^1.4.7",
"myst-to-html": "1.4.4",

@@ -35,0 +35,0 @@ "rehype-parse": "^8.0.4",

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