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

rtf-parser

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtf-parser - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="1.3.1"></a>
## [1.3.1](https://github.com/iarna/rtf-parser/compare/v1.3.0...v1.3.1) (2019-01-08)
### Bug Fixes
* **interpreter:** avoid finish callback after err ([#14](https://github.com/iarna/rtf-parser/issues/14)) ([2882b17](https://github.com/iarna/rtf-parser/commit/2882b17)), closes [#13](https://github.com/iarna/rtf-parser/issues/13)
* **interpreter:** Unknown RTF command error ([#16](https://github.com/iarna/rtf-parser/issues/16)) ([63314fe](https://github.com/iarna/rtf-parser/commit/63314fe)), closes [#13](https://github.com/iarna/rtf-parser/issues/13)
<a name="1.3.0"></a>

@@ -7,0 +18,0 @@ # [1.3.0](https://github.com/iarna/rtf-parser/compare/v1.2.0...v1.3.0) (2018-07-08)

4

index.js

@@ -32,3 +32,5 @@ 'use strict'

interpreter.on('error', errorHandler)
interpreter.on('finish', () => cb(null, document))
interpreter.on('finish', () => {
if (!errored) cb(null, document)
})
parser.pipe(interpreter)

@@ -35,0 +37,0 @@ return parser

{
"name": "rtf-parser",
"version": "1.3.0",
"version": "1.3.1",
"description": "This is a general RTF parser. It takes a text stream and produces a document object representing the parsed document. In and of itself, this isn't super useful but it's the building block for other tools to convert RTF into other formats.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -127,2 +127,5 @@ 'use strict'

}
cmd$error (cmd) {
this.emit('error', new Error('Error: ' + cmd.value + (cmd.row && cmd.col ? ' at line ' + cmd.row + ':' + cmd.col : '') + '.'))
}

@@ -129,0 +132,0 @@ ctrl$rtf () {

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