@syncfusion/ej2-pdf-export 20.4.48 → 21.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitleaksignore +4 -0
- package/dist/ej2-pdf-export.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es2015.js +3 -0
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +3 -0
- package/dist/es6/ej2-pdf-export.es5.js.map +1 -1
- package/dist/global/ej2-pdf-export.min.js +2 -2
- package/dist/global/ej2-pdf-export.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/implementation/graphics/images/image-decoder.js +3 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.37
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-pdf-export@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-pdf-export@
|
|
3
|
+
"_id": "@syncfusion/ej2-pdf-export@21.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-dBB24Wq/0ynNnmNGRZjPG5eHAjqlbul0ntqUkCvUIHspxQqLW7gVQNrcc897+Kf1BwPaPmvozGxTldiIFT3TiA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-pdf-export",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"/@syncfusion/ej2-pivotview",
|
|
29
29
|
"/@syncfusion/ej2-treemap"
|
|
30
30
|
],
|
|
31
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-
|
|
32
|
-
"_shasum": "
|
|
31
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf-export/-/ej2-pdf-export-21.1.35.tgz",
|
|
32
|
+
"_shasum": "d3dac47335b2ad9f48ed0c4de86404cd955928b7",
|
|
33
33
|
"_spec": "@syncfusion/ej2-pdf-export@*",
|
|
34
|
-
"_where": "/jenkins/workspace/
|
|
34
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
35
35
|
"author": {
|
|
36
36
|
"name": "Syncfusion Inc."
|
|
37
37
|
},
|
|
38
38
|
"bundleDependencies": false,
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@syncfusion/ej2-compression": "~
|
|
40
|
+
"@syncfusion/ej2-compression": "~21.1.37"
|
|
41
41
|
},
|
|
42
42
|
"deprecated": false,
|
|
43
43
|
"description": "Syncfusion TypeScript Component",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"module": "./index.js",
|
|
49
49
|
"name": "@syncfusion/ej2-pdf-export",
|
|
50
50
|
"typings": "index.d.ts",
|
|
51
|
-
"version": "
|
|
51
|
+
"version": "21.1.37",
|
|
52
52
|
"sideEffects": false,
|
|
53
53
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
54
54
|
}
|
|
@@ -194,6 +194,9 @@ var ImageDecoder = /** @class */ (function () {
|
|
|
194
194
|
this.mFormat = ImageFormat.Jpeg;
|
|
195
195
|
this.parseJpegImage();
|
|
196
196
|
}
|
|
197
|
+
else {
|
|
198
|
+
throw new TypeError('Only the JPEG format is supported');
|
|
199
|
+
}
|
|
197
200
|
this.reset();
|
|
198
201
|
this.mImageData = new ByteArray(this.mStream.count);
|
|
199
202
|
this.mStream.read(this.mImageData, 0, this.mImageData.count);
|