You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flagon.apache.org by po...@apache.org on 2019/08/06 02:09:46 UTC

[incubator-flagon-useralejs] branch v2.0.2-RC1 created (now e95dacb)

This is an automated email from the ASF dual-hosted git repository.

poorejc pushed a change to branch v2.0.2-RC1
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git.


      at e95dacb  [FLAGON-433] Fix NPM package issue, npm dependency update, documentation update

This branch includes the following new commits:

     new e95dacb  [FLAGON-433] Fix NPM package issue, npm dependency update, documentation update

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-flagon-useralejs] 01/01: [FLAGON-433] Fix NPM package issue, npm dependency update, documentation update

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

poorejc pushed a commit to branch v2.0.2-RC1
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git

commit e95dacb3c7a28d23e551e7afe02ce8c27277617d
Author: poorejc <po...@apache.org>
AuthorDate: Mon Aug 5 22:09:16 2019 -0400

    [FLAGON-433] Fix NPM package issue, npm dependency update, documentation update
---
 README.md                                          |   9 +-
 build/UserAleWebExtension/background.js            |   4 +-
 build/UserAleWebExtension/content.js               |   6 +-
 build/UserAleWebExtension/options.js               |   4 +-
 build/{userale-2.0.1.js => userale-2.0.2.js}       |   2 +-
 .../{userale-2.0.1.min.js => userale-2.0.2.min.js} |   2 +-
 doap-userale.js.rdf                                |   4 +-
 example/README.md                                  | 131 +++++++++++++++------
 example/index.html                                 |   4 +-
 package-lock.json                                  |  90 +++++++-------
 package.json                                       |   6 +-
 src/UserALEWebExtension/globals.js                 |   4 +-
 12 files changed, 168 insertions(+), 98 deletions(-)

