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

@prismicio/types-internal

Package Overview
Dependencies
Maintainers
20
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 1.1.0 to 1.1.1

2

lib/documents/widgets/index.js

@@ -29,3 +29,3 @@ "use strict";

const widgetKeyRegex = new RegExp("^[^<>]+$");
exports.WidgetKey = (0, function_1.refineType)(t.string, "WidgetKey", (s) => widgetKeyRegex.test(s));
exports.WidgetKey = (0, function_1.refineType)(t.string, "WidgetKey", (s) => s.length === 0 || widgetKeyRegex.test(s));
exports.Widget = {

@@ -32,0 +32,0 @@ fromJson(widgetKey, widgetValue, widgetTypes, widgetPositions) {

{
"name": "@prismicio/types-internal",
"version": "1.1.0",
"version": "1.1.1",
"description": "Prismic types for Custom Types and Prismic Data",

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

@@ -35,3 +35,3 @@ import * as t from "io-ts"

export const WidgetKey = refineType(t.string, "WidgetKey", (s: string) =>
widgetKeyRegex.test(s),
s.length === 0 || widgetKeyRegex.test(s),
)

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