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

docx-templates

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docx-templates - npm Package Compare versions

Comparing version 2.9.0 to 2.9.1

22

lib/mainBrowser.js

@@ -650,22 +650,14 @@ 'use strict';

case 0:
relsXml = void 0;
_context6.prev = 1;
_context6.next = 4;
_context6.next = 2;
return (0, _zip.zipGetText)(zip, relsPath);
case 4:
case 2:
relsXml = _context6.sent;
_context6.next = 10;
break;
case 7:
_context6.prev = 7;
_context6.t0 = _context6['catch'](1);
relsXml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n </Relationships>';
case 10:
if (!relsXml) {
relsXml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n </Relationships>';
}
return _context6.abrupt('return', (0, _xml.parseXml)(relsXml));
case 11:
case 5:
case 'end':

@@ -675,3 +667,3 @@ return _context6.stop();

}
}, _callee6, undefined, [[1, 7]]);
}, _callee6, undefined);
}));

@@ -678,0 +670,0 @@

{
"name": "docx-templates",
"version": "2.9.0",
"version": "2.9.1",
"description": "Template-based docx report creation",

@@ -5,0 +5,0 @@ "main": "lib/indexNode.js",

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