From 00e6d996fd3a3b38fb6c6e87c12d0b2eb95694bf Mon Sep 17 00:00:00 2001 From: Amr Wagdy Date: Tue, 10 May 2022 21:41:37 +0200 Subject: [PATCH] Chore: Release v4.8.12 --- CHANGELOG.md | 4 ++++ README-BLUR-HASH.md | 6 +++--- README-PLAIN.md | 6 +++--- README.md | 8 ++++---- README_v6.md | 2 +- build/blur-hash/js-cloudimage-responsive.min.js | 4 ++-- build/low-preview/js-cloudimage-responsive.min.css | 4 ++-- build/low-preview/js-cloudimage-responsive.min.js | 6 +++--- build/plain/js-cloudimage-responsive.min.js | 4 ++-- build/wp/js-cloudimage-responsive.min.js | 4 ++-- examples/blur-hash/src/index.html | 4 ++-- examples/low-preview/src/index.html | 6 +++--- examples/plain/src/index.html | 4 ++-- examples/wp/src/index.html | 4 ++-- package.json | 4 ++-- 15 files changed, 37 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06b6f92..1b172a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,10 @@ Types of changes: - ... ------------- +## 4.8.12 - 2022-05-10 +### Fixed +- Low preview image width + ## 4.8.11 - 2022-04-25 ### Fixed - Low preview image width diff --git a/README-BLUR-HASH.md b/README-BLUR-HASH.md index 88203a7..e0dfa38 100644 --- a/README-BLUR-HASH.md +++ b/README-BLUR-HASH.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v4.8.11-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases) +[![Release](https://img.shields.io/github/v/release/scaleflex/js-cloudimage-responsive)](https://github.com/scaleflex/js-cloudimage-responsive/releases) [![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) @@ -144,7 +144,7 @@ You have to pay attention on the following things: Add script tag with CDN link to js-cloudimage-responsive ```javascript - + ``` or using npm @@ -536,7 +536,7 @@ add the following scripts right after js-cloudimage-responsive script window.lazySizesConfig = window.lazySizesConfig || {}; window.lazySizesConfig.init = false; - + ``` diff --git a/README-PLAIN.md b/README-PLAIN.md index 0b345ff..1ee4f32 100644 --- a/README-PLAIN.md +++ b/README-PLAIN.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v4.8.11-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases) +[![Release](https://img.shields.io/badge/release-v4.8.12-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases) [![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) @@ -136,7 +136,7 @@ This version of plugin doesn't add any CSS or change layout thus no effect on yo Add script tag with CDN link to js-cloudimage-responsive ```javascript - + ``` or using npm @@ -514,7 +514,7 @@ add the following scripts right after js-cloudimage-responsive script window.lazySizesConfig = window.lazySizesConfig || {}; window.lazySizesConfig.init = false; - + ``` diff --git a/README.md b/README.md index b876b37..faedf8a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v4.8.11-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases) +[![Release](https://img.shields.io/github/v/release/scaleflex/js-cloudimage-responsive)](https://github.com/scaleflex/js-cloudimage-responsive/releases) [![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) @@ -140,13 +140,13 @@ You have to pay attention to the following things: Add a style tag with CDN link to js-cloudimage-responsive in the head of your site ```javascript - + ``` Add a script tag with CDN link to js-cloudimage-responsive ```javascript - + ``` or using npm @@ -541,7 +541,7 @@ add the following scripts right after js-cloudimage-responsive script window.lazySizesConfig = window.lazySizesConfig || {}; window.lazySizesConfig.init = false; - + ``` diff --git a/README_v6.md b/README_v6.md index 9f20b8f..cfdc0f3 100644 --- a/README_v6.md +++ b/README_v6.md @@ -1,4 +1,4 @@ -[![Release](https://img.shields.io/badge/release-v4.8.11-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases) +[![Release](https://img.shields.io/github/v/release/scaleflex/js-cloudimage-responsive)](https://github.com/scaleflex/js-cloudimage-responsive/releases) [![Free plan](https://img.shields.io/badge/price-includes%20free%20plan-green.svg)](https://www.cloudimage.io/en/home#b38181a6-b9c8-4015-9742-7b1a1ad382d5) [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) diff --git a/build/blur-hash/js-cloudimage-responsive.min.js b/build/blur-hash/js-cloudimage-responsive.min.js index cc2dab3..9d3a668 100644 --- a/build/blur-hash/js-cloudimage-responsive.min.js +++ b/build/blur-hash/js-cloudimage-responsive.min.js @@ -1,12 +1,12 @@ /*! * - * js-cloudimage-responsive v4.8.11 with blur hash placeholder technique + * js-cloudimage-responsive v4.8.12 with blur hash placeholder technique * https://github.com/scaleflex/js-cloudimage-responsive * * Copyright (c) 2019 scaleflex * Released under the MIT license * - * Date: 2022-04-25T21:27:24.108Z + * Date: 2022-05-10T19:38:16.993Z * */!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=233)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r(124))},function(t,e,r){"use strict";var n,o,i,a=r(88),u=r(10),c=r(0),f=r(4),s=r(7),p=r(11),l=r(32),d=r(38),v=r(26),h=r(18),y=r(12).f,g=r(37),m=r(41),b=r(31),w=r(5),x=r(49),O=c.Int8Array,A=O&&O.prototype,S=c.Uint8ClampedArray,T=S&&S.prototype,j=O&&m(O),I=A&&m(A),P=Object.prototype,E=c.TypeError,R=w("toStringTag"),_=x("TYPED_ARRAY_TAG"),N=x("TYPED_ARRAY_CONSTRUCTOR"),M=a&&!!b&&"Opera"!==l(c.opera),C=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},L=function(t){if(!s(t))return!1;var e=l(t);return p(U,e)||p(z,e)};for(n in U)(i=(o=c[n])&&o.prototype)?v(i,N,o):M=!1;for(n in z)(i=(o=c[n])&&o.prototype)&&v(i,N,o);if((!M||!f(j)||j===Function.prototype)&&(j=function(){throw E("Incorrect invocation")},M))for(n in U)c[n]&&b(c[n],j);if((!M||!I||I===P)&&(I=j.prototype,M))for(n in U)c[n]&&b(c[n].prototype,I);if(M&&m(T)!==I&&b(T,I),u&&!p(I,R))for(n in C=!0,y(I,R,{get:function(){return s(this)?this[_]:void 0}}),U)c[n]&&v(c[n],_,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:N,TYPED_ARRAY_TAG:C&&_,aTypedArray:function(t){if(L(t))return t;throw E("Target is not a typed array")},aTypedArrayConstructor:function(t){if(f(t)&&(!b||g(j,t)))return t;throw E(d(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(u){if(r)for(var o in U){var i=c[o];if(i&&p(i.prototype,t))try{delete i.prototype[t]}catch(r){try{i.prototype[t]=e}catch(t){}}}I[t]&&!r||h(I,t,r?e:M&&A[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(u){if(b){if(r)for(n in U)if((o=c[n])&&p(o,t))try{delete o[t]}catch(t){}if(j[t]&&!r)return;try{return h(j,t,r?e:M&&j[t]||e)}catch(t){}}for(n in U)!(o=c[n])||o[t]&&!r||h(o,t,e)}},isView:function(t){if(!s(t))return!1;var e=l(t);return"DataView"===e||p(U,e)||p(z,e)},isTypedArray:L,TypedArray:j,TypedArrayPrototype:I}},function(t,e,r){var n=r(47),o=Function.prototype,i=o.bind,a=o.call,u=n&&i.bind(a,a);t.exports=n?function(t){return t&&u(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,r){var n=r(0),o=r(84),i=r(11),a=r(49),u=r(83),c=r(82),f=o("wks"),s=n.Symbol,p=s&&s.for,l=c?s:s&&s.withoutSetter||a;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var e="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=c&&p?p(e):l(e)}return f[t]}},function(t,e,r){var n=r(30);t.exports=function(t){return n(t.length)}},function(t,e,r){var n=r(4);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,r){var n=r(47),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(t,e,r){var n=r(0),o=r(7),i=n.String,a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not an object")}},function(t,e,r){var n=r(3);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(2),o=r(14),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e,r){var n=r(0),o=r(10),i=r(85),a=r(86),u=r(9),c=r(36),f=n.TypeError,s=Object.defineProperty,p=Object.getOwnPropertyDescriptor;e.f=o?a?function(t,e,r){if(u(t),e=c(e),u(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=p(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return s(t,e,r)}:s:function(t,e,r){if(u(t),e=c(e),u(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(0),o=r(4),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},function(t,e,r){var n=r(0),o=r(60),i=n.Object;t.exports=function(t){return i(o(t))}},function(t,e,r){var n=r(0),o=r(4),i=r(38),a=n.TypeError;t.exports=function(t){if(o(t))return t;throw a(i(t)+" is not a function")}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?n:r)(e)}},function(t,e,r){var n=r(19),o=r(2),i=r(35),a=r(14),u=r(6),c=r(95),f=o([].push),s=function(t){var e=1==t,r=2==t,o=3==t,s=4==t,p=6==t,l=7==t,d=5==t||p;return function(v,h,y,g){for(var m,b,w=a(v),x=i(w),O=n(h,y),A=u(x),S=0,T=g||c,j=e?T(v,A):r||l?T(v,0):void 0;A>S;S++)if((d||S in x)&&(b=O(m=x[S],S,w),t))if(e)j[S]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:f(j,m)}else switch(t){case 4:return!1;case 7:f(j,m)}return p?-1:o||s?s:j}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},function(t,e,r){var n=r(0),o=r(4),i=r(11),a=r(26),u=r(63),c=r(50),f=r(20),s=r(66).CONFIGURABLE,p=f.get,l=f.enforce,d=String(String).split("String");(t.exports=function(t,e,r,c){var f,p=!!c&&!!c.unsafe,v=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet,y=c&&void 0!==c.name?c.name:e;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==y)&&a(r,"name",y),(f=l(r)).source||(f.source=d.join("string"==typeof y?y:""))),t!==n?(p?!h&&t[e]&&(v=!0):delete t[e],v?t[e]=r:a(t,e,r)):v?t[e]=r:u(e,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||c(this)}))},function(t,e,r){var n=r(2),o=r(15),i=r(47),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,r){var n,o,i,a=r(128),u=r(0),c=r(2),f=r(7),s=r(26),p=r(11),l=r(48),d=r(65),v=r(51),h=u.TypeError,y=u.WeakMap;if(a||l.state){var g=l.state||(l.state=new y),m=c(g.get),b=c(g.has),w=c(g.set);n=function(t,e){if(b(g,t))throw new h("Object already initialized");return e.facade=t,w(g,t,e),e},o=function(t){return m(g,t)||{}},i=function(t){return b(g,t)}}else{var x=d("state");v[x]=!0,n=function(t,e){if(p(t,x))throw new h("Object already initialized");return e.facade=t,s(t,x,e),e},o=function(t){return p(t,x)?t[x]:{}},i=function(t){return p(t,x)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!f(e)||(r=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n,o=r(9),i=r(141),a=r(68),u=r(51),c=r(92),f=r(64),s=r(65),p=s("IE_PROTO"),l=function(){},d=function(t){return" + \ No newline at end of file diff --git a/examples/plain/src/index.html b/examples/plain/src/index.html index 789889e..f1854ee 100644 --- a/examples/plain/src/index.html +++ b/examples/plain/src/index.html @@ -12,7 +12,7 @@ + href="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.12/js-cloudimage-responsive.min.css?vh=a076ef&func=proxy"/> JS Cloudimage Responsive @@ -479,7 +479,7 @@

