Releases: qgustavor/mega
v0.14.0
Updated the build process: now it uses Babel 7 and uses babel-preset-env. Now the builds are smaller and tree shaking is working.
Node versions of the library (node-cjs and node-es) are build to support Node 6. The browser UMD version targets the default browsers from browserslist (> 0.5%, last 2 versions, Firefox ESR, not dead
). The browser ES version targets browsers that support ES modules.
If you were building this library using the ES version and plan to support old versions of the library you will need to transpile it to a older ES version (using Babel or other library).
Some bugs were also fixed.
Breaking changes:
In order to add support to tree shaking static properties on classes were removed from public scope. Those are the following: File.LABEL_NAMES
, Storage.NODE_TYPE_FILE
, Storage.NODE_TYPE_DIR
, Storage.NODE_TYPE_DRIVE
, Storage.NODE_TYPE_INBOX
and Storage.NODE_TYPE_RUBBISH_BIN
.
Storage class properties were not documented. File class documention was updated.