@pdftron/pdfnet-node-samples 11.9.0 → 11.10.0-2-beta

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.
Files changed (53) hide show
  1. package/AddImageTest/AddImageTest.js +1 -1
  2. package/AdvancedImagingTest/AdvancedImagingTest.js +1 -1
  3. package/AnnotationTest/AnnotationTest.js +1 -1
  4. package/BarcodeTest/BarcodeTest.js +1 -1
  5. package/BookmarkTest/BookmarkTest.js +1 -1
  6. package/CAD2PDFTest/CAD2PDFTest.js +1 -1
  7. package/ContentReplacerTest/ContentReplacerTest.js +1 -1
  8. package/ConvertTest/ConvertTest.js +1 -1
  9. package/DataExtractionTest/DataExtractionTest.js +1 -1
  10. package/DigitalSignaturesTest/DigitalSignaturesTest.js +1 -1
  11. package/DocumentCreationTest/DocumentCreationTest.js +1 -1
  12. package/ElementBuilderTest/ElementBuilderTest.js +1 -1
  13. package/ElementEditTest/ElementEditTest.js +1 -1
  14. package/ElementReaderAdvTest/ElementReaderAdvTest.js +1 -1
  15. package/ElementReaderTest/ElementReaderTest.js +1 -1
  16. package/EncTest/EncTest.js +1 -1
  17. package/FDFTest/FDFTest.js +1 -1
  18. package/FindReplaceTest/FindReplaceTest.js +1 -1
  19. package/HTML2PDFTest/HTML2PDFTest.js +1 -1
  20. package/HighlightsTest/HighlightsTest.js +1 -1
  21. package/ImageExtractTest/ImageExtractTest.js +1 -1
  22. package/ImpositionTest/ImpositionTest.js +1 -1
  23. package/InteractiveFormsTest/InteractiveFormsTest.js +1 -1
  24. package/JBIG2Test/JBIG2Test.js +1 -1
  25. package/LogicalStructureTest/LogicalStructureTest.js +1 -1
  26. package/OCRTest/OCRTest.js +1 -1
  27. package/OfficeTemplateTest/OfficeTemplateTest.js +1 -1
  28. package/OfficeToPDFTest/OfficeToPDFTest.js +1 -1
  29. package/OptimizerTest/OptimizerTest.js +1 -1
  30. package/PDF2HtmlTest/PDF2HtmlTest.js +1 -1
  31. package/PDF2OfficeTest/PDF2OfficeTest.js +1 -1
  32. package/PDFATest/PDFATest.js +1 -1
  33. package/PDFDocMemoryTest/PDFDocMemoryTest.js +1 -1
  34. package/PDFDrawTest/PDFDrawTest.js +1 -1
  35. package/PDFLayersTest/PDFLayersTest.js +1 -1
  36. package/PDFPackageTest/PDFPackageTest.js +1 -1
  37. package/PDFPageTest/PDFPageTest.js +1 -1
  38. package/PDFRedactTest/PDFRedactTest.js +1 -1
  39. package/PDFUATest/PDFUATest.js +1 -1
  40. package/PageLabelsTest/PageLabelsTest.js +1 -1
  41. package/PatternTest/PatternTest.js +1 -1
  42. package/RectTest/RectTest.js +1 -1
  43. package/SDFTest/SDFTest.js +1 -1
  44. package/StamperTest/StamperTest.js +1 -1
  45. package/TextExtractTest/TextExtractTest.js +1 -1
  46. package/TextSearchTest/TextSearchTest.js +1 -1
  47. package/TransPDFTest/TransPDFTest.js +1 -1
  48. package/U3DTest/U3DTest.js +1 -1
  49. package/UndoRedoTest/UndoRedoTest.js +1 -1
  50. package/UnicodeWriteTest/UnicodeWriteTest.js +1 -1
  51. package/WebViewerConvertTest/WebViewerConvertTest.js +1 -1
  52. package/package.json +2 -2
  53. package/scripts/install.js +16 -1
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
@@ -1,5 +1,5 @@
1
1
  //---------------------------------------------------------------------------------------
2
- // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
2
+ // Copyright (c) 2001-2026 by Apryse Software Inc. All Rights Reserved.
3
3
  // Consult legal.txt regarding legal and license information.
4
4
  //---------------------------------------------------------------------------------------
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdftron/pdfnet-node-samples",
3
- "version": "11.9.0",
3
+ "version": "11.10.0-2-beta",
4
4
  "description": "Sample code for the @pdftron/pdfnet-node package.",
5
5
  "scripts": {
6
6
  "test": "run-script-os",
@@ -12,7 +12,7 @@
12
12
  "license": "Commercial",
13
13
  "homepage": "https://www.apryse.com",
14
14
  "dependencies": {
15
- "@pdftron/pdfnet-node": "^11.9.0",
15
+ "@pdftron/pdfnet-node": "^11.10.0-2-beta",
16
16
  "run-script-os": "^1.1.6",
17
17
  "underscore": "^1.13.6",
18
18
  "xhr2": "^0.2.1"
@@ -18,8 +18,23 @@ if (isElectron) {
18
18
 
19
19
  console.log('Downloading prebuilt binary from:', prebuildUrl);
20
20
 
21
+ function npmSupportsExec() {
22
+ try {
23
+ const version = execSync('npm --version', { encoding: 'utf8' }).trim();
24
+ const major = Number(version.split('.')[0]);
25
+ return major >= 7;
26
+ } catch {
27
+ return false;
28
+ }
29
+ }
30
+
21
31
  try {
22
- execSync(`npx prebuild-install --download ${prebuildUrl} --verbose`, { stdio: 'inherit' });
32
+ if (npmSupportsExec()) {
33
+ execSync(`npm exec prebuild-install -- --download ${prebuildUrl} --verbose`, { stdio: 'inherit' });
34
+ } else {
35
+ console.log("npm exec not found, falling back to npx")
36
+ execSync(`npx prebuild-install --download ${prebuildUrl} --verbose`, { stdio: 'inherit' });
37
+ }
23
38
 
24
39
  const extractedFolder = `node-v${abi}-${platform}-${arch}`;
25
40
  const libFolder = path.join(extractedFolder, 'lib');