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

mammoth-styled

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mammoth-styled - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

History.md
1.0.4 / 2021-03-10
==================
* fix: typeerror
* chore: add empty docx test
1.0.3 / 2021-03-06

@@ -3,0 +9,0 @@ ==================

3

lib/docx/content-types-reader.js

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

findContentType(path) {
if (!path) {
return null;
}
const overrideContentType = overrides[path];

@@ -42,0 +45,0 @@ if (overrideContentType) {

2

lib/docx/office-xml-reader.js

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

if (node.name === 'mc:AlternateContent') {
return node.first('mc:Fallback').children;
return node.firstOrEmpty('mc:Fallback').children;
}

@@ -52,0 +52,0 @@ node.children = _.flatten(node.children.map(collapseAlternateContent, true));

@@ -15,3 +15,2 @@ 'use strict';

return htmlWriter.writer(options);
}
{
"name": "mammoth-styled",
"version": "1.0.3",
"version": "1.0.4",
"author": "Zhenjiang Shao <814184517@qq.com>, Michael Williamson <mike@zwobble.org>",

@@ -5,0 +5,0 @@ "description": "Convert Word documents from docx to simple HTML and Markdown with style",

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