New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-extended-pdf-viewer

Package Overview
Dependencies
Maintainers
0
Versions
671
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-extended-pdf-viewer - npm Package Compare versions

Comparing version 22.0.0-alpha.11 to 22.0.0

assets/pdf.sandbox-4.7.700-es5.mjs

4

lib/options/pdf-default-options.d.ts
import { AnnotationMode } from './editor-annotations';
export declare const pdfjsVersion = "4.7.698";
export declare const pdfjsBleedingEdgeVersion = "4.7.697";
export declare const pdfjsVersion = "4.7.700";
export declare const pdfjsBleedingEdgeVersion = "4.7.699";
export declare function getVersionSuffix(folder: string): string;

@@ -5,0 +5,0 @@ export declare function assetsUrl(url: string, postfixIfPathIsRelativ?: string): string;

{
"name": "ngx-extended-pdf-viewer",
"description": "Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.",
"version": "22.0.0-alpha.11",
"version": "22.0.0",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "repository": {

@@ -42,8 +42,16 @@ # ngx-extended-pdf-viewer

## Version 22 and 21.4: improved search UI and update to pdf.js 4.6 / 4.7
## Version 22: improved search UI and update to pdf.js 4.7
Version 21.4.5 updates to pdf.js 4.7. It offers the same functionality as version 21.4, but it's a breaking change because `NgxExtendedPdfViewerService.addEditorAnnotation` is now asynchronous and because several buttons have new ids. Unfortunately, I forgot to update the version number in version 21.4.5, so this version breaks semantic versioning. Addig insult to injury, npm does not allow me to revert publishing, so there's no way to fix this. The good news is that your application probably will still work, even if it uses the modified method.
Version 22 updates to pdf.js 4.7.
Version 21.4 updates to pdf.js 4.6. It also improved the search functionality: the find button is hidden if there's no text layer in the PDF document (or at least in the first 20 pages of the PDF document - this seems to be a decent compromise between accuracy and performance). If there's no find button or no text layer, CTRL+F doesn't open the find bar.
_Breaking changes_:
- `NgxExtendedPdfViewerService.addEditorAnnotation` is now asynchronous
- several buttons have new ids
## Please avoid version 21.4.5 and 21.4.6
These versions were meant to be alpha versions, but I forgot to update the version number, and now I can't delete the offending version from npm. The update to pdf.js 4.7 didn't go as smoothless as I hoped, so these versions suffer from a few bugs. The good news is that most users probably won't notice. However, several buttons have
new ids, so their functionality is lost in these two version. Better stick to version 21.4.4.
## Version 21: an optimized viewer

@@ -50,0 +58,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc