react-cloudimage-responsive
Advanced tools
Comparing version 3.6.0-beta.13 to 3.6.0-beta.14
@@ -30,2 +30,6 @@ # Changelog | ||
------------- | ||
## 3.6.0-beta.14 - 2021-12-22 | ||
### Fixed | ||
- img-src starts with "//" | ||
## 3.6.0-beta.13 - 2021-11-09 | ||
@@ -32,0 +36,0 @@ ### Fixed |
{ | ||
"name": "react-cloudimage-responsive", | ||
"version": "3.6.0-beta.13", | ||
"version": "3.6.0-beta.14", | ||
"main": "dist/index.js", | ||
@@ -37,4 +37,4 @@ "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.", | ||
"start-demo": "webpack-dev-server --mode development --config webpack-demo.config.js", | ||
"dist": "rimraf dist && babel src -d dist --copy-files", | ||
"build-demo": "rimraf examples/dist && webpack --mode production --config webpack-demo.config.js", | ||
"dist": "rm -rf dist && babel src -d dist --copy-files", | ||
"build-demo": "rm -rf examples/dist && webpack --mode production --config webpack-demo.config.js", | ||
"deploy": "gh-pages -d examples/dist", | ||
@@ -44,3 +44,3 @@ "publish-demo": "npm run build-demo && npm run deploy" | ||
"dependencies": { | ||
"cloudimage-responsive-utils": "^2.4.0", | ||
"cloudimage-responsive-utils": "^2.4.1", | ||
"core-js": "^3.15.2", | ||
@@ -47,0 +47,0 @@ "react-lazyload": "^2.6.7", |
@@ -188,4 +188,22 @@ [![Release](https://img.shields.io/badge/release-v3.5.1-blue.svg)](https://github.com/scaleflex/react-cloudimage-responsive/releases) | ||
allow to use a specific version of API | ||
Allow to use a specific version of API. | ||
- set a specific version of API | ||
```javascript | ||
const cloudimageConfig = { | ||
token: 'demo', | ||
baseURL: 'https://jolipage.airstore.io/', | ||
apiVersion: 'v7' // optional | ||
}; | ||
``` | ||
- disable API version | ||
```javascript | ||
const cloudimageConfig = { | ||
token: 'demo', | ||
baseURL: 'https://jolipage.airstore.io/', | ||
apiVersion: null // optional | ||
}; | ||
``` | ||
### doNotReplaceURL | ||
@@ -192,0 +210,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
72438
488
0