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

@jsreport/jsreport-docx

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsreport/jsreport-docx - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

6

lib/postprocess/html/parseHtmlToDocxMeta.js

@@ -332,2 +332,8 @@ const cheerio = require('cheerio')

// if text contains at least one character that is not white space then ignore
// the normalization
if (childNode.nodeValue !== '' && /[^ ]/.test(childNode.nodeValue)) {
continue
}
childNode.nodeValue = childNode.nodeValue.replace(/^[ ]+([^ ]*)/, '$1')

@@ -334,0 +340,0 @@ childNode.nodeValue = childNode.nodeValue.replace(/([^ ]*)[ ]+$/, '$1')

2

package.json
{
"name": "@jsreport/jsreport-docx",
"version": "3.5.0",
"version": "3.5.1",
"description": "jsreport recipe rendering docx files",

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

@@ -10,2 +10,6 @@ # @jsreport/jsreport-docx

### 3.5.1
- fix normalizing space for middle text element in `docxHtml`
### 3.5.0

@@ -12,0 +16,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