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

@prismicio/types-internal

Package Overview
Dependencies
Maintainers
26
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/types-internal - npm Package Compare versions

Comparing version 2.9.0-alpha.1 to 2.9.0-alpha.2

8

lib/customtypes/widgets/nestable/Link.d.ts

@@ -13,2 +13,6 @@ import * as t from "io-ts";

allowText: t.BooleanC;
/**
* `repeat` property is used to allow multiple links to be added.
* `undefined` means that the field is not repeatable (hence repeat = false).
*/
repeat: t.BooleanC;

@@ -31,2 +35,6 @@ }>>;

allowText: t.BooleanC;
/**
* `repeat` property is used to allow multiple links to be added.
* `undefined` means that the field is not repeatable (hence repeat = false).
*/
repeat: t.BooleanC;

@@ -33,0 +41,0 @@ }>>;

11

lib/customtypes/widgets/nestable/Link.js

@@ -46,3 +46,7 @@ "use strict";

allowText: t.boolean,
repeat: (0, withFallback_1.withFallback)(t.boolean, false),
/**
* `repeat` property is used to allow multiple links to be added.
* `undefined` means that the field is not repeatable (hence repeat = false).
*/
repeat: t.boolean,
}));

@@ -55,7 +59,4 @@ exports.Link = t.exact(t.intersection([

fieldset: validators_1.StringOrNull,
config: (0, withFallback_1.withFallback)(exports.LinkConfig, {
select: null,
repeat: false,
}),
config: exports.LinkConfig,
}),
]));
{
"name": "@prismicio/types-internal",
"version": "2.9.0-alpha.1",
"version": "2.9.0-alpha.2",
"description": "Prismic types for Custom Types and Prismic Data",

@@ -5,0 +5,0 @@ "keywords": [

@@ -82,3 +82,8 @@ import { either } from "fp-ts/lib/Either"

allowText: t.boolean,
repeat: withFallback(t.boolean, false),
/**
* `repeat` property is used to allow multiple links to be added.
* `undefined` means that the field is not repeatable (hence repeat = false).
*/
repeat: t.boolean,
}),

@@ -95,6 +100,3 @@ )

fieldset: StringOrNull,
config: withFallback(LinkConfig, {
select: null,
repeat: false,
}),
config: LinkConfig,
}),

@@ -101,0 +103,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