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

myst-common

Package Overview
Dependencies
Maintainers
0
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myst-common - npm Package Compare versions

Comparing version 1.7.5 to 1.7.6

4

dist/types.d.ts

@@ -41,3 +41,5 @@ import type { Plugin } from 'unified';

'removeInput' = "remove-input",
'removeOutput' = "remove-output"
'removeOutput' = "remove-output",
'skipExecution' = "skip-execution",
'raisesException' = "raises-exception"
}

@@ -44,0 +46,0 @@ export type References = {

@@ -16,2 +16,4 @@ export var NotebookCell;

NotebookCellTags["removeOutput"] = "remove-output";
NotebookCellTags["skipExecution"] = "skip-execution";
NotebookCellTags["raisesException"] = "raises-exception";
})(NotebookCellTags || (NotebookCellTags = {}));

@@ -18,0 +20,0 @@ // Types for defining roles and directives

@@ -73,3 +73,3 @@ import { customAlphabet } from 'nanoid';

if (sourceNode.label) {
if (destNode.label && vfile) {
if (destNode.label && vfile && destNode.label !== sourceNode.label) {
fileWarn(vfile, `label "${destNode.label}" replaced with "${sourceNode.label}"`, {

@@ -79,2 +79,7 @@ node: destNode,

}
if (destNode.label && vfile && destNode.label === sourceNode.label) {
fileWarn(vfile, `duplicate label "${destNode.label}" replacement`, {
node: destNode,
});
}
destNode.label = sourceNode.label;

@@ -81,0 +86,0 @@ delete sourceNode.label;

{
"name": "myst-common",
"sideEffects": false,
"version": "1.7.5",
"version": "1.7.6",
"type": "module",

@@ -23,3 +23,3 @@ "exports": "./dist/index.js",

"mdast": "^3.0.0",
"myst-frontmatter": "^1.7.5",
"myst-frontmatter": "^1.7.6",
"myst-spec": "^0.0.5",

@@ -35,3 +35,3 @@ "nanoid": "^4.0.0",

"devDependencies": {
"myst-spec-ext": "^1.7.5",
"myst-spec-ext": "^1.7.6",
"unist-builder": "3.0.0",

@@ -38,0 +38,0 @@ "@jupyterlab/nbformat": "^3.5.2",

Sorry, the diff of this file is not supported yet

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