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

@contentful/rich-text-types

Package Overview
Dependencies
Maintainers
0
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/rich-text-types - npm Package Compare versions

Comparing version 16.5.4 to 16.6.0

2

dist/schemas/__test__/helpers.test.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var blocks_1 = require("../../blocks");
var helpers_1 = require("../../helpers");
var inlines_1 = require("../../inlines");
var helpers_1 = require("../../helpers");
test('isBlock', function () {

@@ -7,0 +7,0 @@ var block = { nodeType: blocks_1.BLOCKS.PARAGRAPH };

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

import { Node, Block, Inline, Text } from './types';
import { Block, Inline, Node, Text } from './types';
/**

@@ -3,0 +3,0 @@ * Checks if the node is an instance of Inline.

import { BLOCKS } from './blocks';
import { INLINES } from './inlines';
import { Block, Inline, Text, ListItemBlock } from './types';
import { Block, Inline, ListItemBlock, Text } from './types';
type EmptyNodeData = {};

@@ -5,0 +5,0 @@ export interface Heading1 extends Block {

@@ -22,3 +22,3 @@ export declare type PrimitiveType = number | boolean | string | null;

enum?: PrimitiveType[] | Definition[];
default?: PrimitiveType | Object;
default?: PrimitiveType | Record<string, any>;
additionalProperties?: Definition | boolean;

@@ -25,0 +25,0 @@ required?: string[];

import { BLOCKS } from './blocks';
import { INLINES } from './inlines';
import { TopLevelBlockEnum, ListItemBlockEnum } from './schemaConstraints';
import { ListItemBlockEnum, TopLevelBlockEnum } from './schemaConstraints';
/**

@@ -5,0 +5,0 @@ * @additionalProperties true

{
"name": "@contentful/rich-text-types",
"version": "16.5.4",
"version": "16.6.0",
"main": "dist/index.js",

@@ -25,3 +25,2 @@ "typings": "dist/types/index.d.ts",

"start": "tsc && rollup -c --bundleConfigAsCjs rollup.config.js -w",
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"generate-json-schema": "ts-node -O '{\"module\": \"commonjs\"}' ./tools/jsonSchemaGen",

@@ -37,6 +36,5 @@ "test": "jest"

"ts-jest": "^29.1.2",
"tslint": "^6.1.3",
"typescript-json-schema": "0.63.0"
},
"gitHead": "caf897d8199f4686de5db7f52eef06008fbd0f65"
"gitHead": "20be31a63585be2d76e2e29c9fd6b66978e5113d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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