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

astro-portabletext

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-portabletext - npm Package Compare versions

Comparing version 0.9.0-next.2 to 0.9.0-next.3

13

lib/types.ts

@@ -113,3 +113,3 @@ import type {

*/
export interface Props<N extends TypedObject = ArbitraryTypedObject> {
export interface Props<N extends TypedObject> {
/**

@@ -153,4 +153,5 @@ * Portable Text node

* @example
* import type { List, Props } from "astro-portabletext/types";
* const props = Astro.props as Props<List>;
* import type { List, Props as $ } from "astro-portabletext/types";
*
* export type Props = $<List>;
*/

@@ -165,4 +166,5 @@ export type List = ToolkitPortableTextList;

* @example
* import type { ListItem, Props } from "astro-portabletext/types";
* const props = Astro.props as Props<ListItem>;
* import type { ListItem, Props as $ } from "astro-portabletext/types";
*
* export type Props = $<ListItem>;
*/

@@ -180,2 +182,3 @@ export type ListItem = ToolkitPortableTextListItem;

export interface Mark<
// eslint-disable-next-line @typescript-eslint/no-explicit-any
MarkDef extends Record<string, any> | undefined = undefined

@@ -182,0 +185,0 @@ > extends ToolkitNestedPortableTextSpan {

{
"name": "astro-portabletext",
"version": "0.9.0-next.2",
"version": "0.9.0-next.3",
"type": "module",

@@ -34,3 +34,3 @@ "description": "Render Portable Text with Astro",

"type": "git",
"url": "git+https://github.com/theisel/astro-portabletext.git",
"url": "https://github.com/theisel/astro-portabletext.git",
"directory": "astro-portabletext"

@@ -37,0 +37,0 @@ },

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