Skip to content

Latest commit

 

History

History
241 lines (171 loc) · 9.96 KB

README.md

File metadata and controls

241 lines (171 loc) · 9.96 KB

Vendor files used by the MEGA WebClient application.

Unless otherwise noted, they were released under a MIT License.


asmcrypto.js: asmCrypto - JavaScript Cryptographic Library with performance in mind.

This is a fork, Compare the changes

NB: We are using a custom, unobfuscated build which was created using:

git clone https://github.com/meganz/asmcrypto.js.git
cd asmcrypto.js
build.sh

If that doesn't creates an 1:1 copy, try build.sh master (that'll build the file from master, as opposed to latest tagged version)


autolinker.js: Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML.

This is a fork, Compare the changes


avatar.js: Avatar Picker - A slick user experience for uploading, translating and cropping images to be used as avatars.

This is a fork, See the changes


[client-zip.js]: A lightweight zip archive creation library.

This is a fork, See the changes


datepicker.js: A Lightweight customizable cross-browser jQuery datepicker

This is a fork, See the changes


dexie.js: A Minimalistic Wrapper for IndexedDB

Released under the Apache License Version 2.0.


dcraw.js: Dave Coffin's raw photo decoder dcraw.c ported to JavaScript using Emscripten

NB: To compile from C source, fork the repo and run build.sh.


docx-preview.js: Volodymyr Baydalka's Docx rendering library

This is a fork, See the changes Released under Apache License 2.0


exif-js: JavaScript library for reading EXIF image metadata.

This is a fork, Compare the changes


favico.js: Make use of your favicon with badges, images or videos.

This is a fork, Compare the changes


ion.sound.js: JavaScript plugin for playing sounds and music in browsers

This is a fork, Compare the changes


perfect-scrollbar.js: JavaScript plugin for scrollbar v0.8.1

This is a fork, Compare the changes


jquery.js: jQuery JavaScript Library.


jquery-ui.js: jQuery-UI - jQuery User Interface library.

This is a custom build created from: https://jqueryui.com/download/#!...


jquery-ui-touch.js: jQuery UI Touch Punch is a small hack that enables the use of touch events on sites using the jQuery UI user interface library.

This is a fork, See the changes


jquery.mobile.js: jQuery Mobile - Make apps that are accessible on all smartphone, tablet and desktop devices.

This is a custom build created from: http://amd-builder.jquerymobile.com...


jquery.fullscreen.js: This jQuery plugin provides a simple to use mechanism to control the new fullscreen mode of modern browsers.


jquery.mousewheel.js: A jQuery plugin that adds cross-browser mouse wheel support.

This is a fork, Compare the changes


jquery.qrcode.js & qrcode.js: jQuery plugin for a pure browser QR code generation.


mediainfo.js: extract metadata about video and audio files.

This is a fork, Compare the changes


megaLogger.js: Minimalistic JavaScript logging framework, specifically usable for the browser console.


megapix.js: Mega pixel image rendering library

This is a fork, Compare the changes


moment.js: Parse, validate, manipulate, and display dates in JavaScript.


nacl-fast.js: Port of TweetNaCl cryptographic library to JavaScript.

This is released into the public domain.


pdf.js: PDF Reader in JavaScript.

Released under Apache License 2.0.

This is a fork, Compare the changes


codemirror.js: Text editor in JavaScript Ver. 5.65.1

This is a fork, See the changes


[simplescrollbars.js]: Custom scroll bar for code-mirror

This is released under MIT License.


[Chart.js]: Charts drawing class in JavaScript. V2.7.3

This is a fork, Compare the changes


react-dom.js, react.js: A declarative, efficient, and flexible JavaScript library for building user interfaces.

react.js and react-dom.js were patched using ./scripts/patch-react-non-asciis.php fixit so that non-ascii characters were removed from the files


smartcrop.js: Content aware image cropping.

This is a fork, Compare the changes


tiff.js: tiff.js is a port of LibTIFF by compiling the LibTIFF C code with Emscripten.


videostream.js: Play html5 video from a file-like object.

This is a fork, Compare the changes


web-streams-polyfill.js: Web Streams, based on the WHATWG spec reference implementation.

This is a fork, Compare the changes


webp.js: library to encode and decode images in WebP format.

This is a fork, Compare the changes


zxcvbn.js: Low-Budget Password Strength Estimation.

NB: We are using a custom, unobfuscated build which was created using:

git clone https://github.com/dropbox/zxcvbn.git
cd zxcvbn
git checkout v4.4.2
npm install
Edit the package.json file and on the `"build-dist":` line, remove `-t uglifyify` to prevent minification.
Save the file and run: `npm run build`
Use the new file in dist/zxcvbn.js

[twemoji.noutf.js]: Twitter Emoji

NB: We had to fork the project and remove the UTF characters from twemoji.js, so we are using the repo: https://github.com/meganz/twemoji

git clone https://github.com/meganz/twemoji
cd twemoji/2/
cp twemoji.js twemoji.noutf.js
search & replace any utf character with ""