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

easy-template-x

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-template-x - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

6

CHANGELOG.md
# Change Log
## [0.8.3 - 2019-12-27](https://github.com/alonrbar/easy-template-x/tree/v0.8.3)
### Added
- Allow overriding container tag logic using explicit content type.
## [0.8.2 - 2019-11-30](https://github.com/alonrbar/easy-template-x/tree/v0.8.2)

@@ -4,0 +10,0 @@

2

package.json
{
"name": "easy-template-x",
"version": "0.8.2",
"version": "0.8.3",
"description": "Generate docx documents from templates, in Node or in the browser.",

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

@@ -99,5 +99,3 @@ import { UnclosedTagError, UnknownContentTypeError } from '../errors';

if (tag.disposition === TagDisposition.Open || tag.disposition === TagDisposition.Close)
return this.containerContentType;
// explicit content type
const scopeData = data.getScopeData();

@@ -107,2 +105,7 @@ if (PluginContent.isPluginContent(scopeData))

// implicit - loop
if (tag.disposition === TagDisposition.Open || tag.disposition === TagDisposition.Close)
return this.containerContentType;
// implicit - text
return this.defaultContentType;

@@ -109,0 +112,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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