diff --git a/docs/ActivatorView.html b/docs/ActivatorView.html index 72c97b987..1177b6402 100644 --- a/docs/ActivatorView.html +++ b/docs/ActivatorView.html @@ -24,7 +24,7 @@
@@ -176,7 +176,7 @@

Extends


diff --git a/docs/AppActivator.html b/docs/AppActivator.html index be62fe30d..2b39fdada 100644 --- a/docs/AppActivator.html +++ b/docs/AppActivator.html @@ -24,7 +24,7 @@
@@ -165,7 +165,7 @@

new AppAc
- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/AppSettings.html b/docs/AppSettings.html index a8e6c0c99..6dac4d78b 100644 --- a/docs/AppSettings.html +++ b/docs/AppSettings.html @@ -24,7 +24,7 @@
@@ -165,7 +165,7 @@

new AppSet
- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/EventCallbackException.html b/docs/EventCallbackException.html new file mode 100644 index 000000000..a079a9805 --- /dev/null +++ b/docs/EventCallbackException.html @@ -0,0 +1,174 @@ + + + + + + EventCallbackException - Documentation + + + + + + + + + + + + + + + + + +
+ +

EventCallbackException

+ + + + + + + +
+ +
+ +

+ EventCallbackException +

+ +
Exception class to throw errors in Callback functions
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new EventCallbackException()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/EventEchoException.html b/docs/EventEchoException.html new file mode 100644 index 000000000..759a0782c --- /dev/null +++ b/docs/EventEchoException.html @@ -0,0 +1,174 @@ + + + + + + EventEchoException - Documentation + + + + + + + + + + + + + + + + + +
+ +

EventEchoException

+ + + + + + + +
+ +
+ +

+ EventEchoException +

+ +
Exception class to throw errors in echo events
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new EventEchoException()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/EventManager.Events.html b/docs/EventManager.Events.html new file mode 100644 index 000000000..5deabc4bc --- /dev/null +++ b/docs/EventManager.Events.html @@ -0,0 +1,197 @@ + + + + + + Events - Documentation + + + + + + + + + + + + + + + + + +
+ +

Events

+ + + + + + + +
+ +
+ +

+ EventManager. + + Events +

+ + +
+ +
+
+ + +
+ + + +

new Events() → {*}

+ + + + + +
+ Static array containing all of our events the app uses +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/EventManager.html b/docs/EventManager.html new file mode 100644 index 000000000..e5078fbc6 --- /dev/null +++ b/docs/EventManager.html @@ -0,0 +1,1739 @@ + + + + + + EventManager - Documentation + + + + + + + + + + + + + + + + + +
+ +

EventManager

+ + + + + + + +
+ +
+ +

+ EventManager +

+ +
This class is used to managed the ipc events within the main process. the helper +class in ./src/EventManagerHelp is used to help look up event names in the render +process that are defined here. When creating new events make sure to update +both classes
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new EventManager()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Events
+
+
+ + + + + + + + + +

Methods

+ + + +
+ + + +

(static) destroy(event) → {null}

+ + + + + +
+ removes the listeners and returns an empty object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +null + + +
+
+ + + +
+ + + +
+ + +
+ + + +

(static) dispatch(eventType, arg) → {Array}

+ + + + + +
+ called to execute the event callback within main process threads +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
eventType + + + + +
arg + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Array + + +
+
+ + + +
+ + + +
+ + +
+ + + +

(static) unregister()

+ + + + + +
+ removes an event from the global events registry. The event much match the pointer + to it. not by the name. Returns the event that was removed. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createListener(event) → {*}

+ + + + + +
+ creates the listener for renderer events, passes event and args. Any +exception is caught, logged, and returned +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

executeCallback(event, arg) → {*}

+ + + + + +
+ called by the dispatch function of the Manager +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

executeReply(event, arg) → {*}

+ + + + + +
+ called automatically if a reply function is specified +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

handleEvent(event, arg) → {*}

+ + + + + +
+ handles the event dispatching by envoking the callback and reply functions +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

initReturnValues(event)

+ + + + + +
+ creates returnValues object with null values. called when dispatching a new event channel +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

initSender(event)

+ + + + + +
+ creates new sender object that can dispatch the event in a feedback loop. Useful for calling circular events within a state machine. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

initSonar()

+ + + + + +
+ initializes event sonar, which will reflect any echo event sent by main or renderer processes. usually for renderer +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

register(event)

+ + + + + +
+ adds new event into a global array to manage. There can exist multiple +events of the same name, and even same functions. They are referenced +with variable pointers. The event should be store as a variable in the +scope class +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + the scope of this event callback + +
+ + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/EventReplyException.html b/docs/EventReplyException.html new file mode 100644 index 000000000..e09d3bea8 --- /dev/null +++ b/docs/EventReplyException.html @@ -0,0 +1,174 @@ + + + + + + EventReplyException - Documentation + + + + + + + + + + + + + + + + + +
+ +

EventReplyException

+ + + + + + + +
+ +
+ +

+ EventReplyException +

+ +
Error class to throw errors in Reply functions
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new EventReplyException()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/MainEvent.html b/docs/MainEvent.html new file mode 100644 index 000000000..bacc86bc5 --- /dev/null +++ b/docs/MainEvent.html @@ -0,0 +1,709 @@ + + + + + + MainEvent - Documentation + + + + + + + + + + + + + + + + + +
+ +

MainEvent

+ + + + + + + +
+ +
+ +

+ MainEvent +

+ +
an object class used to instantiate new event with callbacks.
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new MainEvent(type, scope, callback, reply, async)

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
type + + + the name of the event to listen on + +
scope + + + parent object that created the event + +
callback + + + the function to dispatch + +
reply + + + the reply function to dispatch + +
async + + + true to send an async message back + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + +

Methods

+ + + +
+ + + +

add()

+ + + + + +
+ link stuff with EventManager, and init +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

destroy()

+ + + + + +
+ removes and clears the object from memory. warning, not reversible +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

dispatch(arg) → {Array}

+ + + + + +
+ fires the event associated with the event's channel. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
arg + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Array + + +
+
+ + + +
+ + + +
+ + +
+ + + +

remove()

+ + + + + +
+ removes the event from the hive +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/ModelCoordinator.html b/docs/ModelCoordinator.html index 458374714..e85540bbd 100644 --- a/docs/ModelCoordinator.html +++ b/docs/ModelCoordinator.html @@ -24,7 +24,7 @@
@@ -99,7 +99,7 @@

new M
Source:
@@ -141,6 +141,13 @@

new M +

Classes

+ +
+
ModelCoordinator
+
+
+ @@ -165,7 +172,7 @@

new M
- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/PerspectiveController.html b/docs/PerspectiveController.html index be310fdbd..cd5a96a00 100644 --- a/docs/PerspectiveController.html +++ b/docs/PerspectiveController.html @@ -24,7 +24,7 @@
@@ -99,7 +99,7 @@

Source:
@@ -141,6 +141,13 @@

+

Classes

+ +
+
PerspectiveController
+
+
+ @@ -149,6 +156,163 @@

+

Methods

+ + + +
+ + + +

onConsoleOpenUpdateModels(event, arg)

+ + + + + +
+ dynamically loads the model data when the console is open. uses the event int arg +1 is shown, 0 is hiden.. see CONSOLE_WINDOW_SHOW_HIDE event. the value represents +the state of this window; not action +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + @@ -165,7 +329,7 @@


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/Util.html b/docs/Util.html index 914f62a66..4cd6a1dcf 100644 --- a/docs/Util.html +++ b/docs/Util.html @@ -24,7 +24,7 @@
@@ -165,7 +165,7 @@

new Util
- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/fonts/OpenSans-Semibold-webfont.eot b/docs/fonts/OpenSans-Semibold-webfont.eot old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-Semibold-webfont.svg b/docs/fonts/OpenSans-Semibold-webfont.svg old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-Semibold-webfont.ttf b/docs/fonts/OpenSans-Semibold-webfont.ttf old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-Semibold-webfont.woff b/docs/fonts/OpenSans-Semibold-webfont.woff old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.eot b/docs/fonts/OpenSans-SemiboldItalic-webfont.eot old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.svg b/docs/fonts/OpenSans-SemiboldItalic-webfont.svg old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf b/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf old mode 100644 new mode 100755 diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.woff b/docs/fonts/OpenSans-SemiboldItalic-webfont.woff old mode 100644 new mode 100755 diff --git a/docs/global.html b/docs/global.html index 4463a4945..fe69ea572 100644 --- a/docs/global.html +++ b/docs/global.html @@ -24,7 +24,7 @@
@@ -212,7 +212,7 @@


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/index.html b/docs/index.html index 51db2b460..66f93212a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -24,7 +24,7 @@
@@ -48,24 +48,44 @@
-

Torchie Desktop Application

Electron desktop application which provides dev workflow & team collaborative troubleshooting tools

-

Install from Source

The following will descrive how to install 'torchie' from source code, and run using @DreamScale production api "https://torchie.dreamscale.io".

-

0) Install git version control system from here:

+

Torchie Desktop Application

+

Electron desktop application which provides dev workflow & team collaborative troubleshooting tools

+

Install from Source

+

The following will descrive how to install 'torchie' from source code, and run using @DreamScale production api "https://torchie.dreamscale.io".

+
    +
  1. Install git version control system from here:
  2. +

https://git-scm.com/downloads

-

1) Install the latest version of NodeJS following these instructions:

-

https://nodejs.org/en/

-

2) Install yarn package system using the following these instructions:

+
    +
  1. Install the latest version of NodeJS following these instructions:
  2. +
+

https://nodejs.org/en/

+
    +
  1. Install yarn package system using the following these instructions:
  2. +

https://yarnpkg.com/lang/en/docs/install/#mac-stable

-

3) Open up a terminal window and navigate into a secure place where you store source code. The run the git command:

+
    +
  1. Open up a terminal window and navigate into a secure place where you store source code. The run the git command:
  2. +

git clone https://github.com/dreamscale-io/torchie-desktop.git

-

4) Using yarn, install the projects module dependencies with the following command in the terminal:

+
    +
  1. Using yarn, install the projects module dependencies with the following command in the terminal:
  2. +

yarn install

-

5) Done! Run the following command in your terminal to start the application:

+
    +
  1. Done! Run the following command in your terminal to start the application:
  2. +

yarn dev

To run the project using the local development mock api, use:

yarn dev:local

Note: hit ctrl+c to terminate the project.

-

Code Documentation

This project uses the module jsdoc to generate a static html API website that outlines all of our modules, classes, and functions. You can find documentation help and examples at the following links:

+

Updating Your Source Code From Repo

+
    +
  1. Run the following command in the terminal after making some file changes:
  2. +
+

yarn update

+

Code Documentation

+

This project uses the module jsdoc to generate a static html API website that outlines all of our modules, classes, and functions. You can find documentation help and examples at the following links:

  • https://github.com/jsdoc3/jsdoc
  • http://usejsdoc.org/index.html
  • @@ -76,19 +96,38 @@

    Code Documentation

    This project uses the module jsdoc to generate a s

  • please note that you may need to prefix sudo or su

Documentation files will be exported to ~/torchie-desktop/docs.

-

Package & Release Torchie

1) Run the following command in the terminal:

+

Package & Release Torchie

+
    +
  1. Run the following command in the terminal:
  2. +

yarn release

-

Updating Source Code

1) Run the following command in the terminal after making some file changes:

+

Pushing Source Code To Repository

+
    +
  1. Run the following command in the terminal after making some file changes:
  2. +

yarn stage

-

2) Commit your changes with this command:

+
    +
  1. Commit your changes with this command:
  2. +

git commit -m 'some descriptive message'

-

3) Then push your changes with:

+
    +
  1. Then push your changes with:
  2. +

git push

-

Publish Torchie Release

1) Save a copy of electron-builder.env.sample -> electron-builder.env in the root directory of the project.

-

2) Insert your GitHub Personal Access Token in electron-builder.env. You can generate a token here:

+

Publish Torchie Release

+
    +
  1. +

    Save a copy of electron-builder.env.sample -> electron-builder.env in the root directory of the project.

    +
  2. +
  3. +

    Insert your GitHub Personal Access Token in electron-builder.env. You can generate a token here:

    +
  4. +

https://github.com/settings/tokens

GitHub personal access token is required. You can generate by going to https://github.com/settings/tokens/new. The access token should have the repo scope/permission. Define GH_TOKEN environment variable.

-

3) Run the following command in the terminal:

+
    +
  1. Run the following command in the terminal:
  2. +

yarn release:publish


contact: janelle@dreamscale.io // kara@dreamscale.io

@@ -104,7 +143,7 @@

Publish Torchie Release

1) Save a copy of electron-builder.env.

- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/module.exports_Keys.html b/docs/module.exports_Keys.html index bdb7d3f41..da934f409 100644 --- a/docs/module.exports_Keys.html +++ b/docs/module.exports_Keys.html @@ -24,7 +24,7 @@
@@ -42,6 +42,8 @@

Keys

+ .exports# + Keys

@@ -99,7 +101,7 @@

new KeysSource:
@@ -186,7 +188,7 @@
Returns:

- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/module.exports_Types.html b/docs/module.exports_Types.html new file mode 100644 index 000000000..c4321fa43 --- /dev/null +++ b/docs/module.exports_Types.html @@ -0,0 +1,197 @@ + + + + + + Types - Documentation + + + + + + + + + + + + + + + + + +
+ +

Types

+ + + + + + + +
+ +
+ +

+ .exports# + + Types +

+ + +
+ +
+
+ + +
+ + + +

new Types() → {Object}

+ + + + + +
+ static enum to store event types. These are basically the type of possible events that can be dispatched by the Manager. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Object + + +
+
+ + + +
+ + + +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/module.exports_module.exports.html b/docs/module.exports_module.exports.html index 422704c2c..3f63ef927 100644 --- a/docs/module.exports_module.exports.html +++ b/docs/module.exports_module.exports.html @@ -24,7 +24,7 @@
@@ -338,7 +338,7 @@
Parameters:

- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:27 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/module.html#.exports b/docs/module.html#.exports new file mode 100644 index 000000000..fd738e038 --- /dev/null +++ b/docs/module.html#.exports @@ -0,0 +1,24578 @@ + + + + + + exports - Documentation + + + + + + + + + + + + + + + + + +
+ +

exports

+ + + + + + + +
+ +
+ +

+ exports +

+ +
This class is used to init the Application loading
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new exports()

+ + + + + + + + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +loadingWindow + + + + window to be displayed
the + + +eventTimerMs + + + + amount of milliseconds to wait between stages
the + + +currentStage + + + + curren stage being processed
an + + +stages + + + + enum list of stages to process
the + + +events + + + + events and callbacks linked to this class
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Keys
+
+ +
Types
+
+
+ + + + + + + +

Members

+ + + +
+

node

+ + + + +
+ static linking to internal nodejs util exports +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + +
+

tokens

+ + + + +
+ stores slack tokens into an array matrix for encoding purposes +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

check() → {boolean}

+ + + + + +
+ Verifies the path of the settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

checkIfCalledFromCLI(args) → {boolean}

+ + + + + +
+ checks to see if we started the app from the command line +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
args + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

connectRTFlow()

+ + + + + +
+ connect the Rt-Flow server +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createConsole()

+ + + + + +
+ creates the console window to the application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createEvent(type, …args) → {MainEvent}

+ + + + + +
+ creates and returns a new Event Object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
type + + + + + + + + + + +
args + + + + + + + + <repeatable>
+ +
+ + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +MainEvent + + +
+
+ + + +
+ + + +
+ + +
+ + + +

createMenu()

+ + + + + +
+ Creates the app's menu for MacOS +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createShortcuts()

+ + + + + +
+ registers global application shortcuts +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

deactivate()

+ + + + + +
+ deactivates the Application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

exportApiKey(callback)

+ + + + + +
+ exports the decrypted api key to a file that the application activator creates. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

getApiKey() → {string|null}

+ + + + + +
+ decrypts and returns the stored api key in settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string +| + +null + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getApiKeyPath() → {string}

+ + + + + +
+ returns the api key file thats is stored in the .flow directory. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this needs to be encrypted, plugin need to be updated too
  • +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppIcon(name) → {string}

+ + + + + +
+ the root applciation icon +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppName() → {string}

+ + + + + +
+ the applications name +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppRootDir() → {string}

+ + + + + +
+ gets the root app page +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppSettingsPath() → {string}

+ + + + + +
+ returns the file path to the settings file that electron stores as JSON +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppTray() → {*}

+ + + + + +
+ gets the application tray object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppUserDataDir() → {string}

+ + + + + +
+ gets the user data for app +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetPath(asset) → {string}

+ + + + + +
+ gets the path of a specific asset. must provide qualifying location +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
asset + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetsDir() → {string}

+ + + + + +
+ gets the base path for the asset resouces +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getConfiguredHotkeysOrDefault() → {string}

+ + + + + +
+ gets our hot key configuration file +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getDateTimeString(date) → {string}

+ + + + + +
+ gets the local time and date as a string +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
date + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getFlowHomePath() → {string}

+ + + + + +
+ gets the path of our .flow directory that torchie and our plugins share +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getGuid() → {string}

+ + + + + +
+ returns a new unique random GUID with a random number generator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getLatestScreenshotPath() → {string}

+ + + + + +
+ used to generate a new screenshot path +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getOrCreateFlowHomeDir() → {*}

+ + + + + +
+ gets the .flow directory in the users directory, or creates it if it doesn't exist +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getScreenshotFolderPath() → {string}

+ + + + + +
+ the path where we store our screenshots +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getStages() → {enum}

+ + + + + +
+ the string enum object of stage names to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +enum + + +
+
+ + +
+ array of stage name strings +
+ + +
+ + + +
+ + +
+ + + +

getToken(id) → {*}

+ + + + + +
+ use our MTA card to get tokens +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getTotalStages() → {int}

