Socket
Socket
Sign inDemoInstall

@jill64/svelte-ogp

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jill64/svelte-ogp - npm Package Compare versions

Comparing version 1.1.24 to 1.1.25

33

dist/OGP.svelte.d.ts

@@ -5,15 +5,26 @@ import { SvelteComponent } from "svelte";

prefix?: string | undefined;
title: string;
type?: string | undefined;
image: string;
url?: string | undefined;
description: string;
site_name: string;
twitter_card?: "summary" | "summary_large_image" | "app" | "player" | undefined;
twitter_site?: `@${string}` | undefined;
twitter_creator?: `@${string}` | undefined;
custom_properties?: ({
/** The title of your object as it should appear within the graph */ title: string;
/**
* The type of your object.
* Depending on the type you specify, other properties may also be required.
* @see https://ogp.me/#types
* @default 'website'
*/ type?: string | undefined;
/** An image URL which should represent your object within the graph. */ image: string;
/**
* The canonical URL of your object that will be used as its permanent ID in the graph.
* @default $page.url.href
*/ url?: string | undefined;
/** A one to two sentence description of your object. */ description: string;
/** If your object is part of a larger web site, the name which should be displayed for the overall site. */ site_name: string;
/**
* The card type, which will be one of “summary”, “summary_large_image”, “app”, or “player”.
* @default 'summary_large_image'
*/ twitter_card?: "summary" | "summary_large_image" | "app" | "player" | undefined;
/** "@username" for the website used in the card footer. */ twitter_site?: `@${string}` | undefined;
/** "@username" for the content creator / author. */ twitter_creator?: `@${string}` | undefined;
/** Custom properties */ custom_properties?: ({
og?: Record<string, string> | undefined;
} & Record<string, string>) | undefined;
custom_names?: ({
/** Custom names */ custom_names?: ({
twitter?: Record<string, string> | undefined;

@@ -20,0 +31,0 @@ } & Record<string, string>) | undefined;

{
"name": "@jill64/svelte-ogp",
"version": "1.1.24",
"version": "1.1.25",
"description": "🖼️ Quick OGP configuration for SvelteKit",

@@ -30,3 +30,3 @@ "main": "dist/index.js",

"url": "https://github.com/jill64/svelte-ogp.git",
"image": "https://opengraph.githubassets.com/6419871dba3af5ab588f582123518d0ff8618bbf4e9e0aa69f96f02f7731e230/jill64/svelte-ogp"
"image": "https://opengraph.githubassets.com/54093525b36aa2026079030549d75227a7c767012eddabc1935d1becd7c65024/jill64/svelte-ogp"
},

@@ -59,20 +59,20 @@ "publishConfig": {

"devDependencies": {
"@jill64/eslint-config-svelte": "1.2.24",
"@jill64/npm-demo-layout": "1.0.183",
"@jill64/playwright-config": "2.2.5",
"@jill64/eslint-config-svelte": "1.2.27",
"@jill64/npm-demo-layout": "1.0.191",
"@jill64/playwright-config": "2.3.0",
"@jill64/prettier-config": "1.0.0",
"@jill64/sentry-sveltekit-cloudflare": "1.7.11",
"@jill64/universal-sanitizer": "1.2.10",
"@playwright/test": "1.43.1",
"@jill64/sentry-sveltekit-cloudflare": "1.7.12",
"@jill64/universal-sanitizer": "1.2.11",
"@playwright/test": "1.44.0",
"@sveltejs/adapter-cloudflare": "4.4.0",
"@sveltejs/kit": "2.5.7",
"svelte": "4.2.15",
"@sveltejs/kit": "2.5.8",
"svelte": "4.2.16",
"typescript": "5.4.5",
"vite": "5.2.10",
"vitest": "1.5.3",
"vite": "5.2.11",
"vitest": "1.6.0",
"@sveltejs/vite-plugin-svelte": "3.1.0"
},
"dependencies": {
"@jill64/svelte-html": "1.1.15"
"@jill64/svelte-html": "1.1.16"
}
}

@@ -5,8 +5,8 @@ <!----- BEGIN GHOST DOCS HEADER ----->

<!----- BEGIN GHOST DOCS BADGES ----->
<a href="https://npmjs.com/package/@jill64/svelte-ogp"><img src="https://img.shields.io/npm/v/@jill64/svelte-ogp" alt="npm-version" /></a> <a href="https://npmjs.com/package/@jill64/svelte-ogp"><img src="https://img.shields.io/npm/l/@jill64/svelte-ogp" alt="npm-license" /></a> <a href="https://npmjs.com/package/@jill64/svelte-ogp"><img src="https://img.shields.io/npm/dm/@jill64/svelte-ogp" alt="npm-download-month" /></a> <a href="https://npmjs.com/package/@jill64/svelte-ogp"><img src="https://img.shields.io/bundlephobia/min/@jill64/svelte-ogp" alt="npm-min-size" /></a> <a href="https://github.com/jill64/svelte-ogp/actions/workflows/ci.yml"><img src="https://github.com/jill64/svelte-ogp/actions/workflows/ci.yml/badge.svg" alt="ci.yml" /></a> <a href="https://svelte-ogp.jill64.dev"><img src="https://img.shields.io/website?up_message=working&down_message=down&url=https%3A%2F%2Fsvelte-ogp.jill64.dev" alt="website" /></a>
<!----- END GHOST DOCS BADGES ----->
🖼️ Quick OGP configuration for SvelteKit

@@ -13,0 +13,0 @@

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