@groupdocs/groupdocs.viewer 25.12.0 → 26.4.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.viewer.js +2 -2
- package/package.json +2 -2
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-viewer-nodejs-
|
|
15
|
-
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-viewer-nodejs-
|
|
14
|
+
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-viewer-nodejs-26.4.jar'))) {
|
|
15
|
+
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-viewer-nodejs-26.4.jar not found in the lib directory.\nPlease navigate to the package directory:`);
|
|
16
16
|
console.log('\n cd node_modules/@groupdocs/groupdocs.viewer\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');
|
package/lib/groupdocs.viewer.js
CHANGED
|
@@ -11,7 +11,7 @@ java.asyncOptions = {
|
|
|
11
11
|
syncSuffix: '',
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
java.classpath.push(path.join(__dirname, '/groupdocs-viewer-nodejs-
|
|
14
|
+
java.classpath.push(path.join(__dirname, '/groupdocs-viewer-nodejs-26.4.jar'))
|
|
15
15
|
|
|
16
16
|
exports = module.exports
|
|
17
17
|
|
|
@@ -123,11 +123,11 @@ exports.TextElementImpl = java.import("com.groupdocs.viewer.results.TextElementI
|
|
|
123
123
|
exports.ViewInfoImpl = java.import("com.groupdocs.viewer.results.ViewInfoImpl");
|
|
124
124
|
exports.WordImpl = java.import("com.groupdocs.viewer.results.WordImpl");
|
|
125
125
|
exports.MemoryCleaner = java.import("com.groupdocs.viewer.utils.MemoryCleaner");
|
|
126
|
+
exports.StreamBuffer = java.import("com.groupdocs.viewer.utils.StreamBuffer");
|
|
126
127
|
|
|
127
128
|
exports.FileType = java.import("com.groupdocs.viewer.FileType");
|
|
128
129
|
exports.CacheKeys = java.import("com.groupdocs.viewer.caching.CacheKeys");
|
|
129
130
|
exports.TemporaryFileManagerFactory = java.import("com.groupdocs.viewer.common.tempfiles.TemporaryFileManagerFactory");
|
|
130
|
-
exports.Image2DFormat = java.import("com.groupdocs.viewer.drawing.Image2DFormat");
|
|
131
131
|
exports.FontFormat = java.import("com.groupdocs.viewer.fonts.FontFormat");
|
|
132
132
|
exports.SearchOption = java.import("com.groupdocs.viewer.fonts.SearchOption");
|
|
133
133
|
exports.CadOptions = java.import("com.groupdocs.viewer.options.CadOptions");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupdocs/groupdocs.viewer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.4.0",
|
|
4
4
|
"description": "Document viewer API for Node.js (powered by Java). Powerful, high-performance, cross-platform library for building desktop and web file viewer applications.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-viewer-nodejs/
|
|
7
|
+
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-viewer-nodejs/26.4/groupdocs-viewer-nodejs-26.4.jar > lib/groupdocs-viewer-nodejs-26.4.jar"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"groupdocs",
|