+ + + + + +
+ returns the total amount of stages to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the total stages to process +
+ + +
+ + + +
+ + +
+ + + +

getUserHomePath() → {string}

+ + + + + +
+ gets the users home directory based on which os they are using +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

incrementStage() → {int}

+ + + + + +
+ increments the current stage count for progress bar +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the current stage being processed +
+ + +
+ + + +
+ + +
+ + + +

inspect(object) → {string}

+ + + + + +
+ shortcut helper link to a baked util.inspect +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

load()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

onActivatorSaveCb(event, arg)

+ + + + + +
+ callback function that is called when the activator fires the save event +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConnectedRTFlowCb(event, arg)

+ + + + + +
+ called after the app is successfully logged in +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConsoleReadyCb(the, the)

+ + + + + +
+ event callback that is dispatched after console window is created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadCb(the, the)

+ + + + + +
+ the main app loader event callback that is used to process the various stages +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingLoginCb(event, arg)

+ + + + + +
+ called after loading window is shown. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingShowCb(the, the)

+ + + + + +
+ the event callback that is dispatched right after the loading window is shown +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onShortcutsCreatedCb(the, the)

+ + + + + +
+ event callback that is dispatched after shortcuts are created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

openExternalBrowser(url)

+ + + + + +
+ opens external default os browser window with url. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this should use the opn-cli util which is cross platform
  • +
+
+ +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

processLogin()

+ + + + + +
+ called from the laod event for login +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

save(apiUrl, apiKey)

+ + + + + +
+ sets and encrypts the api key that is set by the activator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
apiUrl + + + + +
apiKey + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setAppTray(tray)

+ + + + + +
+ sets the applications tray into memory +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
tray + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setDevUserDataDir()

+ + + + + +
+ sets the user data directory for dev mode +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

start()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

unwireEvents()

+ + + + + +
+ This removed the event listeners from the hive. This should be called after the +AppLoader window is completed and app is loaded. Not the best but better. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

wireUpEvents()

+ + + + + +
+ wires up the event listeners into a circuit. really rough mimic of the front end +circuit for listeners +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + + + + +
+ +
+ +

+ exports +

+ +
This class is used to coordinate controllers across the app classes
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new exports()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Keys
+
+ +
Types
+
+
+ + + + + + + +

Members

+ + + +
+

node

+ + + + +
+ static linking to internal nodejs util exports +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + +
+

tokens

+ + + + +
+ stores slack tokens into an array matrix for encoding purposes +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

check() → {boolean}

+ + + + + +
+ Verifies the path of the settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

checkIfCalledFromCLI(args) → {boolean}

+ + + + + +
+ checks to see if we started the app from the command line +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
args + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

connectRTFlow()

+ + + + + +
+ connect the Rt-Flow server +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createConsole()

+ + + + + +
+ creates the console window to the application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createEvent(type, …args) → {MainEvent}

+ + + + + +
+ creates and returns a new Event Object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
type + + + + + + + + + + +
args + + + + + + + + <repeatable>
+ +
+ + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +MainEvent + + +
+
+ + + +
+ + + +
+ + +
+ + + +

createMenu()

+ + + + + +
+ Creates the app's menu for MacOS +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createShortcuts()

+ + + + + +
+ registers global application shortcuts +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

deactivate()

+ + + + + +
+ deactivates the Application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

exportApiKey(callback)

+ + + + + +
+ exports the decrypted api key to a file that the application activator creates. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

getApiKey() → {string|null}

+ + + + + +
+ decrypts and returns the stored api key in settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string +| + +null + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getApiKeyPath() → {string}

+ + + + + +
+ returns the api key file thats is stored in the .flow directory. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this needs to be encrypted, plugin need to be updated too
  • +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppIcon(name) → {string}

+ + + + + +
+ the root applciation icon +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppName() → {string}

+ + + + + +
+ the applications name +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppRootDir() → {string}

+ + + + + +
+ gets the root app page +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppSettingsPath() → {string}

+ + + + + +
+ returns the file path to the settings file that electron stores as JSON +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppTray() → {*}

+ + + + + +
+ gets the application tray object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppUserDataDir() → {string}

+ + + + + +
+ gets the user data for app +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetPath(asset) → {string}

+ + + + + +
+ gets the path of a specific asset. must provide qualifying location +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
asset + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetsDir() → {string}

+ + + + + +
+ gets the base path for the asset resouces +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getConfiguredHotkeysOrDefault() → {string}

+ + + + + +
+ gets our hot key configuration file +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getDateTimeString(date) → {string}

+ + + + + +
+ gets the local time and date as a string +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
date + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getFlowHomePath() → {string}

+ + + + + +
+ gets the path of our .flow directory that torchie and our plugins share +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getGuid() → {string}

+ + + + + +
+ returns a new unique random GUID with a random number generator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getLatestScreenshotPath() → {string}

+ + + + + +
+ used to generate a new screenshot path +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getOrCreateFlowHomeDir() → {*}

+ + + + + +
+ gets the .flow directory in the users directory, or creates it if it doesn't exist +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getScreenshotFolderPath() → {string}

+ + + + + +
+ the path where we store our screenshots +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getStages() → {enum}

+ + + + + +
+ the string enum object of stage names to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +enum + + +
+
+ + +
+ array of stage name strings +
+ + +
+ + + +
+ + +
+ + + +

getToken(id) → {*}

+ + + + + +
+ use our MTA card to get tokens +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getTotalStages() → {int}

+ + + + + +
+ returns the total amount of stages to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the total stages to process +
+ + +
+ + + +
+ + +
+ + + +

getUserHomePath() → {string}

+ + + + + +
+ gets the users home directory based on which os they are using +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

incrementStage() → {int}

+ + + + + +
+ increments the current stage count for progress bar +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the current stage being processed +
+ + +
+ + + +
+ + +
+ + + +

inspect(object) → {string}

+ + + + + +
+ shortcut helper link to a baked util.inspect +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

load()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

onActivatorSaveCb(event, arg)

+ + + + + +
+ callback function that is called when the activator fires the save event +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConnectedRTFlowCb(event, arg)

+ + + + + +
+ called after the app is successfully logged in +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConsoleReadyCb(the, the)

+ + + + + +
+ event callback that is dispatched after console window is created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadCb(the, the)

+ + + + + +
+ the main app loader event callback that is used to process the various stages +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingLoginCb(event, arg)

+ + + + + +
+ called after loading window is shown. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingShowCb(the, the)

+ + + + + +
+ the event callback that is dispatched right after the loading window is shown +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onShortcutsCreatedCb(the, the)

+ + + + + +
+ event callback that is dispatched after shortcuts are created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

openExternalBrowser(url)

+ + + + + +
+ opens external default os browser window with url. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this should use the opn-cli util which is cross platform
  • +
+
+ +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

processLogin()

+ + + + + +
+ called from the laod event for login +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

save(apiUrl, apiKey)

+ + + + + +
+ sets and encrypts the api key that is set by the activator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
apiUrl + + + + +
apiKey + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setAppTray(tray)

+ + + + + +
+ sets the applications tray into memory +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
tray + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setDevUserDataDir()

+ + + + + +
+ sets the user data directory for dev mode +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

start()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

unwireEvents()

+ + + + + +
+ This removed the event listeners from the hive. This should be called after the +AppLoader window is completed and app is loaded. Not the best but better. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

wireUpEvents()

+ + + + + +
+ wires up the event listeners into a circuit. really rough mimic of the front end +circuit for listeners +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + + + + +
+ +
+ +

+ exports +

+ +
This class is used to coordinate controllers across the app classes
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new exports()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Keys
+
+ +
Types
+
+
+ + + + + + + +

Members

+ + + +
+

node

+ + + + +
+ static linking to internal nodejs util exports +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + +
+

tokens

+ + + + +
+ stores slack tokens into an array matrix for encoding purposes +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

check() → {boolean}

+ + + + + +
+ Verifies the path of the settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

checkIfCalledFromCLI(args) → {boolean}

+ + + + + +
+ checks to see if we started the app from the command line +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
args + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

connectRTFlow()

+ + + + + +
+ connect the Rt-Flow server +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createConsole()

+ + + + + +
+ creates the console window to the application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createEvent(type, …args) → {MainEvent}

+ + + + + +
+ creates and returns a new Event Object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
type + + + + + + + + + + +
args + + + + + + + + <repeatable>
+ +
+ + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +MainEvent + + +
+
+ + + +
+ + + +
+ + +
+ + + +

createMenu()

+ + + + + +
+ Creates the app's menu for MacOS +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createShortcuts()

+ + + + + +
+ registers global application shortcuts +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

deactivate()

+ + + + + +
+ deactivates the Application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

exportApiKey(callback)

+ + + + + +
+ exports the decrypted api key to a file that the application activator creates. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

getApiKey() → {string|null}

+ + + + + +
+ decrypts and returns the stored api key in settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string +| + +null + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getApiKeyPath() → {string}

+ + + + + +
+ returns the api key file thats is stored in the .flow directory. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this needs to be encrypted, plugin need to be updated too
  • +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppIcon(name) → {string}

+ + + + + +
+ the root applciation icon +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppName() → {string}

+ + + + + +
+ the applications name +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppRootDir() → {string}

+ + + + + +
+ gets the root app page +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppSettingsPath() → {string}

+ + + + + +
+ returns the file path to the settings file that electron stores as JSON +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppTray() → {*}

+ + + + + +
+ gets the application tray object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppUserDataDir() → {string}

+ + + + + +
+ gets the user data for app +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetPath(asset) → {string}

+ + + + + +
+ gets the path of a specific asset. must provide qualifying location +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
asset + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetsDir() → {string}

+ + + + + +
+ gets the base path for the asset resouces +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getConfiguredHotkeysOrDefault() → {string}

+ + + + + +
+ gets our hot key configuration file +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getDateTimeString(date) → {string}

+ + + + + +
+ gets the local time and date as a string +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
date + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getFlowHomePath() → {string}

+ + + + + +
+ gets the path of our .flow directory that torchie and our plugins share +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getGuid() → {string}

+ + + + + +
+ returns a new unique random GUID with a random number generator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getLatestScreenshotPath() → {string}

+ + + + + +
+ used to generate a new screenshot path +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getOrCreateFlowHomeDir() → {*}

+ + + + + +
+ gets the .flow directory in the users directory, or creates it if it doesn't exist +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getScreenshotFolderPath() → {string}

+ + + + + +
+ the path where we store our screenshots +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getStages() → {enum}

+ + + + + +
+ the string enum object of stage names to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +enum + + +
+
+ + +
+ array of stage name strings +
+ + +
+ + + +
+ + +
+ + + +

getToken(id) → {*}

+ + + + + +
+ use our MTA card to get tokens +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getTotalStages() → {int}

+ + + + + +
+ returns the total amount of stages to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the total stages to process +
+ + +
+ + + +
+ + +
+ + + +

getUserHomePath() → {string}

+ + + + + +
+ gets the users home directory based on which os they are using +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

incrementStage() → {int}

+ + + + + +
+ increments the current stage count for progress bar +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the current stage being processed +
+ + +
+ + + +
+ + +
+ + + +

inspect(object) → {string}

+ + + + + +
+ shortcut helper link to a baked util.inspect +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

load()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

onActivatorSaveCb(event, arg)

+ + + + + +
+ callback function that is called when the activator fires the save event +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConnectedRTFlowCb(event, arg)

+ + + + + +
+ called after the app is successfully logged in +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConsoleReadyCb(the, the)

+ + + + + +
+ event callback that is dispatched after console window is created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadCb(the, the)

+ + + + + +
+ the main app loader event callback that is used to process the various stages +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingLoginCb(event, arg)

+ + + + + +
+ called after loading window is shown. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingShowCb(the, the)

+ + + + + +
+ the event callback that is dispatched right after the loading window is shown +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onShortcutsCreatedCb(the, the)

+ + + + + +
+ event callback that is dispatched after shortcuts are created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

openExternalBrowser(url)

+ + + + + +
+ opens external default os browser window with url. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this should use the opn-cli util which is cross platform
  • +
+
+ +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

processLogin()

+ + + + + +
+ called from the laod event for login +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

save(apiUrl, apiKey)

+ + + + + +
+ sets and encrypts the api key that is set by the activator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
apiUrl + + + + +
apiKey + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setAppTray(tray)

+ + + + + +
+ sets the applications tray into memory +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
tray + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setDevUserDataDir()

+ + + + + +
+ sets the user data directory for dev mode +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

start()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

unwireEvents()

+ + + + + +
+ This removed the event listeners from the hive. This should be called after the +AppLoader window is completed and app is loaded. Not the best but better. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

wireUpEvents()

+ + + + + +
+ wires up the event listeners into a circuit. really rough mimic of the front end +circuit for listeners +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + + + + +
+ +
+ +

+ exports +

+ +
a factory class used to create new events
+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new exports()

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Keys
+
+ +
Types
+
+
+ + + + + + + +

Members

+ + + +
+

node

+ + + + +
+ static linking to internal nodejs util exports +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + +
+

tokens

+ + + + +
+ stores slack tokens into an array matrix for encoding purposes +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

check() → {boolean}

+ + + + + +
+ Verifies the path of the settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

checkIfCalledFromCLI(args) → {boolean}

+ + + + + +
+ checks to see if we started the app from the command line +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
args + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +boolean + + +
+
+ + + +
+ + + +
+ + +
+ + + +

connectRTFlow()

+ + + + + +
+ connect the Rt-Flow server +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createConsole()

+ + + + + +
+ creates the console window to the application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createEvent(type, …args) → {MainEvent}

+ + + + + +
+ creates and returns a new Event Object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
type + + + + + + + + + + +
args + + + + + + + + <repeatable>
+ +
+ + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +MainEvent + + +
+
+ + + +
+ + + +
+ + +
+ + + +

createMenu()

+ + + + + +
+ Creates the app's menu for MacOS +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

createShortcuts()

+ + + + + +
+ registers global application shortcuts +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

deactivate()

+ + + + + +
+ deactivates the Application +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

exportApiKey(callback)

+ + + + + +
+ exports the decrypted api key to a file that the application activator creates. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
callback + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

finished()

+ + + + + +
+ called when AppLoader is completed +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

getApiKey() → {string|null}

+ + + + + +
+ decrypts and returns the stored api key in settings +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string +| + +null + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getApiKeyPath() → {string}

+ + + + + +
+ returns the api key file thats is stored in the .flow directory. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this needs to be encrypted, plugin need to be updated too
  • +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppIcon(name) → {string}

+ + + + + +
+ the root applciation icon +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppName() → {string}

+ + + + + +
+ the applications name +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppRootDir() → {string}

+ + + + + +
+ gets the root app page +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppSettingsPath() → {string}

+ + + + + +
+ returns the file path to the settings file that electron stores as JSON +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppTray() → {*}

+ + + + + +
+ gets the application tray object +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAppUserDataDir() → {string}

+ + + + + +
+ gets the user data for app +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetPath(asset) → {string}

+ + + + + +
+ gets the path of a specific asset. must provide qualifying location +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
asset + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getAssetsDir() → {string}

+ + + + + +
+ gets the base path for the asset resouces +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getConfiguredHotkeysOrDefault() → {string}

+ + + + + +
+ gets our hot key configuration file +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getDateTimeString(date) → {string}

+ + + + + +
+ gets the local time and date as a string +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
date + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getFlowHomePath() → {string}

+ + + + + +
+ gets the path of our .flow directory that torchie and our plugins share +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getGuid() → {string}

+ + + + + +
+ returns a new unique random GUID with a random number generator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getLatestScreenshotPath() → {string}

+ + + + + +
+ used to generate a new screenshot path +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getOrCreateFlowHomeDir() → {*}

+ + + + + +
+ gets the .flow directory in the users directory, or creates it if it doesn't exist +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getScreenshotFolderPath() → {string}

+ + + + + +
+ the path where we store our screenshots +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getStages() → {enum}

+ + + + + +
+ the string enum object of stage names to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +enum + + +
+
+ + +
+ array of stage name strings +
+ + +
+ + + +
+ + +
+ + + +

getToken(id) → {*}

+ + + + + +
+ use our MTA card to get tokens +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +* + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getTotalStages() → {int}

+ + + + + +
+ returns the total amount of stages to process +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the total stages to process +
+ + +
+ + + +
+ + +
+ + + +

getUserHomePath() → {string}

+ + + + + +
+ gets the users home directory based on which os they are using +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

incrementStage() → {int}

+ + + + + +
+ increments the current stage count for progress bar +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +int + + +
+
+ + +
+ the integer representing the current stage being processed +
+ + +
+ + + +
+ + +
+ + + +

inspect(object) → {string}

+ + + + + +
+ shortcut helper link to a baked util.inspect +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
object + + + + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + + +
+ + + +
+ + +
+ + + +

load()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

onActivatorSaveCb(event, arg)

+ + + + + +
+ callback function that is called when the activator fires the save event +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConnectedRTFlowCb(event, arg)

+ + + + + +
+ called after the app is successfully logged in +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onConsoleReadyCb(the, the)

+ + + + + +
+ event callback that is dispatched after console window is created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadCb(the, the)

+ + + + + +
+ the main app loader event callback that is used to process the various stages +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingLoginCb(event, arg)

+ + + + + +
+ called after loading window is shown. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
event + + + + +
arg + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onLoadingShowCb(the, the)

+ + + + + +
+ the event callback that is dispatched right after the loading window is shown +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

onShortcutsCreatedCb(the, the)

+ + + + + +
+ event callback that is dispatched after shortcuts are created +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
the + + +event + + + + + event that was fired + +
the + + +arg + + + + + argument parameters to be pass with callback + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

openExternalBrowser(url)

+ + + + + +
+ opens external default os browser window with url. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
To Do:
+
+
    +
  • this should use the opn-cli util which is cross platform
  • +
