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

@sentry-internal/global-search

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry-internal/global-search - npm Package Compare versions

Comparing version 0.1.1 to 0.1.3

22

dist/index.js

@@ -615,5 +615,21 @@ module.exports =

var getChildText = function getChildText(element) {
return element.children.map(function (child) {
return child.type === 'tag' ? getChildText(child) : child.data.trim();
}).filter(Boolean).join(' ');
return element.children.reduce(function (str, child) {
var _newStr;
var newStr;
if (child.type === 'text') {
newStr = child.data;
} else if (child.type === 'tag') {
newStr = getChildText(child);
}
newStr = (_newStr = newStr) === null || _newStr === void 0 ? void 0 : _newStr.trim();
if (newStr) {
str += str ? " ".concat(newStr) : newStr;
}
return str;
}, '').trim();
};

@@ -620,0 +636,0 @@

2

package.json
{
"name": "@sentry-internal/global-search",
"description": "JavaScript library and helper utilities for searching Sentry sites via Algolia.",
"version": "0.1.1",
"version": "0.1.3",
"author": "Sentry",

@@ -6,0 +6,0 @@ "dependencies": {

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