planout
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "planout", | ||
"main": "dist/planout.js", | ||
"version": "3.0.0", | ||
"version": "3.0.2", | ||
"homepage": "https://www.github.com/HubSpot/PlanOut.js", | ||
@@ -6,0 +6,0 @@ "author": "Guy Aridor <garidor@gmail.com>", |
@@ -7,3 +7,3 @@ import Assignment from './assignment'; | ||
constructor(serialization, experimentSalt='global_salt', inputs={}, environment) { | ||
this._serialization = serialization; | ||
this._serialization = deepCopy(serialization); | ||
if (!environment) { | ||
@@ -39,3 +39,3 @@ this._env = new Assignment(experimentSalt); | ||
var envVal = this._env.get(name); | ||
if (envVal !== undefined && envVal !== null) { | ||
if (envVal !== undefined && envVal !== null) { | ||
return envVal; | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "planout", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"dependencies": { | ||
@@ -26,3 +26,4 @@ "sha1": "1.1.0", | ||
"build": "sh build.sh", | ||
"build-and-test": "sh build.sh && jest" | ||
"test": "jest -i", | ||
"build-and-test": "npm run build && npm run test" | ||
}, | ||
@@ -29,0 +30,0 @@ "devDependencies": { |
@@ -253,3 +253,3 @@ # PlanOut.js | ||
}); | ||
var eventLabel = vals.join(','); | ||
var eventLabel = paramVals.join(','); | ||
@@ -256,0 +256,0 @@ return ga('send', 'event', eventCategory, eventName, eventLabel); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
701361
11922
1