+
+ +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

processLogin()

+ + + + + +
+ called from the laod event for login +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

save(apiUrl, apiKey)

+ + + + + +
+ sets and encrypts the api key that is set by the activator +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
apiUrl + + + + +
apiKey + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setAppTray(tray)

+ + + + + +
+ sets the applications tray into memory +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
tray + + + + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

setDevUserDataDir()

+ + + + + +
+ sets the user data directory for dev mode +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

start()

+ + + + + +
+ starts the app loader +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

unwireEvents()

+ + + + + +
+ This removed the event listeners from the hive. This should be called after the +AppLoader window is completed and app is loaded. Not the best but better. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +

wireUpEvents()

+ + + + + +
+ wires up the event listeners into a circuit. really rough mimic of the front end +circuit for listeners +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/public_Util.js.html b/docs/public_Util.js.html index 1e9e8fc44..d1a8df971 100644 --- a/docs/public_Util.js.html +++ b/docs/public_Util.js.html @@ -24,7 +24,7 @@
@@ -112,6 +112,21 @@

public/Util.js

return url; } + /// gets a startup environmental flag to tell the system to run 3d modeor not + /// this should be false for now until we figure out what the fuck we are doin' + /// also kinda need an artist to make this all work + static getRender3D() { + let flag = false; + if (isDev) { + process.argv.forEach(function(val, index, array) { + if (val.toLowerCase().startsWith("render3d=")) { + flag = val.toLowerCase().substring(9); + } + }); + } + return flag; + } + /** * the root applciation icon * @param name @@ -382,7 +397,7 @@

public/Util.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/public_app_AppActivator.js.html b/docs/public_app_AppActivator.js.html index fe696f227..55c380e9a 100644 --- a/docs/public_app_AppActivator.js.html +++ b/docs/public_app_AppActivator.js.html @@ -24,7 +24,7 @@
@@ -116,6 +116,13 @@

public/app/AppActivator.js

