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
41
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 9.0.2 to 10.0.0

11

dist/lib/__test__/index.test.js

@@ -11,3 +11,2 @@ "use strict";

nodeType: 'document',
nodeClass: 'block',
data: {},

@@ -20,3 +19,2 @@ content: [],

nodeType: 'document',
nodeClass: 'block',
data: {},

@@ -26,3 +24,2 @@ content: [

nodeType: faker_1.default.name.title(),
nodeClass: 'block',
data: {},

@@ -39,3 +36,2 @@ content: [],

nodeType: 'paragraph',
nodeClass: 'block',
data: {},

@@ -48,3 +44,2 @@ content: [],

nodeType: 'paragraph',
nodeClass: 'block',
data: {},

@@ -54,3 +49,2 @@ content: [

nodeType: faker_1.default.name.title(),
nodeClass: 'block',
data: {},

@@ -65,3 +59,2 @@ content: [],

nodeType: 'paragraph',
nodeClass: 'block',
data: {},

@@ -83,3 +76,2 @@ content: [

nodeType: 'hyperlink',
nodeClass: 'inline',
data: {},

@@ -92,3 +84,2 @@ content: [],

nodeType: 'hyperlink',
nodeClass: 'inline',
data: {},

@@ -98,3 +89,2 @@ content: [

nodeType: faker_1.default.name.title(),
nodeClass: 'inline',
data: {},

@@ -109,3 +99,2 @@ content: [],

nodeType: faker_1.default.name.title(),
nodeClass: 'inline',
data: {},

@@ -112,0 +101,0 @@ content: [

3

dist/types/types.d.ts

@@ -8,11 +8,8 @@ export declare type NodeData = Record<string, any>;

nodeType: 'document';
nodeClass: 'block';
content: Block[];
}
export interface Block extends Node {
nodeClass: 'block';
content: Array<Block | Inline | Text>;
}
export interface Inline extends Node {
nodeClass: 'inline';
content: Array<Inline | Text>;

@@ -19,0 +16,0 @@ }

4

package.json
{
"name": "@contentful/rich-text-types",
"version": "9.0.2",
"version": "10.0.0",
"main": "dist/rich-text-types.es5.js",

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

},
"gitHead": "e2b8b5509083bba1ea1e6839fd382c84019a76dc"
"gitHead": "4531fd40a4e459fda941272917d3e42bdacd9f00"
}

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