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.1 to 1.3.2

2

package.json
{
"name": "rtf-parser",
"version": "1.3.1",
"version": "1.3.2",
"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",

@@ -16,2 +16,3 @@ 'use strict'

0: 'ASCII',
2: 'SYMBOL',
77: 'MacRoman',

@@ -141,2 +142,7 @@ 128: 'SHIFT_JIS',

// tab
ctrl$tab () {
this.group.addContent(new RTFSpan({ value: '\t' }))
}
// alignment

@@ -256,2 +262,6 @@ ctrl$qc () {

this.group.style.font = num
let fontCharset = this.group.getFont(num).charset
fontCharset = fontCharset && fontCharset !== 'ASCII' ? fontCharset : this.group.charset// default font charset
this.group.charset = fontCharset
}

@@ -258,0 +268,0 @@ }

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