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

@prismicio/types-internal

Package Overview
Dependencies
Maintainers
24
Versions
167
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.1.0-alpha.0 to 2.1.0-alpha.1

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

7

lib/content/Document.js

@@ -65,3 +65,8 @@ "use strict";

const slugs = data["slugs_INTERNAL"] || [];
const uid = data["uid"];
const uid = (() => {
const rawUID = data["uid"];
if ((0, fields_1.isUIDContent)(rawUID))
return rawUID.value;
return;
})();
return {

@@ -68,0 +73,0 @@ widgets,

2

package.json
{
"name": "@prismicio/types-internal",
"version": "2.1.0-alpha.0",
"version": "2.1.0-alpha.1",
"description": "Prismic types for Custom Types and Prismic Data",

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

@@ -7,3 +7,3 @@ import { either } from "fp-ts"

import { WidgetKey } from "../common"
import { WidgetContent, WidgetLegacy } from "./fields"
import { isUIDContent, WidgetContent, WidgetLegacy } from "./fields"
import {

@@ -101,3 +101,7 @@ defaultCtx,

const slugs = (data["slugs_INTERNAL"] as string[]) || []
const uid = data["uid"] as string | undefined
const uid = (() => {
const rawUID = data["uid"]
if (isUIDContent(rawUID)) return rawUID.value
return
})()

@@ -104,0 +108,0 @@ return {

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