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

@github/paste-markdown

Package Overview
Dependencies
Maintainers
15
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/paste-markdown - npm Package Compare versions

Comparing version 1.4.3 to 1.5.0

6

dist/index.esm.js

@@ -152,3 +152,3 @@ function insertText(textarea, text) {

let markdown = '';
if (isUserMention(element)) {
if (isUserMention(element) || isTeamMention(element)) {
markdown = label;

@@ -177,2 +177,6 @@ }

}
function isTeamMention(link) {
var _a;
return ((_a = link.textContent) === null || _a === void 0 ? void 0 : _a.slice(0, 1)) === '@' && link.getAttribute('data-hovercard-type') === 'team';
}

@@ -179,0 +183,0 @@ function install$3(el) {

@@ -158,3 +158,3 @@ (function (global, factory) {

let markdown = '';
if (isUserMention(element)) {
if (isUserMention(element) || isTeamMention(element)) {
markdown = label;

@@ -183,2 +183,6 @@ }

}
function isTeamMention(link) {
var _a;
return ((_a = link.textContent) === null || _a === void 0 ? void 0 : _a.slice(0, 1)) === '@' && link.getAttribute('data-hovercard-type') === 'team';
}

@@ -185,0 +189,0 @@ function install$3(el) {

2

package.json
{
"name": "@github/paste-markdown",
"version": "1.4.3",
"version": "1.5.0",
"description": "Paste spreadsheet cells as a Markdown table.",

@@ -5,0 +5,0 @@ "repository": "github/paste-markdown",

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