New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chargebee

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chargebee - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

CHANGELOG.md

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

### v2.0.1 (2016-04-16)
* * *
#### Issue Fixed
The "meta_data" attribute in Subscription, Customer, Plan, Addon, Coupon create and update operations now accepts String and Json object.
### v2.0.0 (2016-04-11)

@@ -2,0 +10,0 @@ * * *

8

lib/chargebee.js

@@ -10,3 +10,3 @@ var ChargeBee = {};

timeout: 40000,
clientVersion: 'v2.0.0',
clientVersion: 'v2.0.1',
port: 443

@@ -193,2 +193,8 @@ };

}
} else if(key === "meta_data") {
var attrVal="";
if(value !== null) {
attrVal = encodeURIComponent(Object.prototype.toString.call(value) === "[object String]" ? ChargeBee._util.trim(value) : JSON.stringify(value));
}
serialized.push(encodeURIComponent(key) + "=" + attrVal);
} else if (typeof value === 'object' && !ChargeBee._util.isArray(value)) {

@@ -195,0 +201,0 @@ encodeParams(value, serialized, key);

2

package.json
{
"name":"chargebee",
"version":"2.0.0",
"version":"2.0.1",
"description":"A library for integrating with ChargeBee.",

@@ -5,0 +5,0 @@ "keywords":[

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