Socket
Socket
Sign inDemoInstall

docx

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docx - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

build/docx/paragraph/index.js

@@ -88,3 +88,3 @@ "use strict";

pageBreak() {
this.properties.push(new page_break_1.PageBreak());
this.root.push(new page_break_1.PageBreak());
return this;

@@ -91,0 +91,0 @@ }

{
"name": "docx",
"version": "2.1.2",
"version": "2.1.3",
"description": "Generate .docx documents with JavaScript (formerly Office-Clippy)",

@@ -58,4 +58,4 @@ "main": "build/index.js",

"typedoc": "^0.5.10",
"typescript": "^2.4.1"
"typescript": "2.4.1"
}
}

@@ -106,3 +106,3 @@ import { IData } from "../../media/data";

public pageBreak(): Paragraph {
this.properties.push(new PageBreak());
this.root.push(new PageBreak());
return this;

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

@@ -147,8 +147,8 @@ import { assert, expect } from "chai";

"w:p": [{
"w:pPr": [{
"w:r": [
{"w:rPr": []},
{"w:br": [{_attr: {"w:type": "page"}}]},
],
}],
"w:pPr": [],
},{
"w:r": [
{"w:rPr": []},
{"w:br": [{_attr: {"w:type": "page"}}]},
],
}],

@@ -155,0 +155,0 @@ });

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