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
0
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 1.0.0 to 1.1.0

8

dist/cjs/sentry-global-search/lib/config.d.ts
import { SearchOptions } from '@algolia/client-search';
export declare const indexNames: {
readonly USER_DOCS: "sentry-docs-v2";
readonly TESTING_DOCS: "testing-docs";
readonly DEVELOP_DOCS: "develop-docs";
readonly HELP_CENTER: "sentry-help";
readonly ZENDESK: "zendesk_sentry_articles";
readonly BLOG: "sentry-blog-posts";
};
export declare const defaultQueryParams: Partial<SearchOptions>;

@@ -3,0 +11,0 @@ export declare const sites: {

20

dist/cjs/sentry-global-search/lib/config.js
Object.defineProperty(exports, "__esModule", { value: true });
exports.sites = exports.defaultQueryParams = void 0;
exports.sites = exports.defaultQueryParams = exports.indexNames = void 0;
var tslib_1 = require("tslib");
var Transformers = tslib_1.__importStar(require("./transformers"));
exports.indexNames = {
USER_DOCS: 'sentry-docs-v2',
TESTING_DOCS: 'testing-docs',
DEVELOP_DOCS: 'develop-docs',
HELP_CENTER: 'sentry-help',
ZENDESK: 'zendesk_sentry_articles',
BLOG: 'sentry-blog-posts',
};
var config = function (settings) {

@@ -19,3 +27,3 @@ return tslib_1.__assign({ pathBias: false, platformBias: true, legacyBias: true }, settings);

{
indexName: 'sentry-docs-v2',
indexName: exports.indexNames.USER_DOCS,
transformer: Transformers.transformDocsGatsbyHit,

@@ -30,3 +38,3 @@ },

{
indexName: 'develop-docs',
indexName: exports.indexNames.DEVELOP_DOCS,
transformer: Transformers.transformDevelopHit,

@@ -41,3 +49,3 @@ },

{
indexName: 'sentry-help',
indexName: exports.indexNames.HELP_CENTER,
transformer: Transformers.transformHelpCenterHit,

@@ -52,3 +60,3 @@ },

{
indexName: 'zendesk_sentry_articles',
indexName: exports.indexNames.ZENDESK,
transformer: Transformers.transformZendeskArticlesHit,

@@ -63,3 +71,3 @@ },

{
indexName: 'sentry-blog-posts',
indexName: exports.indexNames.BLOG,
transformer: Transformers.transformBlogHit,

@@ -66,0 +74,0 @@ },

@@ -18,3 +18,2 @@ // SDK slugs must follow the format entity.ecosystem[.flavor]¹. This provides a

'sentry.perl': 'Perl',
'sentry.node': 'Node',
'sentry.native': 'Native',

@@ -37,3 +36,2 @@ 'sentry.javascript': 'JavaScript',

perl: 'sentry.perl',
node: 'sentry.node',
native: 'sentry.native',

@@ -40,0 +38,0 @@ javascript: 'sentry.javascript',

import * as Transformers from './transformers';
export const indexNames = {
USER_DOCS: 'sentry-docs-v2',
TESTING_DOCS: 'testing-docs',
DEVELOP_DOCS: 'develop-docs',
HELP_CENTER: 'sentry-help',
ZENDESK: 'zendesk_sentry_articles',
BLOG: 'sentry-blog-posts',
};
const config = (settings) => {

@@ -16,3 +24,3 @@ return Object.assign({ pathBias: false, platformBias: true, legacyBias: true }, settings);

{
indexName: 'sentry-docs-v2',
indexName: indexNames.USER_DOCS,
transformer: Transformers.transformDocsGatsbyHit,

@@ -27,3 +35,3 @@ },

{
indexName: 'develop-docs',
indexName: indexNames.DEVELOP_DOCS,
transformer: Transformers.transformDevelopHit,

@@ -38,3 +46,3 @@ },

{
indexName: 'sentry-help',
indexName: indexNames.HELP_CENTER,
transformer: Transformers.transformHelpCenterHit,

@@ -49,3 +57,3 @@ },

{
indexName: 'zendesk_sentry_articles',
indexName: indexNames.ZENDESK,
transformer: Transformers.transformZendeskArticlesHit,

@@ -60,3 +68,3 @@ },

{
indexName: 'sentry-blog-posts',
indexName: indexNames.BLOG,
transformer: Transformers.transformBlogHit,

@@ -63,0 +71,0 @@ },

@@ -16,3 +16,2 @@ // SDK slugs must follow the format entity.ecosystem[.flavor]¹. This provides a

'sentry.perl': 'Perl',
'sentry.node': 'Node',
'sentry.native': 'Native',

@@ -35,3 +34,2 @@ 'sentry.javascript': 'JavaScript',

perl: 'sentry.perl',
node: 'sentry.node',
native: 'sentry.native',

@@ -38,0 +36,0 @@ javascript: 'sentry.javascript',

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

@@ -100,2 +100,2 @@ "dependencies": {

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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