Socket
Socket
Sign inDemoInstall

optimizely-client-sdk

Package Overview
Dependencies
70
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.5 to 1.4.0

8

index.js

@@ -16,3 +16,3 @@ /**

*/
var _ = require('optimizely-server-sdk/node_modules/lodash/core');
var fns = require('optimizely-server-sdk/lib/utils/fns');
var configValidator = require('optimizely-server-sdk/lib/utils/config_validator');

@@ -26,3 +26,3 @@ var defaultErrorHandler = require('optimizely-server-sdk/lib/plugins/error_handler');

var JAVASCRIPT_CLIENT_VERSION = '1.3.5';
var JAVASCRIPT_CLIENT_VERSION = '1.4.0';
var MODULE_NAME = 'INDEX';

@@ -42,4 +42,4 @@

* @param {Object} config.logLevel
* @param {Object} config.userProfileService
* @return {Object} the Optimizely object
* @throws If any of the config options that were passed in are invalid
*/

@@ -64,3 +64,3 @@ createInstance: function(config) {

config = _.assignIn({
config = fns.assignIn({
clientEngine: enums.JAVASCRIPT_CLIENT_ENGINE,

@@ -67,0 +67,0 @@ clientVersion: JAVASCRIPT_CLIENT_VERSION,

@@ -16,3 +16,3 @@ /**

*/
var _ = require('optimizely-server-sdk/node_modules/lodash/core');
var fns = require('optimizely-server-sdk/lib/utils/fns');
var es6Promise = require('es6-promise').Promise;

@@ -67,5 +67,5 @@

var toQueryString = function(obj) {
return _.map(obj, function(v, k) {
return fns.map(obj, function(v, k) {
return encodeURIComponent(k) + '=' + encodeURIComponent(v);
}).join('&');
};
{
"name": "optimizely-client-sdk",
"version": "1.3.5",
"version": "1.4.0",
"description": "JavaScript SDK for Optimizely X Full Stack",

@@ -24,4 +24,3 @@ "main": "index.js",

"es6-promise": "^3.3.1",
"lodash": "^4.13.1",
"optimizely-server-sdk": "^1.2.3"
"optimizely-server-sdk": "^1.3.0"
},

@@ -28,0 +27,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc