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

element-to-pdf

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-to-pdf - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

libs/heiti.js

6

libs/index.js

@@ -63,3 +63,3 @@ var __assign = (this && this.__assign) || function () {

* @LastEditors: wang0122xl@163.com
* @LastEditTime: 2022-03-17 14:54:00
* @LastEditTime: 2022-03-17 15:29:25
* @Description: file content

@@ -399,2 +399,6 @@ */

case 0:
if (!props.element) {
console.error('element is ' + props.element);
throw 'element is ' + props.element;
}
self = this;

@@ -401,0 +405,0 @@ props.element.classList.add(DomToPdf.TransformingClassName);

6

package.json
{
"name": "element-to-pdf",
"private": false,
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://wang0122xl.github.io/dom-to-pdf/",
"main": "libs/index.d.ts",
"main": "libs/index.js",
"files": [

@@ -29,3 +29,3 @@ "libs/*"

"preview": "vite preview",
"prepublishOnly": "rm -rf libs && tsc -p tsconfig.lib.json",
"prepublishOnly": "rm -rf libs && tsc -p tsconfig.lib.json && yarn cp:assets",
"cp:assets": "cp src/heiti.js libs/heiti.js "

@@ -32,0 +32,0 @@ },

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