react-cloudimage-responsive
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -29,3 +29,8 @@ # Changelog | ||
## 1.1.1 - 2020-04-16 | ||
### Added | ||
- separate build without polyfills to support Gatsby | ||
## 3.1.0 - 2020-04-02 | ||
@@ -32,0 +37,0 @@ |
{ | ||
"name": "react-cloudimage-responsive", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"main": "dist/index.js", | ||
@@ -42,3 +42,3 @@ "description": "Cloudimage Responsive will smartly resize, compress and accelerate images across the World in your site for all devices. The plugin supports lazy loading technique with fancy animation on image load.", | ||
"dependencies": { | ||
"cloudimage-responsive-utils": "^1.1.4", | ||
"cloudimage-responsive-utils": "^1.2.0", | ||
"core-js": "^3.0.0", | ||
@@ -45,0 +45,0 @@ "react-lazyload": "^2.3.0", |
@@ -1,2 +0,2 @@ | ||
[](https://github.com/scaleflex/react-cloudimage-responsive/releases) | ||
[](https://github.com/scaleflex/react-cloudimage-responsive/releases) | ||
[](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) | ||
@@ -9,2 +9,8 @@ [](#contributing) | ||
## VERSIONS | ||
* __Low Quality Preview__ | ||
* [__Blur Hash__](https://github.com/scaleflex/react-cloudimage-responsive-blur-hash) | ||
* [__Plain (CSS free)__](https://github.com/scaleflex/react-cloudimage-responsive-plain) | ||
<p align="center"> | ||
@@ -71,2 +77,3 @@ <img | ||
* [Image properties](#image_properties) | ||
* [Usages](#usages) | ||
* [Browser support](#browser_support) | ||
@@ -309,2 +316,14 @@ * [Filerobot UI Family](#ui_family) | ||
### Gatsby | ||
React-cloudimage-responsive plugins uses core-js v3 library to add polyfills. Gatsby has some problems with it. | ||
To support the plugin with Gatsby, there is separate build process which doesn't include polyfills. | ||
You can add them manually in your index.js file before importing the plugin. | ||
the initialization process is the same, the only difference you need to import **components** and **provider** with `react-cloudimage-responsive-blur-hash/dist/gatsby`; | ||
For example | ||
import Img, { CloudimageProvider } from "react-cloudimage-responsive-blur-hash/dist/gatsby"; | ||
## <a name="browser_support"></a>Browser support | ||
@@ -311,0 +330,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
62211
14
759
345
0