Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@portabletext/types

Package Overview
Dependencies
Maintainers
10
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portabletext/types - npm Package Compare versions

Comparing version
3.0.1
to
4.0.0
+3
-3
dist/index.d.ts

@@ -43,3 +43,3 @@ /**

*/
_type: "block" | string;
_type: "block" | (string & {});
/**

@@ -93,3 +93,3 @@ * A key that identifies this block uniquely within the parent array. Used to more easily address

*/
type PortableTextBlockStyle = "normal" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | string;
type PortableTextBlockStyle = "normal" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | (string & {});
/**

@@ -99,3 +99,3 @@ * A set of _common_ (but not required/standardized) list item types

*/
type PortableTextListItemType = "bullet" | "number" | string;
type PortableTextListItemType = "bullet" | "number" | (string & {});
/**

@@ -102,0 +102,0 @@ * A mark definition holds information for marked text. For instance, a text span could reference

@@ -1,1 +0,1 @@

{"version":3,"file":"index.d.ts","names":[],"sources":["../src/related.ts","../src/portableText.ts"],"sourcesContent":[],"mappings":"AAKA;AAkBA;;ACVA;;AACyC,UDTxB,WAAA,CCSwB;EAC7B;;;;EAES,KAAA,EAAA,MAAA;EAqBT;;;;EApBF,IAAA,CAAA,EAAA,MAAA;;AAwDV;;;;AAE0B,KDrDd,oBAAA,GAAuB,WCqDT,GAAA;EACL,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA,GAAA;CACA;ADvDrB;;ACVA;;;;;;;;;AAgCa,UAhCI,iBAgCJ,CAMH,UArCE,0BAqCF,GArC+B,0BAqC/B,EAMG,UA1CD,WA0CC,GA1Ca,oBA0Cb,GA1CoC,gBA0CpC,EAvCH,UAAA,MAAA,GAFW,sBAEX,EAAA,UAAA,MAAA,GADW,wBACX,CAwDV,SAxDU,W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oCACL,6BAA6B,sCAC7B,cAAc,qCACL,2CACA,kCACX,KAAK,kBAAkB,GAAG,GAAG,GAAG;YAC9B;;;;;;KAOA,sBAAA;;;;;KAeA,wBAAA;;;;;;;UAQK,0BAAA;;;;;;;;;;;;;;;;;;;UAsBA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;UA4BA,gBAAA"}
{
"name": "@portabletext/types",
"version": "3.0.1",
"version": "4.0.0",
"description": "Shared TypeScript definitions for core Portable Text data structures",

@@ -42,2 +42,3 @@ "keywords": [

"oxlint": "^1.32.0",
"oxlint-tsgolint": "^0.8.4",
"tsdown": "^0.17.2",

@@ -54,3 +55,3 @@ "typedoc": "^0.28.15",

"format": "oxfmt .",
"lint": "oxlint --deny-warnings --report-unused-disable-directives",
"lint": "oxlint --type-aware --type-check --deny-warnings --report-unused-disable-directives",
"node:test": "node test/test.js",

@@ -57,0 +58,0 @@ "release": "changeset publish",