Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-cloudimg-responsive

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-cloudimg-responsive - npm Package Compare versions

Comparing version 1.0.2 to 1.0.5

8

dist/ci.service.js

@@ -44,3 +44,3 @@ 'use strict';

_config$filters = config.filters,
filters = _config$filters === undefined ? 'n' : _config$filters,
filters = _config$filters === undefined ? 'q35.foil1' : _config$filters,
_config$placeholderBa = config.placeholderBackground,

@@ -54,3 +54,5 @@ placeholderBackground = _config$placeholderBa === undefined ? '#f4f4f4' : _config$placeholderBa,

_config$queryString = config.queryString,
queryString = _config$queryString === undefined ? '' : _config$queryString;
queryString = _config$queryString === undefined ? '' : _config$queryString,
_config$init = config.init,
init = _config$init === undefined ? true : _config$init;

@@ -97,2 +99,4 @@

window.addEventListener('resize', this.updateDimensions);
if (init) this.init();
}

@@ -99,0 +103,0 @@

{
"name": "js-cloudimg-responsive",
"version": "1.0.2",
"version": "1.0.5",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "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.",

@@ -1,2 +0,2 @@

[![Release](https://img.shields.io/badge/release-v1.0.2-blue.svg)](https://github.com/scaleflex/js-cloudimage-responsive/releases)
[![Release](https://img.shields.io/badge/release-v1.0.5-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)

@@ -26,2 +26,4 @@ [![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)](#contributing)

<a href="https://codesandbox.io/s/6jkovjvkxz" target="_blank">Code Sandbox</a>
<a href="#" target="_blank">Why?</a>

@@ -95,3 +97,3 @@ </strong>

```javascript
<script src="https://scaleflex.airstore.io/filerobot/js-cloudimage-responsive/v1.0.2.min.js"></script>
<script src="https://scaleflex.airstore.io/filerobot/js-cloudimage-responsive/v1.0.5.min.js"></script>
```

@@ -113,6 +115,4 @@

token: 'demo',
baseUrl: 'https://cloudimage.public.airstore.io/demo/'
baseUrl: 'https://cloudimage.public.airstore.io/demo/' // optional
});
ciResponsive.init();
</script>

@@ -129,6 +129,4 @@ ```

token: 'demo',
baseUrl: 'https://cloudimage.public.airstore.io/demo/' # optional
baseUrl: 'https://cloudimage.public.airstore.io/demo/' // optional
});
ciResponsive.init();
```

@@ -354,2 +352,4 @@

[Code Sandbox example](https://codesandbox.io/s/6jkovjvkxz)
add the following scripts right after js-cloudimage-responsive script

@@ -362,3 +362,3 @@

</script>
<script src="https://scaleflex.airstore.io/filerobot/plugins/js-cloudimage-responsive.v1.0.2.min.js"></script>
<script src="https://scaleflex.airstore.io/filerobot/js-cloudimage-responsive/v1.0.5.min.js"></script>
<script src="https://scaleflex.airstore.io/filerobot/js-cloudimage-responsive/lazysizes.min.js"></script>

@@ -373,8 +373,7 @@ ```

token: 'demo',
baseUrl: 'https://cloudimage.public.airstore.io/demo/', # optional
lazyLoading: true # optional
baseUrl: 'https://cloudimage.public.airstore.io/demo/', // optional
lazyLoading: true // optional
});
ciResponsive.init();
lazySizes.init();
window.lazySizes.init();
</script>

@@ -381,0 +380,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc