@vaadin-component-factory/vcf-pdf-viewer 4.0.0 → 4.0.2
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/README.md +8 -0
- package/package.json +1 -1
- package/pdfjs/dist/display_utils.js +714 -609
- package/pdfjs/dist/fetch_stream.js +293 -239
- package/pdfjs/dist/l10n_utils.js +122 -113
- package/pdfjs/dist/message_handler.js +524 -451
- package/pdfjs/dist/network.js +552 -441
- package/pdfjs/dist/network_utils.js +309 -262
- package/pdfjs/dist/node_stream.js +481 -383
- package/pdfjs/dist/pdf.js +11687 -9883
- package/pdfjs/dist/pdf_link_service.js +534 -440
- package/pdfjs/dist/pdf_rendering_queue.js +154 -134
- package/pdfjs/dist/pdf_thumbnail_viewer.js +738 -620
- package/pdfjs/dist/pdf_viewer.js +3207 -2667
- package/pdfjs/dist/ui_utils.js +881 -762
- package/pdfjs/dist/util.js +991 -867
- package/pdfjs/dist/worker.js +60846 -51434
- package/src/vcf-pdf-viewer.js +19 -5
package/README.md
CHANGED
|
@@ -19,6 +19,14 @@ This component is part of Vaadin Component Factory.
|
|
|
19
19
|
|
|
20
20
|
1. Run `npm start` to open the demo.
|
|
21
21
|
|
|
22
|
+
## Development & publishing
|
|
23
|
+
|
|
24
|
+
DO NOT run `npm run build` before publishing a new release.
|
|
25
|
+
|
|
26
|
+
The `pdfjs/dist` files committed in this repository are manually edited to ensure correct module resolution. Running the build script will overwrite these files, generating incompatible file paths that will cause the component to fail when trying to resolve dependencies.
|
|
27
|
+
|
|
28
|
+
Only run `npm run build` if you are intentionally modifying the `pdfjs` dependency and are prepared to manually fix the resulting path references.
|
|
29
|
+
|
|
22
30
|
## Contributing
|
|
23
31
|
|
|
24
32
|
To contribute to the component, please read [the guideline](https://github.com/vaadin/vaadin-core/blob/master/CONTRIBUTING.md) first.
|