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.4.0-next.3 to 0.4.0-next.4

13

lib/types.d.ts

@@ -108,3 +108,3 @@ import type { ToolkitListNestMode, ToolkitNestedPortableTextSpan, ToolkitPortableTextList, ToolkitPortableTextListItem, ToolkitTextNode } from "@portabletext/toolkit";

/**
* Alias to `PortableTextBlock`
* Alias to `PortableTextBlock` with `style` set to `normal`
*

@@ -114,7 +114,12 @@ * @see {@link https://portabletext.github.io/types/interfaces/PortableTextBlock.html}

* @example
* import type { Block, Props } from "astro-portabletext/types";
* const props = Astro.props as Props<Block>;
* import type { Block, Props as $ } from "astro-portabletext/types";
*
* export type Props = $<Block>;
*/
export declare type Block = PortableTextBlock;
export interface Block extends PortableTextBlock {
style: "normal" | PortableTextBlockStyle;
}
/**
* @deprecated Use `Block` instead
*
* @example

@@ -121,0 +126,0 @@ * import type { BlockStyle, Props } from "astro-portabletext/types";

{
"name": "astro-portabletext",
"version": "0.4.0-next.3",
"version": "0.4.0-next.4",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Render Portable Text with Astro",

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