log.info("[AppActivator] finished : okay"); global.App.WindowManager.closeWindow(this.activatorWindow, true); } + + /** + * deactivates the Application + */ + deactivate() { + // TODO add deactivate code in here + } };

@@ -129,7 +136,7 @@

public/app/AppActivator.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/public_app_AppLoader.js.html b/docs/public_app_AppLoader.js.html new file mode 100644 index 000000000..b606d62be --- /dev/null +++ b/docs/public_app_AppLoader.js.html @@ -0,0 +1,388 @@ + + + + + + public/app/AppLoader.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

public/app/AppLoader.js

+ + + + + + + +
+
+
const log = require("electron-log"),
+  platform = require("electron-platform"),
+  App = require("./App"),
+  Util = require("../Util"),
+  WindowManagerHelper = require("../managers/WindowManagerHelper"),
+  EventFactory = require("../managers/EventFactory"),
+  { ShortcutManager } = require("../managers/ShortcutManager"),
+  AppMenu = require("./AppMenu"),
+  AppTray = require("./AppTray"),
+  AppLogin = require("./AppLogin");
+
+/**
+ * TODO this needs to have some type of controller class manage the events in a circuit
+ */
+
+/**
+ * This class is used to init the Application loading
+ *
+ * @property {loadingWindow} the window to be displayed
+ * @property {eventTimerMs} the amount of milliseconds to wait between stages
+ * @property {currentStage} the curren stage being processed
+ * @property {stages} an enum list of stages to process
+ * @property {events} the events and callbacks linked to this class
+ */
+module.exports = class AppLoader {
+  constructor() {
+    log.info("[AppLoader] created -> okay");
+    this.eventTimerMs = 500;
+    this.currentStage = 1;
+    this.stages = this.getStages();
+    this.wireUpEvents();
+  }
+
+  /**
+   * wires up the event listeners into a circuit. really rough mimic of the front end
+   * circuit for listeners
+   */
+  wireUpEvents() {
+    log.info("[AppLoader] wiring events into hive...");
+    this.events = {
+      shown: EventFactory.createEvent(
+        EventFactory.Types.WINDOW_LOADING_SHOWN,
+        this,
+        (event, arg) => this.onLoadingShowCb()
+      ),
+      login: EventFactory.createEvent(
+        EventFactory.Types.WINDOW_LOADING_LOGIN,
+        this,
+        (event, arg) => this.onLoadingLoginCb()
+      ),
+      loginFailed: EventFactory.createEvent(
+        EventFactory.Types.WINDOW_LOADING_LOGIN_FAILED,
+        this
+      ),
+      rtConnected: EventFactory.createEvent(
+        EventFactory.Types.WINDOW_RT_FLOW_CONNECTED,
+        this,
+        (event, arg) => this.onConnectedRTFlowCb()
+      ),
+      consoleReady: EventFactory.createEvent(
+        EventFactory.Types.WINDOW_CONSOLE_READY,
+        this,
+        (event, arg) => this.onConsoleReadyCb()
+      ),
+      shortcutsCreated: EventFactory.createEvent(
+        EventFactory.Types.SHORTCUTS_CREATED,
+        this,
+        (event, arg) => this.onShortcutsCreatedCb()
+      ),
+      load: EventFactory.createEvent(
+        EventFactory.Types.APPLOADER_LOAD,
+        this,
+        (event, arg) => this.onLoadCb(event, arg)
+      )
+    };
+  }
+
+  /**
+   * This removed the event listeners from the hive. This should be called after the
+   * AppLoader window is completed and app is loaded. Not the best but better.
+   */
+  unwireEvents() {
+    log.info("[AppLoader] unwiring events from hive...");
+    this.events.shown.remove();
+    this.events.login.remove();
+    this.events.loginFailed.remove();
+    this.events.rtConnected.remove();
+    this.events.consoleReady.remove();
+    this.events.shortcutsCreated.remove();
+    this.events.load.remove();
+  }
+
+  /**
+   * starts the app loader
+   */
+  load() {
+    log.info("[AppLoader] start loading...");
+    Util.setAppTray(new AppTray());
+    this.loadingWindow = WindowManagerHelper.createWindowLoading();
+    this.createMenu();
+  }
+
+  /**
+   * the event callback that is dispatched right after the loading window is shown
+   * @param {event} the event that was fired
+   * @param {arg} the argument parameters to be pass with callback
+   */
+  onLoadingShowCb(event, arg) {
+    setTimeout((event, arg) => {
+      this.events.load.dispatch({
+        load: this.stages.LOGIN,
+        value: this.incrementStage(),
+        total: this.getTotalStages(),
+        label: "talking to llamas...",
+        text: "Torchie Login..."
+      });
+    }, this.eventTimerMs);
+  }
+
+  /**
+   * called after loading window is shown.
+   * @param event
+   * @param arg
+   */
+  onLoadingLoginCb(event, arg) {
+    setTimeout((event, arg) => {
+      this.events.load.dispatch({
+        load: this.stages.RTFLOW,
+        value: this.incrementStage(),
+        total: this.getTotalStages(),
+        label: "dosing aliens...",
+        text: "Connection to RealTime Flow..."
+      });
+    }, this.eventTimerMs);
+  }
+
+  /**
+   * called after the app is successfully logged in
+   * @param event
+   * @param arg
+   */
+  onConnectedRTFlowCb(event, arg) {
+    setTimeout((event, arg) => {
+      this.events.load.dispatch({
+        load: this.stages.CONSOLE,
+        value: this.incrementStage(),
+        total: this.getTotalStages(),
+        label: "feeding lemmings...",
+        text: "Creating Console..."
+      });
+    }, this.eventTimerMs);
+  }
+
+  /**
+   * event callback that is dispatched after console window is created
+   * @param {event} the event that was fired
+   * @param {arg} the argument parameters to be pass with callback
+   */
+  onConsoleReadyCb(event, arg) {
+    setTimeout((event, arg) => {
+      this.events.load.dispatch({
+        load: this.stages.SHORTCUTS,
+        value: this.incrementStage(),
+        total: this.getTotalStages(),
+        label: "counting schmeckles...",
+        text: "Registering shortcuts..."
+      });
+    }, this.eventTimerMs);
+  }
+
+  /**
+   * event callback that is dispatched after shortcuts are created
+   * @param {event} the event that was fired
+   * @param {arg} the argument parameters to be pass with callback
+   */
+  onShortcutsCreatedCb(event, arg) {
+    setTimeout((event, arg) => {
+      this.events.load.dispatch({
+        load: this.stages.FINISHED,
+        value: this.incrementStage(),
+        total: this.getTotalStages(),
+        label: "matrix activated",
+        text: "Ready!"
+      });
+    }, this.eventTimerMs);
+  }
+
+  /**
+   * the main app loader event callback that is used to process the various stages
+   * @param {event} the event that was fired
+   * @param {arg} the argument parameters to be pass with callback
+   */
+  onLoadCb(event, arg) {
+    switch (arg.load) {
+      case this.stages.LOGIN:
+        this.processLogin();
+        break;
+      case this.stages.RTFLOW:
+        this.connectRTFlow();
+        break;
+      case this.stages.CONSOLE:
+        this.createConsole();
+        break;
+      case this.stages.SHORTCUTS:
+        this.createShortcuts();
+        break;
+      case this.stages.FINISHED:
+        this.finished();
+        break;
+      default:
+        log.warn("[AppLoader] unrecognized stage : " + arg.load);
+        break;
+    }
+  }
+
+  /**
+   * the string enum object of stage names to process
+   * @return {enum} array of stage name strings
+   */
+  getStages() {
+    return {
+      LOGIN: "login",
+      RTFLOW: "rtflow",
+      CONSOLE: "console",
+      SHORTCUTS: "shortcuts",
+      FINISHED: "finished"
+    };
+  }
+
+  /**
+   * returns the total amount of stages to process
+   * @return {int} the integer representing the total stages to process
+   */
+  getTotalStages() {
+    return Object.keys(this.stages).length;
+  }
+
+  /**
+   * increments the current stage count for progress bar
+   * @return {int} the integer representing the current stage being processed
+   */
+  incrementStage() {
+    return this.currentStage++;
+  }
+
+  /**
+   * Creates the app's menu for MacOS
+   * @ref {https://electron.atom.io/docs/api/menu/#notes-on-macos-application-menu}
+   */
+  createMenu() {
+    if (platform.isDarwin) {
+      AppMenu.setApplicationMenu(new AppMenu());
+    } else {
+      AppMenu.setApplicationMenu(null);
+    }
+  }
+
+  /**
+   * called from the laod event for login
+   */
+  processLogin() {
+    log.info("[AppLoader] process login");
+    AppLogin.doLogin(store => {
+      let connectionStatus = AppLogin.getConnectionStatus();
+      console.log(connectionStatus);
+      if (connectionStatus.isValid()) {
+        log.info("[AppLoader] valid login -> dispatch next load event");
+        global.App.isOnline = true;
+        global.App.isLoggedIn = true;
+        global.App.connectionStatus = connectionStatus;
+        this.events.login.dispatch();
+      } else {
+        log.info("[AppLoader] failed login -> dispatch status to login event");
+        this.events.loginFailed.dispatch(store.data);
+      }
+    });
+  }
+
+  /**
+   * connect the Rt-Flow server
+   */
+  connectRTFlow() {
+    log.info("[AppLoader] connect rt-flow server");
+    try {
+      global.App.RTFlowManager.createConnection();
+    } catch (error) {
+      App.handleError(error, true);
+    }
+  }
+
+  /**
+   * creates the console window to the application
+   */
+  createConsole() {
+    log.info("[AppLoader] create console window");
+    try {
+      WindowManagerHelper.createWindowConsole();
+    } catch (error) {
+      App.handleError(error, true);
+    }
+  }
+
+  /**
+   * registers global application shortcuts
+   */
+  createShortcuts() {
+    log.info("[AppLoader] create shortcuts");
+    try {
+      global.App.Shortcuts = ShortcutManager.createGlobalShortcuts();
+      this.events.shortcutsCreated.dispatch();
+    } catch (error) {
+      App.handleError(error, true);
+    }
+  }
+
+  /**
+   * called when AppLoader is completed
+   */
+  finished() {
+    log.info("[AppLoader] finished : okay");
+    setTimeout(() => {
+      global.App.WindowManager.closeWindow(this.loadingWindow, true);
+      this.unwireEvents();
+      global.App.AppHeartbeat.start();
+      log.info("[AppLoader] finished : done");
+    }, this.eventTimerMs * 2);
+  }
+};
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/public_app_AppSettings.js.html b/docs/public_app_AppSettings.js.html index 8bdcf04c3..cd31585c1 100644 --- a/docs/public_app_AppSettings.js.html +++ b/docs/public_app_AppSettings.js.html @@ -24,7 +24,7 @@
@@ -39,12 +39,12 @@

public/app/AppSettings.js

-
let { app } = require("electron"),
-  settings = require("electron-settings"),
+            
let settings = require("electron-settings"),
   log = require("electron-log"),
   fs = require("fs"),
   crypto = require("crypto-js"),
-  Util = require("../Util");
+  Util = require("../Util"),
+  AppError = require("./AppError");
 
 /**
  * Application class used to manage our settings stores in ~/.flow
@@ -112,9 +112,11 @@ 

public/app/AppSettings.js

*/ getOrCreateFlowHomeDir() { let path = Util.getFlowHomePath(); - if (!fs.exists(path)) { - log.info("[AppSettings] create flow home directory", path); - fs.mkdir(path); + + try { + fs.accessSync(path, fs.constants.R_OK | fs.constants.W_OK); + } catch (err) { + fs.mkdirSync(path); } return path; } @@ -157,7 +159,7 @@

public/app/AppSettings.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/public_controllers_AppController.js.html b/docs/public_controllers_AppController.js.html new file mode 100644 index 000000000..61b1b2072 --- /dev/null +++ b/docs/public_controllers_AppController.js.html @@ -0,0 +1,87 @@ + + + + + + public/controllers/AppController.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

public/controllers/AppController.js

+ + + + + + + +
+
+
const AppError = require("../app/AppError"),
+  BaseController = require("./BaseController");
+
+/**
+ * This class is used to coordinate controllers across the app classes
+ */
+module.exports = class AppController extends BaseController {
+  constructor(scope) {
+    super(scope, AppController);
+  }
+
+  /// links associated controller classes here
+  static wireControllersTogether() {
+    BaseController.wireControllersTo(AppController.instance);
+  }
+
+  /// configures application wide events here
+  static configureEvents() {
+    BaseController.configureEventsFor(AppController.instance);
+    process.on("uncaughtException", error => {
+      AppError.handleError(error, true);
+    });
+    process.on("unhandledRejection", error => {
+      AppError.handleError(error, true);
+    });
+  }
+};
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/public_controllers_BaseController.js.html b/docs/public_controllers_BaseController.js.html new file mode 100644 index 000000000..256e5b84c --- /dev/null +++ b/docs/public_controllers_BaseController.js.html @@ -0,0 +1,91 @@ + + + + + + public/controllers/BaseController.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

public/controllers/BaseController.js

+ + + + + + + +
+
+
const log = require("electron-log"),
+  Util = require("../Util");
+
+/**
+ * This class is used to coordinate controllers across the app classes
+ */
+module.exports = class BaseController {
+  constructor(scope, clazz) {
+    this.className = "[" + clazz.name + "]";
+    this.scope = scope;
+    this.guid = Util.getGuid();
+    if (!clazz.instance) {
+      clazz.instance = clazz;
+      clazz.instance.wireControllersTogether();
+    }
+  }
+
+  /// for override
+  static wireControllersTo(clazz) {
+    log.info(
+      "[" + BaseController.name + "] wire controllers to -> " + clazz.name
+    );
+  }
+
+  /// for override
+  static configureEventsFor(clazz) {
+    log.info(
+      "[" + BaseController.name + "] configure events for -> " + clazz.name
+    );
+  }
+};
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/public_managers_EventFactory.js.html b/docs/public_managers_EventFactory.js.html new file mode 100644 index 000000000..25223fd95 --- /dev/null +++ b/docs/public_managers_EventFactory.js.html @@ -0,0 +1,114 @@ + + + + + + public/managers/EventFactory.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

public/managers/EventFactory.js

+ + + + + + + +
+
+
const log = require("electron-log"),
+  { MainEvent } = require("./EventManager");
+
+/**
+ * a factory class used to create new events
+ * @type {EventFactory}
+ */
+module.exports = class EventFactory {
+  /**
+   * creates and returns a new Event Object
+   * @param type
+   * @param args
+   * @returns {MainEvent}
+   */
+  static createEvent(type, ...args) {
+    let event = new MainEvent(type, ...args);
+    return event;
+  }
+
+  /**
+   * static enum to store event types. These are basically the type of possible events that can be dispatched by the Manager.
+   * @returns {{WINDOW_LOADING_SHOWN: string, SCREENSHOT_READY_FOR_DISPLAY: string, WINDOW_RT_FLOW_CONNECTED: string, WINDOW_CONSOLE_READY: string, READY_FOR_SCREENSHOT: string, WINDOW_LOADING_LOGIN: string, DATASTORE_LOAD: string, WINDOW_RT_FLOW_RECONNECTED: string, SHORTCUTS_RECIEVED: string, APP_HEARTBEAT: string, DATASTORE_LOADED: string, APPACTIVATOR_ACTIVATION_SAVED: string, APP_QUIT: string, APPACTIVATOR_SAVE_ACTIVATION: string, SHORTCUTS_CREATED: string, APPLOADER_LOAD: string, WINDOW_FOCUS: string, PREPARE_FOR_SCREENSHOT: string, WINDOW_LOADING_LOGIN_FAILED: string, WINDOW_BLUR: string, SCREENSHOT_COMPLETE: string, WINDOW_CONSOLE_SHOW_HIDE: string, WINDOW_ACTIVATOR_CLOSE: string, SUBMIT_BUG_REPORT: string}}
+   * @constructor
+   */
+  static get Types() {
+    let prefix = "torchie-ipc-";
+    return {
+      APP_QUIT: prefix + "app-quit",
+      APP_HEARTBEAT: prefix + "app-heartbeat",
+      WINDOW_FOCUS: prefix + "window-focus",
+      WINDOW_BLUR: prefix + "window-blur",
+      WINDOW_LOADING_SHOWN: prefix + "window-loading-shown",
+      WINDOW_LOADING_LOGIN: prefix + "window-loading-login",
+      WINDOW_LOADING_LOGIN_FAILED: prefix + "window-loading-login-failed",
+      WINDOW_RT_FLOW_CONNECTED: prefix + "window-rt-flow-connected",
+      WINDOW_RT_FLOW_RECONNECTED: prefix + "window-rt-flow-reconnected",
+      WINDOW_CONSOLE_READY: prefix + "window-console-ready",
+      WINDOW_CONSOLE_SHOW_HIDE: prefix + "window-console-show-hide",
+      WINDOW_ACTIVATOR_CLOSE: prefix + "window-activator-close",
+      APPACTIVATOR_SAVE_ACTIVATION: prefix + "appactivator-save-activation",
+      APPACTIVATOR_ACTIVATION_SAVED: prefix + "appactivator-activation-saved",
+      APPLOADER_LOAD: prefix + "apploader-load",
+      SHORTCUTS_CREATED: prefix + "shortcuts-created",
+      SHORTCUTS_RECIEVED: prefix + "shortcuts-recieved",
+      SUBMIT_BUG_REPORT: prefix + "bugreport-submitted",
+      DATASTORE_LOAD: prefix + "datastore-load",
+      DATASTORE_LOADED: prefix + "datastore-loaded",
+      PREPARE_FOR_SCREENSHOT: prefix + "prepare-for-screenshot",
+      READY_FOR_SCREENSHOT: prefix + "ready-for-screenshot",
+      SCREENSHOT_COMPLETE: prefix + "screenshot-complete",
+      SCREENSHOT_READY_FOR_DISPLAY: prefix + "screenshot-ready-for-display"
+    };
+  }
+};
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/public_managers_EventManager.js.html b/docs/public_managers_EventManager.js.html new file mode 100644 index 000000000..b7ebabb49 --- /dev/null +++ b/docs/public_managers_EventManager.js.html @@ -0,0 +1,409 @@ + + + + + + public/managers/EventManager.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

public/managers/EventManager.js

+ + + + + + + +
+
+
const { ipcMain } = require("electron"),
+  log = require("electron-log"),
+  App = require("../app/App"),
+  AppError = require("../app/AppError");
+
+/**
+ * an object class used to instantiate new event with callbacks.
+ */
+class MainEvent {
+  /**
+   *
+   * @param type the name of the event to listen on
+   * @param scope parent object that created the event
+   * @param callback the function to dispatch
+   * @param reply the reply function to dispatch
+   * @param async true to send an async message back
+   */
+  constructor(type, scope, callback, reply, async) {
+    log.info("[EventManager] new event -> " + type);
+    this.type = type;
+    this.scope = scope;
+    this.callback = callback ? callback.bind(scope) : callback;
+    this.reply = reply;
+    this.async = async;
+    this.add();
+  }
+
+  /**
+   * fires the event associated with the event's channel.
+   * @param arg
+   * @returns {Array}
+   */
+  dispatch(arg) {
+    return EventManager.dispatch(this.type, arg);
+  }
+
+  /**
+   * link stuff with EventManager, and init
+   */
+  add() {
+    global.App.EventManager.initSender(this);
+    global.App.EventManager.initReturnValues(this);
+    global.App.EventManager.register(this);
+  }
+
+  /**
+   * removes the event from the hive
+   */
+  remove() {
+    EventManager.unregister(this);
+  }
+
+  /**
+   * removes and clears the object from memory. warning, not reversible
+   */
+  destroy() {
+    EventManager.destroy(this);
+  }
+}
+
+/**
+ * Exception class to throw errors in echo events
+ */
+class EventEchoException extends AppError {
+  constructor(event, ...args) {
+    super(...args);
+    this.name = "EventEchoException";
+    this.event = event;
+  }
+}
+
+/**
+ * Exception class to throw errors in Callback functions
+ */
+class EventCallbackException extends AppError {
+  constructor(event, ...args) {
+    super(...args);
+    this.name = "EventCallbackException";
+    this.event = event;
+  }
+}
+
+/**
+ * Error class to throw errors in Reply functions
+ */
+class EventReplyException extends AppError {
+  constructor(event, ...args) {
+    super(...args);
+    this.name = "EventReplyException";
+    this.event = event;
+  }
+}
+
+////
+/**
+ * This class is used to managed the ipc events within the main process. the helper
+ * class in ./src/EventManagerHelp is used to help look up event names in the render
+ * process that are defined here. When creating new events make sure to update
+ * both classes
+ */
+class EventManager {
+  constructor() {
+    log.info("[EventManager] created -> okay");
+    this.events = [];
+    this.initSonar();
+  }
+
+  /**
+   * Static array containing all of our events the app uses
+   * @returns {*}
+   * @constructor
+   */
+  static get Events() {
+    return this.events;
+  }
+
+  /**
+   * creates new sender object that can dispatch the event in a feedback loop. Useful for calling circular events within a state machine.
+   * @param event
+   */
+  initSender(event) {
+    event.sender = {
+      send: function(_eventType, _arg) {
+        global.App.EventManager.dispatch(_eventType, _arg);
+      }
+    };
+  }
+
+  /**
+   * creates returnValues object with null values. called when dispatching a new event channel
+   * @param event
+   */
+  initReturnValues(event) {
+    event.returnValues = {
+      callback: null,
+      reply: null
+    };
+  }
+
+  /**
+   * initializes event sonar, which will reflect any echo event sent by main or renderer processes. usually for renderer
+   */
+  initSonar() {
+    log.info("[EventManager] â””> setup event sonar");
+    ipcMain.on("echo-event", (_event, _arg) => {
+      if (!_arg.type) {
+        throw new EventEchoException(
+          "Unknown",
+          new Error("Event type is not specified in arg")
+        );
+      }
+      if (!_arg.arg) {
+        throw new EventEchoException(
+          "Unknown",
+          new Error("Event arg is missing in arg")
+        );
+      }
+      log.info("[EventManager] sonar echo -> " + _arg.type + " : " + _arg.arg);
+      EventManager.dispatch(_arg.type, _arg.arg);
+    });
+  }
+
+  /**
+   * adds new event into a global array to manage. There can exist multiple
+   * events of the same name, and even same functions. They are referenced
+   * with variable pointers. The event should be store as a variable in the
+   * scope class
+   * @param event the scope of this event callback
+   */
+  register(event) {
+    event = this.createListener(event);
+    ipcMain.on(event.type, event.listener);
+    this.events.push(event);
+  }
+
+  /**
+   * creates the listener for renderer events, passes event and args. Any
+   * exception is caught, logged, and returned
+   * @param event
+   * @returns {*}
+   */
+  createListener(event) {
+    event.listener = (_event, _arg) => {
+      log.info(
+        "[EventManager] |> renderer event -> " + event.type + " : " + _arg
+      );
+      try {
+        let value = global.App.EventManager.executeCallback(event, _arg);
+        _event.returnValue = value;
+        if (event.async) {
+          log.info(
+            "[EventManager] |> reply event -> " + event.type + " : " + value
+          );
+          _event.sender.send(event.type + "-reply", value);
+        }
+      } catch (e) {
+        log.error(
+          "[EventManager] â””> " + e.toString() + "\n\n" + e.stack + "\n"
+        );
+        _event.returnValue = e;
+      }
+    };
+    return event;
+  }
+
+  /**
+   *   removes an event from the global events registry. The event much match the pointer
+   *   to it. not by the name. Returns the event that was removed.
+   */
+  static unregister(event) {
+    let manager = global.App.EventManager,
+      events = manager.events,
+      index = events.indexOf(event);
+    log.info(
+      "[EventManager] unregister event -> " + event.type + " @ [" + index + "]"
+    );
+    events.splice(index, 1);
+    ipcMain.removeListener(event.type, event.listener);
+    return event;
+  }
+
+  /**
+   * removes the listeners and returns an empty object
+   * @param event
+   * @returns {null}
+   */
+  static destroy(event) {
+    log.info("[EventManager] destroy event -> " + event.type);
+    let manager = global.App.EventManager;
+    manager.unregister(event);
+    for (let property in event) {
+      delete event[property];
+    }
+    return null;
+  }
+
+  /**
+   * called by the dispatch function of the Manager
+   * @param event
+   * @param arg
+   * @returns {*}
+   */
+  executeCallback(event, arg) {
+    try {
+      if (event.callback) {
+        return event.callback(event, arg);
+      }
+    } catch (e) {
+      throw new EventCallbackException(event.type, e);
+    }
+  }
+
+  /**
+   * called automatically if a reply function is specified
+   * @param event
+   * @param arg
+   * @returns {*}
+   */
+  executeReply(event, arg) {
+    try {
+      return event.reply(event, arg);
+    } catch (e) {
+      throw new EventReplyException(event.type, e);
+    }
+  }
+
+  /**
+   * called to execute the event callback within main process threads
+   * @param eventType
+   * @param arg
+   * @returns {Array}
+   */
+  static dispatch(eventType, arg) {
+    let windows = global.App.WindowManager.windows,
+      manager = global.App.EventManager,
+      returnedEvents = [];
+    for (var j = 0; j < windows.length; j++) {
+      windows[j].window.webContents.send(eventType, arg);
+    }
+    log.info(
+      "[EventManager] |> dispatched {" +
+        windows.length +
+        "} window events -> " +
+        eventType
+    );
+    for (var i = 0; i < manager.events.length; i++) {
+      if (manager.events[i].type === eventType) {
+        returnedEvents.push(manager.handleEvent(manager.events[i], arg));
+      }
+    }
+    if (returnedEvents.length === 0) {
+      log.info("[EventManager] â””> no events found -> " + eventType);
+      return [];
+    }
+    log.info(
+      "[EventManager] â””> handled {" +
+        returnedEvents.length +
+        "} events -> " +
+        eventType
+    );
+    return returnedEvents;
+  }
+
+  /**
+   * handles the event dispatching by envoking the callback and reply functions
+   * @param event
+   * @param arg
+   * @returns {*}
+   */
+  handleEvent(event, arg) {
+    this.initReturnValues(event);
+    try {
+      event.returnValues.callback = this.executeCallback(event, arg);
+      if (event.reply) {
+        event.returnValues.reply = this.executeReply(event, arg);
+      }
+    } catch (error) {
+      if (error instanceof EventCallbackException) {
+        event.returnValues.callback = error;
+      } else if (error instanceof EventReplyException) {
+        event.returnValues.reply = error;
+      }
+      log.error(
+        "[EventManager] â””> { " +
+          error.event +
+          " } -> " +
+          error.toString() +
+          "\n\n" +
+          error.stack +
+          "\n"
+      );
+      App.handleError(error, false);
+    } finally {
+      return event;
+    }
+  }
+}
+
+/**
+ * class exports for browserify
+ * @type {{EventCallbackException: *, EventManager: *, EventEchoException: *, MainEvent: *, EventReplyException: *}}
+ */
+module.exports = {
+  EventManager,
+  MainEvent,
+  EventEchoException,
+  EventCallbackException,
+  EventReplyException
+};
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/src_models_ActiveCircleModel.js.html b/docs/src_models_ActiveCircleModel.js.html index 255b3f5bc..da78fbe5d 100644 --- a/docs/src_models_ActiveCircleModel.js.html +++ b/docs/src_models_ActiveCircleModel.js.html @@ -24,7 +24,7 @@
@@ -44,7 +44,7 @@

src/models/ActiveCircleModel.js

import { AltMemberCircleExtension } from "./AltMemberCircleExtension"; const { remote } = window.require("electron"), CircleDto = remote.require("./dto/CircleDto"), - CircleKeysDto = remote.require("./dto/CircleKeysDto"), + // CircleKeysDto = remote.require("./dto/CircleKeysDto"), FeedMessageDto = remote.require("./dto/FeedMessageDto"); export class ActiveCircleModel extends DataModel { @@ -544,7 +544,7 @@

src/models/ActiveCircleModel.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_AltMemberCircleExtension.js.html b/docs/src_models_AltMemberCircleExtension.js.html index b57aee96b..d15f9c976 100644 --- a/docs/src_models_AltMemberCircleExtension.js.html +++ b/docs/src_models_AltMemberCircleExtension.js.html @@ -24,7 +24,7 @@
@@ -42,7 +42,7 @@

src/models/AltMemberCircleExtension.js

import { DataModel } from "./DataModel";
 import { ActiveCircleModel } from "./ActiveCircleModel";
 const { remote } = window.require("electron"),
-  CircleKeysDto = remote.require("./dto/CircleKeysDto"),
+  // CircleKeysDto = remote.require("./dto/CircleKeysDto"),
   FeedMessageDto = remote.require("./dto/FeedMessageDto");
 
 export class AltMemberCircleExtension extends DataModel {
@@ -209,7 +209,7 @@ 

src/models/AltMemberCircleExtension.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_AltMemberJournalExtension.js.html b/docs/src_models_AltMemberJournalExtension.js.html index f27311961..11f27c70b 100644 --- a/docs/src_models_AltMemberJournalExtension.js.html +++ b/docs/src_models_AltMemberJournalExtension.js.html @@ -24,7 +24,7 @@
@@ -240,7 +240,7 @@

src/models/AltMemberJournalExtension.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_AltMemberSpiritExtension.js.html b/docs/src_models_AltMemberSpiritExtension.js.html index 9ae54dd49..2bfc3da97 100644 --- a/docs/src_models_AltMemberSpiritExtension.js.html +++ b/docs/src_models_AltMemberSpiritExtension.js.html @@ -24,7 +24,7 @@
@@ -155,7 +155,7 @@

src/models/AltMemberSpiritExtension.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_AltModelDelegate.js.html b/docs/src_models_AltModelDelegate.js.html index c68419364..0e70cacd9 100644 --- a/docs/src_models_AltModelDelegate.js.html +++ b/docs/src_models_AltModelDelegate.js.html @@ -24,7 +24,7 @@
@@ -148,7 +148,7 @@

src/models/AltModelDelegate.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_DataModel.js.html b/docs/src_models_DataModel.js.html index 24db6b7c9..eb8a444d8 100644 --- a/docs/src_models_DataModel.js.html +++ b/docs/src_models_DataModel.js.html @@ -24,7 +24,7 @@
@@ -202,7 +202,7 @@

src/models/DataModel.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_JournalModel.js.html b/docs/src_models_JournalModel.js.html index d55ef9030..99c88d7f7 100644 --- a/docs/src_models_JournalModel.js.html +++ b/docs/src_models_JournalModel.js.html @@ -24,7 +24,7 @@
@@ -70,6 +70,9 @@

src/models/JournalModel.js

this.isAltMemberSelected = false; this.altMemberId = null; + //TODO need to load this when calling setMemember() + this.altMemberName = "Zoe"; + this.altModelExtension = new AltMemberJournalExtension(this.scope); this.altModelDelegate = new AltModelDelegate(this, this.altModelExtension); @@ -538,7 +541,7 @@

src/models/JournalModel.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_ModelCoordinator.js.html b/docs/src_models_ModelCoordinator.js.html index c04f4e313..4a7786593 100644 --- a/docs/src_models_ModelCoordinator.js.html +++ b/docs/src_models_ModelCoordinator.js.html @@ -24,7 +24,7 @@
@@ -45,6 +45,7 @@

src/models/ModelCoordinator.js

import { DataModelFactory } from "../models/DataModelFactory"; import { WTFTimer } from "../models/WTFTimer"; import { ActiveViewControllerFactory } from "../perspective/ActiveViewControllerFactory"; +import { RendererEventFactory } from "../RendererEventFactory"; /** * This class is used to coordinate models across all the events @@ -90,7 +91,7 @@

src/models/ModelCoordinator.js

this.wtfTimer.setDependentModel(this.activeCircle); this.loadDefaultModels(); - this.wireTogetherModelsAfterInitialLoad(); + this.updateModels(); //TODO refactor this one out // this.onDirtySpiritFlameUpdateActiveRow(); @@ -103,19 +104,18 @@

src/models/ModelCoordinator.js

this.teamModel.refreshAll(); } - wireTogetherModelsAfterInitialLoad() { - setTimeout(() => { - this.onMyCircleUpdateMe(); - this.onActiveCircleUpdateTimer(); + updateModels() { + console.log("[ModelCoordinator] update all models"); + this.onMyCircleUpdateMe(); + this.onActiveCircleUpdateTimer(); - this.onJournalEntryUpdateMeAndXP(); - this.onJournalUpdateResetSpiritFlame(); + this.onJournalEntryUpdateMeAndXP(); + this.onJournalUpdateResetSpiritFlame(); - this.onChangeActiveRowResetSpiritFlame(); - this.onTeamMemberChangeActiveScopeForAllModels(); + this.onChangeActiveRowResetSpiritFlame(); + this.onTeamMemberChangeActiveScopeForAllModels(); - this.onWTFTimerUpdateRefreshTeamMemberTimers(); - }, 1000); + this.onWTFTimerUpdateRefreshTeamMemberTimers(); } unregisterModelWirings = () => { @@ -130,7 +130,9 @@

src/models/ModelCoordinator.js

this.name, ActiveCircleModel.CallbackEvent.ACTIVE_CIRCLE_UPDATE, () => { - console.log("ModelCoordinator Event Fired: onActiveCircleUpdateTimer"); + console.log( + "[ModelCoordinator] Event Fired: onActiveCircleUpdateTimer" + ); this.wtfTimer.resetTimer(); } ); @@ -141,7 +143,7 @@

src/models/ModelCoordinator.js

this.name, ActiveCircleModel.CallbackEvent.MY_CIRCLE_UPDATE, () => { - console.log("ModelCoordinator Event Fired: onActiveCircleUpdateMe"); + console.log("[ModelCoordinator] Event Fired: onActiveCircleUpdateMe"); this.teamModel.refreshMe(); } ); @@ -153,7 +155,7 @@

src/models/ModelCoordinator.js

JournalModel.CallbackEvent.NEW_JOURNAL_ITEM_ADDED, () => { console.log( - "ModelCoordinator Event Fired: onJournalEntryUpdateMeAndXP" + "[ModelCoordinator] Event Fired: onJournalEntryUpdateMeAndXP" ); this.teamModel.refreshMe(); @@ -168,7 +170,7 @@

src/models/ModelCoordinator.js

JournalModel.CallbackEvent.JOURNAL_HISTORY_UPDATE, () => { console.log( - "ModelCoordinator Event Fired: onJournalUpdateResetSpiritFlame" + "[ModelCoordinator] Event Fired: onJournalUpdateResetSpiritFlame" ); if (this.journalModel.getActiveScope().activeJournalItem != null) { @@ -186,7 +188,7 @@

src/models/ModelCoordinator.js

JournalModel.CallbackEvent.ACTIVE_ITEM_UPDATE, () => { console.log( - "ModelCoordinator Event Fired: onChangeActiveRowResetSpiritFlame" + "[ModelCoordinator] Event Fired: onChangeActiveRowResetSpiritFlame" ); if (this.journalModel.getActiveScope().activeJournalItem != null) { @@ -204,7 +206,7 @@

src/models/ModelCoordinator.js

TeamModel.CallbackEvent.ACTIVE_MEMBER_UPDATE, () => { console.log( - "ModelCoordinator Event Fired: onTeamMemberChangeActiveScopeForAllModels" + "[ModelCoordinator] Event Fired: onTeamMemberChangeActiveScopeForAllModels" ); this.journalModel.setMemberSelection( this.teamModel.me.id, @@ -230,7 +232,7 @@

src/models/ModelCoordinator.js

WTFTimer.CallbackEvent.WTF_TIMER_MINUTES_UPDATE, () => { console.log( - "ModelCoordinator Event Fired: onWTFTimerUpdateRefreshTeamMemberTimers" + "[ModelCoordinator] Event Fired: onWTFTimerUpdateRefreshTeamMemberTimers" ); this.teamModel.refreshMe(); } @@ -249,7 +251,7 @@

src/models/ModelCoordinator.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_SpiritModel.js.html b/docs/src_models_SpiritModel.js.html index 5c0ed0b3d..a4f4a32f6 100644 --- a/docs/src_models_SpiritModel.js.html +++ b/docs/src_models_SpiritModel.js.html @@ -24,7 +24,7 @@
@@ -348,7 +348,7 @@

src/models/SpiritModel.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_TeamModel.js.html b/docs/src_models_TeamModel.js.html index 619791c65..1738ac577 100644 --- a/docs/src_models_TeamModel.js.html +++ b/docs/src_models_TeamModel.js.html @@ -24,7 +24,7 @@
@@ -324,7 +324,7 @@

src/models/TeamModel.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_models_WTFTimer.js.html b/docs/src_models_WTFTimer.js.html index 505538a4c..45e125c13 100644 --- a/docs/src_models_WTFTimer.js.html +++ b/docs/src_models_WTFTimer.js.html @@ -24,7 +24,7 @@
@@ -204,7 +204,7 @@

src/models/WTFTimer.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_perspective_PerspectiveController.js.html b/docs/src_perspective_PerspectiveController.js.html index 677ac7a49..d3f23068d 100644 --- a/docs/src_perspective_PerspectiveController.js.html +++ b/docs/src_perspective_PerspectiveController.js.html @@ -24,7 +24,7 @@
@@ -117,13 +117,32 @@

src/perspective/PerspectiveController.js

} } - onConsoleOpenUpdateModels() { - console.log(this.name + " - Event Fired: onConsoleOpenUpdateModels"); - if (!this.consoleController.consoleIsCollapsed) { + /** + * dynamically loads the model data when the console is open. uses the event int arg + * 1 is shown, 0 is hiden.. see CONSOLE_WINDOW_SHOW_HIDE event. the value represents + * the state of this window; not action + * @param event + * @param arg + */ + onConsoleOpenUpdateModels(event, arg) { + console.log( + this.name + + " - Event Fired: onConsoleOpenUpdateModels -> " + + event + + " : " + + arg.toString() + ); + + if (arg === 1) { + //shown if (this.spiritModel.hasLinks()) { this.journalModel.loadDefaultJournal(); } } else { + /// TODO create an event console shown which will call this + // this is required so that the console sliding animation isn't wonky or laggy + // maybe create a console is shown (done animating) event to fire these.. + // this would also throttle requests if thw console is opened and closed rapidly setTimeout(() => { this.teamModel.resetActiveMemberToMe(); this.teamModel.refreshAll(); @@ -143,7 +162,7 @@

src/perspective/PerspectiveController.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/docs/src_views_ActivatorView.js.html b/docs/src_views_ActivatorView.js.html index 779f4d1f5..e374b7355 100644 --- a/docs/src_views_ActivatorView.js.html +++ b/docs/src_views_ActivatorView.js.html @@ -24,7 +24,7 @@
@@ -546,7 +546,7 @@

src/views/ActivatorView.js


- Generated by JSDoc 3.5.5 on Sun Sep 22 2019 22:53:26 GMT-0700 (Pacific Daylight Time) using the Minami theme. + Generated by JSDoc 3.6.3 on Wed Dec 11 2019 00:58:04 GMT-0600 (Central Standard Time) using the Minami theme.
diff --git a/package.json b/package.json index 31d898bb2..13fdd82d9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "torchie-desktop", "productName": "Torchie", "description": "Torchie desktop application and cli utility", - "version": "0.2.0", + "version": "0.3.0", "private": true, "author": { "name": "DreamScale.io", @@ -38,8 +38,8 @@ "postbundle": "gulp clean", "prerelease": "yarn bundle", "prerelease:publish": "yarn bundle", - "release": "build --em.main=build/io.dreamscale.torchie.dat --publish=never", - "release:publish": "build --em.main=build/io.dreamscale.torchie.dat --publish=always", + "release": "electron-builder -c.extraMetadata.main=build/io.dreamscale.torchie.dat --publish=never", + "release:publish": "electron-builder -c.extraMetadata.main=build/io.dreamscale.torchie.dat --publish=always", "prerelease:build:update": "yarn prerelease", "release:build:update": "gulp releaseBuildUpdate", "release:build:update:run": "gulp releaseBuildUpdate && npm run dev" @@ -61,7 +61,7 @@ "electron-platform": "^1.2.0", "electron-root-path": "^1.0.9", "electron-settings": "^3.1.4", - "electron-updater": "^2.18.2", + "electron-updater": "^4.2.0", "formsy-react": "^1.1.5", "formsy-semantic-ui-react": "^0.3.3", "hypercore": "^6.25.2", @@ -87,7 +87,7 @@ "cross-env": "^5.0.1", "devtron": "^1.4.0", "electron": "^1.6.10", - "electron-builder": "^19.47.1", + "electron-builder": "^21.2.0", "electron-mocha": "^8.1.2", "express": "^4.16.2", "fs-extra": "^4.0.2", diff --git a/public/app/App.js b/public/app/App.js index 049f66767..e7865a1c7 100644 --- a/public/app/App.js +++ b/public/app/App.js @@ -1,12 +1,11 @@ const GLOBAL_ = global, - { app, dialog } = require("electron"), + { app } = require("electron"), fs = require("fs"), path = require("path"), log = require("electron-log"), isDev = require("electron-is-dev"), rootPath = require("electron-root-path").rootPath, platform = require("electron-platform"), - cleanStack = require("clean-stack"), argv = require("yargs").argv, Logger = require("./AppLogger"), AppError = require("./AppError"), @@ -76,6 +75,7 @@ module.exports = class App { GLOBAL_.App.isOnline = false; GLOBAL_.App.isLoggedIn = false; app.setName(GLOBAL_.App.name); + log.info("[App] ready -> " + GLOBAL_.App.name + " : " + GLOBAL_.App.api); log.info("[App] ready -> rt-flow : " + GLOBAL_.App.rtFlowUrl); log.info("[App] ready -> render3D : " + GLOBAL_.App.render3D); diff --git a/public/controllers/AppController.js b/public/controllers/AppController.js index 0ad562757..41e54b72e 100644 --- a/public/controllers/AppController.js +++ b/public/controllers/AppController.js @@ -3,23 +3,34 @@ const AppError = require("../app/AppError"), /** * This class is used to coordinate controllers across the app classes + * @type {AppController} */ module.exports = class AppController extends BaseController { + /** + * + * @param scope - this is the wrapping scope to execute callbacks within + */ constructor(scope) { super(scope, AppController); } - /// links associated controller classes here + /** + * links associated controller classes here + */ static wireControllersTogether() { BaseController.wireControllersTo(AppController.instance); } - /// configures application wide events here + /** + * configures application wide events here + */ static configureEvents() { BaseController.configureEventsFor(AppController.instance); - process.on("uncaughtException", error => AppError.handleError(error, true)); - process.on("unhandledRejection", error => - AppError.handleError(error, true) - ); + process.on("uncaughtException", error => { + AppError.handleError(error, true); + }); + process.on("unhandledRejection", error => { + AppError.handleError(error, true); + }); } }; diff --git a/public/managers/EventManager.js b/public/managers/EventManager.js index 96d23b678..86b126de1 100644 --- a/public/managers/EventManager.js +++ b/public/managers/EventManager.js @@ -28,7 +28,7 @@ class MainEvent { /** * fires the event associated with the event's channel. * @param arg - * @returns {[]|[]} + * @returns {Array} */ dispatch(arg) { return EventManager.dispatch(this.type, arg); @@ -268,7 +268,7 @@ class EventManager { * called to execute the event callback within main process threads * @param eventType * @param arg - * @returns {[]|Array} + * @returns {Array} */ static dispatch(eventType, arg) { let windows = global.App.WindowManager.windows, diff --git a/yarn.lock b/yarn.lock index a88009e81..e5aee4f9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,23 +2,31 @@ # yarn lockfile v1 -"7zip-bin@~3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/7zip-bin/-/7zip-bin-3.0.0.tgz#17416dc542f41511b26a9667b92847d75ef150fe" - integrity sha512-CYsciSeLZvl+hlJiDBBEh987fyqvFFFJG3nZi8QbNYgmgxNOzf+kyYuAYIR48CTc/X6SX5d5KtTgvkUlj9jLQA== +"7zip-bin@~5.0.3": + version "5.0.3" + resolved "https://registry.yarnpkg.com/7zip-bin/-/7zip-bin-5.0.3.tgz#bc5b5532ecafd923a61f2fb097e3b108c0106a3f" + integrity sha512-GLyWIFBbGvpKPGo55JyRZAo4lVbnBiD52cKlw/0Vt+wnmKvWJkpZvsjVoaIolyBXDeAQKSicRtqFNPem9w0WYA== "@babel/parser@^7.4.4": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.4.tgz#75ab2d7110c2cf2fa949959afb05fa346d2231bb" - integrity sha512-jIwvLO0zCL+O/LmEJQjWA75MQTWwx3c3u2JOTDK5D3/9egrWRRA0/0hk9XXywYnXZVVpzrBYeIQTmhwUaePI9g== + version "7.7.5" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.5.tgz#cbf45321619ac12d83363fcf9c94bb67fa646d71" + integrity sha512-KNlOe9+/nk4i29g0VXgl8PEXIRms5xKLJeuZ6UptN0fHv+jDiriG+y94X6qAgWTR0h3KaoM1wK5G5h7MHFRSig== "@babel/runtime@^7.1.2": - version "7.7.4" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.4.tgz#b23a856751e4bf099262f867767889c0e3fe175b" - integrity sha512-r24eVUUr0QqNZa+qrImUk8fn5SPhHq+IfYvIoIMg0do3GdK9sMdiLKP3GYVVaxpPKORgm8KRKaNTEhAjgIpLMw== + version "7.7.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.6.tgz#d18c511121aff1b4f2cd1d452f1bac9601dd830f" + integrity sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw== dependencies: regenerator-runtime "^0.13.2" +"@develar/schema-utils@~2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@develar/schema-utils/-/schema-utils-2.1.0.tgz#eceb1695bfbed6f6bb84666d5d3abe5e1fd54e17" + integrity sha512-qjCqB4ctMig9Gz5bd6lkdFr3bO6arOdQqptdBSpF1ZpCnjofieCciEzkoS9ujY9cMGyllYSCSmBJ3x9OKHXzoA== + dependencies: + ajv "^6.1.0" + ajv-keywords "^3.1.0" + "@gulp-sourcemaps/identity-map@1.X": version "1.0.2" resolved "https://registry.yarnpkg.com/@gulp-sourcemaps/identity-map/-/identity-map-1.0.2.tgz#1e6fe5d8027b1f285dc0d31762f566bccd73d5a9" @@ -51,6 +59,11 @@ exenv "^1.2.2" prop-types "^15.6.2" +"@sindresorhus/is@^0.14.0": + version "0.14.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" + integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== + "@slack/client@^3.14.0": version "3.16.0" resolved "https://registry.yarnpkg.com/@slack/client/-/client-3.16.0.tgz#a9963a6a24d41e74dc0f7ff09d9f1b2a01b97bfd" @@ -69,6 +82,18 @@ winston "^2.1.1" ws "^1.0.1" +"@szmarczak/http-timer@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" + integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== + dependencies: + defer-to-connect "^1.0.1" + +"@types/debug@^4.1.4": + version "4.1.5" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.5.tgz#b14efa8852b7768d898906613c23f688713e02cd" + integrity sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ== + "@types/node@^8.0.24", "@types/node@^8.0.9": version "8.10.59" resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.59.tgz#9e34261f30183f9777017a13d185dfac6b899e04" @@ -85,13 +110,18 @@ integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== "@types/react@^16.0.9": - version "16.9.13" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.13.tgz#b3ea5dd443f4a680599e2abba8cc66f5e1ce0059" - integrity sha512-LikzRslbiufJYHyzbHSW0GrAiff8QYLMBFeZmSxzCYGXKxi8m/1PHX+rsVOwhr7mJNq+VIu2Dhf7U6mjFERK6w== + version "16.9.16" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.16.tgz#4f12515707148b1f53a8eaa4341dae5dfefb066d" + integrity sha512-dQ3wlehuBbYlfvRXfF5G+5TbZF3xqgkikK7DWAsQXe2KnzV+kjD4W2ea+ThCrKASZn9h98bjjPzoTYzfRqyBkw== dependencies: "@types/prop-types" "*" csstype "^2.2.0" +"@types/semver@^6.0.2": + version "6.2.0" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.0.tgz#d688d574400d96c5b0114968705366f431831e1a" + integrity sha512-1OzrNb4RuAzIT7wHSsgZRlMBlNsJl+do6UblR7JMW4oB7bbR+uBEYtUh7gEc/jM84GGilh68lSOokyM/zNUlBA== + JSONStream@^1.0.3: version "1.3.5" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" @@ -201,17 +231,17 @@ agent-base@2: extend "~3.0.0" semver "~5.0.1" -ajv-keywords@^2.0.0, ajv-keywords@^2.1.0: +ajv-keywords@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" integrity sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I= -ajv-keywords@^3.0.0: +ajv-keywords@^3.0.0, ajv-keywords@^3.1.0: version "3.4.1" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da" integrity sha512-RO1ibKvd27e6FEShVFfPALuHI3WjSVNeK5FIsmme/LYRNxjKuNj+Dt7bucLa6NdSv3JcVTyMlm9kGR84z1XpaQ== -ajv@^5.0.0, ajv@^5.1.5, ajv@^5.2.0, ajv@^5.5.0: +ajv@^5.0.0, ajv@^5.1.5, ajv@^5.2.0: version "5.5.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" integrity sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU= @@ -221,7 +251,7 @@ ajv@^5.0.0, ajv@^5.1.5, ajv@^5.2.0, ajv@^5.5.0: fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.3.0" -ajv@^6.0.1, ajv@^6.5.5: +ajv@^6.0.1, ajv@^6.1.0, ajv@^6.5.5: version "6.10.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== @@ -252,6 +282,13 @@ ansi-align@^2.0.0: dependencies: string-width "^2.0.0" +ansi-align@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb" + integrity sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw== + dependencies: + string-width "^3.0.0" + ansi-colors@3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813" @@ -363,6 +400,39 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" +app-builder-bin@3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-3.4.3.tgz#58a74193eb882f029be6b7f0cd3f0c6805927a6b" + integrity sha512-qMhayIwi3juerQEVJMQ76trObEbfQT0nhUdxZz9a26/3NLT3pE6awmQ8S1cEnrGugaaM5gYqR8OElcDezfmEsg== + +app-builder-lib@21.2.0, app-builder-lib@~21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/app-builder-lib/-/app-builder-lib-21.2.0.tgz#fa1d1604601431e2c3476857e9b9b61d33ad26cc" + integrity sha512-aOX/nv77/Bti6NymJDg7p9T067xD8m1ipIEJR7B4Mm1GsJWpMm9PZdXtCRiMNRjHtQS5KIljT0g17781y6qn5A== + dependencies: + "7zip-bin" "~5.0.3" + "@develar/schema-utils" "~2.1.0" + async-exit-hook "^2.0.1" + bluebird-lst "^1.0.9" + builder-util "21.2.0" + builder-util-runtime "8.3.0" + chromium-pickle-js "^0.2.0" + debug "^4.1.1" + ejs "^2.6.2" + electron-publish "21.2.0" + fs-extra "^8.1.0" + hosted-git-info "^2.7.1" + is-ci "^2.0.0" + isbinaryfile "^4.0.2" + js-yaml "^3.13.1" + lazy-val "^1.0.4" + minimatch "^3.0.4" + normalize-package-data "^2.5.0" + read-config-file "5.0.0" + sanitize-filename "^1.6.2" + semver "^6.3.0" + temp-file "^3.3.4" + append-transform@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" @@ -543,14 +613,6 @@ asap@~2.0.3: resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= -asar-integrity@0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/asar-integrity/-/asar-integrity-0.2.4.tgz#b7867c9720e08c461d12bc42f005c239af701733" - integrity sha512-6UDOmyl4RUo8i/0Sem/UKFJ70XZrXLCDQcILTbjTjAKZrSA3JbXVnWRFi2ZFEbeZxQ2LVCc3CWHnDlqj2AyVXg== - dependencies: - bluebird-lst "^1.0.5" - fs-extra-p "^4.5.0" - asar@^0.14.0: version "0.14.6" resolved "https://registry.yarnpkg.com/asar/-/asar-0.14.6.tgz#0e56ff7fad97470845391c3a2b8690b7cabef6d8" @@ -696,9 +758,9 @@ aws-sign2@~0.7.0: integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= aws4@^1.2.1, aws4@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" - integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== + version "1.9.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.0.tgz#24390e6ad61386b0a747265754d2a17219de862c" + integrity sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A== axobject-query@^0.1.0: version "0.1.0" @@ -1478,11 +1540,6 @@ base64-arraybuffer@0.1.5: resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8" integrity sha1-c5JncZI7Whl0etZmqlzUv5xunOg= -base64-js@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" - integrity sha1-o5mS1yNYSBGYK+XikLtqU9hnAPE= - base64-js@^1.0.2: version "1.3.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" @@ -1614,17 +1671,17 @@ blob@0.0.5: resolved "https://registry.yarnpkg.com/blob/-/blob-0.0.5.tgz#d680eeef25f8cd91ad533f5b01eed48e64caf683" integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig== -bluebird-lst@^1.0.5: +bluebird-lst@^1.0.9: version "1.0.9" resolved "https://registry.yarnpkg.com/bluebird-lst/-/bluebird-lst-1.0.9.tgz#a64a0e4365658b9ab5fe875eb9dfb694189bb41c" integrity sha512-7B1Rtx82hjnSD4PGLAjVWeYH3tHAcVUmChh85a3lltKQm6FresXh9ErQo6oAv6CqxttczC3/kEg8SY5NluPuUw== dependencies: bluebird "^3.5.5" -bluebird@^3.3.3, bluebird@^3.4.7, bluebird@^3.5.0, bluebird@^3.5.4, bluebird@^3.5.5: - version "3.7.1" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.1.tgz#df70e302b471d7473489acf26a93d63b53f874de" - integrity sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg== +bluebird@^3.3.3, bluebird@^3.4.7, bluebird@^3.5.4, bluebird@^3.5.5: + version "3.7.2" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" + integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" @@ -1684,6 +1741,20 @@ boxen@^1.2.1: term-size "^1.2.0" widest-line "^2.0.0" +boxen@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb" + integrity sha512-cU4J/+NodM3IHdSL2yN8bqYqnmlBTidDR4RC7nJs61ZmtGz8VZzM3HLQX0zY5mrSmPtR3xWwsq2jOUQqFZN8+A== + dependencies: + ansi-align "^3.0.0" + camelcase "^5.3.1" + chalk "^2.4.2" + cli-boxes "^2.2.0" + string-width "^3.0.0" + term-size "^1.2.0" + type-fest "^0.3.0" + widest-line "^2.0.0" + brace-expansion@^1.0.0, brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -1881,7 +1952,7 @@ bser@1.0.2: dependencies: node-int64 "^0.4.0" -bser@^2.0.0: +bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== @@ -1948,67 +2019,40 @@ buffers@~0.1.1: resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" integrity sha1-skV5w77U1tOWru5tmorn9Ugqt7s= -builder-util-runtime@4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-4.0.4.tgz#c92c352097006a07f3324ea200fa815440cba198" - integrity sha512-WyTMyWXX7zahY0MyR8Fh8SRxH//ugUaBgsgrCT/orwTv5ud4s0htLlucNiQdDTiWdHyQFqAigTfqILED4bAXUA== +builder-util-runtime@8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.3.0.tgz#f5fac9139af6facf42a21fbe4d3aebed88fda33e" + integrity sha512-CSOdsYqf4RXIHh1HANPbrZHlZ9JQJXSuDDloblZPcWQVN62inyYoTQuSmY3KrgefME2Sv3Kn2MxHvbGQHRf8Iw== dependencies: - bluebird-lst "^1.0.5" - debug "^3.1.0" - fs-extra-p "^4.5.0" + debug "^4.1.1" sax "^1.2.4" -builder-util-runtime@^4.0.4, builder-util-runtime@^4.0.5, builder-util-runtime@~4.4.0: - version "4.4.1" - resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-4.4.1.tgz#2770d03241e51fde46acacc7ed3ed8a9f45f02cb" - integrity sha512-8L2pbL6D3VdI1f8OMknlZJpw0c7KK15BRz3cY77AOUElc4XlCv2UhVV01jJM7+6Lx7henaQh80ALULp64eFYAQ== +builder-util-runtime@8.4.0: + version "8.4.0" + resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-8.4.0.tgz#3163fffc078e6b8f3dd5b6eb12a8345573590682" + integrity sha512-CJB/eKfPf2vHrkmirF5eicVnbDCkMBbwd5tRYlTlgud16zFeqD7QmrVUAOEXdnsrcNkiLg9dbuUsQKtl/AwsYQ== dependencies: - bluebird-lst "^1.0.5" - debug "^3.1.0" - fs-extra-p "^4.6.1" + debug "^4.1.1" sax "^1.2.4" -builder-util@4.2.4: - version "4.2.4" - resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-4.2.4.tgz#ab0b460e6d62d8f24ecfe9435d9335851be3ea1a" - integrity sha512-4MOB8Lfox9Exxmz0DDClTWRrtxYUy8/U6JbyAph1Y4Ha8DUQKKPYqEeobNEz0ZiwbNBli08HtyjjhN+RI/JF1w== +builder-util@21.2.0, builder-util@~21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-21.2.0.tgz#aba721190e4e841009d9fb4b88f1130ed616522f" + integrity sha512-Nd6CUb6YgDY8EXAXEIegx+1kzKqyFQ5ZM5BoYkeunAlwz/zDJoH1UCyULjoS5wQe5czNClFQy07zz2bzYD0Z4A== dependencies: - "7zip-bin" "~3.0.0" - bluebird-lst "^1.0.5" - builder-util-runtime "^4.0.4" - chalk "^2.3.0" - debug "^3.1.0" - fs-extra-p "^4.5.0" - ini "^1.3.5" - is-ci "^1.1.0" - js-yaml "^3.10.0" - lazy-val "^1.0.3" - semver "^5.5.0" - source-map-support "^0.5.3" - stat-mode "^0.2.2" - temp-file "^3.1.1" - tunnel-agent "^0.6.0" - -builder-util@^4.2.2: - version "4.2.5" - resolved "https://registry.yarnpkg.com/builder-util/-/builder-util-4.2.5.tgz#babc190e2f2c3681497632b5cc274f1543aa9264" - integrity sha512-zc3mm9ThI0WP3ghHBtrWDTiV+YiuePCFey1ncbZT0HTB6kckrUG6I6dj2tuE+hzQQAuUZh53CTMmo3V+XMxPoA== - dependencies: - "7zip-bin" "~3.0.0" - bluebird-lst "^1.0.5" - builder-util-runtime "^4.0.5" - chalk "^2.3.0" - debug "^3.1.0" - fs-extra-p "^4.5.0" - ini "^1.3.5" - is-ci "^1.1.0" - js-yaml "^3.10.0" - lazy-val "^1.0.3" - semver "^5.5.0" - source-map-support "^0.5.3" - stat-mode "^0.2.2" - temp-file "^3.1.1" - tunnel-agent "^0.6.0" + "7zip-bin" "~5.0.3" + "@types/debug" "^4.1.4" + app-builder-bin "3.4.3" + bluebird-lst "^1.0.9" + builder-util-runtime "8.3.0" + chalk "^2.4.2" + debug "^4.1.1" + fs-extra "^8.1.0" + is-ci "^2.0.0" + js-yaml "^3.13.1" + source-map-support "^0.5.13" + stat-mode "^0.3.0" + temp-file "^3.3.4" builtin-modules@^1.0.0, builtin-modules@^1.1.1: version "1.1.1" @@ -2054,6 +2098,19 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" +cacheable-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" + integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== + dependencies: + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^3.0.0" + lowercase-keys "^2.0.0" + normalize-url "^4.1.0" + responselike "^1.0.2" + cached-path-relative@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/cached-path-relative/-/cached-path-relative-1.0.2.tgz#a13df4196d26776220cc3356eb147a52dba2c6db" @@ -2117,7 +2174,7 @@ camelcase@^4.0.0, camelcase@^4.1.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= -camelcase@^5.0.0: +camelcase@^5.0.0, camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== @@ -2133,14 +2190,14 @@ caniuse-api@^1.5.2: lodash.uniq "^4.5.0" caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30001011" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001011.tgz#9484740deea21571019feb8da149463f1b873432" - integrity sha512-SLxt1AxlktFkVaIdrwFumUvlzuLMBxylefDMuwa8BSYM7bvkZIzpoE2TmxZ0wH1v8d80RYJ357kZRFeWo7+pog== + version "1.0.30001015" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001015.tgz#9f1b4fa158c747dcc04b15f9c5359ddcf0390d90" + integrity sha512-+Fqdu7tOxSD0HDs922QPxseHlwnUzdjLC1Oq32HZ1/LWrMfYNt8JaUWnoiIAR+G4fRzM3tdgc4Lrqo5Nx76UsQ== caniuse-lite@^1.0.30000748, caniuse-lite@^1.0.30000792: - version "1.0.30001011" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001011.tgz#0d6c4549c78c4a800bb043a83ca0cbe0aee6c6e1" - integrity sha512-h+Eqyn/YA6o6ZTqpS86PyRmNWOs1r54EBDcd2NTwwfsXQ8re1B38SnB+p2RKF8OUsyEIjeDU8XGec1RGO/wYCg== + version "1.0.30001015" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001015.tgz#15a7ddf66aba786a71d99626bc8f2b91c6f0f5f0" + integrity sha512-/xL2AbW/XWHNu1gnIrO8UitBGoFthcsDgU9VLK1/dpsoxbaD5LscHozKze05R6WLsBvLhqv78dAPozMFQBYLbQ== capture-stack-trace@^1.0.0: version "1.0.1" @@ -2218,7 +2275,7 @@ chalk@^0.5.0: strip-ansi "^0.3.0" supports-color "^0.2.0" -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2293,6 +2350,11 @@ ci-info@^1.5.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== +ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -2352,6 +2414,11 @@ cli-boxes@^1.0.0: resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= +cli-boxes@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" + integrity sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w== + cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -2408,6 +2475,13 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" +clone-response@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" + integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= + dependencies: + mimic-response "^1.0.0" + clone-stats@^0.0.1, clone-stats@~0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1" @@ -2465,11 +2539,6 @@ color-convert@^1.3.0, color-convert@^1.9.0: dependencies: color-name "1.1.3" -color-convert@~0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-0.5.3.tgz#bdb6c69ce660fadffe0b0007cc447e1b9f7282bd" - integrity sha1-vbbGnOZg+t/+CwAHzER+G59ygr0= - color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" @@ -2567,11 +2636,6 @@ commondir@^1.0.1: resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= -compare-version@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/compare-version/-/compare-version-0.1.2.tgz#0162ec2d9351f5ddd59a9202cba935366a725080" - integrity sha1-AWLsLZNR9d3VmpICy6k1NmpyUIA= - component-bind@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" @@ -2663,6 +2727,18 @@ configstore@^3.0.0: write-file-atomic "^2.0.0" xdg-basedir "^3.0.0" +configstore@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/configstore/-/configstore-4.0.0.tgz#5933311e95d3687efb592c528b922d9262d227e7" + integrity sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ== + dependencies: + dot-prop "^4.1.0" + graceful-fs "^4.1.2" + make-dir "^1.0.0" + unique-string "^1.0.0" + write-file-atomic "^2.0.0" + xdg-basedir "^3.0.0" + connect-history-api-fallback@^1.3.0: version "1.6.0" resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" @@ -2755,9 +2831,9 @@ core-js@^1.0.0: integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY= core-js@^2.4.0, core-js@^2.4.1, core-js@^2.5.0: - version "2.6.10" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.10.tgz#8a5b8391f8cc7013da703411ce5b585706300d7f" - integrity sha512-I39t74+4t+zau64EN1fE5v2W31Adtc/REhzWN+gWRRXg6WH5qAsZm62DHpQ1+Yhe4047T55jvzz7MUqF/dBBlA== + version "2.6.11" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" + integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -3134,6 +3210,13 @@ decode-uri-component@^0.2.0: resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= +decompress-response@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" + integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= + dependencies: + mimic-response "^1.0.0" + decompress-zip@0.3.x: version "0.3.2" resolved "https://registry.yarnpkg.com/decompress-zip/-/decompress-zip-0.3.2.tgz#f3fa2841666abce394604f4a9e8a7085c202d464" @@ -3190,6 +3273,11 @@ defaults@^1.0.0: dependencies: clone "^1.0.2" +defer-to-connect@^1.0.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.1.tgz#88ae694b93f67b81815a2c8c769aef6574ac8f2f" + integrity sha512-J7thop4u3mRTkYRQ+Vpfwy2G5Ehoy82I14+14W4YMDLKdWloI9gSzRbV30s/NckQGVJtPkWNcW4oMAUigTdqiQ== + define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -3384,17 +3472,18 @@ discovery-swarm@^5.1.1: optionalDependencies: utp-native "^1.7.2" -dmg-builder@3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-3.1.4.tgz#57c53a2b5a1e28526a837430b6ecc7110cadcf63" - integrity sha512-nobhBdmpA8XmJM13rjvhLQOMUUM9HNyZjXmvFWCZPK8A8sP2rJciQDOzvJoc2ioFehR7vfLbWHNpKgYQrSPIPw== +dmg-builder@21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/dmg-builder/-/dmg-builder-21.2.0.tgz#a9c883557cacb9abdb66c7133b30fe921c1a3ba7" + integrity sha512-9cJEclnGy7EyKFCoHDYDf54pub/t92CQapyiUxU0w9Bj2vUvfoDagP1PMiX4XD5rPp96141h9A+QN0OB4VgvQg== dependencies: - bluebird-lst "^1.0.5" - builder-util "^4.2.2" - fs-extra-p "^4.5.0" - iconv-lite "^0.4.19" - js-yaml "^3.10.0" - parse-color "^1.0.0" + app-builder-lib "~21.2.0" + bluebird-lst "^1.0.9" + builder-util "~21.2.0" + fs-extra "^8.1.0" + iconv-lite "^0.5.0" + js-yaml "^3.13.1" + sanitize-filename "^1.6.2" dns-discovery@^6.0.1: version "6.2.3" @@ -3541,16 +3630,26 @@ dot-prop@^4.1.0: dependencies: is-obj "^1.0.0" -dotenv-expand@4.2.0, dotenv-expand@^4.0.1: +dotenv-expand@4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-4.2.0.tgz#def1f1ca5d6059d24a766e587942c21106ce1275" integrity sha1-3vHxyl1gWdJKdm5YeULCEQbOEnU= -dotenv@4.0.0, dotenv@^4.0.0: +dotenv-expand@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" + integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== + +dotenv@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d" integrity sha1-hk7xN5rO1Vzm+V3r7NzhefegzR0= +dotenv@^8.0.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a" + integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw== + duplexer2@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" @@ -3588,60 +3687,29 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= -ejs@^2.5.7: +ejs@^2.6.2: version "2.7.4" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba" integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA== -electron-builder-lib@19.56.2: - version "19.56.2" - resolved "https://registry.yarnpkg.com/electron-builder-lib/-/electron-builder-lib-19.56.2.tgz#9e4ef3a1a5fa21d3fd490561261ae639bb263da3" - integrity sha512-yZ1WtRqjbnT/ENVIAxqg4yJMQ/7PnokRdcym139ZvLAxv32Lt43HDVyCRvYOZPFeWKlD69aVfQLF4prXfEyROA== +electron-builder@^21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-21.2.0.tgz#b68ec4def713fc0b8602654ce842f972432f50c5" + integrity sha512-x8EXrqFbAb2L3N22YlGar3dGh8vwptbB3ovo3OF6K7NTpcsmM2zEoJv7GhFyX73rNzSG2HaWpXwGAtOp2JWiEw== dependencies: - "7zip-bin" "~3.0.0" - asar-integrity "0.2.4" - async-exit-hook "^2.0.1" - bluebird-lst "^1.0.5" - builder-util "4.2.4" - builder-util-runtime "4.0.4" - chromium-pickle-js "^0.2.0" - debug "^3.1.0" - dmg-builder "3.1.4" - ejs "^2.5.7" - electron-osx-sign "0.4.8" - electron-publish "19.56.0" - fs-extra-p "^4.5.0" - hosted-git-info "^2.5.0" - is-ci "^1.1.0" - isbinaryfile "^3.0.2" - js-yaml "^3.10.0" - lazy-val "^1.0.3" - minimatch "^3.0.4" - normalize-package-data "^2.4.0" - plist "^2.1.0" - read-config-file "2.1.1" - sanitize-filename "^1.6.1" - semver "^5.5.0" - temp-file "^3.1.1" - -electron-builder@^19.47.1: - version "19.56.2" - resolved "https://registry.yarnpkg.com/electron-builder/-/electron-builder-19.56.2.tgz#11c0c4544c4d82f1f1a2837e7f349a67457f1d99" - integrity sha512-3t6FY4Q/TPwkuL5XKSssBD0GKudWjYfMJcDIVWOE2okBfMB3LYkRj2FWG4ZxJ1FcybXLFSswQQZVbwiYpLIYxA== - dependencies: - bluebird-lst "^1.0.5" - builder-util "4.2.4" - builder-util-runtime "4.0.4" - chalk "^2.3.0" - electron-builder-lib "19.56.2" - electron-download-tf "4.3.4" - fs-extra-p "^4.5.0" - is-ci "^1.1.0" - lazy-val "^1.0.3" - read-config-file "2.1.1" - sanitize-filename "^1.6.1" - update-notifier "^2.3.0" - yargs "^11.0.0" + app-builder-lib "21.2.0" + bluebird-lst "^1.0.9" + builder-util "21.2.0" + builder-util-runtime "8.3.0" + chalk "^2.4.2" + dmg-builder "21.2.0" + fs-extra "^8.1.0" + is-ci "^2.0.0" + lazy-val "^1.0.4" + read-config-file "5.0.0" + sanitize-filename "^1.6.2" + update-notifier "^3.0.1" + yargs "^13.3.0" electron-debug@^1.4.0: version "1.5.0" @@ -3651,21 +3719,6 @@ electron-debug@^1.4.0: electron-is-dev "^0.3.0" electron-localshortcut "^3.0.0" -electron-download-tf@4.3.4: - version "4.3.4" - resolved "https://registry.yarnpkg.com/electron-download-tf/-/electron-download-tf-4.3.4.tgz#b03740b2885aa2ad3f8784fae74df427f66d5165" - integrity sha512-SQYDGMLpTgty1bx3NycuDb7dNPzktVSdK2sqPZjyRocauq/uN/V4S2lcpFVLupaHhKlD8zozm9fTpm5UdohvTg== - dependencies: - debug "^3.0.0" - env-paths "^1.0.0" - fs-extra "^4.0.1" - minimist "^1.2.0" - nugget "^2.0.1" - path-exists "^3.0.0" - rc "^1.2.1" - semver "^5.4.1" - sumchecker "^2.0.2" - electron-download@^3.0.1: version "3.3.0" resolved "https://registry.yarnpkg.com/electron-download/-/electron-download-3.3.0.tgz#2cfd54d6966c019c4d49ad65fbe65cc9cdef68c8" @@ -3691,6 +3744,11 @@ electron-is-dev@^0.3.0: resolved "https://registry.yarnpkg.com/electron-is-dev/-/electron-is-dev-0.3.0.tgz#14e6fda5c68e9e4ecbeff9ccf037cbd7c05c5afe" integrity sha1-FOb9pcaOnk7L7/nM8DfL18BcWv4= +electron-is-packaged@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/electron-is-packaged/-/electron-is-packaged-1.0.2.tgz#d4efc0dc14991ab981de65f52271badf92323c7e" + integrity sha512-JZpV9QgVsehop7tm3KDll2/iJ9K3e7mL+jm6E3gA96zurIhxv3FZ0kxJK0eGL9c3SYORU1rN+/q2Ia8/v62Pjw== + electron-localshortcut@^3.0.0: version "3.2.1" resolved "https://registry.yarnpkg.com/electron-localshortcut/-/electron-localshortcut-3.2.1.tgz#cfc83a3eff5e28faf98ddcc87f80a2ce4f623cd3" @@ -3719,39 +3777,30 @@ electron-mocha@^8.1.2: which "^1.3.1" yargs "^14.0.0" -electron-osx-sign@0.4.8: - version "0.4.8" - resolved "https://registry.yarnpkg.com/electron-osx-sign/-/electron-osx-sign-0.4.8.tgz#f0b9fadded9e1e54ec35fa89877b5c6c34c7bc40" - integrity sha1-8Ln63e2eHlTsNfqJh3tcbDTHvEA= - dependencies: - bluebird "^3.5.0" - compare-version "^0.1.2" - debug "^2.6.8" - isbinaryfile "^3.0.2" - minimist "^1.2.0" - plist "^2.1.0" - electron-platform@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/electron-platform/-/electron-platform-1.2.0.tgz#2fc70bce53fb732ec81769bd6c48e10c40a551aa" integrity sha1-L8cLzlP7cy7IF2m9bEjhDEClUao= -electron-publish@19.56.0: - version "19.56.0" - resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-19.56.0.tgz#1a0446e69b3085a905c0abdf16125c1c97d108d9" - integrity sha512-mJYJLaDKdxq/F1VAZwqany4LuWt9fEm2FMsKVCXdzYp1WAXhK5+J5Ng6rxc8n1BUWqYbs99tkRWp+5iyxiGcfA== +electron-publish@21.2.0: + version "21.2.0" + resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-21.2.0.tgz#cc225cb46aa62e74b899f2f7299b396c9802387d" + integrity sha512-mWavuoWJe87iaeKd0I24dNWIaR+0yRzshjNVqGyK019H766fsPWl3caQJnVKFaEyrZRP397v4JZVG0e7s16AxA== dependencies: - bluebird-lst "^1.0.5" - builder-util "^4.2.2" - builder-util-runtime "^4.0.4" - chalk "^2.3.0" - fs-extra-p "^4.5.0" - mime "^2.2.0" + bluebird-lst "^1.0.9" + builder-util "~21.2.0" + builder-util-runtime "8.3.0" + chalk "^2.4.2" + fs-extra "^8.1.0" + lazy-val "^1.0.4" + mime "^2.4.4" electron-root-path@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/electron-root-path/-/electron-root-path-1.0.9.tgz#0e50fae5b32d1ebb2c3f6417cfe46b0642e4c241" - integrity sha512-THxJfNqN2Cz56z/eMskdpz6vaZ7nIOAU/82Ia5VWhfk/4uWY/nCI+6xRYUcKsiI1fu7Y6/SxRejaqSBmvlh9bw== + version "1.0.16" + resolved "https://registry.yarnpkg.com/electron-root-path/-/electron-root-path-1.0.16.tgz#2e18086665303993859e5f9f501cfbcb5cab9351" + integrity sha512-5HVw3k5crnbezyPCdkY3wLsbOfCKIrRtbq2IPl5Ocs7FA86b9JxAIESqEXm1YD5MaZq07HOCl2DNOQZl/IWebw== + dependencies: + electron-is-packaged "^1.0.2" electron-settings@^3.1.4: version "3.2.0" @@ -3762,24 +3811,23 @@ electron-settings@^3.1.4: jsonfile "^4.0.0" electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30: - version "1.3.312" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.312.tgz#6ef8700096e4a726b9cd7285523561629fa70e12" - integrity sha512-/Nk6Hvwt+RfS9X3oA4IXpWqpcnS7cdWsTMP4AmrP8hPpxtZbHemvTEYzjAKghk28aS9zIV8NwGHNt8H+6OmJug== + version "1.3.322" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.322.tgz#a6f7e1c79025c2b05838e8e344f6e89eb83213a8" + integrity sha512-Tc8JQEfGQ1MzfSzI/bTlSr7btJv/FFO7Yh6tanqVmIWOuNCu6/D1MilIEgLtmWqIrsv+o4IjpLAhgMBr/ncNAA== -electron-updater@^2.18.2: - version "2.23.3" - resolved "https://registry.yarnpkg.com/electron-updater/-/electron-updater-2.23.3.tgz#7bf054075f0cef2cd832cb533cf21adcdd5780b8" - integrity sha512-ZoQZpiEbhT3xA5Oxn7a5o4Z9adRaYs901pnTKBVBxPWmc0Qw5sZXAHkRjftlRmEn3RiEVkJtBPQSfx8kIkRcUA== +electron-updater@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/electron-updater/-/electron-updater-4.2.0.tgz#f9ecfc657f65ead737d42b9efecf628d3756b550" + integrity sha512-GuS3g7HDh17x/SaFjxjswlWUaKHczksYkV2Xc5CKj/bZH0YCvTSHtOmnBAdAmCk99u/71p3zP8f0jIqDfGcjww== dependencies: - bluebird-lst "^1.0.5" - builder-util-runtime "~4.4.0" - electron-is-dev "^0.3.0" - fs-extra-p "^4.6.1" - js-yaml "^3.12.0" - lazy-val "^1.0.3" + "@types/semver" "^6.0.2" + builder-util-runtime "8.4.0" + fs-extra "^8.1.0" + js-yaml "^3.13.1" + lazy-val "^1.0.4" lodash.isequal "^4.5.0" - semver "^5.5.0" - source-map-support "^0.5.6" + pako "^1.0.10" + semver "^6.3.0" electron-window@^0.8.0: version "0.8.1" @@ -3904,11 +3952,6 @@ entities@^2.0.0: resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4" integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw== -env-paths@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-1.0.0.tgz#4168133b42bb05c38a35b1ae4397c8298ab369e0" - integrity sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA= - errno@^0.1.3, errno@~0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" @@ -3923,7 +3966,7 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.5.1: +es-abstract@^1.5.1, es-abstract@^1.7.0: version "1.16.3" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.16.3.tgz#52490d978f96ff9f89ec15b5cf244304a5bca161" integrity sha512-WtY7Fx5LiOnSYgF5eg/1T+GONaGmpvpPdCpSnYij+U2gDTL0UPfWrhDw7b2IYb+9NQJsYpCA0wOQvZfsd6YwRw== @@ -3939,23 +3982,7 @@ es-abstract@^1.5.1: string.prototype.trimleft "^2.1.0" string.prototype.trimright "^2.1.0" -es-abstract@^1.7.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.16.0.tgz#d3a26dc9c3283ac9750dca569586e976d9dcc06d" - integrity sha512-xdQnfykZ9JMEiasTAJZJdMWCQ1Vm00NBw79/AWi7ELfZuuPCSOMDZbT9mkOfSctVtfhb+sAAzrm+j//GjjLHLg== - dependencies: - es-to-primitive "^1.2.0" - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.0" - is-callable "^1.1.4" - is-regex "^1.0.4" - object-inspect "^1.6.0" - object-keys "^1.1.1" - string.prototype.trimleft "^2.1.0" - string.prototype.trimright "^2.1.0" - -es-to-primitive@^1.2.0, es-to-primitive@^1.2.1: +es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== @@ -4098,11 +4125,11 @@ eslint-loader@1.9.0: rimraf "^2.6.1" eslint-module-utils@^2.1.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c" - integrity sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw== + version "2.5.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz#cdf0b40d623032274ccd2abd7e64c4e524d6e19c" + integrity sha512-kCo8pZaNz2dsAW7nCUjuVoI11EBXXpIzfNxmaoLhXoRDOnqXLC4iSGVRdZPhOitfbdEfMEfKOiENaK6wDPZEGw== dependencies: - debug "^2.6.8" + debug "^2.6.9" pkg-dir "^2.0.0" eslint-plugin-flowtype@2.39.1: @@ -4411,9 +4438,9 @@ express@^4.16.2: vary "~1.1.2" ext@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.2.0.tgz#8dd8d2dd21bcced3045be09621fa0cbf73908ba4" - integrity sha512-0ccUQK/9e3NreLFg6K6np8aPyRgwycx+oFGtfx1dSp7Wj00Ozw9r05FgBRlzjf2XBM7LAzwgLyDscRrtSU91hA== + version "1.4.0" + resolved "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz#89ae7a07158f79d35517882904324077e4379244" + integrity sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A== dependencies: type "^2.0.0" @@ -4578,11 +4605,11 @@ fb-watchman@^1.8.0: bser "1.0.2" fb-watchman@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" - integrity sha1-VOmr99+i8mzZsWNsWIwa/AXeXVg= + version "2.0.1" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" + integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== dependencies: - bser "^2.0.0" + bser "2.1.1" fbjs@^0.8.9: version "0.8.17" @@ -4898,14 +4925,6 @@ from2@^2.3.0: inherits "^2.0.1" readable-stream "^2.0.0" -fs-extra-p@^4.5.0, fs-extra-p@^4.6.1: - version "4.6.1" - resolved "https://registry.yarnpkg.com/fs-extra-p/-/fs-extra-p-4.6.1.tgz#6156e0cc98097f415fcd17029578fc41c78b5092" - integrity sha512-IsTMbUS0svZKZTvqF4vDS9c/L7Mw9n8nZQWWeSzAGacOSe+8CzowhUN0tdZEZFIJNP5HC7L9j3MMikz/G4hDeQ== - dependencies: - bluebird-lst "^1.0.5" - fs-extra "^6.0.1" - fs-extra@0.26.7: version "0.26.7" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.26.7.tgz#9ae1fdd94897798edab76d0918cf42d0c3184fa9" @@ -4937,7 +4956,7 @@ fs-extra@^0.30.0: path-is-absolute "^1.0.0" rimraf "^2.2.8" -fs-extra@^4.0.1, fs-extra@^4.0.2: +fs-extra@^4.0.2: version "4.0.3" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== @@ -4946,15 +4965,6 @@ fs-extra@^4.0.1, fs-extra@^4.0.2: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-6.0.1.tgz#8abc128f7946e310135ddc93b98bddb410e7a34b" - integrity sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" @@ -5059,13 +5069,20 @@ get-stream@^3.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= -get-stream@^4.0.0: +get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== dependencies: pump "^3.0.0" +get-stream@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" + integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== + dependencies: + pump "^3.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -5286,6 +5303,23 @@ got@^6.7.1: unzip-response "^2.0.1" url-parse-lax "^1.0.0" +got@^9.6.0: + version "9.6.0" + resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" + integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== + dependencies: + "@sindresorhus/is" "^0.14.0" + "@szmarczak/http-timer" "^1.1.2" + cacheable-request "^6.0.0" + decompress-response "^3.3.0" + duplexer3 "^0.1.4" + get-stream "^4.1.0" + lowercase-keys "^1.0.1" + mimic-response "^1.0.1" + p-cancelable "^1.0.0" + to-readable-stream "^1.0.0" + url-parse-lax "^3.0.0" + graceful-fs@4.X, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" @@ -5460,7 +5494,7 @@ handle-thing@^1.2.5: resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4" integrity sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ= -handlebars@^4.0.3: +handlebars@^4.0.3, handlebars@^4.5.3: version "4.5.3" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482" integrity sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA== @@ -5583,6 +5617,11 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" +has-yarn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" + integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== + has@^1.0.0, has@^1.0.1, has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -5627,9 +5666,11 @@ he@1.2.0, he@1.2.x: integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== highlight.js@^9.3.0: - version "9.16.2" - resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.16.2.tgz#68368d039ffe1c6211bcc07e483daf95de3e403e" - integrity sha512-feMUrVLZvjy0oC7FVJQcSQRqbBq9kwqnYE4+Kj9ZjbHh3g+BisiPgF49NyQbVLNdrL/qqZr3Ca9yOKwgn2i/tw== + version "9.17.0" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.17.0.tgz#d2f3f746611a4d33b1920b9b067d39423bee7a9d" + integrity sha512-PyO7FK7z8ZC7FqBlmAxm4d+1DYaoS6+uaxt9KGkyP1AnmGRLnWmNod1yp9BFjUyHoDF00k+V57gF6X9ifY7f/A== + dependencies: + handlebars "^4.5.3" history@^4.7.2: version "4.10.1" @@ -5687,7 +5728,7 @@ homedir-polyfill@^1.0.1: dependencies: parse-passwd "^1.0.0" -hosted-git-info@^2.1.4, hosted-git-info@^2.5.0: +hosted-git-info@^2.1.4, hosted-git-info@^2.7.1: version "2.8.5" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== @@ -5772,6 +5813,11 @@ htmlparser2@^3.3.0: inherits "^2.0.1" readable-stream "^3.1.1" +http-cache-semantics@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz#495704773277eeef6e43f9ab2c2c7d259dda25c5" + integrity sha512-TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew== + http-deceiver@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" @@ -5939,13 +5985,20 @@ hyperdiscovery@^8.0.0: safe-buffer "^5.1.2" xtend "^4.0.1" -iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.19, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== dependencies: safer-buffer ">= 2.1.2 < 3" +iconv-lite@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.5.0.tgz#59cdde0a2a297cc2aeb0c6445a195ee89f127550" + integrity sha512-NnEhI9hIEKHOzJ4f697DMz9IQEXr/MMJ5w64vN2/4Ai+wRnvV7SBrL0KLoRlwaKVghOc7LQ5YkPLuX146b6Ydw== + dependencies: + safer-buffer ">= 2.1.2 < 3" + icss-replace-symbols@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" @@ -6201,13 +6254,20 @@ is-callable@^1.1.4: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" integrity sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA== -is-ci@^1.0.10, is-ci@^1.1.0: +is-ci@^1.0.10: version "1.2.1" resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== dependencies: ci-info "^1.5.0" +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -6358,6 +6418,11 @@ is-npm@^1.0.0: resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" integrity sha1-8vtjpl5JBbQGyGBydloaTceTufQ= +is-npm@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053" + integrity sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA== + is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -6518,6 +6583,11 @@ is-wsl@^1.1.0: resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0= +is-yarn-global@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" + integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== + isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -6533,12 +6603,10 @@ isarray@2.0.1: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" integrity sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4= -isbinaryfile@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-3.0.3.tgz#5d6def3edebf6e8ca8cae9c30183a804b5f8be80" - integrity sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw== - dependencies: - buffer-alloc "^1.2.0" +isbinaryfile@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.2.tgz#bfc45642da645681c610cca831022e30af426488" + integrity sha512-C3FSxJdNrEr2F4z6uFtNzECDM5hXk+46fxaa+cwBe5/XrWSmzdG8DDgyjfX6/NRdBB21q2JXuRAzPCUs+fclnQ== isemail@2.x.x: version "2.2.1" @@ -6913,7 +6981,7 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@3.13.1, js-yaml@^3.10.0, js-yaml@^3.12.0, js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.9.1: +js-yaml@3.13.1, js-yaml@^3.13.1, js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.9.1: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -7022,6 +7090,11 @@ jshint@^2.9.5: shelljs "0.3.x" strip-json-comments "1.0.x" +json-buffer@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" + integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= + json-loader@^0.5.4: version "0.5.7" resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" @@ -7083,6 +7156,13 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" +json5@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.1.tgz#81b6cb04e9ba496f1c7005d07b4368a2638f90b6" + integrity sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ== + dependencies: + minimist "^1.2.0" + jsonfile@^2.1.0: version "2.4.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" @@ -7195,6 +7275,13 @@ keyboardevents-areequal@^0.2.1: resolved "https://registry.yarnpkg.com/keyboardevents-areequal/-/keyboardevents-areequal-0.2.2.tgz#88191ec738ce9f7591c25e9056de928b40277194" integrity sha512-Nv+Kr33T0mEjxR500q+I6IWisOQ0lK1GGOncV0kWE6n4KFmpcu7RUX5/2B0EUtX51Cb0HjZ9VJsSY3u4cBa0kw== +keyv@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" + integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== + dependencies: + json-buffer "3.0.0" + killable@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.1.tgz#4c8ce441187a061c7474fb87ca08e2a638194892" @@ -7263,12 +7350,19 @@ latest-version@^3.0.0: dependencies: package-json "^4.0.0" +latest-version@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" + integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== + dependencies: + package-json "^6.3.0" + lazy-cache@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4= -lazy-val@^1.0.3: +lazy-val@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/lazy-val/-/lazy-val-1.0.4.tgz#882636a7245c2cfe6e0a4e3ba6c5d68a137e5c65" integrity sha512-u93kb2fPbIrfzBuLjZE+w+fJbUUMhNDXxNmMfaqNgpfQf1CO5ZSe2LfsnBqVAk7i/2NF48OSoRj+Xe2VT+lE8Q== @@ -7735,11 +7829,16 @@ lower-case@^1.1.1: resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= -lowercase-keys@^1.0.0: +lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + lru-cache@2: version "2.7.3" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952" @@ -8014,7 +8113,7 @@ mime@1.6.0, mime@^1.4.1, mime@^1.5.0: resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mime@^2.2.0: +mime@^2.4.4: version "2.4.4" resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== @@ -8029,6 +8128,11 @@ mimic-fn@^2.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-response@^1.0.0, mimic-response@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + minami@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/minami/-/minami-1.2.3.tgz#99b6dcdfb2f0a54da1c9c8f7aa3a327787aaf9f8" @@ -8467,7 +8571,7 @@ nopt@~1.0.10: dependencies: abbrev "1" -normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.4.0: +normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -8504,15 +8608,27 @@ normalize-url@^1.4.0: query-string "^4.1.0" sort-keys "^1.0.0" +normalize-url@^4.1.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.0.tgz#453354087e6ca96957bd8f5baf753f5982142129" + integrity sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ== + npm-bundled@^1.0.1: - version "1.0.6" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" - integrity sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g== + version "1.1.1" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" + integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA== + dependencies: + npm-normalize-package-bin "^1.0.1" + +npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== npm-packlist@^1.1.6: - version "1.4.6" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.6.tgz#53ba3ed11f8523079f1457376dd379ee4ea42ff4" - integrity sha512-u65uQdb+qwtGvEJh/DgQgW1Xg7sqeNbmxYyrvlNznaVTjV3E5P6F/EFjM+BVHXl7JJlsdG8A64M0XI8FI/IOlg== + version "1.4.7" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848" + integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ== dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -8541,7 +8657,7 @@ nth-check@~1.0.1: dependencies: boolbase "~1.0.0" -nugget@^2.0.0, nugget@^2.0.1: +nugget@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/nugget/-/nugget-2.0.1.tgz#201095a487e1ad36081b3432fa3cada4f8d071b0" integrity sha1-IBCVpIfhrTYIGzQy+jytpPjQcbA= @@ -8613,7 +8729,7 @@ object-hash@^1.1.4: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df" integrity sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA== -object-inspect@^1.6.0, object-inspect@^1.7.0: +object-inspect@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" integrity sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw== @@ -8815,7 +8931,7 @@ os-locale@^2.0.0: lcid "^1.0.0" mem "^1.1.0" -os-locale@^3.0.0, os-locale@^3.1.0: +os-locale@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== @@ -8837,6 +8953,11 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" +p-cancelable@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" + integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== + p-defer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" @@ -8905,7 +9026,17 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" -pako@~1.0.5: +package-json@^6.3.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" + integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== + dependencies: + got "^9.6.0" + registry-auth-token "^4.0.0" + registry-url "^5.0.0" + semver "^6.2.0" + +pako@^1.0.10, pako@~1.0.5: version "1.0.10" resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732" integrity sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw== @@ -8936,13 +9067,6 @@ parse-asn1@^5.0.0: pbkdf2 "^3.0.3" safe-buffer "^5.1.1" -parse-color@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-color/-/parse-color-1.0.0.tgz#7b748b95a83f03f16a94f535e52d7f3d94658619" - integrity sha1-e3SLlag/A/FqlPU15S1/PZRlhhk= - dependencies: - color-convert "~0.5.0" - parse-filepath@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" @@ -9170,15 +9294,6 @@ pkginfo@^0.4.0: resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff" integrity sha1-tUGO8EOd5UJfxJlQQtztFPsqhP8= -plist@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/plist/-/plist-2.1.0.tgz#57ccdb7a0821df21831217a3cad54e3e146a1025" - integrity sha1-V8zbeggh3yGDEhejytVOPhRqECU= - dependencies: - base64-js "1.2.0" - xmlbuilder "8.2.2" - xmldom "0.1.x" - plugin-error@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/plugin-error/-/plugin-error-0.1.2.tgz#3b9bb3335ccf00f425e07437e19276967da47ace" @@ -9558,6 +9673,11 @@ prepend-http@^1.0.0, prepend-http@^1.0.1: resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw= +prepend-http@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" + integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= + preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" @@ -9690,9 +9810,9 @@ pseudomap@^1.0.2: integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= psl@^1.1.24, psl@^1.1.28: - version "1.4.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.4.0.tgz#5dd26156cdb69fa1fdb8ab1991667d3f80ced7c2" - integrity sha512-HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw== + version "1.6.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.6.0.tgz#60557582ee23b6c43719d9890fb4170ecd91e110" + integrity sha512-SYKKmVel98NCOYXpkwUqZqh0ahZeeKfmisiLIcEZdsb+WbLv02g/dI5BUmZnIyOe7RzZtLax81nnb2HbvC2tzA== public-encrypt@^4.0.0: version "4.0.3" @@ -9847,7 +9967,7 @@ raw-body@2.4.0: iconv-lite "0.4.24" unpipe "1.0.0" -rc@^1.0.1, rc@^1.1.2, rc@^1.1.6, rc@^1.2.1, rc@^1.2.7: +rc@^1.0.1, rc@^1.1.2, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -9999,20 +10119,17 @@ react@16.7.0: prop-types "^15.6.2" scheduler "^0.12.0" -read-config-file@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/read-config-file/-/read-config-file-2.1.1.tgz#bd6c2b93e97a82a35f71a3c9eb43161e16692054" - integrity sha512-tzV5MRYA1OIbjy0ZC3cKlQZMLyRYMJ7k37Inff0CH0fQGXFP9p0s0eJ3bQxnnvQDhPSspnW9fw9v2K0b+6TODg== - dependencies: - ajv "^5.5.0" - ajv-keywords "^2.1.0" - bluebird-lst "^1.0.5" - dotenv "^4.0.0" - dotenv-expand "^4.0.1" - fs-extra-p "^4.5.0" - js-yaml "^3.10.0" - json5 "^0.5.1" - lazy-val "^1.0.3" +read-config-file@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/read-config-file/-/read-config-file-5.0.0.tgz#1487c983fae9c1b672d3acda5cac899a2d451f02" + integrity sha512-jIKUu+C84bfnKxyJ5j30CxCqgXWYjZLXuVE/NYlMEpeni+dhESgAeZOZd0JZbg1xTkMmnCdxksDoarkOyfEsOg== + dependencies: + dotenv "^8.0.0" + dotenv-expand "^5.1.0" + fs-extra "^8.1.0" + js-yaml "^3.13.1" + json5 "^2.1.0" + lazy-val "^1.0.4" read-only-stream@^2.0.0: version "2.0.0" @@ -10247,6 +10364,14 @@ registry-auth-token@^3.0.1: rc "^1.1.6" safe-buffer "^5.0.1" +registry-auth-token@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.0.0.tgz#30e55961eec77379da551ea5c4cf43cbf03522be" + integrity sha512-lpQkHxd9UL6tb3k/aHAVfnVtn+Bcs9ob5InuFLLEDqSqeq+AljB8GZW9xY0x7F+xYwEcjKe07nyoxzEYz6yvkw== + dependencies: + rc "^1.2.8" + safe-buffer "^5.0.1" + registry-url@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" @@ -10254,6 +10379,13 @@ registry-url@^3.0.3: dependencies: rc "^1.0.1" +registry-url@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" + integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== + dependencies: + rc "^1.2.8" + regjsgen@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" @@ -10449,12 +10581,19 @@ resolve@1.6.0: path-parse "^1.0.5" resolve@^1.1.3, resolve@^1.1.4, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.5.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.2.tgz#08b12496d9aa8659c75f534a8f05f0d892fff594" - integrity sha512-cAVTI2VLHWYsGOirfeYVVQ7ZDejtQ9fp4YhYckWDEkFfqbVjaT11iM8k6xSAfGFMM+gDpZjMnFssPu8we+mqFw== + version "1.13.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.13.1.tgz#be0aa4c06acd53083505abb35f4d66932ab35d16" + integrity sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w== dependencies: path-parse "^1.0.6" +responselike@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" + integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= + dependencies: + lowercase-keys "^1.0.0" + restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -10578,7 +10717,7 @@ sane@~1.6.0: walker "~1.0.5" watch "~0.10.0" -sanitize-filename@^1.6.1: +sanitize-filename@^1.6.2: version "1.6.3" resolved "https://registry.yarnpkg.com/sanitize-filename/-/sanitize-filename-1.6.3.tgz#755ebd752045931977e30b2025d340d7c9090378" integrity sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg== @@ -10644,7 +10783,7 @@ semver-diff@^2.0.0: dependencies: semver "^5.0.3" -"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.7.0: +"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.5.0, semver@^5.7.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -10654,6 +10793,11 @@ semver@^4.1.0: resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" integrity sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto= +semver@^6.2.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + semver@~5.0.1: version "5.0.3" resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a" @@ -11010,7 +11154,7 @@ source-map-support@^0.4.15: dependencies: source-map "^0.5.6" -source-map-support@^0.5.3, source-map-support@^0.5.6: +source-map-support@^0.5.13: version "0.5.16" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.16.tgz#0ae069e7fe3ba7538c64c98515e35339eac5a042" integrity sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ== @@ -11143,10 +11287,10 @@ stack-trace@0.0.x: resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" integrity sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA= -stat-mode@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/stat-mode/-/stat-mode-0.2.2.tgz#e6c80b623123d7d80cf132ce538f346289072502" - integrity sha1-5sgLYjEj19gM8TLOU480YokHJQI= +stat-mode@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/stat-mode/-/stat-mode-0.3.0.tgz#69283b081f851582b328d2a4ace5f591ce52f54b" + integrity sha512-QjMLR0A3WwFY2aZdV0okfFEJB5TRjkggXZjxP3A1RsWsNHNu3YPv8btmtc6iCFZ0Rul3FE93OYogvhOUClU+ng== static-extend@^0.1.1: version "0.1.2" @@ -11389,13 +11533,6 @@ sumchecker@^1.2.0: debug "^2.2.0" es6-promise "^4.0.5" -sumchecker@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/sumchecker/-/sumchecker-2.0.2.tgz#0f42c10e5d05da5d42eea3e56c3399a37d6c5b3e" - integrity sha1-D0LBDl0F2l1C7qPlbDOZo31sWz4= - dependencies: - debug "^2.2.0" - superagent@^3.8.2: version "3.8.3" resolved "https://registry.yarnpkg.com/superagent/-/superagent-3.8.3.tgz#460ea0dbdb7d5b11bc4f78deba565f86a178e128" @@ -11550,10 +11687,10 @@ tar@^4: safe-buffer "^5.1.2" yallist "^3.0.3" -temp-file@^3.1.1: - version "3.3.4" - resolved "https://registry.yarnpkg.com/temp-file/-/temp-file-3.3.4.tgz#73af868cd7cb7400a44e4bb03e653b2280ce2878" - integrity sha512-qSZ5W5q54iyGnP8cNl49RE0jTJc5CrzNocux5APD5yIxcgonoMuMSbsZfaZy8rTGCYo0Xz6ySVv3adagZ8gffg== +temp-file@^3.3.4: + version "3.3.6" + resolved "https://registry.yarnpkg.com/temp-file/-/temp-file-3.3.6.tgz#bd7a1951338bf93b59380b498ec1804d5b76c449" + integrity sha512-7TPldi8QJqRlPIF/Y33mVvo8+xDfi6+aVTCK4CrCaLqCoaOnVtf3SA4hCU0T5nhYDdOC7erw7o2uWfvijlk4Ug== dependencies: async-exit-hook "^2.0.1" fs-extra "^8.1.0" @@ -11746,6 +11883,11 @@ to-object-path@^0.3.0: dependencies: kind-of "^3.0.2" +to-readable-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" + integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== + to-regex-range@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" @@ -11887,6 +12029,11 @@ type-detect@^4.0.0, type-detect@^4.0.5: resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== +type-fest@^0.3.0: + version "0.3.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1" + integrity sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ== + type-is@~1.6.17, type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" @@ -11947,9 +12094,9 @@ uglify-js@^2.8.29: uglify-to-browserify "~1.0.0" uglify-js@^3.0.13, uglify-js@^3.1.4: - version "3.6.9" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.9.tgz#85d353edb6ddfb62a9d798f36e91792249320611" - integrity sha512-pcnnhaoG6RtrvHJ1dFncAe8Od6Nuy30oaJ82ts6//sGSXOP5UjBMEthiProjXmMNHOfd93sqlkztifFMcb+4yw== + version "3.7.2" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.7.2.tgz#cb1a601e67536e9ed094a92dd1e333459643d3f9" + integrity sha512-uhRwZcANNWVLrxLfNFEdltoPNhECUR3lc+UdJoG9CBpMcSnKyWA94tc3eAujB1GcMY5Uwq8ZMp4qWpxWYDQmaA== dependencies: commander "~2.20.3" source-map "~0.6.1" @@ -12097,6 +12244,24 @@ update-notifier@^2.3.0: semver-diff "^2.0.0" xdg-basedir "^3.0.0" +update-notifier@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250" + integrity sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ== + dependencies: + boxen "^3.0.0" + chalk "^2.0.1" + configstore "^4.0.0" + has-yarn "^2.1.0" + import-lazy "^2.1.0" + is-ci "^2.0.0" + is-installed-globally "^0.1.0" + is-npm "^3.0.0" + is-yarn-global "^0.3.0" + latest-version "^5.0.0" + semver-diff "^2.0.0" + xdg-basedir "^3.0.0" + upper-case@^1.1.1: version "1.1.3" resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" @@ -12140,6 +12305,13 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" +url-parse-lax@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" + integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww= + dependencies: + prepend-http "^2.0.0" + url-parse@^1.1.8, url-parse@^1.4.3: version "1.4.7" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" @@ -12669,21 +12841,11 @@ xml-name-validator@^2.0.1: resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" integrity sha1-TYuPHszTQZqjYgYb7O9RXh5VljU= -xmlbuilder@8.2.2: - version "8.2.2" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-8.2.2.tgz#69248673410b4ba42e1a6136551d2922335aa773" - integrity sha1-aSSGc0ELS6QuGmE2VR0pIjNap3M= - xmlcreate@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.1.tgz#2ec38bd7b708d213fd1a90e2431c4af9c09f6a52" integrity sha512-MjGsXhKG8YjTKrDCXseFo3ClbMGvUD4en29H2Cev1dv4P/chlpw6KdYmlCWDkhosBVKRDjM836+3e3pm1cBNJA== -xmldom@0.1.x: - version "0.1.27" - resolved "https://registry.yarnpkg.com/xmldom/-/xmldom-0.1.27.tgz#d501f97b3bdb403af8ef9ecc20573187aadac0e9" - integrity sha1-1QH5ezvbQDr4757MIFcxh6rawOk= - xmlhttprequest-ssl@~1.5.4: version "1.5.5" resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e" @@ -12776,13 +12938,6 @@ yargs-parser@^7.0.0: dependencies: camelcase "^4.1.0" -yargs-parser@^9.0.2: - version "9.0.2" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" - integrity sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc= - dependencies: - camelcase "^4.1.0" - yargs-unparser@1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-1.6.0.tgz#ef25c2c769ff6bd09e4b0f9d7c605fb27846ea9f" @@ -12827,24 +12982,6 @@ yargs@6.6.0: y18n "^3.2.1" yargs-parser "^4.2.0" -yargs@^11.0.0: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.1.1.tgz#5052efe3446a4df5ed669c995886cc0f13702766" - integrity sha512-PRU7gJrJaXv3q3yQZ/+/X6KBswZiaQ+zOmdprZcouPYtQgvNU35i+68M4b1ZHLZtYFT5QObFLV+ZkmJYcwKdiw== - dependencies: - cliui "^4.0.0" - decamelize "^1.1.1" - find-up "^2.1.0" - get-caller-file "^1.0.1" - os-locale "^3.1.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^9.0.2" - yargs@^12.0.5: version "12.0.5" resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"