New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/structured-text-types

Package Overview
Dependencies
Maintainers
49
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.3.0 to 2.4.0

dist/lib/schemaConstraints.js

6

dist/lib/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });

@@ -9,4 +12,3 @@ var blocks_1 = require("./blocks");

exports.MARKS = marks_1.default;
var containers_1 = require("./containers");
exports.CONTAINERS = containers_1.default;
__export(require("./schemaConstraints"));
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Map of all Contentful marks.
*/
exports.default = {

@@ -4,0 +7,0 @@ BOLD: 'bold',

@@ -34,2 +34,5 @@ 'use strict';

/**
* Map of all Contentful marks.
*/
var marks = {

@@ -43,2 +46,6 @@ BOLD: 'bold',

var _a;
/**
* Array of all top level block types.
* Only these block types can be the direct children of the document.
*/
var TOP_LEVEL_BLOCKS = [

@@ -59,2 +66,6 @@ BLOCKS.PARAGRAPH,

/**
* Array of all void block types
*/
var VOID_BLOCKS = [BLOCKS.HR, BLOCKS.EMBEDDED_ENTRY];
/**
* Dictionary of all container block types, and the set block types they accept as children.

@@ -73,3 +84,5 @@ *

exports.MARKS = marks;
exports.TOP_LEVEL_BLOCKS = TOP_LEVEL_BLOCKS;
exports.VOID_BLOCKS = VOID_BLOCKS;
exports.CONTAINERS = CONTAINERS;
//# sourceMappingURL=structured-text-types.es5.js.map
export { default as BLOCKS } from './blocks';
export { default as INLINES } from './inlines';
export { default as MARKS } from './marks';
export { default as CONTAINERS } from './containers';
export * from './schemaConstraints';
export * from './types';

@@ -7,2 +7,5 @@ declare const _default: {

};
/**
* Map of all Contentful marks.
*/
export default _default;
{
"name": "@contentful/structured-text-types",
"version": "2.3.0",
"version": "2.4.0",
"description": "",

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

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