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

docx

Package Overview
Dependencies
Maintainers
1
Versions
87
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 6.0.0 to 6.0.1

2

build/file/paragraph/run/image-run.d.ts
/// <reference types="node" />
import { IContext, IXmlableObject } from "../../../file/xml-components";
import { IFloating } from "../../drawing";
import { IMediaTransformation } from "../../media";
import { Run } from "../run";
import { IContext, IXmlableObject } from "/file/xml-components";
export interface IImageOptions {

@@ -7,0 +7,0 @@ readonly data: Buffer | string | Uint8Array | ArrayBuffer;

{
"name": "docx",
"version": "6.0.0",
"version": "6.0.1",
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -22,3 +22,3 @@ <p align="center">

<p align="center">
<img src="https://i.imgur.com/tBO0XBR.png" alt="drawing"/>
<img src="https://i.imgur.com/QeL1HuU.png" alt="drawing"/>
</p>

@@ -33,3 +33,3 @@

* https://codepen.io/dolanmiu/pen/RwNeObg
* https://jsfiddle.net/dolanmiu/kqxrj35u/1/
* https://jsfiddle.net/dolanmiu/onadx1gu/

@@ -36,0 +36,0 @@ Here is an example of `docx` working in `Angular`:

import { uniqueId } from "convenience-functions";
import { IContext, IXmlableObject } from "file/xml-components";
import { Drawing, IFloating } from "../../drawing";

@@ -7,3 +9,2 @@ import { IMediaTransformation } from "../../media";

import { Run } from "../run";
import { IContext, IXmlableObject } from "/file/xml-components";

@@ -10,0 +11,0 @@ export interface IImageOptions {

@@ -34,2 +34,6 @@ // http://officeopenxml.com/WPtableProperties.php

if (options.style) {
this.root.push(new TableStyle(options.style));
}
this.root.push(new TableCellMargin(options.cellMargin || {}));

@@ -64,7 +68,3 @@

}
if (options.style) {
this.root.push(new TableStyle(options.style));
}
}
}

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