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

@js-preview/docx

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-preview/docx - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

5

lib/index.d.ts

@@ -22,5 +22,6 @@ export interface Options {

export interface JsDocxPreview {
preview: (src: string) => Promise<any>,
preview: (src: string | ArrayBuffer | Blob) => Promise<any>,
setOptions: (options: Options) => void,
setRequestOptions: (requestOptions?: any) => void
setRequestOptions: (requestOptions?: any) => void,
destroy: ()=> void,
}

@@ -27,0 +28,0 @@ declare const jsPreviewDocx: {

14

lib/index.js

@@ -120,6 +120,2 @@ import { renderAsync } from 'docx-preview';

}
// <div className="vue-office-docx">
// <div className="vue-office-docx-main" ref="rootRef"></div>
// </div>
}, {

@@ -153,2 +149,12 @@ key: "setOptions",

}
}, {
key: "destroy",
value: function destroy() {
this.container.removeChild(this.wrapper);
this.container = null;
this.wrapper = null;
this.wrapperMain = null;
this.options = null;
this.requestOptions = null;
}
}]);

@@ -155,0 +161,0 @@ return JsDocxPreview;

@@ -124,6 +124,2 @@ (function (global, factory) {

}
// <div className="vue-office-docx">
// <div className="vue-office-docx-main" ref="rootRef"></div>
// </div>
}, {

@@ -157,2 +153,12 @@ key: "setOptions",

}
}, {
key: "destroy",
value: function destroy() {
this.container.removeChild(this.wrapper);
this.container = null;
this.wrapper = null;
this.wrapperMain = null;
this.options = null;
this.requestOptions = null;
}
}]);

@@ -159,0 +165,0 @@ return JsDocxPreview;

{
"name": "@js-preview/docx",
"type" :"module",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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