element-to-pdf
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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); |
{ | ||
"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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4049223
6
572