Socket
Socket
Sign inDemoInstall

@astrojs/starlight

Package Overview
Dependencies
Maintainers
3
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/starlight - npm Package Compare versions

Comparing version 0.22.0 to 0.22.1

2

package.json
{
"name": "@astrojs/starlight",
"version": "0.22.0",
"version": "0.22.1",
"description": "Build beautiful, high-performance documentation websites with Astro",

@@ -5,0 +5,0 @@ "keywords": [

@@ -114,3 +114,3 @@ import type { MarkdownHeading } from 'astro';

/** Get the site title for a given language. **/
function getSiteTitle(lang: string): string {
export function getSiteTitle(lang: string): string {
const defaultLang = config.defaultLocale.lang as string;

@@ -117,0 +117,0 @@ if (lang && config.title[lang]) {

@@ -6,3 +6,3 @@ import { z } from 'astro/zod';

import { stripLeadingAndTrailingSlashes } from './path';
import { getToC, type PageProps, type StarlightRouteData } from './route-data';
import { getSiteTitle, getToC, type PageProps, type StarlightRouteData } from './route-data';
import type { StarlightDocsEntry } from './routing';

@@ -227,2 +227,3 @@ import { slugToLocaleData, urlToSlug } from './slugs';

sidebar,
siteTitle: getSiteTitle(localeData.lang),
slug,

@@ -229,0 +230,0 @@ toc: getToC({

Sorry, the diff of this file is too big to display

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