New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

astro-portabletext

Package Overview
Dependencies
Maintainers
1
Versions
50
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.0 to 0.4.0-next.1

2

lib/types.d.ts

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

*/
astroClass: string | undefined;
astroClass?: string;
}

@@ -111,0 +111,0 @@ /**

{
"name": "astro-portabletext",
"version": "0.4.0-next.0",
"version": "0.4.0-next.1",
"type": "module",

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

"homepage": "https://github.com/theisel/astro-portabletext#readme",
"main": "./lib/index.js",
"exports": {

@@ -32,2 +33,5 @@ ".": "./lib/index.js",

"*": {
".": [
"lib/index.d.ts"
],
"components": [

@@ -44,2 +48,6 @@ "lib/components.d.ts"

},
"files": [
"components",
"lib"
],
"dependencies": {

@@ -46,0 +54,0 @@ "@portabletext/toolkit": "^1.0.5",

<div>
<img src="../logo.svg" width="240" alt="astro-portabletext logo">
<img src="https://github.com/theisel/astro-portabletext/raw/main/logo.svg" width="240" alt="astro-portabletext logo">
</div>

@@ -27,8 +27,8 @@

| Import | Description |
| :------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------- |
| `astro-portabletext` | For `PortableText` component. <br>See [PortableText Component](./docs/portabletext-component.md) for details. |
| `astro-portabletext/components` | For `Block`, `List`, `ListItem` and `Mark` components. <br> See [Extending Components](./docs/extending-components.md) for usage. |
| `astro-portabletext/types` | For Typescript [types](https://github.com/theisel/astro-portabletext/blob/main/component/lib/types.ts) |
| `astro-portabletext/utils` | For [utility](https://github.com/theisel/astro-portabletext/blob/main/component/lib/utils.ts) functions |
| Import | Description |
| :------------------------------ | :------------------------------------------------------------------------------------------------------------------------------ |
| `astro-portabletext` | For `PortableText` component. <br>See [PortableText Component](docs/portabletext-component.md) for details. |
| `astro-portabletext/components` | For `Block`, `List`, `ListItem` and `Mark` components. <br> See [Extending Components](docs/extending-components.md) for usage. |
| `astro-portabletext/types` | For Typescript [types](docs/types.md) |
| `astro-portabletext/utils` | For [utility](docs/utils.md) functions |

@@ -88,3 +88,3 @@ ```ts

See [documentation](./docs/README.md) for advanced usage and examples.
See [documentation](docs/README.md) for advanced usage and examples.

@@ -91,0 +91,0 @@ ## License

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