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

@contentful/rich-text-plain-text-renderer

Package Overview
Dependencies
Maintainers
104
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/rich-text-plain-text-renderer - npm Package Compare versions

Comparing version 15.3.0 to 15.3.1

180

CHANGELOG.md

@@ -6,4 +6,184 @@ # Change Log

## [15.3.1](https://github.com/contentful/rich-text/compare/v15.3.0...v15.3.1) (2021-09-07)
**Note:** Version bump only for package @contentful/rich-text-plain-text-renderer
# [15.3.0](https://github.com/contentful/rich-text/compare/v15.2.0...v15.3.0) (2021-09-06)
**Note:** Version bump only for package @contentful/rich-text-plain-text-renderer
# [15.2.0](https://github.com/contentful/rich-text/compare/v15.2.0...v15.1.0) (2021-09-06)
# [15.1.0](https://github.com/contentful/rich-text/compare/v15.0.0...v15.1.0) (2021-08-02)
# [15.0.0](https://github.com/contentful/rich-text/compare/v14.2.0...v15.0.0) (2021-06-15)
## [14.1.2](https://github.com/contentful/rich-text/compare/v14.0.1...v14.1.2) (2020-11-02)
## [14.0.1](https://github.com/contentful/rich-text/compare/v14.0.0...v14.0.1) (2020-01-30)
# [14.0.0](https://github.com/contentful/rich-text/compare/v13.4.0...v14.0.0) (2020-01-28)
# [13.4.0](https://github.com/contentful/rich-text/compare/v13.3.0...v13.4.0) (2019-08-01)
# [13.1.0](https://github.com/contentful/rich-text/compare/v13.0.1...v13.1.0) (2019-03-04)
# [13.0.0](https://github.com/contentful/rich-text/compare/v12.2.1...v13.0.0) (2019-01-22)
### Bug Fixes
* 🐛 use named export instead of default ([57bf365](https://github.com/contentful/rich-text/commit/57bf36510f1021f5208a3e33242cceea97940d68))
### BREAKING CHANGES
* removes default export from 'rich-text-plain-text-renderer'
## [12.1.2](https://github.com/contentful/rich-text/compare/v12.1.1...v12.1.2) (2018-12-14)
## [12.0.3](https://github.com/contentful/rich-text/compare/v12.0.2...v12.0.3) (2018-12-05)
### Bug Fixes
* **readme:** mark types in readme examples ([d997b56](https://github.com/contentful/rich-text/commit/d997b56f2b8c32b2e5b478ab5444757203e2c703))
## [12.0.2](https://github.com/contentful/rich-text/compare/v12.0.1...v12.0.2) (2018-12-04)
### Bug Fixes
* 🐛 update path to typings ([ce5544f](https://github.com/contentful/rich-text/commit/ce5544f58712dc6a18aadda523d0c0357a66c8a5))
## [12.0.1](https://github.com/contentful/rich-text/compare/v12.0.0...v12.0.1) (2018-12-04)
# [12.0.0](https://github.com/contentful/rich-text/compare/v11.0.0...v12.0.0) (2018-11-29)
# [11.0.0](https://github.com/contentful/rich-text/compare/v10.3.0...v11.0.0) (2018-11-27)
# [10.3.0](https://github.com/contentful/rich-text/compare/v10.2.0...v10.3.0) (2018-11-26)
# [10.2.0](https://github.com/contentful/rich-text/compare/v10.1.0...v10.2.0) (2018-11-19)
### Features
* 🎸 Add rich-text-references ([363b4e5](https://github.com/contentful/rich-text/commit/363b4e509e94af0932fd7cece8e56beafe8d67d2))
# [10.1.0](https://github.com/contentful/rich-text/compare/v10.0.5...v10.1.0) (2018-11-16)
## [10.0.5](https://github.com/contentful/rich-text/compare/v10.0.4...v10.0.5) (2018-11-12)
### Bug Fixes
* 🐛 handle case of missing rootNode / rootNode.content ([e2434c7](https://github.com/contentful/rich-text/commit/e2434c7f5e1401f1188dd778c2aa9a108cea5596))
## [10.0.1](https://github.com/contentful/rich-text/compare/v10.0.0...v10.0.1) (2018-11-08)
# [10.0.0](https://github.com/contentful/rich-text/compare/v9.0.2...v10.0.0) (2018-11-02)
### Features
* 🎸 removes nodeClass from Node interface ([09b8162](https://github.com/contentful/rich-text/commit/09b8162bcba65bc13afa14b2b5ff046c9fed7b3b))
### BREAKING CHANGES
* Removes accidentally added nodeClass
## [9.0.2](https://github.com/contentful/rich-text/compare/v9.0.1...v9.0.2) (2018-10-31)
## [9.0.1](https://github.com/contentful/rich-text/compare/v9.0.0...v9.0.1) (2018-10-31)
# [9.0.0](https://github.com/contentful/rich-text/compare/v8.0.3...v9.0.0) (2018-10-30)
### Bug Fixes
* 🐛 Fix block divisor provision ([3aafb7a](https://github.com/contentful/rich-text/commit/3aafb7a756d8b6f96ef733eb299091404b3391aa))
* 🐛 remove exclusive mocha test ([5ff5d0e](https://github.com/contentful/rich-text/commit/5ff5d0e35024b7dccda065f54ae34138d9416525))
### BREAKING CHANGES
* Fundamentally alters the plain text renderer behavior. (For the better!)
## [8.0.3](https://github.com/contentful/rich-text/compare/v8.0.2...v8.0.3) (2018-10-30)
## [8.0.2](https://github.com/contentful/rich-text/compare/v8.0.1...v8.0.2) (2018-10-29)
## [8.0.1](https://github.com/contentful/rich-text/compare/v8.0.0...v8.0.1) (2018-10-26)
### Features
* 🎸 take all packages out of "demo mode" ([815f18b](https://github.com/contentful/rich-text/commit/815f18be6a914e7e4782790ee46053689712494b))
### BREAKING CHANGES
* renames all packages
# 6.0.0 (2018-10-24)

8

dist/lib/__test__/index.test.js

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

};
expect(index_1.documentToPlainTextString(document)).toEqual('');
expect((0, index_1.documentToPlainTextString)(document)).toEqual('');
});

@@ -46,3 +46,3 @@ it('handles a simple case', function () {

};
expect(index_1.documentToPlainTextString(document)).toEqual('Trout is a seafood delicacy.');
expect((0, index_1.documentToPlainTextString)(document)).toEqual('Trout is a seafood delicacy.');
});

@@ -159,3 +159,3 @@ describe('rendering deeply nested documents', function () {

it('handles nested nodes gracefully', function () {
expect(index_1.documentToPlainTextString(document)).toEqual([
expect((0, index_1.documentToPlainTextString)(document)).toEqual([
'This is text.',

@@ -169,3 +169,3 @@ 'This is text with some marks.',

it('defers to the user-supplied block divisor', function () {
expect(index_1.documentToPlainTextString(document, '\n\n')).toEqual([
expect((0, index_1.documentToPlainTextString)(document, '\n\n')).toEqual([
'This is text. This is text with some marks. This is text from a bolded hyperlink.',

@@ -172,0 +172,0 @@ 'This is a list element in a separate block with a link with marks.',

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.documentToPlainTextString = void 0;
var rich_text_types_1 = require("@contentful/rich-text-types");

@@ -4,0 +5,0 @@ /**

@@ -203,3 +203,3 @@ 'use strict';

version: '3.17.2',
mode: 'global',
mode: 'global',
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'

@@ -916,2 +916,23 @@ });

/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function __spreadArray(to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
}
var _a;

@@ -948,3 +969,3 @@ /**

_a[BLOCKS$1.UL_LIST] = [BLOCKS$1.LIST_ITEM],
_a[BLOCKS$1.LIST_ITEM] = TOP_LEVEL_BLOCKS.slice(),
_a[BLOCKS$1.LIST_ITEM] = __spreadArray([], TOP_LEVEL_BLOCKS),
_a[BLOCKS$1.QUOTE] = [BLOCKS$1.PARAGRAPH],

@@ -1000,2 +1021,3 @@ _a[BLOCKS$1.TABLE] = [BLOCKS$1.TABLE_ROW],

var helpers = /*#__PURE__*/Object.freeze({
__proto__: null,
isInline: isInline,

@@ -1002,0 +1024,0 @@ isBlock: isBlock,

{
"name": "@contentful/rich-text-plain-text-renderer",
"version": "15.3.0",
"version": "15.3.1",
"main": "dist/rich-text-plain-text-renderer.es5.js",

@@ -27,18 +27,18 @@ "typings": "dist/types/index.d.ts",

"dependencies": {
"@contentful/rich-text-types": "^15.3.0"
"@contentful/rich-text-types": "^15.3.1"
},
"devDependencies": {
"jest": "^24.7.1",
"jest": "^27.1.0",
"rimraf": "^2.6.3",
"rollup": "^1.11.0",
"rollup": "^1.32.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.21.0",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"typescript": "^3.4.5"
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^27.0.5",
"tslint": "^6.1.3",
"typescript": "^4.4.2"
},
"gitHead": "8744fa8300f14a0ee224152fa8da3bbc6f085c69"
"gitHead": "264c16cef58794e31d1f7c11dd98d627147b2e9d"
}

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