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

brightml

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brightml - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

22

index.js

@@ -33,2 +33,14 @@ var fs = require('fs');

if (!!$(this).children().length) {
// Move <caption> if any
$caption = $table.find('caption');
if (!!$caption.length) {
$caption.insertBefore($table);
}
// Remove <colgroup> tags
$colgroup = $table.find('colgroup');
if (!!$colgroup.length) {
$colgroup.remove();
}
// Get children

@@ -39,12 +51,2 @@ $children = $table.children();

// First child might be a <caption>
if (firstChildType === 'caption') {
// Move it before the <table> tag
$caption = $table.find('caption');
$caption.insertBefore($table);
// Get actual remaining children to process
$children = $table.children();
firstChildType = getTagName($children);
}
switch (firstChildType) {

@@ -51,0 +53,0 @@ // Case <tr>, move the first in a new <thead> and the others in a new <tbody>

{
"name": "brightml",
"version": "3.0.5",
"version": "3.0.6",
"description": "Smart utility rendering markdown-ready HTML",

@@ -5,0 +5,0 @@ "main": "index.js",

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