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

cloudimage-responsive-utils

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudimage-responsive-utils - npm Package Compare versions

Comparing version 2.1.0-beta.0 to 2.1.0-beta.1

3

dist/utils/generate-url.js

@@ -64,2 +64,3 @@ "use strict";

processQueryString: processQueryString,
devicePixelRatio: devicePixelRatio,
service: service

@@ -78,2 +79,3 @@ })].join('');

processQueryString = props.processQueryString,
devicePixelRatio = props.devicePixelRatio,
service = props.service;

@@ -101,2 +103,3 @@ var processOnlyWidth = config.processOnlyWidth;

processOnlyWidth: processOnlyWidth,
devicePixelRatio: devicePixelRatio,
service: service

@@ -103,0 +106,0 @@ }) : query;

2

package.json
{
"name": "cloudimage-responsive-utils",
"version": "2.1.0-beta.0",
"version": "2.1.0-beta.1",
"description": "cloudimage responsive utils",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -17,3 +17,11 @@ import { DEVICE_PIXEL_RATIO_LIST } from '../constants';

processURL ? processURL({ url, token, domain, service }) : url,
getQueryString({ params: { ...config.params, ...params }, width, height, config, processQueryString, service })
getQueryString({
params: { ...config.params, ...params },
width,
height,
config,
processQueryString,
devicePixelRatio,
service
})
].join('');

@@ -23,3 +31,3 @@ };

const getQueryString = props => {
const { params = {}, width, height, config, processQueryString, service } = props;
const { params = {}, width, height, config, processQueryString, devicePixelRatio, service } = props;
const { processOnlyWidth } = config;

@@ -40,3 +48,3 @@ const [restParams, widthFromParam = null, heightFromParam] = processParamsExceptSizeRelated(params);

return processQueryString ?
processQueryString({ query, widthQ, heightQ, restParamsQ, processOnlyWidth, service }) :
processQueryString({ query, widthQ, heightQ, restParamsQ, processOnlyWidth, devicePixelRatio, service }) :
query;

@@ -43,0 +51,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