Ready to get started?

<script src=""https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"></script> // main core -<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.11/js-cloudimage-responsive.min.js"></script> +<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.12/js-cloudimage-responsive.min.js"></script> diff --git a/examples/wp/src/index.html b/examples/wp/src/index.html index bdf2563..6985e96 100644 --- a/examples/wp/src/index.html +++ b/examples/wp/src/index.html @@ -12,7 +12,7 @@ + href="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.12/js-cloudimage-responsive.min.css?vh=a076ef&func=proxy"/> JS Cloudimage Responsive @@ -491,7 +491,7 @@

Ready to get started?

<script src=""https://cdn.scaleflex.it/filerobot/js-cloudimage-responsive/lazysizes.min.js"></script> // main core -<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.11/wp/js-cloudimage-responsive.min.js"></script> +<script src="https://cdn.scaleflex.it/plugins/js-cloudimage-responsive/4.8.12/wp/js-cloudimage-responsive.min.js"></script> diff --git a/package.json b/package.json index 5922084..658c2b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "js-cloudimage-responsive", - "version": "4.8.11", + "version": "4.8.12", "main": "dist/low-preview/index.js", "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.", "author": "scaleflex", @@ -55,7 +55,7 @@ }, "dependencies": { "blurhash": "^1.1.3", - "cloudimage-responsive-utils": "^2.4.8", + "cloudimage-responsive-utils": "^2.4.9", "core-js": "^3.15.2", "throttle-debounce": "^2.1.0" },