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

rebber

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rebber - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

3

dist/types/code.js

@@ -11,2 +11,5 @@ 'use strict';

var lines = lang.split('hl_lines=')[1].trim();
if (lines.startsWith('"') && lines.endsWith('"') || lines.startsWith("'") && lines.endsWith("'")) {
lines = lines.slice(1, -1).trim();
}
param += '[][' + lines + ']';

@@ -13,0 +16,0 @@ }

2

package.json
{
"name": "rebber",
"version": "2.2.4",
"version": "2.2.5",
"description": "Stringifies MDAST to LaTeX",

@@ -5,0 +5,0 @@ "repository": "https://github.com/zestedesavoir/zmarkdown/tree/master/packages/rebber",

@@ -8,3 +8,9 @@ /* Expose. */

if (lang.indexOf('hl_lines=') > -1) {
const lines = lang.split('hl_lines=')[1].trim()
let lines = lang.split('hl_lines=')[1].trim()
if (
(lines.startsWith('"') && lines.endsWith('"')) ||
(lines.startsWith("'") && lines.endsWith("'"))
) {
lines = lines.slice(1, -1).trim()
}
param += `[][${lines}]`

@@ -11,0 +17,0 @@ }

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