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

cloudinary

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudinary - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

lib/utils/analytics/encodeVersion.js

8

CHANGELOG.md

@@ -0,1 +1,9 @@

2.0.1 / 2024-02-07
==================
* fix: search expression not required
* chore: proxy-agent not needed any more
* chore: cleanup
* feat: supporting new analytics options, changed analytics algorithm
2.0.0 / 2024-01-29

@@ -2,0 +10,0 @@ ==================

2

lib/utils/ensureOption.js

@@ -19,3 +19,3 @@ /**

} else {
throw `Must supply ${name}`;
throw new Error(`Must supply ${name}`);
}

@@ -22,0 +22,0 @@

@@ -47,7 +47,8 @@ /**

const isRemoteUrl = require('./isRemoteUrl');
const getSDKVersions = require('./encoding/sdkAnalytics/getSDKVersions');
const getSDKVersions = require('./analytics/getSDKVersions');
const {
getAnalyticsOptions,
getSDKAnalyticsSignature
} = require('cloudinary-core').Util;
} = require('./analytics');

@@ -904,3 +905,4 @@ exports = module.exports;

sdkSemver,
techVersion
techVersion,
product
} = getSDKVersions();

@@ -911,2 +913,3 @@ let sdkVersions = {

techVersion: ensureOption(options, 'techVersion', techVersion),
product: ensureOption(options, 'product', product),
urlAnalytics

@@ -913,0 +916,0 @@ };

@@ -55,2 +55,6 @@ const api = require('./api');

static execute(options, callback) {
return this.instance().execute(options, callback);
}
expression(value) {

@@ -57,0 +61,0 @@ this.query_hash.expression = value;

@@ -5,3 +5,3 @@ {

"description": "Cloudinary NPM for node.js integration",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "https://cloudinary.com",

@@ -15,3 +15,2 @@ "license": "MIT",

"dependencies": {
"cloudinary-core": "^2.13.0",
"lodash": "^4.17.21",

@@ -18,0 +17,0 @@ "q": "^1.5.1"

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