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.0.42 to 0.0.43

13

dist/index.js

@@ -452,2 +452,3 @@ module.exports =

var args,
sanitizedQuery,
client,

@@ -477,2 +478,6 @@ configs,

case 3:
// Strip out all but Basic Latin, to minimize impact from bot search that
// uses random characters. We don't have localized docs so there's no point
// in searching non-latin characters.
sanitizedQuery = _query.replace(/[^\u0020-\u007f]/gi, '');
client = this.client, configs = this.configs;

@@ -503,3 +508,3 @@ searchAllIndexes = args.searchAllIndexes || false;

indexName: indexName,
query: _query,
query: sanitizedQuery,
params: sentry_global_search_objectSpread(sentry_global_search_objectSpread({}, defaultQueryParams), optionalFilters.length && {

@@ -514,6 +519,6 @@ optionalFilters: optionalFilters

_context.next = 9;
_context.next = 10;
return client.search(queries);
case 9:
case 10:
_yield$client$search = _context.sent;

@@ -539,3 +544,3 @@ algoliaResults = _yield$client$search.results;

case 13:
case 14:
case "end":

@@ -542,0 +547,0 @@ return _context.stop();

{
"name": "@sentry-internal/global-search",
"description": "JavaScript library and helper utilities for searching Sentry sites via Algolia.",
"version": "0.0.42",
"version": "0.0.43",
"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