diff --git a/README.md b/README.md
index 3a3e7d4..59bca05 100755
--- a/README.md
+++ b/README.md
@@ -9,10 +9,11 @@ UserALE.js is a client side instrumentation library written in JavaScript. It is
 
 Additional documentation can be found at our [project website](http://flagon.incubator.apache.org/userale/).
 
-## What's New in Version 2.0.1?
+## What's New in Version 2.0.2?
 
 - Updates to package.json and package-lock.json to resolve downstream Prototype Pollution vulnerabilities in dev dependencies
 - Updates to package.json and package-lock.json to modernize deprecated npm modules
+- Minor updates to README documentation for UserALE.js' [Example Test Utilities](https://github.com/apache/incubator-flagon-useralejs/tree/master/example).
 
 See our [CHANGELOG](https://github.com/apache/incubator-flagon-useralejs/blob/master/CHANGELOG.md) for a complete list of changes.
 
@@ -69,12 +70,12 @@ To start logging with UserALE.js, you can either include our script in the web a
 To collect logs from a specific project, simply include this script tag on the page:
 
 ```html
-<script src="/path/to/userale-2.0.1.min.js"></script>
+<script src="/path/to/userale-2.0.2.min.js"></script>
 ```
 UserALE.js is designed to be easily configured to fit your use case. We use HTML data parameters to pass configuration options to the library. For example, to set the logging URL:
 
 ```html
-<script src="/path/to/userale-2.0.1.min.js" data-url="http://yourLoggingUrl"></script>
+<script src="/path/to/userale-2.0.2.min.js" data-url="http://yourLoggingUrl"></script>
 ```
 
 The complete list of configurable options is:
@@ -108,7 +109,7 @@ Here is an example of a filter that bounces out unwanted log and event types fro
 ```html
 <html>
   <head>
-    <script src="/path/to/userale-2.0.1.min.js" data-url="http://yourLoggingUrl"></script>
+    <script src="/path/to/userale-2.0.2.min.js" data-url="http://yourLoggingUrl"></script>
 <!--
 Modify the array page-by-page to curate your log stream:
 by adding unwanted event 'types' in type_array;
diff --git a/build/UserAleWebExtension/background.js b/build/UserAleWebExtension/background.js
index a5d0da0..62fbada 100644
--- a/build/UserAleWebExtension/background.js
+++ b/build/UserAleWebExtension/background.js
@@ -19,10 +19,10 @@
 
 // these are default values, which can be overridden by the user on the options page
 var userAleHost = 'http://localhost:8000';
-var userAleScript = 'userale-2.0.0.min.js';
+var userAleScript = 'userale-2.0.2.min.js';
 var toolUser = 'nobody';
 var toolName = 'test_app';
-var toolVersion = '2.0.0';
+var toolVersion = '2.0.2';
 
 /* eslint-enable */
 
diff --git a/build/UserAleWebExtension/content.js b/build/UserAleWebExtension/content.js
index bfd011b..ab02b35 100644
--- a/build/UserAleWebExtension/content.js
+++ b/build/UserAleWebExtension/content.js
@@ -19,10 +19,10 @@
 
 // these are default values, which can be overridden by the user on the options page
 var userAleHost = 'http://localhost:8000';
-var userAleScript = 'userale-2.0.0.min.js';
+var userAleScript = 'userale-2.0.2.min.js';
 var toolUser = 'nobody';
 var toolName = 'test_app';
-var toolVersion = '2.0.0';
+var toolVersion = '2.0.2';
 
 /* eslint-enable */
 
@@ -48,7 +48,7 @@ var prefix = 'USERALE_';
 var CONFIG_CHANGE = prefix + 'CONFIG_CHANGE';
 var ADD_LOG = prefix + 'ADD_LOG';
 
-var version = "2.0.1";
+var version = "2.0.2";
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/build/UserAleWebExtension/options.js b/build/UserAleWebExtension/options.js
index 7acd340..1badba4 100644
--- a/build/UserAleWebExtension/options.js
+++ b/build/UserAleWebExtension/options.js
@@ -19,10 +19,10 @@
 
 // these are default values, which can be overridden by the user on the options page
 var userAleHost = 'http://localhost:8000';
-var userAleScript = 'userale-2.0.0.min.js';
+var userAleScript = 'userale-2.0.2.min.js';
 var toolUser = 'nobody';
 var toolName = 'test_app';
-var toolVersion = '2.0.0';
+var toolVersion = '2.0.2';
 
 /* eslint-enable */
 
diff --git a/build/userale-2.0.1.js b/build/userale-2.0.2.js
similarity index 99%
rename from build/userale-2.0.1.js
rename to build/userale-2.0.2.js
index 43ae217..28bf257 100644
--- a/build/userale-2.0.1.js
+++ b/build/userale-2.0.2.js
@@ -19,7 +19,7 @@
 var userale = (function (exports) {
   'use strict';
 
-  var version = "2.0.1";
+  var version = "2.0.2";
 
   /*
    * Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/build/userale-2.0.1.min.js b/build/userale-2.0.2.min.js
similarity index 98%
rename from build/userale-2.0.1.min.js
rename to build/userale-2.0.2.min.js
index 65acd84..85b781b 100644
--- a/build/userale-2.0.1.min.js
+++ b/build/userale-2.0.2.min.js
@@ -15,4 +15,4 @@
  * limitations under the License.
  * @preserved
  */
-var userale=function(n){"use strict";var a,i,u,l,s,c,d,f,t="2.0.1";function e(n,o){Object.keys(o).forEach(function(t){if("userFromParams"===t){var e=function(t){var e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)"),n=window.location.href.match(e);return n&&n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):null}(o[t]);e&&(n.userId=e)}n[t]=o[t]})}var o,r,m,p=null,g=null;function v(t,e){if(!i.on)return!1;var n=null;e&&(n=e(t));var o=function(t){return{milli:Math.floor(t),micro:Number((t%1).toFixed( [...]
\ No newline at end of file
+var userale=function(n){"use strict";var a,i,u,l,s,c,d,f,t="2.0.2";function e(n,o){Object.keys(o).forEach(function(t){if("userFromParams"===t){var e=function(t){var e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)"),n=window.location.href.match(e);return n&&n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):null}(o[t]);e&&(n.userId=e)}n[t]=o[t]})}var o,r,m,p=null,g=null;function v(t,e){if(!i.on)return!1;var n=null;e&&(n=e(t));var o=function(t){return{milli:Math.floor(t),micro:Number((t%1).toFixed( [...]
\ No newline at end of file
diff --git a/doap-userale.js.rdf b/doap-userale.js.rdf
index 8ce04a4..4ac3fb2 100755
--- a/doap-userale.js.rdf
+++ b/doap-userale.js.rdf
@@ -36,9 +36,9 @@
         <category rdf:resource="https://projects.apache.org/projects.html?category#Library" />
         <release>
             <Version>
-                <name>2.0.1 release</name>
+                <name>2.0.2 release</name>
                 <created>2019-07-30</created>
-                <revision>2.0.1</revision>
+                <revision>2.0.2</revision>
             </Version>
         </release>
         <repository>
diff --git a/example/README.md b/example/README.md
index 3ada5bb..7903246 100755
--- a/example/README.md
+++ b/example/README.md
@@ -1,30 +1,104 @@
-# UserALE.js Example
+# This UserALE.js Example Utility
 
 This directory provides 
- * example usage for UserALE.js within a simple HTML Webpage,
- * how users can expect to log UserALE events, and
- * what log events looks like within a simple UserALE logging server.
+ * example usage for UserALE.js within a simple HTML Webpage;
+ * a testing utility for developers to evaluate UserALE modifications to logged events;
+ * a means of viewing log event structure within a simple UserALE logging server;
+ * a means of testing UserALE.js API functions within a simple HTML Webpage. 
 
 ## Prerequisites
 
-Please see the [Prerequsites](https://github.com/apache/incubator-flagon-useralejs#prerequsites)
+Ensure that you have [node.js](https://nodejs.org/) installed.
 
-## Running the Logging Server
+You will need to clone the [UserALE.js repository](https://github.com/apache/incubator-flagon-useralejs) and install npm dev dependencies to run the Example Utility.
 
-Ensure that you have [node.js](https://nodejs.org/) installed. Then run:
+Please see the [Prerequsites](https://github.com/apache/incubator-flagon-useralejs#prerequsites) for additional details.
+
+## Using the Example Page 
+
+The UserALE.js Example Page is a simple HTML Webpage with a simple DOM, including a single button. 
+
+To generate UserALE.js logs with the Example Page, you will need to modify the 'src' HTML5 parameter of the UserALE.js script tag.
+
+The `src` parameter should reference the complete file path to your version of the minified UserALE.js script (userale-2.0.2.min.js), usually in the /build dir of your cloned incubator-flagon-useralejs repository. See the snippet below.
+
+ProTip: An easy way to find the complete path to your minified UserALE.js script is to simply drag userale-2.0.2.min.js into your browser, copy the URL, and paste into the `src` parameter.
+
+```
+  <script
+    src="file:///{your file path}/incubator-flagon-useralejs/build/userale-2.0.2.min.js" #REPLACE WITH YOUR PATH
+    data-url="http://localhost:8000/"
+    data-user="example-user"
+    data-version="2.0.2"
+    data-tool="Apache UserALE.js Example"
+  ></script>
+```
+Once you've modified the script tag `src` field, save `index.html`.
+
+Next open index.html in your browser (you can drag it directly into a tab or double-click it). 
+
+You will see a very simple HTML Webpage with a button labeled, "Click Me!".
+
+On this page, all user events will be captured and sent to the logging server. See instructions below.
+
+## Testing with the Example Page
+
+The UserALE.js Example page can be used to test the structure of logs after instrumentation or UserALE.js src code modification. It can also be used to experiment with UserALE.js API functions.
+
+In order to experiment with the `filter` API, simply un-alias the relevant code snippet hard-coded in the UserALE.js Example Page. Manipulating the arguments in this code block allows you to experiment with omitting various event and log types from your UserALE.js data stream. See below:
+
+```
+    <script type="text/javascript">
+    window.userale.filter(function (log) {
+      var type_array = ['mouseup', 'mouseover', 'dblclick', 'blur', 'focus']
+      var logType_array = ['interval']
+      return !type_array.includes(log.type) && !logType_array.includes(log.logType);
+    });
+  </script>
+```
+
+Repeat the same steps on the next code block to experiment with the `mapper` API. Manipulating the arguments in this code block allows you to experiment with modifying and adding fields in UserALE.js' [data schema](http://flagon.incubator.apache.org/docs/useralejs/dataschema/).
+
+See the [Flagon website](http://flagon.incubator.apache.org/) for additional documentation on the [API](http://flagon.incubator.apache.org/docs/useralejs/API/) and [testing for scale](http://flagon.incubator.apache.org/docs/stack/scaling/).
+
+## Capturing Logs Using the Logging Server
+
+The example logging server receives log from any UserALE.js instrumented page at `localhost:8000`.
+
+This means you can test logs from your own instrumented application, the [UserALE.js WebExtension](https://github.com/apache/incubator-flagon-useralejs/tree/master/src/UserALEWebExtension), or the UserALE.js Example Page, so long as the `data-url` parameter is set to `localhost:8000`. This is the default setting for both the WebExtension and UserALE.js Example Page. See below:
+
+```
+  <script
+    src="file:///{your file path}/incubator-flagon-useralejs/build/userale-2.0.2.min.js" #REPLACE WITH YOUR PATH
+    data-url="http://localhost:8000/" #MUST BE SET TO 'localhost:8000'
+    data-user="example-user"
+    data-version="2.0.2"
+    data-tool="Apache UserALE.js Example"
+  ></script>
+```
+
+Once your UserALE.js script tag is properly configured to point to a minified UserALE.js script, and `localhost:8000`, you can log to the Example Logging Server.
+
+Simply navigate to your cloned `incubator-flagon-useralejs` repository and run the following:
 
 ```
 $npm run example:watch
 ```
 
-## Running the Example
+Once started you will see:
 
-Open index.html in your favorite html editor (Notepad++,Brackets,etc.). Modify the "src" line of the UserALE.js script tag so that it 
-refers to the filepath of your useralejs-2.0.0.min.js script ("file:///...[your file path].../build/userale-2.0.0.min.js").
+```
+> flagon-userale@2.0.2 example:watch /Users/jpoore/Documents/Apache_Flagon/prod/incubator-flagon-useralejs
+> nodemon -w ./example example/server.js
 
-Save the index.html file, then open index.html in your browser (you can drag it directly into a tab). You will see a very simple HTML Webpage with a button labeled, "Click Me!".
+[nodemon] 1.19.1
+[nodemon] to restart at any time, enter `rs`
+[nodemon] watching: /Users/jpoore/Documents/Apache_Flagon/prod/incubator-flagon-useralejs/example/**/*
+[nodemon] starting `node example/server.js`
+UserAle Local running on port 8000
+```
 
-When you click the button, the events will be logged to the server (in memory), and will print to your terminal. These UserALE.js logs look similar to the following:
+Then start using your instrumented application, browser, or the UserALE.js Example Page, and you will see logs propagating in the terminal:
 
 ```
 
@@ -36,36 +110,21 @@ When you click the button, the events will be logged to the server (in memory),
     userAction: true,
     details: null,
     userId: 'example-user',
-    toolVersion: '1.0.0',
-    toolName: 'Apache UserALE.js Example',
-    useraleVersion: '1.0.0' },
-  { target: '#document',
-    path: [ '#document' ],
-    clientTime: 1504287558304,
-    location: { x: 0, y: 0 },
-    type: 'blur',
-    userAction: true,
-    details: { window: true },
-    userId: 'example-user',
-    toolVersion: '1.0.0',
-    toolName: 'Apache UserALE.js Example',
-    useraleVersion: '1.0.0' },
-  { target: '#document',
-    path: [ '#document' ],
-    clientTime: 1504287558304,
-    location: { x: 0, y: 0 },
-    type: 'blur',
-    userAction: true,
-    details: null,
-    userId: 'example-user',
-    toolVersion: '1.0.0',
+    toolVersion: '2.0.2',
     toolName: 'Apache UserALE.js Example',
     useraleVersion: '1.0.0' },
  ...
 ]
