@groupdocs/groupdocs.viewer 23.10.0 → 23.12.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 +4 -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-23.
|
|
15
|
-
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-viewer-nodejs-23.
|
|
14
|
+
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-viewer-nodejs-23.12.jar'))) {
|
|
15
|
+
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-viewer-nodejs-23.12.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-23.
|
|
14
|
+
java.classpath.push(path.join(__dirname, '/groupdocs-viewer-nodejs-23.12.jar'))
|
|
15
15
|
|
|
16
16
|
exports = module.exports
|
|
17
17
|
|
|
@@ -61,6 +61,7 @@ exports.Viewer = java.import("com.groupdocs.viewer.Viewer");
|
|
|
61
61
|
exports.ViewerSettings = java.import("com.groupdocs.viewer.ViewerSettings");
|
|
62
62
|
exports.FileCache = java.import("com.groupdocs.viewer.caching.FileCache");
|
|
63
63
|
exports.CacheableFactory = java.import("com.groupdocs.viewer.caching.extra.CacheableFactory");
|
|
64
|
+
exports.DefaultTemporaryFileManager = java.import("com.groupdocs.viewer.common.tempfiles.DefaultTemporaryFileManager");
|
|
64
65
|
exports.DocumentSavingArgs = java.import("com.groupdocs.viewer.domain.documents.converting.tohtml.utils.DocumentSavingArgs");
|
|
65
66
|
exports.ArchiveSecurityException = java.import("com.groupdocs.viewer.exception.ArchiveSecurityException");
|
|
66
67
|
exports.FileNotFoundException = java.import("com.groupdocs.viewer.exception.FileNotFoundException");
|
|
@@ -120,6 +121,7 @@ exports.StreamBuffer = java.import("com.groupdocs.viewer.utils.StreamBuffer");
|
|
|
120
121
|
|
|
121
122
|
exports.FileType = java.import("com.groupdocs.viewer.FileType");
|
|
122
123
|
exports.CacheKeys = java.import("com.groupdocs.viewer.caching.CacheKeys");
|
|
124
|
+
exports.TemporaryFileManagerFactory = java.import("com.groupdocs.viewer.common.tempfiles.TemporaryFileManagerFactory");
|
|
123
125
|
exports.SearchOption = java.import("com.groupdocs.viewer.fonts.SearchOption");
|
|
124
126
|
exports.CadOptions = java.import("com.groupdocs.viewer.options.CadOptions");
|
|
125
127
|
exports.Field = java.import("com.groupdocs.viewer.options.Field");
|
|
@@ -146,4 +148,4 @@ exports.StreamBuffer = class StreamBuffer {
|
|
|
146
148
|
}
|
|
147
149
|
return self
|
|
148
150
|
}
|
|
149
|
-
}
|
|
151
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupdocs/groupdocs.viewer",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.12.0",
|
|
4
4
|
"description": "Powerful, high-performance and cross-platform library that allows you to build 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/23.
|
|
7
|
+
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-viewer-nodejs/23.12/groupdocs-viewer-nodejs-23.12.jar > lib/groupdocs-viewer-nodejs-23.12.jar"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"view",
|