@groupdocs/groupdocs.watermark 24.3.0 → 24.11.0
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/index.js +2 -2
- package/lib/groupdocs.watermark.js +5 -1
- package/package.json +29 -15
package/index.js
CHANGED
|
@@ -11,8 +11,8 @@ const path = require('path');
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-watermark-nodejs-
|
|
15
|
-
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-watermark-nodejs-
|
|
14
|
+
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-watermark-nodejs-24.11.jar'))) {
|
|
15
|
+
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-watermark-nodejs-24.11.jar not found in the lib directory.\nPlease navigate to the package directory:`);
|
|
16
16
|
console.log('\n cd node_modules/@groupdocs/groupdocs.watermark\n');
|
|
17
17
|
console.warn('\x1b[33m%s\x1b[0m', `Then download the JAR file using the command:`);
|
|
18
18
|
console.log('\n npm run postinstall\n');
|
|
@@ -11,7 +11,7 @@ java.asyncOptions = {
|
|
|
11
11
|
syncSuffix: '',
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
java.classpath.push(path.join(__dirname, '/groupdocs-watermark-nodejs-
|
|
14
|
+
java.classpath.push(path.join(__dirname, '/groupdocs-watermark-nodejs-24.11.jar'))
|
|
15
15
|
|
|
16
16
|
exports = module.exports
|
|
17
17
|
|
|
@@ -765,7 +765,9 @@ exports.Color = java.import("com.groupdocs.watermark.watermarks.Color");
|
|
|
765
765
|
exports.Font = java.import("com.groupdocs.watermark.watermarks.Font");
|
|
766
766
|
exports.ImageWatermark = java.import("com.groupdocs.watermark.watermarks.ImageWatermark");
|
|
767
767
|
exports.Margins = java.import("com.groupdocs.watermark.watermarks.Margins");
|
|
768
|
+
exports.MeasureValue = java.import("com.groupdocs.watermark.watermarks.MeasureValue");
|
|
768
769
|
exports.TextWatermark = java.import("com.groupdocs.watermark.watermarks.TextWatermark");
|
|
770
|
+
exports.TileOptions = java.import("com.groupdocs.watermark.watermarks.TileOptions");
|
|
769
771
|
|
|
770
772
|
exports.FileType = java.import("com.groupdocs.watermark.common.FileType");
|
|
771
773
|
exports.FormatFamily = java.import("com.groupdocs.watermark.common.FormatFamily");
|
|
@@ -786,6 +788,8 @@ exports.FontStyle = java.import("com.groupdocs.watermark.watermarks.FontStyle");
|
|
|
786
788
|
exports.MarginType = java.import("com.groupdocs.watermark.watermarks.MarginType");
|
|
787
789
|
exports.SizingType = java.import("com.groupdocs.watermark.watermarks.SizingType");
|
|
788
790
|
exports.TextAlignment = java.import("com.groupdocs.watermark.watermarks.TextAlignment");
|
|
791
|
+
exports.TileMeasureType = java.import("com.groupdocs.watermark.watermarks.TileMeasureType");
|
|
792
|
+
exports.TileType = java.import("com.groupdocs.watermark.watermarks.TileType");
|
|
789
793
|
|
|
790
794
|
|
|
791
795
|
exports.StreamBuffer = class StreamBuffer {
|
package/package.json
CHANGED
|
@@ -1,28 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupdocs/groupdocs.watermark",
|
|
3
|
-
"version": "24.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "24.11.0",
|
|
4
|
+
"description": "Create and apply watermarks on PDF, Word, Excel, PowerPoint, and image files, including JPG and PNG. Fast, powerful, and easy-to-use watermarking tool.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-watermark-nodejs/
|
|
6
|
+
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-watermark-nodejs/24.11/groupdocs-watermark-nodejs-24.11.jar --ssl-no-revoke > lib/groupdocs-watermark-nodejs-24.11.jar"
|
|
7
7
|
},
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"keywords": [
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
10
|
+
"watermark",
|
|
11
|
+
"document-watermark",
|
|
12
|
+
"add-watermark",
|
|
13
|
+
"remove-watermark",
|
|
14
|
+
"search-watermark",
|
|
15
|
+
"clean-watermark",
|
|
16
|
+
"image-watermark",
|
|
17
|
+
"text-watermark",
|
|
18
|
+
"annotation",
|
|
13
19
|
"DOC",
|
|
14
|
-
"
|
|
15
|
-
"PPT",
|
|
16
|
-
"PPTX",
|
|
17
|
-
"Excel",
|
|
20
|
+
"DOCX",
|
|
18
21
|
"XLS",
|
|
19
22
|
"XLSX",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
+
"PPT",
|
|
24
|
+
"PPTX",
|
|
25
|
+
"VSDX",
|
|
26
|
+
"ODS",
|
|
27
|
+
"ODT",
|
|
28
|
+
"PDF",
|
|
29
|
+
"EML",
|
|
30
|
+
"MSG",
|
|
31
|
+
"BMP",
|
|
32
|
+
"JPEG",
|
|
33
|
+
"JPEG2000",
|
|
23
34
|
"PNG",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
35
|
+
"GIF",
|
|
36
|
+
"TIFF",
|
|
37
|
+
"WEBP",
|
|
38
|
+
"EMF",
|
|
39
|
+
"WMF"
|
|
26
40
|
],
|
|
27
41
|
"author": "Aspose",
|
|
28
42
|
"license": "End User License Agreement.html",
|