-
 ```
 
+Kill the logging script with `^C` or as you would any bash script.
+
+##Reviewing Logs Collected with the Example Server
+
+In addition to showing in your terminal, logs collected by the UserALE.js Example Server are written locally to file. 
+
+Find them in your cloned `incubator-flagon-useralejs` in the `/logs` dir. A new log file will appear each time you restart the logging server.
+
 ## Contributing
 
 Contributions are welcome!  Simply [submit an issue report](https://issues.apache.org/jira/browse/FLAGON) for problems you encounter or a pull request for your feature or bug fix.  The core team will review it and work with you to incorporate it into UserALE.js.
\ No newline at end of file
diff --git a/example/index.html b/example/index.html
index 17a4c60..2aa7cf7 100644
--- a/example/index.html
+++ b/example/index.html
@@ -18,10 +18,10 @@ limitations under the License.
 <head>
   <title>UserAleJS - Example Page</title>
   <script
-    src="file:///{your file path}/incubator-flagon-useralejs/build/userale-2.0.1.min.js"
+    src="file:///{your file path}/incubator-flagon-useralejs/build/userale-2.0.2.min.js"
     data-url="http://localhost:8000/"
     data-user="example-user"
-    data-version="2.0.1"
+    data-version="2.0.2"
     data-tool="Apache UserALE.js Example"
   ></script>
 <!--Try out a UserALE.js filter!
diff --git a/package-lock.json b/package-lock.json
index 0e1044e..891118e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
 {
   "name": "flagon-userale",
-  "version": "2.0.1",
+  "version": "2.0.2",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {
@@ -4096,10 +4096,13 @@
       }
     },
     "hosted-git-info": {
-      "version": "2.7.1",
-      "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
-      "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
-      "dev": true
+      "version": "2.8.2",
+      "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.2.tgz",
+      "integrity": "sha512-CyjlXII6LMsPMyUzxpTt8fzh5QwzGqPmQXgY/Jyf4Zfp27t/FvfhwoE/8laaMUcMy816CkWF20I7NeQhwwY88w==",
+      "dev": true,
+      "requires": {
+        "lru-cache": "^5.1.1"
+      }
     },
     "html-encoding-sniffer": {
       "version": "1.0.2",
@@ -4908,19 +4911,18 @@
       "dev": true
     },
     "lru-cache": {
-      "version": "4.1.5",
-      "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
-      "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
+      "version": "5.1.1",
+      "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+      "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
       "dev": true,
       "requires": {
-        "pseudomap": "^1.0.2",
-        "yallist": "^2.1.2"
+        "yallist": "^3.0.2"
       }
     },
     "magic-string": {
-      "version": "0.25.2",
-      "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.2.tgz",
-      "integrity": "sha512-iLs9mPjh9IuTtRsqqhNGYcZXGei0Nh/A4xirrsqW7c+QhKVFL2vm7U09ru6cHRD22azaP/wMDgI+HCqbETMTtg==",
+      "version": "0.25.3",
+      "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.3.tgz",
+      "integrity": "sha512-6QK0OpF/phMz0Q2AxILkX2mFhi7m+WMwTRg0LQKq/WBB0cDP4rYH3Wp4/d3OTXlrPLVJT/RFqj8tFeAR4nk8AA==",
       "dev": true,
       "requires": {
         "sourcemap-codec": "^1.4.4"
@@ -6333,14 +6335,14 @@
       }
     },
     "rollup": {
-      "version": "1.18.0",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.18.0.tgz",
-      "integrity": "sha512-MBAWr6ectF948gW/bs/yfi0jW7DzwI8n0tEYG/ZMQutmK+blF/Oazyhg3oPqtScCGV8bzCtL9KzlzPtTriEOJA==",
+      "version": "1.19.2",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.19.2.tgz",
+      "integrity": "sha512-nH8Sr5MMhdq+Se4w9RsJiwIFJ7eHNt+UyqR8a1WKlP36+ruJnzRoXMeSXicdRScAyDhrdQQR7GUX6W41qHlp+A==",
       "dev": true,
       "requires": {
         "@types/estree": "0.0.39",
-        "@types/node": "^12.6.3",
-        "acorn": "^6.2.0"
+        "@types/node": "^12.6.9",
+        "acorn": "^6.2.1"
       }
     },
     "rollup-plugin-json": {
@@ -6353,24 +6355,16 @@
       }
     },
     "rollup-plugin-license": {
-      "version": "0.9.0",
-      "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-0.9.0.tgz",
-      "integrity": "sha512-/1PW3C1+xIeUsaSQdvRsMFu7Oqmou6ArLBy5vDfem1Yv8wEBGlJ4+izYTZn61Lq39srT+6bndK+zfYTz0CrXQQ==",
+      "version": "0.10.0",
+      "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-0.10.0.tgz",
+      "integrity": "sha512-DjoT3eQbTfTbRn1iobWjXZjDGpSGLQRXUNgxiIg5HZ4WvH4Z9eX4dR40k/Y2uHO/MJAebYh0QaZiyqHQyYHSJg==",
       "dev": true,
       "requires": {
         "commenting": "1.1.0",
-        "lodash": "4.17.11",
-        "magic-string": "0.25.2",
+        "lodash": "4.17.15",
+        "magic-string": "0.25.3",
         "mkdirp": "0.5.1",
         "moment": "2.24.0"
-      },
-      "dependencies": {
-        "lodash": {
-          "version": "4.17.11",
-          "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
-          "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
-          "dev": true
-        }
       }
     },
     "rollup-pluginutils": {
@@ -6549,17 +6543,17 @@
       "dev": true
     },
     "sinon": {
-      "version": "7.4.0",
-      "resolved": "https://registry.npmjs.org/sinon/-/sinon-7.4.0.tgz",
-      "integrity": "sha512-Els0KRgijhuHz9qEyzUFmZtpS1kuj6CMwyKdyWyPW1dnYGOcwqdqFp95u7fcLJbuga/SrVYGxaqCY3JPWMOJAQ==",
+      "version": "7.3.2",
+      "resolved": "https://registry.npmjs.org/sinon/-/sinon-7.3.2.tgz",
+      "integrity": "sha512-thErC1z64BeyGiPvF8aoSg0LEnptSaWE7YhdWWbWXgelOyThent7uKOnnEh9zBxDbKixtr5dEko+ws1sZMuFMA==",
       "dev": true,
       "requires": {
         "@sinonjs/commons": "^1.4.0",
         "@sinonjs/formatio": "^3.2.1",
-        "@sinonjs/samsam": "^3.3.2",
+        "@sinonjs/samsam": "^3.3.1",
         "diff": "^3.5.0",
-        "lolex": "^4.2.0",
-        "nise": "^1.5.1",
+        "lolex": "^4.0.1",
+        "nise": "^1.4.10",
         "supports-color": "^5.5.0"
       },
       "dependencies": {
@@ -7040,6 +7034,22 @@
             "signal-exit": "^3.0.0",
             "strip-eof": "^1.0.0"
           }
+        },
+        "lru-cache": {
+          "version": "4.1.5",
+          "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
+          "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
+          "dev": true,
+          "requires": {
+            "pseudomap": "^1.0.2",
+            "yallist": "^2.1.2"
+          }
+        },
+        "yallist": {
+          "version": "2.1.2",
+          "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
+          "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
+          "dev": true
         }
       }
     },
@@ -7780,9 +7790,9 @@
       "dev": true
     },
     "yallist": {
-      "version": "2.1.2",
-      "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
-      "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
+      "version": "3.0.3",
+      "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz",
+      "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",
       "dev": true
     },
     "yargs": {
diff --git a/package.json b/package.json
index 02b9afd..4e6377e 100755
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
 {
   "name": "flagon-userale",
-  "version": "2.0.1",
+  "version": "2.0.2",
   "description": "UserALE.js is the UserALE client for DOM and JavaScript-based applications. It automatically attaches event handlers to log every user interaction on a web page, including rich JS single-page apps.",
-  "main": "build/userale-2.0.1.js",
+  "main": "build/userale-2.0.2.js",
   "scripts": {
     "pretest": "gulp lint",
     "test": "gulp test",
@@ -62,7 +62,7 @@
     "nodemon": "^1.19.1",
     "rollup": "^1.17.0",
     "rollup-plugin-json": "^4.0.0",
-    "rollup-plugin-license": "^0.9.0",
+    "rollup-plugin-license": "^0.10.0",
     "sinon": "^7.3.2",
     "uglify-es": "^3.3.9",
     "composer": "^4.1.0",
diff --git a/src/UserALEWebExtension/globals.js b/src/UserALEWebExtension/globals.js
index ad4c5d6..1a27083 100644
--- a/src/UserALEWebExtension/globals.js
+++ b/src/UserALEWebExtension/globals.js
@@ -19,9 +19,9 @@
 
 // these are default values, which can be overridden by the user on the options page
 export var userAleHost = 'http://localhost:8000';
-export var userAleScript = 'userale-2.0.0.min.js';
+export var userAleScript = 'userale-2.0.2.min.js';
 export var toolUser = 'nobody';
 export var toolName = 'test_app';
-export var toolVersion = '2.0.0';
+export var toolVersion = '2.0.2';
 
 /* eslint-enable */