compatibility.js

https://swisscovery.slsp.ch/discovery/lib/bower_components/pdfjs-viewer/newPdfjs/src/shared/compatibility.js

Analyzed: 3/8/2026, 2:28:38 PM

View Scan Result

Script Analysis Summary

Summary: compatibility.js is a 3.0 KB external. Contains 8 functions with complexity score of 6. SHA-256: ebaf6de80f0fa962...

external3.0 KBML Embeddings Available

Code Metrics

File Size
3.0 KB
Functions
8*
Complexity
6
AST Nodes
204
AST Depth
17
Function Calls
8
Normalized Size
1.3 KB

Code Analysis

API Usage

dom4 calls
crypto0 calls
network0 calls

Control Flow

Functions6
Loops0
Conditionals9

String Statistics

Total Strings18
Unique Strings15

Security Indicators

Encoding Functions

Code Style

Lines of Code94
MinifiedNo

Obfuscation Analysis

No obfuscation data available

Library Detection

No known library detected

Bundle Analysis

Not a bundled file

Copyright & License

License
the Apache License, Version 2.0 (the "License");, is distributed on an "AS IS" BASIS, for the specific language governing permissions and, Apache
Version (from header)
2.0
Copyright Notice
Mozilla Foundation

ML Analysis

CodeBERT (768d)GraphCodeBERT (768d)AST Features (128d)Handcrafted (64d)
Composite Vector1728 dimensions

Used for semantic similarity search across the database

Module Information

Module Pattern
application
Is Module
Yes