Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

carta-md

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

carta-md - npm Package Compare versions

Comparing version 4.3.4 to 4.3.5

2

dist/internal/speculative.d.ts

@@ -15,3 +15,3 @@ /**

*/
export declare function createTemporaryNode(container: HTMLDivElement): Text;
export declare function createTemporaryNode(container: HTMLDivElement): Text | null;
/**

@@ -18,0 +18,0 @@ * Removes all temporary nodes from the highlight overlay container.

@@ -14,3 +14,6 @@ import { diffChars } from 'diff';

if (textNodes.length == 0) {
textNodes.push(createTemporaryNode(container));
const tempNode = createTemporaryNode(container);
if (!tempNode)
return; // Could not create a temporary node
textNodes.push(tempNode);
}

@@ -106,2 +109,4 @@ let currentNodeIdx = 0;

const span = Array.from(container.querySelectorAll('.line')).at(-1);
if (!span)
return null; // Could not find a line
const node = document.createTextNode('');

@@ -108,0 +113,0 @@ span.appendChild(node);

@@ -19,3 +19,3 @@ {

},
"version": "4.3.4",
"version": "4.3.5",
"scripts": {

@@ -22,0 +22,0 @@ "dev": "vite dev",

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