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
5
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.6.3 to 16.7.0

7

dist/__test__/schemaConstraints.test.js

@@ -23,3 +23,10 @@ "use strict";

});
it('should allow UL_LIST and OL_LIST blocks as children of TABLE_CELL', function () {
// Get the children of TABLE_CELL
var tableCellChildren = schemaConstraints_1.CONTAINERS[blocks_1.BLOCKS.TABLE_CELL];
// Check that UL_LIST and OL_LIST are in the children array
expect(tableCellChildren).toContain(blocks_1.BLOCKS.UL_LIST);
expect(tableCellChildren).toContain(blocks_1.BLOCKS.OL_LIST);
});
});
//# sourceMappingURL=schemaConstraints.test.js.map

2

dist/schemaConstraints.js

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

_a[blocks_1.BLOCKS.TABLE_ROW] = [blocks_1.BLOCKS.TABLE_CELL, blocks_1.BLOCKS.TABLE_HEADER_CELL],
_a[blocks_1.BLOCKS.TABLE_CELL] = [blocks_1.BLOCKS.PARAGRAPH],
_a[blocks_1.BLOCKS.TABLE_CELL] = [blocks_1.BLOCKS.PARAGRAPH, blocks_1.BLOCKS.UL_LIST, blocks_1.BLOCKS.OL_LIST],
_a[blocks_1.BLOCKS.TABLE_HEADER_CELL] = [blocks_1.BLOCKS.PARAGRAPH],

@@ -87,0 +87,0 @@ _a);

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

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

},
"gitHead": "8781c61ef0380e0d4c16705b5d4850350012e0c9"
"gitHead": "b08b39759d6e1366061420d1c59304bd8bffcfe1"
}

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