diff --git a/.gitmodules b/.gitmodules index 41fb6dc6..e69de29b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "jsdoc-template/braintree"] - path = jsdoc-template/braintree - url = https://github.com/braintree/jsdoc-template.git diff --git a/.jsdoc.json b/.jsdoc.json index 7f2881da..97d3bc68 100644 --- a/.jsdoc.json +++ b/.jsdoc.json @@ -35,7 +35,6 @@ "destination": "./docs/", "encoding": "utf8", "private": true, - "recurse": true, - "template": "./jsdoc-template/braintree" + "recurse": true } } \ No newline at end of file diff --git a/docs/AbsoluteMotor.html b/docs/AbsoluteMotor.html index 3828eb20..cc4d3748 100644 --- a/docs/AbsoluteMotor.html +++ b/docs/AbsoluteMotor.html @@ -1,123 +1,53 @@ - - - - - - AbsoluteMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: AbsoluteMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- AbsoluteMotor -

- -
-
+ +
-

+

AbsoluteMotor()

- AbsoluteMotor - - - - -
+
-
+
- + + + + +

new AbsoluteMotor()

+ + + - - - - - - - -

- new AbsoluteMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- gotoAngle(angle, speedopt) → {Promise} -

-
+ +

gotoAngle(angle, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given angle.

-
+
+ + @@ -247,167 +175,152 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
angle - +
angle + + +number - - + + + + + + - + + -

Absolute position the motor should go to (degrees from 0).

- -

Absolute position the motor should go to (degrees from 0).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -423,31 +336,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- gotoRealZero(speedopt) → {Promise} -

-
- + + + + + + + +

gotoRealZero(speedopt) → {Promise}

+ + + -
+

Rotate motor to real zero position.

Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.

-
+
+ + @@ -455,126 +390,117 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

- -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -590,121 +516,108 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - -

- resetZero() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Reset zero to current position

-
+
+
+ + + + + +

resetZero() → {Promise}

+ + -
- - +
+

Reset zero to current position

+
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
- -
-

Rotate a motor by a given amount of degrees.

-
@@ -712,176 +625,211 @@

-

Parameters:
- - - - - - - - +
Returns:
- - - + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - - - - - - +
+
+ Type +
+
+Promise -
- - - - - - - - - - - - - - - - - - - - - - + +
-
-
NameTypeAttributesDefaultDescription
degrees - - - - number - - + + + - - - - - - - -

How much the motor should be rotated (in degrees).

- -
speed - - - - number - + +

rotateByDegrees(degrees, speedopt) → {Promise}

+ - -
- - <optional>
- +
+

Rotate a motor by a given amount of degrees.

+
- - -
+ + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + - 100 + - - - - + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
degrees -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -
+ + +number + + + + + + + + + + + +

How much the motor should be rotated (in degrees).

speed + + +number + + + + + + <optional>
+ + + + + +
+ + 100 + +

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -897,30 +845,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
- + + + + + + +

setAccelerationTime(time) → {Promise}

+ + + -
+

Set the global acceleration time

-
+
@@ -928,115 +896,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1052,31 +1009,52 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + - - - - - - - -

- setBrakingStyle(style) -

-
+ + + + + + +

setBrakingStyle(style)

+ - + -
+

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1084,115 +1062,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1208,30 +1174,28 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + + + + + +

setDecelerationTime(time) → {Promise}

+ + + -
+

Set the global deceleration time

-
+
@@ -1239,115 +1203,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1363,31 +1316,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + + - - - - - - - - -

- setMaxPower(style) -

-
+ +

setMaxPower(style)

+ - + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -1395,115 +1368,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,30 +1481,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1550,144 +1512,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1703,145 +1646,168 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + -

Events

+

Events

- + + - - - - - - - - -

- absolute :object -

-
+ +

absolute

+ - + -
+

Emits when a the motors absolute position is changed.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
absolute - +
absolute + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1857,146 +1823,143 @@
Parameters:
- - - - - - - - - -

- rotate :object -

-
- + + + + + + + + +

rotate

+ + + -
+

Emits when a rotation sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2012,26 +1975,34 @@
Parameters:
- + + + + + + + - - + + - -
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/BaseHub.html b/docs/BaseHub.html index a96b56a0..83547988 100644 --- a/docs/BaseHub.html +++ b/docs/BaseHub.html @@ -1,123 +1,53 @@ - - - - - - BaseHub - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: BaseHub + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- BaseHub -

- -
-
+ +
-

+

BaseHub()

- BaseHub - - - - -
+
-
+
- + + + + +

new BaseHub()

+ + + - - - - - - - -

- new BaseHub() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - +
    +
  • EventEmitter
  • +
-
    -
  • EventEmitter
  • -
+ @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -287,46 +215,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -334,13 +258,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -348,59 +270,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -408,46 +325,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -455,13 +368,12 @@
Properties:
- +

(readonly) connecting

+ + -

- (readonly) connecting -

@@ -469,59 +381,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -529,46 +435,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -576,13 +478,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -590,59 +490,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -650,46 +545,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -697,13 +588,10 @@
Properties:
- +

(readonly) hardwareVersion

-

- (readonly) hardwareVersion -

@@ -711,59 +599,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -771,46 +655,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -818,13 +698,12 @@
Properties:
- +

(readonly) name

+ + -

- (readonly) name -

@@ -832,59 +711,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -892,46 +765,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -939,13 +808,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -953,59 +820,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1013,46 +875,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1060,13 +918,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1074,59 +929,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1134,46 +985,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1181,13 +1028,12 @@
Properties:
- +

(readonly) rssi

+ + -

- (readonly) rssi -

@@ -1195,59 +1041,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1255,46 +1095,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1302,13 +1138,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -1316,59 +1149,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - + - + + - - - - - + +
NameTypeTypeDescriptionDescription
type
type - - - - string - + + + +string - + +

Hub type

-

Hub type

-
@@ -1376,46 +1205,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1423,13 +1248,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) uuid -

@@ -1437,59 +1259,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1497,46 +1315,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1544,7 +1358,6 @@
Properties:
- @@ -1553,24 +1366,26 @@
Properties:
-
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/BasicMotor.html b/docs/BasicMotor.html index 323c6f4b..7d6947c3 100644 --- a/docs/BasicMotor.html +++ b/docs/BasicMotor.html @@ -1,123 +1,53 @@ - - - - - - BasicMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: BasicMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- BasicMotor -

- -
-
+ +
-

+

BasicMotor()

- BasicMotor - - - - -
+
-
+
- + + + + +

new BasicMotor()

+ + + - - - - - - - -

- new BasicMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) isVirtualPort

+ + -

- (readonly) isVirtualPort -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,10 @@
Properties:
- +

(readonly) mode

-

- (readonly) mode -

@@ -617,59 +504,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,12 @@
Properties:
- +

(readonly) portName

+ + -

- (readonly) portName -

@@ -747,59 +621,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,31 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- brake() → {Promise} -

-
+ +

brake() → {Promise}

+ - + -
+

Brake the motor.

-
+
+ + + @@ -1036,46 +875,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1091,30 +926,52 @@

- + +

Returns:
+ +
+

Resolved upon successful issuance of the command.

+
- - - - - - - -

- rampPower(fromPower, toPower, time) → {Promise} -

-
+
+
+ Type +
+
+ +Promise - +
+
+ + -
+ + + + + + + + + +

rampPower(fromPower, toPower, time) → {Promise}

+ + + + + + +

Ramp the motor power.

-
+
+ + @@ -1122,164 +979,143 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
fromPower - +
fromPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

toPower - +
toPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the ramp should last (in milliseconds).

- -

How long the ramp should last (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1295,30 +1131,50 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful completion of command.

+
- - - - - - - -

- setPower(power) → {Promise} -

-
+
+
+ Type +
+
+ +Promise - +
+
+ + -
+ + + + + + + + + +

setPower(power) → {Promise}

+ + + + + + +

Set the motor power.

-
+
@@ -1326,106 +1182,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
power - +
power + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1441,30 +1290,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise - +
+
- - - - - - -

- stop() → {Promise} -

-
+ - -
+ + + + + + + +

stop() → {Promise}

+ + + + + + +

Stop the motor.

-
+
+ + + @@ -1477,46 +1349,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1532,30 +1400,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/ColorDistanceSensor.html b/docs/ColorDistanceSensor.html index 892f9b24..5786aa03 100644 --- a/docs/ColorDistanceSensor.html +++ b/docs/ColorDistanceSensor.html @@ -1,123 +1,53 @@ - - - - - - ColorDistanceSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: ColorDistanceSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- ColorDistanceSensor -

- -
-
+ +
-

+

ColorDistanceSensor()

- ColorDistanceSensor - - - - -
+
-
+
- + + + + +

new ColorDistanceSensor()

+ + + - - - - - - - -

- new ColorDistanceSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - - - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName
portName - - - - string - + + + +string - + + -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- sendPFIRMessage(message) → {Promise} -

-
+ +

sendPFIRMessage(message) → {Promise}

+ - + -
+

Send a raw Power Functions IR command

-
+
+ + @@ -1031,106 +869,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Buffer - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
message - +
message + + +Buffer - - -

2 byte payload making up a Power Functions protocol command. NOTE: Only specify nibbles 1-3, nibble 4 should be zeroed.

- -

2 byte payload making up a Power Functions protocol command. NOTE: Only specify nibbles 1-3, nibble 4 should be zeroed.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1146,30 +975,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setColor(color) → {Promise} -

-
+ +

setColor(color) → {Promise}

+ - + -
+

Set the color of the LED on the sensor via a color value.

-
+
+ + @@ -1177,106 +1028,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Color - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
color - +
color + + +Color - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1292,30 +1134,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setDistanceCount(distance) → {Promise} -

-
- + + + + + + + +

setDistanceCount(distance) → {Promise}

+ + + -
+

Set the distance count value.

-
+
+ + @@ -1323,106 +1187,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - count - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
distance - +
distance + + +count - - -

count between 0 and 2^32

- -

count between 0 and 2^32

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1438,138 +1293,151 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful issuance of the command.

+
- - - - - - -

- setPFExtendedChannel(channel) → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Switches the IR receiver into extended channel mode. After setting this, use channels 5-8 instead of 1-4 for this receiver.

-

NOTE: Calling this with channel 5-8 with switch off extended channel mode for this receiver.

-
+
+
+ + + -
Parameters:
- + - - - - - - + +

setPFExtendedChannel(channel) → {Promise}

+ - + + + + +
+

Switches the IR receiver into extended channel mode. After setting this, use channels 5-8 instead of 1-4 for this receiver.

+

NOTE: Calling this with channel 5-8 with switch off extended channel mode for this receiver.

+
- - - - - - + + + + + +
Parameters:
- + +
NameTypeDescription
+ + - + - + + + + + + + + + + + + + - - + - - + + + + + + - +
channelName - - - - number - + TypeDescription
channel + + +number - - + + -

Channel number, between 1-8

- -

Channel number, between 1-8

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1585,30 +1453,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setPFPower(channel, output, power) → {Promise} -

-
- + + + -
+ +

setPFPower(channel, output, power) → {Promise}

+ + + + + + +

Set the power of a Power Functions motor via IR

-
+
@@ -1616,164 +1504,145 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
channel - +
channel + + +number - - -

Channel number, between 1-4

- -

Channel number, between 1-4

output - +
output + + +string - - -

Outport port, "RED" (A) or "BLUE" (B)

- -

Outport port, "RED" (A) or "BLUE" (B)

power - +
power + + +number - - -

7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.

- -

7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1789,31 +1658,52 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ - - - - - - - -

- startPFMotors(channel, powerA, powerB) → {Promise} -

-
- + + -
+ + + +

startPFMotors(channel, powerA, powerB) → {Promise}

+ + + + + + +

Start Power Functions motors running via IR

NOTE: This command is designed for bang-bang style operation. To keep the motors running, the sensor needs to be within range of the IR receiver constantly.

-
+
+ @@ -1821,164 +1711,144 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Buffer - - + + + - + - + - - + + - - - - - + + - - Buffer - - + + + - + - + - - + + - - - - - + + - - Buffer - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
channel - +
channel + + +Buffer - - -

Channel number, between 1-4

- -

Channel number, between 1-4

powerA - +
powerA + + +Buffer - - -

7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.

- -

7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.

powerB - +
powerB + + +Buffer - - -

7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.

- -

7 (full reverse) to 7 (full forward). 0 is stop. 8 is brake.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1994,145 +1864,168 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- ambient :object -

-
+ +

ambient

+ - + -
+

Event measuring abient light change, emits when the sensor is activated.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
percentage - +
percentage + + +number - - -

from 0 to 100.

- -

from 0 to 100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2148,137 +2041,138 @@
Parameters:
- - - - - - - - - -

- color :object -

-
- + + + + + + +

color

+ + + -
+ + +

Emits when a color sensor is activated.

-
+
+ + + + +
Type:
+
    +
  • + +object +
  • +
+ -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Color - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
color - +
color + + +Color - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2294,167 +2188,168 @@
Parameters:
- - - - - - - - - -

- colorAndDistance :object -

-
- + + + + + + + + +

colorAndDistance

+ + + -
+

A combined color and distance event, emits when the sensor is activated.

-
+
+
Type:
+
    +
  • + +object -
    Parameters:
    - +
  • +
+ + + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Color - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
color - +
color + + +Color - - - - -
distance - +
distance + + +number - - -

Distance, in millimeters.

- -

Distance, in millimeters.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ + + + + + + +
+ + + - - - - @@ -2469,137 +2364,132 @@
Parameters:
- + + - - - - - - - - -

- distance :object -

-
+ +

distance

+ - + -
+

Emits when a distance sensor is activated.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
distance - +
distance + + +number - - -

Distance, in millimeters.

- -

Distance, in millimeters.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2615,137 +2505,138 @@
Parameters:
- - - - - - - - - -

- distanceCount :object -

-
- + + + + + + + + +

distanceCount

+ + + -
+

Emits when distance is reduced to less than 10 centimeters.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
number - +
number + + +number - - -

of distance events.

- -

of distance events.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2761,137 +2652,138 @@
Parameters:
- - - - - - - - - -

- reflect :object -

-
- + + + + + + +

reflect

+ + + + -
+ +

Event measuring reflection change, emits when the sensor is activated.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
percentage - +
percentage + + +number - - -

from 0 to 100.

- -

from 0 to 100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2907,195 +2799,184 @@
Parameters:
- - - - - - - - - -

- rgbIntensity :object -

-
- + + + + + + + + +

rgbIntensity

+ + + -
+

Emits when a color sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
red - +
red + + +number - - - - -
green - +
green + + +number - - - - -
blue - +
blue + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3111,26 +2992,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/CurrentSensor.html b/docs/CurrentSensor.html index 59283194..06aef4f3 100644 --- a/docs/CurrentSensor.html +++ b/docs/CurrentSensor.html @@ -1,123 +1,53 @@ - - - - - - CurrentSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: CurrentSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- CurrentSensor -

- -
-
+ +
-

- - CurrentSensor +

CurrentSensor()

- - - -
+
-
+
- + + + + +

new CurrentSensor()

+ + + - - - - - - - -

- new CurrentSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- current :object -

-
+ +

current

+ - + -
+

Emits when a current change is detected.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
current - +
current + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,26 +989,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/Device.html b/docs/Device.html index f8961907..e1138b6b 100644 --- a/docs/Device.html +++ b/docs/Device.html @@ -1,123 +1,53 @@ - - - - - - Device - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: Device + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- Device -

- -
-
+ +
-

- - Device +

Device()

- - - -
+
-
+
- + + + + +

new Device()

+ + + - - - - - - - -

- new Device() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + -
    -
  • EventEmitter
  • -
+
    +
  • EventEmitter
  • +
@@ -207,7 +139,9 @@

Extends

- + + + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - + - + + - - - - - + +
NameTypeTypeDescriptionDescription
connected
connected - - - - boolean - + + + +boolean - + +

Check if the device is still attached.

-

Check if the device is still attached.

-
@@ -287,46 +215,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -334,13 +258,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -348,59 +270,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -408,46 +325,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -455,13 +368,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -469,59 +380,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -529,46 +435,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -576,13 +478,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -590,59 +491,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -650,46 +545,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -697,13 +588,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -711,59 +600,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -771,46 +655,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -818,13 +698,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -832,59 +710,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -892,46 +765,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -939,7 +808,6 @@
Properties:
- @@ -948,24 +816,26 @@
Properties:
-
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/DuploTrainBase.html b/docs/DuploTrainBase.html index 9cded21c..74fb331a 100644 --- a/docs/DuploTrainBase.html +++ b/docs/DuploTrainBase.html @@ -1,129 +1,59 @@ - - - - - - DuploTrainBase - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: DuploTrainBase + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- DuploTrainBase -

- -
-
+ +
-

+

DuploTrainBase()

- DuploTrainBase - - - - -
+
-
+
- + + - - - - - - - - -

- new DuploTrainBase() -

-
+ +

new DuploTrainBase()

+ - + -
+

The DuploTrainBase is emitted if the discovered device is a Duplo Train Base.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,21 +117,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -213,7 +147,7 @@

Extends

- + @@ -222,10 +156,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -233,59 +166,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -293,55 +221,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -349,13 +269,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -363,59 +281,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -423,55 +336,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -479,13 +384,11 @@
Properties:
- +

(readonly) connecting

+ -

- (readonly) connecting -

@@ -493,59 +396,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -553,55 +451,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -609,13 +499,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -623,59 +511,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -683,55 +566,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -739,13 +614,11 @@
Properties:
- +

(readonly) hardwareVersion

+ -

- (readonly) hardwareVersion -

@@ -753,59 +626,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -813,55 +681,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -869,13 +729,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -883,59 +741,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -943,55 +796,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -999,13 +844,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1013,59 +856,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1073,55 +911,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1129,13 +959,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1143,59 +970,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1203,55 +1026,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1259,13 +1074,11 @@
Properties:
- +

(readonly) rssi

+ -

- (readonly) rssi -

@@ -1273,59 +1086,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1333,55 +1141,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1389,13 +1189,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1403,59 +1201,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1463,55 +1256,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,13 +1304,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) uuid -

@@ -1533,59 +1315,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1593,55 +1371,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1649,38 +1419,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ - + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
+ @@ -1688,144 +1450,126 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1841,30 +1585,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setName(name) → {Promise} -

-
+ + + + - + +

setName(name) → {Promise}

+ + + -
+

Set the name of the Hub.

-
+
@@ -1872,115 +1636,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1996,30 +1749,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- shutdown() → {Promise} -

-
- + + + + + + +

shutdown() → {Promise}

+ + + -
+

Shutdown the Hub.

-
+
+ + + @@ -2032,55 +1808,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2096,38 +1864,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -2135,144 +1925,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2288,26 +2059,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/DuploTrainBaseColorSensor.html b/docs/DuploTrainBaseColorSensor.html index 8606edf6..2078ac38 100644 --- a/docs/DuploTrainBaseColorSensor.html +++ b/docs/DuploTrainBaseColorSensor.html @@ -1,123 +1,53 @@ - - - - - - DuploTrainBaseColorSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: DuploTrainBaseColorSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- DuploTrainBaseColorSensor -

- -
-
+ +
-

+

DuploTrainBaseColorSensor()

- DuploTrainBaseColorSensor - - - - -
+
-
+
- + + + + +

new DuploTrainBaseColorSensor()

+ + + - - - - - - - -

- new DuploTrainBaseColorSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- color :object -

-
+ +

color

+ - + -
+

Emits when a color sensor is activated.

-
+
+
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Color - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
color - +
color + + +Color - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,137 +989,138 @@
Parameters:
- - - - - - - - - -

- intensity :object -

-
- + + + + + + + + +

intensity

+ + + -
+

Emits when intensity of the color/light changes.

-
+
+ + +
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
intensity - +
intensity + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1296,137 +1136,138 @@
Parameters:
- - - - - - - - - -

- reflect :object -

-
- + + + + + + + + +

reflect

+ + + -
+

Emits when the light reflectivity changes.

-
+
+ + + + +
Type:
+
    +
  • + +object +
  • +
+ -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
reflect - +
reflect + + +number - - -

Percentage, from 0 to 100.

- -

Percentage, from 0 to 100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1442,195 +1283,184 @@
Parameters:
- - - - - - - - - -

- rgb :object -

-
- + + + + + + +

rgb

+ -
+ + + + +

Emits when the light reflectivity changes.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
red - +
red + + +number - - - - -
green - +
green + + +number - - - - -
blue - +
blue + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1646,26 +1476,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/DuploTrainBaseMotor.html b/docs/DuploTrainBaseMotor.html index 40345fdd..df7fab43 100644 --- a/docs/DuploTrainBaseMotor.html +++ b/docs/DuploTrainBaseMotor.html @@ -1,123 +1,53 @@ - - - - - - DuploTrainBaseMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: DuploTrainBaseMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- DuploTrainBaseMotor -

- -
-
+ +
-

+

DuploTrainBaseMotor()

- DuploTrainBaseMotor - - - - -
+
-
+
- + + + + +

new DuploTrainBaseMotor()

+ + + - - - - - - - -

- new DuploTrainBaseMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) isVirtualPort

+ + -

- (readonly) isVirtualPort -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,10 @@
Properties:
- +

(readonly) mode

-

- (readonly) mode -

@@ -617,59 +504,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,12 @@
Properties:
- +

(readonly) portName

+ + -

- (readonly) portName -

@@ -747,59 +621,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,31 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- brake() → {Promise} -

-
+ +

brake() → {Promise}

+ - + -
+

Brake the motor.

-
+
+ + + @@ -1036,55 +875,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1100,30 +931,51 @@

- + +

Returns:
+ +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + - - - - - - - -

- rampPower(fromPower, toPower, time) → {Promise} -

-
+ + + + + + +

rampPower(fromPower, toPower, time) → {Promise}

+ - + -
+

Ramp the motor power.

-
+
+ @@ -1131,173 +983,149 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
fromPower - +
fromPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

toPower - +
toPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the ramp should last (in milliseconds).

- -

How long the ramp should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1313,30 +1141,51 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful completion of command.

+
- - - - - - - -

- setPower(power) → {Promise} -

-
+
+
+ Type +
+
+ +Promise + + +
+
+ + + + - + + + + + + +

setPower(power) → {Promise}

+ + + -
+ + +

Set the motor power.

-
+
+ @@ -1344,115 +1193,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
power - +
power + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1468,30 +1305,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- stop() → {Promise} -

-
- + + + + + + +

stop() → {Promise}

+ + + -
+

Stop the motor.

-
+
+ + + @@ -1504,55 +1364,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1568,30 +1420,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/DuploTrainBaseSpeaker.html b/docs/DuploTrainBaseSpeaker.html index 1ab54aff..3cf630f0 100644 --- a/docs/DuploTrainBaseSpeaker.html +++ b/docs/DuploTrainBaseSpeaker.html @@ -1,123 +1,53 @@ - - - - - - DuploTrainBaseSpeaker - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: DuploTrainBaseSpeaker + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- DuploTrainBaseSpeaker -

- -
-
+ +
-

+

DuploTrainBaseSpeaker()

- DuploTrainBaseSpeaker - - - - -
+
-
+
- + + + + +

new DuploTrainBaseSpeaker()

+ + + - - - - - - - -

- new DuploTrainBaseSpeaker() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,28 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- playSound(sound) → {Promise} -

-
+ +

playSound(sound) → {Promise}

+ - + -
+

Play a built-in train sound.

-
+
@@ -1031,106 +867,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - DuploTrainBaseSound - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
sound - +
sound + + +DuploTrainBaseSound - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1146,30 +975,51 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + - - - - - - - -

- playTone(tone) → {Promise} -

-
- + + + + +

playTone(tone) → {Promise}

+ + + -
+ + +

Play a built-in system tone.

-
+
+ @@ -1177,106 +1027,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
tone - +
tone + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1292,30 +1134,60 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/DuploTraniBaseSpeedometer.html b/docs/DuploTraniBaseSpeedometer.html index be88d1e8..5c5e3ef0 100644 --- a/docs/DuploTraniBaseSpeedometer.html +++ b/docs/DuploTraniBaseSpeedometer.html @@ -1,123 +1,53 @@ - - - - - - DuploTraniBaseSpeedometer - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: DuploTraniBaseSpeedometer + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- DuploTraniBaseSpeedometer -

- -
-
+ +
-

- - DuploTraniBaseSpeedometer +

DuploTraniBaseSpeedometer()

- - - -
+
-
+
- + + + + +

new DuploTraniBaseSpeedometer()

+ + + - - - - - - - -

- new DuploTraniBaseSpeedometer() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,7 +139,9 @@

Extends

- + + + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,24 +846,26 @@
Properties:
-
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/Hub.html b/docs/Hub.html index afd460b5..7efab581 100644 --- a/docs/Hub.html +++ b/docs/Hub.html @@ -1,129 +1,59 @@ - - - - - - Hub - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: Hub + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- Hub -

- -
-
+ +
-

+

Hub()

- Hub - - - - -
+
-
+
- + + - - - - - - - - -

- new Hub() -

-
+ +

new Hub()

+ - + -
+

The Hub is emitted if the discovered device is a Hub.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,21 +117,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -213,7 +147,7 @@

Extends

- + @@ -222,10 +156,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -233,59 +166,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -293,55 +221,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -349,13 +269,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -363,59 +281,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -423,55 +336,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -479,13 +384,11 @@
Properties:
- +

(readonly) connecting

+ -

- (readonly) connecting -

@@ -493,59 +396,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -553,55 +451,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -609,13 +499,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -623,59 +511,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -683,55 +566,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -739,13 +614,11 @@
Properties:
- +

(readonly) hardwareVersion

+ -

- (readonly) hardwareVersion -

@@ -753,59 +626,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -813,55 +681,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -869,13 +729,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -883,59 +741,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -943,55 +796,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -999,13 +844,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1013,59 +856,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1073,55 +911,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1129,13 +959,11 @@
Properties:
- +

(readonly) primaryMACAddress

+ -

- (readonly) primaryMACAddress -

@@ -1143,59 +971,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1203,55 +1026,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1259,13 +1074,11 @@
Properties:
- +

(readonly) rssi

+ -

- (readonly) rssi -

@@ -1273,59 +1086,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1333,55 +1141,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1389,13 +1189,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1403,59 +1201,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1463,55 +1256,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,13 +1304,11 @@
Properties:
- +

(readonly) uuid

+ -

- (readonly) uuid -

@@ -1533,59 +1316,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1593,55 +1371,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1649,37 +1419,31 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- connect() → {Promise} -

-
+ +

connect() → {Promise}

+ - + -
+

Connect to the Hub.

-
+
+ + + @@ -1692,46 +1456,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1747,31 +1507,51 @@

- + +

Returns:
+ + +
+

Resolved upon successful connect.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ + + + - + +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ + + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
@@ -1779,144 +1559,127 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1932,121 +1695,108 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful issuance of command.

+
- - - - - - -

- disconnect() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Disconnect the Hub.

-
+
+
+ + + + + +

disconnect() → {Promise}

+ + -
- - +
+

Disconnect the Hub.

+
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- getDeviceAtPort(portName) → {Device|undefined} -

-
- -
-

Retrieves the device attached to a given port.

-
@@ -2054,236 +1804,219 @@

-

Parameters:
- - - - - - - - +
Returns:
- + +
+

Resolved upon successful disconnect.

+
- - - - - - - - - +
+
+ Type +
+
+Promise -
- + + - - + - -
NameTypeDescription
portName - - - - string - + + + - - -

The name of the port to retrieve the device from.

- -
+

getDeviceAtPort(portName) → {Device|undefined}

+ + +
+

Retrieves the device attached to a given port.

+
-
- - - - - - - - +
Parameters:
+ - + + + + + + - + - + - + - -
Source:
-
- -
- + + + - + + - + + + + - - + + + + + + + +
NameTypeDescription
portName + + +string + +

The name of the port to retrieve the device from.

+
+ - - + + - + - - - - - - -

- getDevices() → {Array.<Device>} -

-
+ - + + + -
-

Retrieves all attached devices.

-
+ + + + + +
Source:
+
+ + + + +
-
- - - - - - - - - - - - +
Returns:
- -
Source:
-
- -
- + +
+

The device attached to the port.

+
- - - -
+
+
+ Type +
+
+ +Device +| +undefined +
+
+ + + + + +

getDevices() → {Array.<Device>}

+ + - - +
+

Retrieves all attached devices.

+
- - - - - - - -

- getDevicesByType(deviceType) → {Array.<Device>} -

-
- -
-

Retrieves an array of devices of the specified type.

-
@@ -2291,145 +2024,105 @@

-

Parameters:
- +
- - - - - - + - + - + - + - - - + - - - - - - + - + - + - - + +
Source:
+
+ - -
NameTypeDescription
deviceType - - - - number - + + - - -

The device type to lookup.

- -
+ + +
-
- - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
+
Returns:
+ +
+

Array of all attached devices.

+
+
+
+ Type +
+
+ +Array.<Device> +
+
+ - + + + + +

getDevicesByType(deviceType) → {Array.<Device>}

+ - + - - - - - - -

- setName(name) → {Promise} -

-
- +
+

Retrieves an array of devices of the specified type.

+
-
-

Set the name of the Hub.

-
@@ -2437,115 +2130,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
deviceType + + +number - - -

New name of the hub (14 characters or less, ASCII only).

- -

The device type to lookup.

+
- + - + - + - -
Overrides:
-
- -
- + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2561,96 +2236,50 @@
Parameters:
- - - - - - - - - - - - -

- shutdown() → {Promise} -

-
- - - - - -
-

Shutdown the Hub.

-
- - - - - - - +
Returns:
+ +
+

Array of all devices of the specified type.

+
-
- - +
+
+ Type +
+
+ +Array.<Device> - - -
Overrides:
-
-
- - - - - - - - - +
- + - - - - -
Source:
-
- -
- - + + - + - -
+ +

setName(name) → {Promise}

+ + +
+

Set the name of the Hub.

+
@@ -2660,179 +2289,162 @@

+

Parameters:
+ - + + + + + + - + - - - - - - -

- sleep(delay) → {Promise} -

-
+ - + + + + + + + + + -
-

Sleep a given amount of time.

-

Note: This is a helper method to make it easier to add delays into a chain of commands.

-
+ + + + + + + +
NameTypeDescription
name + + +string + +

New name of the hub (14 characters or less, ASCII only).

-
Parameters:
- - - - - - - - - - - - - +
-
- - - - - - + +
Overrides:
+
+ - + - + - - + - -
NameTypeDescription
delay - - - - number - + - - -

How long to sleep (in milliseconds).

- -
+ + + + -
+ +
Source:
+
+ - + - + - + +
- - - - - - - - - - -
Source:
-
- -
- - - - -
+
Returns:
+ +
+

Resolved upon successful issuance of command.

+
+
+
+ Type +
+
+ +Promise +
+
+ - + + - + +

shutdown() → {Promise}

+ - - - - - - -

- wait(commands) → {Promise} -

-
+ - +
+

Shutdown the Hub.

+
-
-

Wait until a given list of concurrently running commands are complete.

-

Note: This is a helper method to make it easier to wait for concurrent commands to complete.

-
@@ -2840,146 +2452,116 @@

-

Parameters:
- - - - - - - - - - - - - +
-
- - - - - - + +
Overrides:
+
+ - + - + - - + - -
NameTypeDescription
commands - - - - Array.<Promise.<any>> - + - - -

Array of executing commands.

- -
+ + + + -
+ +
Source:
+
+ - + - + - + +
- - - - - - - - - - -
Source:
-
- -
- - - - - +
Returns:
+ +
+

Resolved upon successful disconnect.

+
+
+
+ Type +
+
+ +Promise +
+
+ - + + + + +

sleep(delay) → {Promise}

+ - + - - - - - - -

- waitForDeviceAtPort(portName) → {Promise} -

-
- +
+

Sleep a given amount of time.

+

Note: This is a helper method to make it easier to add delays into a chain of commands.

+
-
-

Retrieves the device attached to a given port, waiting until one is attached if there isn't one.

-

Note: If a device is never attached, the returned promise may never resolve.

-
@@ -2987,106 +2569,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
portName - +
delay + + +number - - -

The name of the port to retrieve the device from.

- -

How long to sleep (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3102,138 +2675,151 @@
Parameters:
- - +
Returns:
- + +
+

Resolved after the delay is finished.

+
- - - - - - -

- waitForDeviceByType(deviceType) → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Retrieves the first device attached of the specified type, waiting until one is attached if there isn't one.

-

Note: If a device is never attached, the returned promise may never resolve.

-
+
+
+ + + -
Parameters:
- + - - - - - - + +

wait(commands) → {Promise}

+ + + + + + +
+

Wait until a given list of concurrently running commands are complete.

+

Note: This is a helper method to make it easier to wait for concurrent commands to complete.

+
- - - - - - - + + + + +
Parameters:
- + +
NameTypeDescription
+ + + + - + + + - + + + + + + + + + - + + - + + + - - + + - +
NamedeviceTypeType - - - - number - + + + Description
commands + + +Array.<Promise.<any>> - - -

The device type to lookup.

- -

Array of executing commands.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3249,38 +2835,53 @@
Parameters:
- - - +
Returns:
+ + +
+

Resolved after the commands are finished.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
-

Events

- + + + + + + + + +

waitForDeviceAtPort(portName) → {Promise}

+ - + - - - - - - -

- attach -

-
- +
+

Retrieves the device attached to a given port, waiting until one is attached if there isn't one.

+

Note: If a device is never attached, the returned promise may never resolve.

+
-
-

Emits when a device is attached to the Hub.

-
@@ -3288,106 +2889,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Device - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
device - +
portName + + +string - - - - -

The name of the port to retrieve the device from.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3403,175 +2995,151 @@
Parameters:
- + +
Returns:
+ +
+

Resolved once a device is attached, or resolved immediately if a device is already attached.

+
+ - +
+
+ Type +
+
+ +Promise - - - - - - -

- button -

-
- +
+
+ -
-

Emits when a button is pressed.

-
+ + + + +

waitForDeviceByType(deviceType) → {Promise}

+ + -
Parameters:
- - - - - - - - +
+

Retrieves the first device attached of the specified type, waiting until one is attached if there isn't one.

+

Note: If a device is never attached, the returned promise may never resolve.

+
+ - - - - - - - - - - - - +
NameTypeDescription
button - - - - string - + + +
Parameters:
+ + + + + + - - + - - + + + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameType - - -
Description
state - +
deviceType + + +number - - - - -

The device type to lookup.

+
- + - + - + - -
Overrides:
-
- -
- + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3587,30 +3155,60 @@
Parameters:
- + +
Returns:
+ +
+

Resolved once a device is attached, or resolved immediately if a device is already attached.

+
+ - +
+
+ Type +
+
+ +Promise + - - - - - - -

- detach -

-
+
+
- + -
-

Emits when a device is detached from the Hub.

-
+ + + + + + + + +

Events

+ + + + + + + +

attach

+ + + + + + +
+

Emits when a device is attached to the Hub.

+
+ + @@ -3618,106 +3216,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Device - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
device - +
device + + +Device - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3733,82 +3322,381 @@
Parameters:
- - - - - - - - - - - - -

- disconnect -

-
- -
-

Emits when the hub is disconnected.

-
+ + + + +

button

+ + +
+

Emits when a button is pressed.

+
-
- - - - - - - +
Parameters:
+ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
button + + +string + + + +
state + + +ButtonState + + + +
+ + + + + + +
+ + + + + + + + +
Overrides:
+
+ + + + + + + - + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

detach

+ + + + + + +
+

Emits when a device is detached from the Hub.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
device + + +Device + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

disconnect

+ + + + + + +
+

Emits when the hub is disconnected.

+
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3824,53 +3712,54 @@

- + + + + + + + - + + + + +
-
+ +
-

- - Hub +

Hub()

-

- - - + -
+
- + + - - - - - - - - -

- new Hub() -

-
+ +

new Hub()

+ - + -
+

The TechnicSmallHub is emitted if the discovered device is a Technic Small Hub.

-
+
+ + + @@ -3883,46 +3772,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3938,21 +3823,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -3960,7 +3853,7 @@

Extends

- + @@ -3969,10 +3862,124 @@

Members

+

(readonly) batteryLevel

+ + + + + + + + + + +
Properties:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
batteryLevel + + +number + + + +

Battery level of the hub (Percentage between 0-100)

+ + + + +
+ + + + + + + + +
Overrides:
+
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + +

(readonly) connected

+ -

- (readonly) batteryLevel -

@@ -3980,59 +3987,169 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + +
NameTypeTypeDescriptionDescription
connected + + +string + + + +

Connected status

+ + + + +
+ + + + + + + + +
Overrides:
+
+ + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + +

(readonly) connecting

+ + + + + + + + + + +
Properties:
-
+ - - - + + + + + + + - + + + + + + + + + + + + + + - + - + - - + + - - + +
batteryLevelNameType - - - number - - + Description
connecting + + +string - - -

Battery level of the hub (Percentage between 0-100)

-

Connecting status

@@ -4040,55 +4157,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4096,13 +4205,12 @@
Properties:
- +

(readonly) firmwareVersion

+ + -

- (readonly) connected -

@@ -4110,59 +4218,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
firmwareVersion + + +string - - -

Connected status

-

Firmware version of the hub

@@ -4170,55 +4272,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4226,13 +4320,10 @@
Properties:
- +

(readonly) hardwareVersion

-

- (readonly) connecting -

@@ -4240,59 +4331,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
hardwareVersion + + +string - - -

Connecting status

-

Hardware version of the hub

@@ -4300,55 +4387,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4356,13 +4435,12 @@
Properties:
- +

(readonly) name

+ + -

- (readonly) firmwareVersion -

@@ -4370,59 +4448,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
name + + +string - - -

Firmware version of the hub

-

Name of the hub

@@ -4430,55 +4502,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4486,13 +4550,10 @@
Properties:
- +

(readonly) ports

-

- (readonly) hardwareVersion -

@@ -4500,59 +4561,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
ports + + +Array.<string> - - -

Hardware version of the hub

-

Array of port names

@@ -4560,55 +4617,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4616,13 +4665,12 @@
Properties:
- +

(readonly) primaryMACAddress

+ + -

- (readonly) name -

@@ -4630,59 +4678,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
primaryMACAddress + + +string - - -

Name of the hub

-

Primary MAC address of the hub

@@ -4690,55 +4732,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4746,13 +4780,10 @@
Properties:
- +

(readonly) rssi

-

- (readonly) ports -

@@ -4760,59 +4791,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
rssi + + +number - - -

Array of port names

-

Signal strength of the hub

@@ -4820,55 +4847,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -4876,13 +4895,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) primaryMACAddress -

@@ -4890,59 +4908,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
type + + +string - - -

Primary MAC address of the hub

-

Hub type

@@ -4950,55 +4962,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -5006,13 +5010,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) rssi -

@@ -5020,59 +5021,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
uuid + + +string - - -

Signal strength of the hub

-

UUID of the hub

@@ -5080,55 +5077,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -5136,259 +5125,267 @@
Properties:
- + + + + +

Methods

+ -

- (readonly) type -

+ + + +

connect() → {Promise}

+ + + +
+

Connect to the Hub.

+
+ + -
Properties:
- - - - - - - - - - - - - - +
+ -
- - - + - + - + - + - - + - - -
NameTypeDescription
type - - - - string - + + - - -

Hub type

-
+ + + + +
Source:
+
+ -
+ - + + + +
- - - -
Overrides:
-
- -
- - - - - - - - - - -
Source:
-
- -
- - - - +
Returns:
+ + +
+

Resolved upon successful connect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+ - -

- (readonly) uuid -

+ + + +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ + + + +
+

Combines two ports with into a single virtual port.

+

Note: The devices attached to the ports must be of the same device type.

+
-
Properties:
- - - + + +
Parameters:
+ + +
+ - + - + - + - + - + - + - + - + - - - - + + + + - + + + + + + + + + + + - - + - - + + + + + + - - + +
NameTypeTypeDescriptionDescription
uuid
firstPortName - - - - string - + + + +string + + + +

First port name

secondPortName + + +string - - + + -

UUID of the hub

-

Second port name

+ +
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -5396,129 +5393,113 @@
Properties:
- - - - -

Methods

- - - - - - - - - -

- connect() → {Promise} -

-
- -
-

Connect to the Hub.

-
+
Returns:
+ +
+

Resolved upon successful issuance of command.

+
+
+
+ Type +
+
+ +Promise +
+
+ -
- - + + + + + + +

disconnect() → {Promise}

+ + + - - - +
+

Disconnect the Hub.

+
- - - - - - - - -
Source:
-
- -
- - - - -
+
+ + + + + + + + + + + - - + + +
Source:
+
+ - + - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ - + +
-
-

Combines two ports with into a single virtual port.

-

Note: The devices attached to the ports must be of the same device type.

-
@@ -5526,274 +5507,217 @@

-

Parameters:
- - - - - - - - - - - - - +
Returns:
- - - - - - - +
+
+ Type +
+
+Promise - -
- + + - - - - - - - - - - + - -
NameTypeDescription
firstPortName - - - - string - - - +
+

Resolved upon successful disconnect.

+
- -
-

First port name

- -
secondPortName - - - - string - - - - -

Second port name

- -
- - + +

getDeviceAtPort(portName) → {Device|undefined}

+ + -
- - - - - - -
Overrides:
-
- -
- +
+

Retrieves the device attached to a given port.

+
- - - - - - - - - -
Source:
-
- -
- +
Parameters:
+ - + + + + + + - + - - + + + + + + + + + + + + + + + + + + +
NameTypeDescription
portName + + +string + +

The name of the port to retrieve the device from.

- - - - - - - - - -

- disconnect() → {Promise} -

-
+
- + + + -
-

Disconnect the Hub.

-
+ + + + + + + + + + +
Source:
+
+ -
+ - + - + +
- - - - - - - - - - - -
Source:
-
- -
- - - - -
+
Returns:
+ +
+

The device attached to the port.

+
+
+
+ Type +
+
+ +Device +| +undefined +
+
+ - + + - + +

getDevices() → {Array.<Device>}

+ - - - - - - -

- getDeviceAtPort(portName) → {Device|undefined} -

-
+ - +
+

Retrieves all attached devices.

+
-
-

Retrieves the device attached to a given port.

-
@@ -5801,145 +5725,109 @@

-

Parameters:
- - - - - - - - - - - - - +
-
- - - - - - + - + - + - - + - -
NameTypeDescription
portName - - - - string - + - - -

The name of the port to retrieve the device from.

- -
+ + + + -
+ +
Source:
+
+ - + - + - + +
- - - - - - - - - - -
Source:
-
- -
- - - - -
+
Returns:
+ +
+

Array of all attached devices.

+
+
+
+ Type +
+
+ +Array.<Device> +
+
+ - + + - + +

getDevicesByType(deviceType) → {Array.<Device>}

+ - - - - - - -

- getDevices() → {Array.<Device>} -

-
+ - +
+

Retrieves an array of devices of the specified type.

+
-
-

Retrieves all attached devices.

-
@@ -5948,89 +5836,101 @@

+

Parameters:
+ + + + + + + -
+
- + - + - + + + - + + - + + + + - + - + - + - + + - + + +
NameTypeDescription
deviceType + + +number - - + +

The device type to lookup.

- -
Source:
-
- -
- - - - - +
+ + + + + + + + + + + - - + + +
Source:
+
+ - + - - - - - - -

- getDevicesByType(deviceType) → {Array.<Device>} -

-
+ - + +
-
-

Retrieves an array of devices of the specified type.

-
@@ -6038,268 +5938,218 @@

-

Parameters:
- - - - - - - - - - - - - +
Returns:
- - - - - - - +
+
+ Type +
+
+Array.<Device> - -
- + + - -
NameTypeDescription
deviceType - - - - number - - - +
+

Array of all devices of the specified type.

+
- -
-

The device type to lookup.

- -
-
- - + + - + - + +

setName(name) → {Promise}

+ - + - - - +
+

Set the name of the Hub.

+
- - - - - - -
Source:
-
- -
- - - - -
+
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - - + + +
NameTypeDescription
name + + +string + +

New name of the hub (14 characters or less, ASCII only).

- - - - - - - -

- setName(name) → {Promise} -

-
- +
-
-

Set the name of the Hub.

-
+ + + + +
Overrides:
+
+ + + + -
Parameters:
- + - - - - - - + - + - + - + - - - + +
Source:
+
+ - - - - - - - - - - - - -
NameTypeDescription
name - - - - string - + + - - -

New name of the hub (14 characters or less, ASCII only).

- -
-
- - - - -
Overrides:
-
- -
- +
Returns:
- + +
+

Resolved upon successful issuance of command.

+
- - - +
+
+ Type +
+
+ +Promise - - +
+
- + - - -
Source:
-
- -
- - - - -
+ + + + +

shutdown() → {Promise}

+ + +
+

Shutdown the Hub.

+
@@ -6308,131 +6158,115 @@
Parameters:
- - - - - - - - - -

- shutdown() → {Promise} -

-
- +
+ -
-

Shutdown the Hub.

-
+ + + +
Overrides:
+
+ + + + + + + + -
+ - + +
Source:
+
+ - + - + + + +
- -
Overrides:
-
- -
- - - - - - - - - - -
Source:
-
- -
- - - - -
+
Returns:
+ +
+

Resolved upon successful disconnect.

+
+
+
+ Type +
+
+ +Promise +
+
+ - + + - - - - - - - - -

- sleep(delay) → {Promise} -

-
+ +

sleep(delay) → {Promise}

+ - + -
+

Sleep a given amount of time.

Note: This is a helper method to make it easier to add delays into a chain of commands.

-
+
+ @@ -6440,106 +6274,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
delay - +
delay + + +number - - -

How long to sleep (in milliseconds).

- -

How long to sleep (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -6555,31 +6381,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved after the delay is finished.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + - + + + + - - - - - - -

- wait(commands) → {Promise} -

-
+ +

wait(commands) → {Promise}

+ - + -
+

Wait until a given list of concurrently running commands are complete.

Note: This is a helper method to make it easier to wait for concurrent commands to complete.

-
+
+ @@ -6587,106 +6434,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Array.<Promise.<any>> - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
commands - +
commands + + +Array.<Promise.<any>> - - -

Array of executing commands.

- -

Array of executing commands.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -6702,31 +6541,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved after the commands are finished.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- waitForDeviceAtPort(portName) → {Promise} -

-
- + + + + + + +

waitForDeviceAtPort(portName) → {Promise}

+ + + -
+

Retrieves the device attached to a given port, waiting until one is attached if there isn't one.

Note: If a device is never attached, the returned promise may never resolve.

-
+
+ @@ -6734,106 +6594,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
portName - +
portName + + +string - - -

The name of the port to retrieve the device from.

- -

The name of the port to retrieve the device from.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -6849,31 +6701,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved once a device is attached, or resolved immediately if a device is already attached.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + + - - - - - - - - -

- waitForDeviceByType(deviceType) → {Promise} -

-
+ +

waitForDeviceByType(deviceType) → {Promise}

+ - + -
+

Retrieves the first device attached of the specified type, waiting until one is attached if there isn't one.

Note: If a device is never attached, the returned promise may never resolve.

-
+
+ @@ -6881,106 +6754,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
deviceType - +
deviceType + + +number - - -

The device type to lookup.

- -

The device type to lookup.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -6996,38 +6861,60 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved once a device is attached, or resolved immediately if a device is already attached.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- attach -

-
+ +

attach

+ - + -
+

Emits when a device is attached to the Hub.

-
+
+ + @@ -7035,106 +6922,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Device - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
device - +
device + + +Device - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -7150,30 +7028,30 @@
Parameters:
- - - - - - - - - -

- button -

-
- + + + + + + + + +

button

+ + + -
+

Emits when a button is pressed.

-
+
+ + @@ -7181,144 +7059,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -7334,30 +7193,30 @@
Parameters:
- - - - - - - - - -

- detach -

-
- + + + + + + + + +

detach

+ + + -
+

Emits when a device is detached from the Hub.

-
+
+ + @@ -7365,106 +7224,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Device - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
device - +
device + + +Device - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -7480,30 +7330,31 @@
Parameters:
- - - - - - - - - -

- disconnect -

-
- + + + + + + + + +

disconnect

+ + + -
+

Emits when the hub is disconnected.

-
+
+ + + @@ -7516,46 +7367,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -7571,26 +7418,34 @@

- + + + + + + + -

-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/HubLED.html b/docs/HubLED.html index 80fbbc67..69e1c55b 100644 --- a/docs/HubLED.html +++ b/docs/HubLED.html @@ -1,123 +1,53 @@ - - - - - - HubLED - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: HubLED + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- HubLED -

- -
-
+ +
-

+

HubLED()

- HubLED - - - - -
+
-
+
- + + + + +

new HubLED()

+ + + - - - - - - - -

- new HubLED() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) isVirtualPort

+ + -

- (readonly) isVirtualPort -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,28 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- setColor(color) → {Promise} -

-
+ +

setColor(color) → {Promise}

+ - + -
+

Set the color of the LED on the Hub via a color value.

-
+
@@ -1031,106 +867,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Color - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
color - +
color + + +Color - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1146,30 +975,51 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setRGB(red, green, blue) → {Promise} -

-
+ +

setRGB(red, green, blue) → {Promise}

+ - + -
+

Set the color of the LED on the Hub via RGB values.

-
+
+ @@ -1177,164 +1027,144 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
red - +
red + + +number - - - - -
green - +
green + + +number - - - - -
blue - +
blue + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1350,30 +1180,60 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/LPF2Hub.html b/docs/LPF2Hub.html index 11a8cdd7..b8040792 100644 --- a/docs/LPF2Hub.html +++ b/docs/LPF2Hub.html @@ -1,123 +1,53 @@ - - - - - - LPF2Hub - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: LPF2Hub + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- LPF2Hub -

- -
-
+ +
-

+

LPF2Hub()

- LPF2Hub - - - - -
+
-
+
- + + + + +

new LPF2Hub()

+ + + - - - - - - - -

- new LPF2Hub() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) batteryLevel

+ + -

- (readonly) batteryLevel -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) connected

-

- (readonly) connected -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) connecting

+ + -

- (readonly) connecting -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,10 @@
Properties:
- +

(readonly) firmwareVersion

-

- (readonly) firmwareVersion -

@@ -617,59 +504,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,12 @@
Properties:
- +

(readonly) hardwareVersion

+ + -

- (readonly) hardwareVersion -

@@ -747,59 +621,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) name

-

- (readonly) name -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,13 +838,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1007,59 +850,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1067,55 +905,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1123,13 +953,11 @@
Properties:
- +

(readonly) primaryMACAddress

+ -

- (readonly) primaryMACAddress -

@@ -1137,59 +965,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1197,55 +1020,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1253,13 +1068,12 @@
Properties:
- +

(readonly) rssi

+ + -

- (readonly) rssi -

@@ -1267,59 +1081,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1327,55 +1135,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1383,13 +1183,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1397,59 +1195,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1457,55 +1250,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1513,13 +1298,11 @@
Properties:
- +

(readonly) uuid

+ -

- (readonly) uuid -

@@ -1527,59 +1310,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1587,55 +1365,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1643,38 +1413,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ - + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
+ @@ -1682,135 +1444,121 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1826,30 +1574,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ - - - - - - - -

- setName(name) → {Promise} -

-
- + + -
+ + + +

setName(name) → {Promise}

+ + + + + + +

Set the name of the Hub.

-
+
+ @@ -1857,106 +1626,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1972,30 +1733,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- shutdown() → {Promise} -

-
- + + + -
+ +

shutdown() → {Promise}

+ + + + + + +

Shutdown the Hub.

-
+
+ + + @@ -2008,46 +1792,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2063,38 +1843,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -2102,135 +1904,120 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2246,26 +2033,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/Light.html b/docs/Light.html index 6cf93192..f437ea08 100644 --- a/docs/Light.html +++ b/docs/Light.html @@ -1,123 +1,53 @@ - - - - - - Light - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: Light + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- Light -

- -
-
+ +
-

+

Light()

- Light - - - - -
+
-
+
- + + + + +

new Light()

+ + + - - - - - - - -

- new Light() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) isVirtualPort

+ + -

- (readonly) isVirtualPort -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,28 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- rampBrightness(fromBrightness, toBrightness, time) → {Promise} -

-
+ +

rampBrightness(fromBrightness, toBrightness, time) → {Promise}

+ - + -
+

Ramp the light brightness.

-
+
@@ -1031,164 +867,145 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
fromBrightness - +
fromBrightness + + +number - - -

Brightness value between 0-100 (0 is off)

- -

Brightness value between 0-100 (0 is off)

toBrightness - +
toBrightness + + +number - - -

Brightness value between 0-100 (0 is off)

- -

Brightness value between 0-100 (0 is off)

time - +
time + + +number - - -

How long the ramp should last (in milliseconds).

- -

How long the ramp should last (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1204,30 +1021,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setBrightness(brightness) → {Promise} -

-
+ +

setBrightness(brightness) → {Promise}

+ - + -
+

Set the light brightness.

-
+
+ @@ -1235,106 +1073,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
brightness - +
brightness + + +number - - -

Brightness value between 0-100 (0 is off)

- -

Brightness value between 0-100 (0 is off)

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1350,30 +1180,60 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/Mario.html b/docs/Mario.html index 43e5da51..5a90a36a 100644 --- a/docs/Mario.html +++ b/docs/Mario.html @@ -1,129 +1,59 @@ - - - - - - Mario - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: Mario + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- Mario -

- -
-
+ +
-

+

Mario()

- Mario - - - - -
+
-
+
- + + - - - - - - - - -

- new Mario() -

-
+ +

new Mario()

+ - + -
+

Mario is emitted if the discovered device is a LEGO Super Mario brick.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,21 +117,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -213,7 +147,7 @@

Extends

- + @@ -222,10 +156,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -233,59 +166,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -293,55 +221,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -349,13 +269,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -363,59 +281,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -423,55 +336,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -479,13 +384,11 @@
Properties:
- +

(readonly) connecting

+ -

- (readonly) connecting -

@@ -493,59 +396,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -553,55 +451,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -609,13 +499,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -623,59 +511,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -683,55 +566,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -739,13 +614,11 @@
Properties:
- +

(readonly) hardwareVersion

+ -

- (readonly) hardwareVersion -

@@ -753,59 +626,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -813,55 +681,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -869,13 +729,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -883,59 +741,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -943,55 +796,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -999,13 +844,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1013,59 +856,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1073,55 +911,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1129,13 +959,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1143,59 +970,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1203,55 +1026,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1259,13 +1074,11 @@
Properties:
- +

(readonly) rssi

+ -

- (readonly) rssi -

@@ -1273,59 +1086,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1333,55 +1141,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1389,13 +1189,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1403,59 +1201,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1463,55 +1256,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,13 +1304,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) uuid -

@@ -1533,59 +1315,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1593,55 +1371,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1649,38 +1419,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ - + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
+ @@ -1688,144 +1450,126 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1841,30 +1585,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setName(name) → {Promise} -

-
+ + + + - + +

setName(name) → {Promise}

+ + + -
+

Set the name of the Hub.

-
+
@@ -1872,115 +1636,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1996,30 +1749,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- shutdown() → {Promise} -

-
- + + + + + + +

shutdown() → {Promise}

+ + + -
+

Shutdown the Hub.

-
+
+ + + @@ -2032,55 +1808,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2096,38 +1864,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -2135,144 +1925,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2288,26 +2059,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MarioAccelerometer.html b/docs/MarioAccelerometer.html index faae0d53..50c49d3d 100644 --- a/docs/MarioAccelerometer.html +++ b/docs/MarioAccelerometer.html @@ -1,123 +1,53 @@ - - - - - - MarioAccelerometer - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MarioAccelerometer + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MarioAccelerometer -

- -
-
+ +
-

- - MarioAccelerometer +

MarioAccelerometer()

- - - -
+
-
+
- + + + + +

new MarioAccelerometer()

+ + + - - - - - - - -

- new MarioAccelerometer() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,197 +846,180 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- accel :object -

-
+ +

accel

+ - + -
+

Emits when accelerometer detects movement. Measured in mG.

-
+
+ + + +
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
x - +
x + + +number - - - - -
y - +
y + + +number - - - - -
z - +
z + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1208,137 +1035,138 @@
Parameters:
- - - - - - - - - -

- gest :object -

-
- + + + + + + + + +

gest

+ + + -
+

Emits when a gesture is detected

-
+
+
Type:
+
    +
  • + +object -
    Parameters:
    - +
  • +
+ + + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
gesture - +
gesture + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1354,26 +1182,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MarioBarcodeSensor.html b/docs/MarioBarcodeSensor.html index 53ee1317..780ad9bf 100644 --- a/docs/MarioBarcodeSensor.html +++ b/docs/MarioBarcodeSensor.html @@ -1,123 +1,53 @@ - - - - - - MarioBarcodeSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MarioBarcodeSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MarioBarcodeSensor -

- -
-
+ +
-

- - MarioBarcodeSensor +

MarioBarcodeSensor()

- - - -
+
-
+
- + + + + +

new MarioBarcodeSensor()

+ + + - - - - - - - -

- new MarioBarcodeSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- barcode :object -

-
+ +

barcode

+ - + -
+

Emits when the barcode sensor sees a barcode.

-
+
+ + + +
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
id - +
id + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,195 +989,184 @@
Parameters:
- - - - - - - - - -

- rgb :object -

-
- + + + + + + +

rgb

+ -
+ + + + +

Emits when the barcode sensor sees a RGB color.

-
+
+ + + +
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
r - +
r + + +number - - - - -
g - +
g + + +number - - - - -
b - +
b + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1354,26 +1182,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MarioPantsSensor.html b/docs/MarioPantsSensor.html index a81f45aa..5be25c98 100644 --- a/docs/MarioPantsSensor.html +++ b/docs/MarioPantsSensor.html @@ -1,123 +1,53 @@ - - - - - - MarioPantsSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MarioPantsSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MarioPantsSensor -

- -
-
+ +
-

- - MarioPantsSensor +

MarioPantsSensor()

- - - -
+
-
+
- + + + + +

new MarioPantsSensor()

+ + + - - - - - - - -

- new MarioPantsSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- pants :object -

-
+ +

pants

+ - + -
+

Emits when the user changes the pants on Mario.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
pants - +
pants + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,26 +989,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MediumLinearMotor.html b/docs/MediumLinearMotor.html index 7bb73b64..dd2444ed 100644 --- a/docs/MediumLinearMotor.html +++ b/docs/MediumLinearMotor.html @@ -1,123 +1,53 @@ - - - - - - MediumLinearMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MediumLinearMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MediumLinearMotor -

- -
-
+ +
-

+

MediumLinearMotor()

- MediumLinearMotor - - - - -
+
-
+
- + + + + +

new MediumLinearMotor()

+ + + - - - - - - - -

- new MediumLinearMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
+ +

rotateByDegrees(degrees, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given amount of degrees.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
degrees - +
degrees + + +number - - + + + + + + - + + -

How much the motor should be rotated (in degrees).

- -

How much the motor should be rotated (in degrees).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,30 +341,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ +

setAccelerationTime(time) → {Promise}

+ - + -
+

Set the global acceleration time

-
+
+ + @@ -463,115 +394,102 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -587,31 +505,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setBrakingStyle(style) -

-
+ +

setBrakingStyle(style)

+ - + -
+

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ + @@ -619,115 +559,102 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -743,146 +670,133 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + -
-

Set the global deceleration time

-
+ + +

setDecelerationTime(time) → {Promise}

+ + + + + + +
+

Set the global deceleration time

+
-
Parameters:
- + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -898,31 +812,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- setMaxPower(style) -

-
- + + + + + + +

setMaxPower(style)

+ + + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -930,115 +864,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1054,30 +977,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1085,144 +1008,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1238,154 +1142,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- rotate :object -

-
+ +

rotate

+ - + -
+

Emits when a rotation sensor is activated.

-
+
+
Type:
+
    +
  • + +object -
    Parameters:
    - +
  • +
+ + + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1401,26 +1324,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MotionSensor.html b/docs/MotionSensor.html index 207e5fe7..3c076aa2 100644 --- a/docs/MotionSensor.html +++ b/docs/MotionSensor.html @@ -1,123 +1,53 @@ - - - - - - MotionSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MotionSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MotionSensor -

- -
-
+ +
-

- - MotionSensor +

MotionSensor()

- - - -
+
-
+
- + + + + +

new MotionSensor()

+ + + - - - - - - - -

- new MotionSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- distance :object -

-
+ +

distance

+ - + -
+

Emits when a distance sensor is activated.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
distance - +
distance + + +number - - -

Distance, in millimeters.

- -

Distance, in millimeters.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,26 +989,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MoveHub.html b/docs/MoveHub.html index afbfeb93..0e313863 100644 --- a/docs/MoveHub.html +++ b/docs/MoveHub.html @@ -1,129 +1,59 @@ - - - - - - MoveHub - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MoveHub + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MoveHub -

- -
-
+ +
-

+

MoveHub()

- MoveHub - - - - -
+
-
+
- + + - - - - - - - - -

- new MoveHub() -

-
+ +

new MoveHub()

+ - + -
+

The MoveHub is emitted if the discovered device is a Move Hub.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,21 +117,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -213,7 +147,7 @@

Extends

- + @@ -222,10 +156,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -233,59 +166,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -293,55 +221,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -349,13 +269,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -363,59 +281,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -423,55 +336,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -479,13 +384,11 @@
Properties:
- +

(readonly) connecting

+ -

- (readonly) connecting -

@@ -493,59 +396,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -553,55 +451,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -609,13 +499,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -623,59 +511,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -683,55 +566,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -739,13 +614,11 @@
Properties:
- +

(readonly) hardwareVersion

+ -

- (readonly) hardwareVersion -

@@ -753,59 +626,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -813,55 +681,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -869,13 +729,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -883,59 +741,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -943,55 +796,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -999,13 +844,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1013,59 +856,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1073,55 +911,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1129,13 +959,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1143,59 +970,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1203,55 +1026,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1259,13 +1074,11 @@
Properties:
- +

(readonly) rssi

+ -

- (readonly) rssi -

@@ -1273,59 +1086,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1333,55 +1141,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1389,13 +1189,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1403,59 +1201,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1463,55 +1256,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,13 +1304,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) uuid -

@@ -1533,59 +1315,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1593,55 +1371,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1649,38 +1419,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ - + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
+ @@ -1688,144 +1450,126 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1841,30 +1585,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setName(name) → {Promise} -

-
+ + + + - + +

setName(name) → {Promise}

+ + + -
+

Set the name of the Hub.

-
+
@@ -1872,115 +1636,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1996,30 +1749,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- shutdown() → {Promise} -

-
- + + + + + + +

shutdown() → {Promise}

+ + + -
+

Shutdown the Hub.

-
+
+ + + @@ -2032,55 +1808,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2096,38 +1864,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -2135,144 +1925,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2288,26 +2059,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MoveHubMediumLinearMotor.html b/docs/MoveHubMediumLinearMotor.html index 9a87177a..3f6ae183 100644 --- a/docs/MoveHubMediumLinearMotor.html +++ b/docs/MoveHubMediumLinearMotor.html @@ -1,123 +1,53 @@ - - - - - - MoveHubMediumLinearMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MoveHubMediumLinearMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MoveHubMediumLinearMotor -

- -
-
+ +
-

+

MoveHubMediumLinearMotor()

- MoveHubMediumLinearMotor - - - - -
+
-
+
- + + + + +

new MoveHubMediumLinearMotor()

+ + + - - - - - - - -

- new MoveHubMediumLinearMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
+ +

rotateByDegrees(degrees, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given amount of degrees.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
degrees - +
degrees + + +number - - + + + + + + - + + -

How much the motor should be rotated (in degrees).

- -

How much the motor should be rotated (in degrees).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,30 +341,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ +

setAccelerationTime(time) → {Promise}

+ - + -
+

Set the global acceleration time

-
+
+ + @@ -463,115 +394,102 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -587,31 +505,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setBrakingStyle(style) -

-
+ +

setBrakingStyle(style)

+ - + -
+

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ + @@ -619,115 +559,102 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -743,146 +670,133 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + -
-

Set the global deceleration time

-
+ + +

setDecelerationTime(time) → {Promise}

+ + + + + + +
+

Set the global deceleration time

+
-
Parameters:
- + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -898,31 +812,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- setMaxPower(style) -

-
- + + + + + + +

setMaxPower(style)

+ + + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -930,115 +864,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1054,30 +977,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1085,144 +1008,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1238,154 +1142,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- rotate :object -

-
+ +

rotate

+ - + -
+

Emits when a rotation sensor is activated.

-
+
+
Type:
+
    +
  • + +object -
    Parameters:
    - +
  • +
+ + + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1401,26 +1324,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/MoveHubTiltSensor.html b/docs/MoveHubTiltSensor.html index 9544c818..e3efb764 100644 --- a/docs/MoveHubTiltSensor.html +++ b/docs/MoveHubTiltSensor.html @@ -1,123 +1,53 @@ - - - - - - MoveHubTiltSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: MoveHubTiltSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- MoveHubTiltSensor -

- -
-
+ +
-

- - MoveHubTiltSensor +

MoveHubTiltSensor()

- - - -
+
-
+
- + + + + +

new MoveHubTiltSensor()

+ + + - - - - - - - -

- new MoveHubTiltSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,7 +139,9 @@

Extends

- + + + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,168 +846,157 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- tilt :object -

-
+ +

tilt

+ - + -
+

Emits when a tilt sensor is activated.

-
+
+ + + + +
Type:
+
    +
  • + +object +
  • +
+ -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
x - +
x + + +number - - - - -
y - +
y + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1179,26 +1012,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/PiezoBuzzer.html b/docs/PiezoBuzzer.html index f0894b1d..50298e22 100644 --- a/docs/PiezoBuzzer.html +++ b/docs/PiezoBuzzer.html @@ -1,123 +1,53 @@ - - - - - - PiezoBuzzer - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: PiezoBuzzer + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- PiezoBuzzer -

- -
-
+ +
-

- - PiezoBuzzer +

PiezoBuzzer()

- - - -
+
-
+
- + + + + +

new PiezoBuzzer()

+ + + - - - - - - - -

- new PiezoBuzzer() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) isVirtualPort

+ + -

- (readonly) isVirtualPort -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,28 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- playTone(frequency, time) → {Promise} -

-
+ +

playTone(frequency, time) → {Promise}

+ - + -
+

Play a tone on the Hub's in-built buzzer

-
+
@@ -1031,135 +867,122 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
frequency - +
frequency + + +number - - - - -
time - +
time + + +number - - -

How long the tone should play for (in milliseconds).

- -

How long the tone should play for (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1175,30 +998,60 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the tone has finished playing).

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/PoweredUP.html b/docs/PoweredUP.html index 01ed0fff..55e4c14e 100644 --- a/docs/PoweredUP.html +++ b/docs/PoweredUP.html @@ -1,123 +1,53 @@ - - - - - - PoweredUP - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: PoweredUP + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- PoweredUP -

- -
-
+ +
-

+

PoweredUP()

- PoweredUP - - - - -
+
-
+
- + + + + +

new PoweredUP()

+ + + - - - - - - - -

- new PoweredUP() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - +
    +
  • EventEmitter
  • +
-
    -
  • EventEmitter
  • -
+ @@ -207,39 +141,31 @@

Extends

- + -

Methods

+

Methods

- + + - - - - - - - - -

- getHubByPrimaryMACAddress(address) → {BaseHub} -

-
+ +

getHubByPrimaryMACAddress(address) → {BaseHub}

+ - + -
+

Retrieve a Powered UP Hub by primary MAC address.

-
+
@@ -247,106 +173,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
address - +
address + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -362,30 +281,47 @@
Parameters:
- + +
Returns:
+ + + + +
+
+ Type +
+
+BaseHub + + +
+
+ + + - - - - - - - -

- getHubByPrimaryMACAddress(address) → {BaseHub} -

-
- + + + + + + +

getHubByPrimaryMACAddress(address) → {BaseHub}

+ + + -
+

Retrieve a Powered UP Hub by primary MAC address.

-
+
+ @@ -393,106 +329,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
address - +
address + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -508,30 +436,48 @@
Parameters:
- + +
Returns:
+ + + + +
+
+ Type +
+
+BaseHub + + +
+
+ + + + + + + + - + - - - - - - -

- getHubByUUID(uuid) → {BaseHub|null} -

-
+ +

getHubByUUID(uuid) → {BaseHub|null}

+ - + -
+

Retrieve a Powered UP Hub by UUID.

-
+
+ + @@ -539,106 +485,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
uuid - +
uuid + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -654,229 +591,212 @@
Parameters:
- + +
Returns:
+ - +
+
+ Type +
+
+ +BaseHub +| - - - - - - -

- getHubByUUID(uuid) → {BaseHub|null} -

-
+null - +
+
+ -
-

Retrieve a Powered UP Hub by UUID.

-
+ + + + +

getHubByUUID(uuid) → {BaseHub|null}

+ -
Parameters:
- + - - - - - - - - +
+

Retrieve a Powered UP Hub by UUID.

+
- - - - - - - - - - - + + + + -
+ - + - +
+ - + + +
NameTypeDescription
uuid - - - - string - + + + + +
Parameters:
+ + + + + + - - + - - + + + + - -
NameType - - -
Description
+
uuid + + +string + +
- - - - - - +
- + - + - + - -
Source:
-
- -
- + - + - + - -
+ + + + + + + +
Source:
+
+ + + + + - - - - - - - - - -

- getHubs() → {Array.<BaseHub>} -

-
- -
-

Retrieve a list of Powered UP Hubs.

-
+
Returns:
+ +
+
+ Type +
+
+ +BaseHub +| +null +
+
-
+ - - - - - + + - + - + +

getHubs() → {Array.<BaseHub>}

+ - + - - - +
+

Retrieve a list of Powered UP Hubs.

+
- - -
Source:
-
- -
- - - - -
@@ -885,39 +805,45 @@

+
+ + + + + - - + + - + - - - - - - -

- getHubs() → {Array.<BaseHub>} -

-
+ - + + + -
-

Retrieve a list of Powered UP Hubs.

-
+ +
Source:
+
+ + + + +
@@ -925,87 +851,54 @@

-
- - - - - - - - +
Returns:
- + - - +
+
+ Type +
+
+ +Array.<BaseHub> - - -
Source:
-
-
- - - - - - -
+ - - - - - - - - - + + - + +

getHubs() → {Array.<BaseHub>}

+ - - - - - - -

- getHubsByName(name) → {Array.<BaseHub>} -

-
+ - +
+

Retrieve a list of Powered UP Hubs.

+
-
-

Retrieve a list of Powered UP Hub by name.

-
@@ -1013,145 +906,106 @@

-

Parameters:
- - - - - - - - - - - - - +
-
- - - - - - - - + - + - - + - -
NameTypeDescription
name - - - - string - + - - - - -
+ + + + -
+ - + +
Source:
+
+ - + - + - + +
- - - - - - - - - -
Source:
-
- -
- - - - -
+

Returns:
+ +
+
+ Type +
+
+ +Array.<BaseHub> +
+
+ - + + - - - - - - - - -

- getHubsByName(name) → {Array.<BaseHub>} -

-
+ +

getHubsByName(name) → {Array.<BaseHub>}

+ - + -
+

Retrieve a list of Powered UP Hub by name.

-
+
+ + @@ -1159,106 +1013,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1274,137 +1119,146 @@
Parameters:
- + +
Returns:
+ - +
+
+ Type +
+
+ +Array.<BaseHub> + + +
+
+ + - - - - - - -

- getHubsByType(name) → {Array.<BaseHub>} -

-
- -
-

Retrieve a list of Powered UP Hub by type.

-
+ + + + + +

getHubsByName(name) → {Array.<BaseHub>}

+ + + + + + +
+

Retrieve a list of Powered UP Hub by name.

+
-
Parameters:
- + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1420,176 +1274,151 @@
Parameters:
- + +
Returns:
+ + + + +
+
+ Type +
+
+Array.<BaseHub> - +
+
- - - - - - -

- getHubsByType(name) → {Array.<BaseHub>} -

-
+ - -
-

Retrieve a list of Powered UP Hub by type.

-
+ + + + +

getHubsByType(name) → {Array.<BaseHub>}

+ + -
Parameters:
- +
+

Retrieve a list of Powered UP Hub by type.

+
+ - - - - - - - - - - - - - - - - - - - + + + + -
- - - - - - - - - - - - - - - - + - + - +
+ - + + +
NameTypeDescription
name - - - - string - +
Parameters:
+ + + + + + - - + - - + + + + - -
NameType - - -
Description
+
name + + +string + +
- - -
Source:
-
- -
- - - - - +
+ + + + + + + + + + + + - - + +
Source:
+
+ + - + - - - - - - -

- scan() -

-
+ +
- -
-

Begin scanning for Powered UP Hub devices.

-
@@ -1600,51 +1429,46 @@

-
- +
Returns:
- + - - +
+
+ Type +
+
+ +Array.<BaseHub> - - +
+
- + - - - - - + + - -
Source:
-
- -
- + - + +

getHubsByType(name) → {Array.<BaseHub>}

+ - + - -
+
+

Retrieve a list of Powered UP Hub by type.

+
@@ -1654,37 +1478,53 @@

+

Parameters:
+ + + + + + + + - + - + + + - - - - - - -

- scan() -

-
+ + - + + + + + + + + + + + +
NameTypeDescription
name + + +string -
-

Begin scanning for Powered UP Hub devices.

-
+ +
@@ -1693,46 +1533,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1748,129 +1584,105 @@

- - - - - - - - - - - -

- stop() -

-
- - +

Returns:
+ -
-

Stop scanning for Powered UP Hub devices.

-
+
+
+ Type +
+
+ +Array.<BaseHub> +
+
+ + + + -
+ +

scan()

+ - + - - - +
+

Begin scanning for Powered UP Hub devices.

+
- - - - - - - - - -
Source:
-
- -
- - - - -
+
+ + + + + + + + + + + + - + +
Source:
+
-

Events

- - + +
- - - - - - - -

- discover -

-
- -
-

Emits when a Powered UP Hub device is found.

-
@@ -1878,83 +1690,36 @@

-

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
hub - - - WeDo2SmartHub - - | - - - MoveHub - + - | + +

scan()

+ - - TechnicMediumHub - + - | - - RemoteControl - - | +
+

Begin scanning for Powered UP Hub devices.

+
- - DuploTrainBase - - - -
- - -
@@ -1962,46 +1727,42 @@
Parameters:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2017,271 +1778,236 @@
Parameters:
- - - - - - - - - -

- discover -

-
- + + -
-

Emits when a Powered UP Hub device is found.

-
+ + +

stop()

+ + +
+

Stop scanning for Powered UP Hub devices.

+
-
Parameters:
- - - - - - - - - - - - - - - - - - - - + - + - + - - + - -
NameTypeDescription
hub - - - - WeDo2SmartHub - - | - - MoveHub - - | - - TechnicMediumHub - +
- | + - - RemoteControl - + - | + - - DuploTrainBase - + + - -
- - -
+ + +
Source:
+
+ + + + + + -
- - - - - - - - - - - - - -
Source:
-
- -
- - - - -
+ + + + +

Events

+ + + + +

discover

+ + +
+

Emits when a Powered UP Hub device is found.

+
- - -
-
-
-
+ + + +
Parameters:
-

+ + + + - PoweredUP + - - - - + -
-
- + - +
+ + - - - - - - -

- new PoweredUP() -

-
+ + - + + + + + + + + + + + +
NameTypeDescription
hub + + +WeDo2SmartHub +| +MoveHub +| +TechnicMediumHub +| +RemoteControl +| +DuploTrainBase + +
-
- - - - - +
- + - + - + - + - + - + - + - -
Source:
-
- -
- + - + + + + + + + + + +
Source:
+
+ + + - + - +
@@ -2297,59 +2023,316 @@

- -

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

discover

+ + + + + + +
+

Emits when a Powered UP Hub device is found.

+
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
hub + + +WeDo2SmartHub +| + +MoveHub +| + +TechnicMediumHub +| + +RemoteControl +| + +DuploTrainBase + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +

PoweredUP()

+ + +
+ +
+
-

Extends

+ + + + + +

new PoweredUP()

+ + + + + + + + + + + - -
    -
  • EventEmitter
  • -
+ + +
+ + + + + - + + + + + + + -

Methods

- + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + +

Extends

+ - +
    +
  • EventEmitter
  • +
+ + + + + + + - - - - - - -

- getHubByPrimaryMACAddress(address) → {BaseHub} -

-
+ - + + + -
+ +

Methods

+ + + + + + + +

getHubByPrimaryMACAddress(address) → {BaseHub}

+ + + + + + +

Retrieve a Powered UP Hub by primary MAC address.

-
+
+ @@ -2357,106 +2340,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
address - +
address + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2472,30 +2447,47 @@
Parameters:
- + +
Returns:
+ - +
+
+ Type +
+
+ +BaseHub + + +
+
+ + + + + + + + + + + - - - - - - -

- getHubByPrimaryMACAddress(address) → {BaseHub} -

-
+ +

getHubByPrimaryMACAddress(address) → {BaseHub}

+ - + -
+

Retrieve a Powered UP Hub by primary MAC address.

-
+
+ @@ -2503,106 +2495,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
address - +
address + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2618,30 +2602,46 @@
Parameters:
- + +
Returns:
+ - +
+
+ Type +
+
+ +BaseHub - - - - - - -

- getHubByUUID(uuid) → {BaseHub|null} -

-
- +
+
+ + + + + + + + + + + + + +

getHubByUUID(uuid) → {BaseHub|null}

+ + + -
+

Retrieve a Powered UP Hub by UUID.

-
+
@@ -2649,106 +2649,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
uuid - +
uuid + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2764,30 +2757,50 @@
Parameters:
- + +
Returns:
+ + + + +
+
+ Type +
+
+BaseHub +| + +null + +
+
- + - - - - - - -

- getHubByUUID(uuid) → {BaseHub|null} -

-
- -
+ + + + + + +

getHubByUUID(uuid) → {BaseHub|null}

+ + + + + + +

Retrieve a Powered UP Hub by UUID.

-
+
+ @@ -2795,145 +2808,208 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
uuid - +
uuid + + +string - - - - -
+
- + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +BaseHub +| + +null + + +
+
+ + + + + + - + + - + - + +

getHubs() → {Array.<BaseHub>}

+ - + - - - +
+

Retrieve a list of Powered UP Hubs.

+
- - - - - -
Source:
-
- -
- - - - - +
+ + + + + + + + - - + + - + - - - - - - -

- getHubs() → {Array.<BaseHub>} -

-
+ - + +
Source:
+
+ + + -
-

Retrieve a list of Powered UP Hubs.

-
+ +
@@ -2944,55 +3020,50 @@

-
- - - - - +
Returns:
- + - - +
+
+ Type +
+
+ +Array.<BaseHub> - - +
+
- + - - -
Source:
-
- -
- - - - -
+ + + + +

getHubs() → {Array.<BaseHub>}

+ + +
+

Retrieve a list of Powered UP Hubs.

+
@@ -3001,121 +3072,105 @@

- - - - - - - - - -

- getHubs() → {Array.<BaseHub>} -

-
- +
+ -
-

Retrieve a list of Powered UP Hubs.

-
+ + + + + + + + + + -
+ - + +
Source:
+
+ - + - + - + +
- - - - - - - - - -
Source:
-
- -
- - - - -
+

Returns:
+ +
+
+ Type +
+
+ +Array.<BaseHub> +
+
+ - + + - - - - - - - - -

- getHubsByName(name) → {Array.<BaseHub>} -

-
+ +

getHubsByName(name) → {Array.<BaseHub>}

+ - + -
+

Retrieve a list of Powered UP Hub by name.

-
+
+ @@ -3123,106 +3178,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3238,30 +3285,48 @@
Parameters:
- + +
Returns:
+ + + + +
+
+ Type +
+
+Array.<BaseHub> + + +
+
+ + + + + + + + - + - - - - - - -

- getHubsByName(name) → {Array.<BaseHub>} -

-
+ +

getHubsByName(name) → {Array.<BaseHub>}

+ - + -
+

Retrieve a list of Powered UP Hub by name.

-
+
+ + @@ -3269,106 +3334,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3384,30 +3440,47 @@
Parameters:
- + +
Returns:
+ - +
+
+ Type +
+
+ +Array.<BaseHub> + + +
+
+ + + + + + + + + + + - - - - - - -

- getHubsByType(name) → {Array.<BaseHub>} -

-
+ +

getHubsByType(name) → {Array.<BaseHub>}

+ - + -
+

Retrieve a list of Powered UP Hub by type.

-
+
+ @@ -3415,106 +3488,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3530,30 +3595,48 @@
Parameters:
- + +
Returns:
+ + + + +
+
+ Type +
+
+ +Array.<BaseHub> + + +
+
+ + + + + + + + + + + +

getHubsByType(name) → {Array.<BaseHub>}

+ - + - - - - - - -

- getHubsByType(name) → {Array.<BaseHub>} -

-
- +
+

Retrieve a list of Powered UP Hub by type.

+
-
-

Retrieve a list of Powered UP Hub by type.

-
@@ -3561,106 +3644,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3676,30 +3750,49 @@
Parameters:
- + +
Returns:
+ - +
+
+ Type +
+
+ +Array.<BaseHub> + + +
+
+ + + + + + + + + + + - - - - - - -

- scan() -

-
+ +

scan()

+ - + -
+

Begin scanning for Powered UP Hub devices.

-
+
+ + + @@ -3712,46 +3805,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3767,30 +3856,31 @@

- - - - - - - - - -

- scan() -

-
- + + + + + + + + +

scan()

+ + + -
+

Begin scanning for Powered UP Hub devices.

-
+
+ + + @@ -3803,46 +3893,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3858,30 +3944,31 @@

- - - - - - - - - -

- stop() -

-
- + + + + + + + + +

stop()

+ + + -
+

Stop scanning for Powered UP Hub devices.

-
+
+ + + @@ -3894,46 +3981,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -3949,38 +4032,37 @@

- + + + + + + + -

Events

+

Events

- + + - - - - - - - - -

- discover -

-
+ +

discover

+ - + -
+

Emits when a Powered UP Hub device is found.

-
+
+ @@ -3988,131 +4070,117 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - - - WeDo2SmartHub - + + + + - - RemoteControl - + - | + - - DuploTrainBase - + + + +
NameTypeTypeDescriptionDescription
hub - +
hub + + +WeDo2SmartHub +| + +MoveHub +| - | +TechnicMediumHub +| - - MoveHub - +RemoteControl +| - | +DuploTrainBase - - TechnicMediumHub - - | + +
- -
- - -
+ + + + -
+ - + - + - + - + - + - + - + +
Source:
+
+ - + - + - + +
- - - -
Source:
-
- -
- - - - - @@ -4127,30 +4195,23 @@
Parameters:
- + + - - - - - - - - -

- discover -

-
+ +

discover

+ - + -
+

Emits when a Powered UP Hub device is found.

-
+
+ @@ -4158,131 +4219,117 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + + + + - - RemoteControl - + - | + - - DuploTrainBase - + + + +
NameTypeTypeDescriptionDescription
hub - +
hub - - WeDo2SmartHub - + +WeDo2SmartHub +| + +MoveHub +| - | +TechnicMediumHub +| - - MoveHub - +RemoteControl +| - | +DuploTrainBase - - TechnicMediumHub - - | + +
- - - - - - - - - + +
- - + + + + -
+ - + - + - + - + - + - + - + +
Source:
+
+ - + - + - + +
- - - -
Source:
-
- -
- - - - -
@@ -4297,26 +4344,28 @@
Parameters:
- + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/RemoteControl.html b/docs/RemoteControl.html index 6541f974..10c1a488 100644 --- a/docs/RemoteControl.html +++ b/docs/RemoteControl.html @@ -1,129 +1,59 @@ - - - - - - RemoteControl - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: RemoteControl + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- RemoteControl -

- -
-
+ +
-

+

RemoteControl()

- RemoteControl - - - - -
+
-
+
- + + - - - - - - - - -

- new RemoteControl() -

-
+ +

new RemoteControl()

+ - + -
+

The RemoteControl is emitted if the discovered device is a Remote Control.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,21 +117,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -213,7 +147,7 @@

Extends

- + @@ -222,10 +156,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -233,59 +166,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -293,55 +221,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -349,13 +269,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -363,59 +281,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -423,55 +336,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -479,13 +384,11 @@
Properties:
- +

(readonly) connecting

+ -

- (readonly) connecting -

@@ -493,59 +396,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -553,55 +451,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -609,13 +499,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -623,59 +511,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -683,55 +566,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -739,13 +614,11 @@
Properties:
- +

(readonly) hardwareVersion

+ -

- (readonly) hardwareVersion -

@@ -753,59 +626,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -813,55 +681,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -869,13 +729,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -883,59 +741,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -943,55 +796,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -999,13 +844,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1013,59 +856,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1073,55 +911,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1129,13 +959,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1143,59 +970,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1203,55 +1026,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1259,13 +1074,11 @@
Properties:
- +

(readonly) rssi

+ -

- (readonly) rssi -

@@ -1273,59 +1086,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1333,55 +1141,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1389,13 +1189,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1403,59 +1201,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1463,55 +1256,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,13 +1304,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) uuid -

@@ -1533,59 +1315,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1593,55 +1371,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1649,38 +1419,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ - + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
+ @@ -1688,144 +1450,126 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1841,30 +1585,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setName(name) → {Promise} -

-
+ + + + - + +

setName(name) → {Promise}

+ + + -
+

Set the name of the Hub.

-
+
@@ -1872,115 +1636,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1996,30 +1749,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- shutdown() → {Promise} -

-
- + + + + + + +

shutdown() → {Promise}

+ + + -
+

Shutdown the Hub.

-
+
+ + + @@ -2032,55 +1808,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2096,38 +1864,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -2135,144 +1925,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2288,26 +2059,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/RemoteControlButton.html b/docs/RemoteControlButton.html index 95b734a7..be5c266d 100644 --- a/docs/RemoteControlButton.html +++ b/docs/RemoteControlButton.html @@ -1,123 +1,53 @@ - - - - - - RemoteControlButton - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: RemoteControlButton + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- RemoteControlButton -

- -
-
+ +
-

- - RemoteControlButton +

RemoteControlButton()

- - - -
+
-
+
- + + + + +

new RemoteControlButton()

+ + + - - - - - - - -

- new RemoteControlButton() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- button :object -

-
+ +

button

+ - + -
+

Emits when a button on the remote is pressed or released.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
event - +
event + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,26 +989,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/SimpleMediumLinearMotor.html b/docs/SimpleMediumLinearMotor.html index b8d635f1..d690657f 100644 --- a/docs/SimpleMediumLinearMotor.html +++ b/docs/SimpleMediumLinearMotor.html @@ -1,123 +1,53 @@ - - - - - - SimpleMediumLinearMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: SimpleMediumLinearMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- SimpleMediumLinearMotor -

- -
-
+ +
-

- - SimpleMediumLinearMotor +

SimpleMediumLinearMotor()

- - - -
+
-
+
- + + + + +

new SimpleMediumLinearMotor()

+ + + - - - - - - - -

- new SimpleMediumLinearMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,7 +139,9 @@

Extends

- + + + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,24 +846,26 @@
Properties:
-
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TachoMotor.html b/docs/TachoMotor.html index d20e047e..732753ee 100644 --- a/docs/TachoMotor.html +++ b/docs/TachoMotor.html @@ -1,123 +1,53 @@ - - - - - - TachoMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TachoMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TachoMotor -

- -
-
+ +
-

+

TachoMotor()

- TachoMotor - - - - -
+
-
+
- + + + + +

new TachoMotor()

+ + + - - - - - - - -

- new TachoMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - - - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName
portName - - - - string - + + + +string - + + -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,31 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- brake() → {Promise} -

-
+ +

brake() → {Promise}

+ - + -
+

Brake the motor.

-
+
+ + + @@ -1036,55 +875,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1100,30 +931,51 @@

- + +

Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + - + + + + - - - - - - -

- rampPower(fromPower, toPower, time) → {Promise} -

-
+ +

rampPower(fromPower, toPower, time) → {Promise}

+ - + -
+

Ramp the motor power.

-
+
+ @@ -1131,173 +983,149 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
fromPower - +
fromPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

toPower - +
toPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the ramp should last (in milliseconds).

- -

How long the ramp should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1313,30 +1141,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + - + + + + - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
+ +

rotateByDegrees(degrees, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given amount of degrees.

-
+
+ @@ -1344,167 +1193,153 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
degrees - +
degrees + + +number - - + + + + + + - + + -

How much the motor should be rotated (in degrees).

- -

How much the motor should be rotated (in degrees).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1520,30 +1355,50 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ - +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + + + + - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ +

setAccelerationTime(time) → {Promise}

+ - + -
+

Set the global acceleration time

-
+
@@ -1551,106 +1406,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1666,31 +1514,53 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ - +
+
+ Type +
+
+ +Promise + - - - - - - -

- setBrakingStyle(style) -

-
+
+
+ + + + + + + + + + + + + +

setBrakingStyle(style)

+ - + -
+

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ + @@ -1698,106 +1568,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1813,30 +1674,29 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + -
+ +

setDecelerationTime(time) → {Promise}

+ + + + + + +

Set the global deceleration time

-
+
+ @@ -1844,106 +1704,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1959,31 +1811,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- setMaxPower(style) -

-
- + + + + +

setMaxPower(style)

+ -
+ + + + +

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1991,106 +1864,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2106,30 +1971,29 @@
Parameters:
- - - - - - - - - -

- setPower(power) → {Promise} -

-
- + + + + + + + + +

setPower(power) → {Promise}

+ + + -
+

Set the motor power.

-
+
+ @@ -2137,115 +2001,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
power - +
power + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2261,30 +2113,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ @@ -2292,135 +2165,121 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2436,30 +2295,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- stop() → {Promise} -

-
- + + + + + +

stop() → {Promise}

+ + + -
+ +

Stop the motor.

-
+
+ + + @@ -2472,55 +2354,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2536,145 +2410,168 @@

- + +

Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- rotate :object -

-
+ +

rotate

+ - + -
+

Emits when a rotation sensor is activated.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ -
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2690,26 +2587,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/Technic3x3ColorLightMatrix.html b/docs/Technic3x3ColorLightMatrix.html index c06fc6da..2b5a7736 100644 --- a/docs/Technic3x3ColorLightMatrix.html +++ b/docs/Technic3x3ColorLightMatrix.html @@ -1,123 +1,53 @@ - - - - - - Technic3x3ColorLightMatrix - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: Technic3x3ColorLightMatrix + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- Technic3x3ColorLightMatrix -

- -
-
+ +
-

- - Technic3x3ColorLightMatrix +

Technic3x3ColorLightMatrix()

- - - -
+
-
+
- + + + + +

new Technic3x3ColorLightMatrix()

+ + + - - - - - - - -

- new Technic3x3ColorLightMatrix() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,10 @@
Properties:
- +

(readonly) mode

-

- (readonly) mode -

@@ -617,59 +504,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,12 @@
Properties:
- +

(readonly) portName

+ + -

- (readonly) portName -

@@ -747,59 +621,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,29 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- setMatrix(colors) → {Promise} -

-
+ +

setMatrix(colors) → {Promise}

+ - + -
+

Set the LED matrix, one color per LED

-
+
+ @@ -1031,112 +868,101 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Array.<Color> - - - | - - Color - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
colors - +
colors + + +Array.<Color> +| - +Color - - -

Array of 9 colors, 9 Color objects, or a single color

- -

Array of 9 colors, 9 Color objects, or a single color

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1152,30 +978,60 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicColorSensor.html b/docs/TechnicColorSensor.html index 03ef2c77..4485bab6 100644 --- a/docs/TechnicColorSensor.html +++ b/docs/TechnicColorSensor.html @@ -1,123 +1,53 @@ - - - - - - TechnicColorSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicColorSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicColorSensor -

- -
-
+ +
-

+

TechnicColorSensor()

- TechnicColorSensor - - - - -
+
-
+
- + + + + +

new TechnicColorSensor()

+ + + - - - - - - - -

- new TechnicColorSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - - - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName
portName - - - - string - + + + +string - + + -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- setBrightness(firstSegment, secondSegment, thirdSegment) → {Promise} -

-
+ +

setBrightness(firstSegment, secondSegment, thirdSegment) → {Promise}

+ - + -
+

Set the brightness (or turn on/off) of the lights around the sensor.

-
+
+ + @@ -1031,164 +869,143 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstSegment - +
firstSegment + + +number - - -

First light segment. 0-100 brightness.

- -

First light segment. 0-100 brightness.

secondSegment - +
secondSegment + + +number - - -

Second light segment. 0-100 brightness.

- -

Second light segment. 0-100 brightness.

thirdSegment - +
thirdSegment + + +number - - -

Third light segment. 0-100 brightness.

- -

Third light segment. 0-100 brightness.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1204,145 +1021,168 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- ambient :object -

-
+ +

ambient

+ - + -
+

Emits when the ambient light changes.

-
+
+ + + +
Type:
+
    +
  • + +object +
  • +
+ -
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
ambient - +
ambient + + +number - - -

Percentage, from 0 to 100.

- -

Percentage, from 0 to 100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1358,137 +1198,138 @@
Parameters:
- - - - - - - - - -

- color :object -

-
- + + + + + + +

color

+ + + -
+ + +

Emits when a color sensor is activated.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - Color - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
color - +
color + + +Color - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1504,137 +1345,138 @@
Parameters:
- - - - - - - - - -

- reflect :object -

-
- + + + + + + +

reflect

+ + + -
+ + +

Emits when the light reflectivity changes.

-
+
+
Type:
+
    +
  • + +object + + +
  • +
+ -
Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
reflect - +
reflect + + +number - - -

Percentage, from 0 to 100.

- -

Percentage, from 0 to 100.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1650,26 +1492,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicDistanceSensor.html b/docs/TechnicDistanceSensor.html index 685406bd..3f78954d 100644 --- a/docs/TechnicDistanceSensor.html +++ b/docs/TechnicDistanceSensor.html @@ -1,123 +1,53 @@ - - - - - - TechnicDistanceSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicDistanceSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicDistanceSensor -

- -
-
+ +
-

+

TechnicDistanceSensor()

- TechnicDistanceSensor - - - - -
+
-
+
- + + + + +

new TechnicDistanceSensor()

+ + + - - - - - - - -

- new TechnicDistanceSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - - - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName
portName - - - - string - + + + +string - + + -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,29 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- setBrightness(topLeft, bottomLeft, topRight, bottomRight) → {Promise} -

-
+ +

setBrightness(topLeft, bottomLeft, topRight, bottomRight) → {Promise}

+ - + -
+

Set the brightness (or turn on/off) of the lights around the eyes.

-
+
+ @@ -1031,193 +868,167 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
topLeft - +
topLeft + + +number - - -

Top left quadrant (above left eye). 0-100 brightness.

- -

Top left quadrant (above left eye). 0-100 brightness.

bottomLeft - +
bottomLeft + + +number - - -

Bottom left quadrant (below left eye). 0-100 brightness.

- -

Bottom left quadrant (below left eye). 0-100 brightness.

topRight - +
topRight + + +number - - -

Top right quadrant (above right eye). 0-100 brightness.

- -

Top right quadrant (above right eye). 0-100 brightness.

bottomRight - +
bottomRight + + +number - - -

Bottom right quadrant (below right eye). 0-100 brightness.

- -

Bottom right quadrant (below right eye). 0-100 brightness.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1233,145 +1044,168 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + -

Events

+

Events

- + + - - - - - - - - -

- distance :object -

-
+ +

distance

+ - + -
+

Emits when the detected distance changes (Slow sampling covers 40mm to 2500mm).

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
distance - +
distance + + +number - - -

Distance, from 40 to 2500mm

- -

Distance, from 40 to 2500mm

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1387,137 +1221,138 @@
Parameters:
- - - - - - - - - -

- fastDistance :object -

-
- + + + + + + +

fastDistance

+ + + + -
+ +

Emits when the detected distance changes (Fast sampling covers 50mm to 320mm).

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
fastDistance - +
fastDistance + + +number - - -

Distance, from 50 to 320mm

- -

Distance, from 50 to 320mm

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1533,26 +1368,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicForceSensor.html b/docs/TechnicForceSensor.html index 1f723121..6ef07cc6 100644 --- a/docs/TechnicForceSensor.html +++ b/docs/TechnicForceSensor.html @@ -1,123 +1,53 @@ - - - - - - TechnicForceSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicForceSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicForceSensor -

- -
-
+ +
-

+

TechnicForceSensor()

- TechnicForceSensor - - - - -
+
-
+
- + + + + +

new TechnicForceSensor()

+ + + - - - - - - - -

- new TechnicForceSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- force :object -

-
+ +

force

+ - + -
+

Emits when force is applied.

-
+
+
Type:
+
    +
  • + +object + + +
  • +
+ -
Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
force - +
force + + +number - - -

Force, in newtons (0-10).

- -

Force, in newtons (0-10).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,137 +989,138 @@
Parameters:
- - - - - - - - - -

- tapped :object -

-
- + + + + + + + + +

tapped

+ + + -
+

Emits when the sensor is tapped.

-
+
+
Type:
+
    +
  • + +object + + +
  • +
+ -
Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
tapped - +
tapped + + +number - - -

How hard the sensor was tapped, from 0-3.

- -

How hard the sensor was tapped, from 0-3.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1296,137 +1136,138 @@
Parameters:
- - - - - - - - - -

- touch :object -

-
- + + + + -
+ +

touch

+ + + + + + +

Emits when the sensor is touched.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ -
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - boolean - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
touch - +
touch + + +boolean - - -

Touched on/off (boolean).

- -

Touched on/off (boolean).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1442,26 +1283,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicLargeAngularMotor.html b/docs/TechnicLargeAngularMotor.html index af94f322..d66a9f49 100644 --- a/docs/TechnicLargeAngularMotor.html +++ b/docs/TechnicLargeAngularMotor.html @@ -1,123 +1,53 @@ - - - - - - TechnicLargeAngularMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicLargeAngularMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicLargeAngularMotor -

- -
-
+ +
-

+

TechnicLargeAngularMotor()

- TechnicLargeAngularMotor - - - - -
+
-
+
- + + + + +

new TechnicLargeAngularMotor()

+ + + - - - - - - - -

- new TechnicLargeAngularMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- gotoAngle(angle, speedopt) → {Promise} -

-
+ +

gotoAngle(angle, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given angle.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
angle - +
angle + + +number - - + + + + + + - + + -

Absolute position the motor should go to (degrees from 0).

- -

Absolute position the motor should go to (degrees from 0).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,31 +341,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- gotoRealZero(speedopt) → {Promise} -

-
+ +

gotoRealZero(speedopt) → {Promise}

+ - + -
+

Rotate motor to real zero position.

Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.

-
+
+ + @@ -464,135 +395,122 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

- -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -608,130 +526,113 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - -

- resetZero() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Reset zero to current position

-
+
+
+ + + + + +

resetZero() → {Promise}

+ + -
- - +
+

Reset zero to current position

+
- -
Inherited From:
-
- -
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + +
Inherited From:
+
+ + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
- -
-

Rotate a motor by a given amount of degrees.

-
@@ -739,176 +640,211 @@

-

Parameters:
- - - - - - - - +
Returns:
- - - + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - - - - - - +
+
+ Type +
+
+Promise -
- - - - - - - + + + +

rotateByDegrees(degrees, speedopt) → {Promise}

+ + + + + + +
+

Rotate a motor by a given amount of degrees.

+
+ + + + + + + + +
Parameters:
- + +
NameTypeAttributesDefaultDescription
degrees - - - - number - - + + + - - - - - - - -

How much the motor should be rotated (in degrees).

- -
+ + - + - + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + - 100 + - - - - + + + + + + + + + + + + - +
speedName - - - - number - + TypeAttributesDefaultDescription
degrees + + +number - - - <optional>
+
+ + + + + + + +

How much the motor should be rotated (in degrees).

speed -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -
+ + +number + + + + + + <optional>
+ + + + + +
+ + 100 + +

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -924,30 +860,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ + - + + +

setAccelerationTime(time) → {Promise}

+ + + -
+ +

Set the global acceleration time

-
+
+ @@ -955,115 +912,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1079,31 +1024,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setBrakingStyle(style) -

-
- + + + + + + +

setBrakingStyle(style)

+ + + -
+ +

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1111,115 +1077,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1235,30 +1189,29 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + + + +

setDecelerationTime(time) → {Promise}

+ + + -
+ + +

Set the global deceleration time

-
+
+ @@ -1266,115 +1219,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1390,31 +1331,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setMaxPower(style) -

-
+ +

setMaxPower(style)

+ - + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -1422,115 +1383,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1546,30 +1496,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1577,144 +1527,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1730,154 +1661,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- absolute :object -

-
+ +

absolute

+ - + -
+

Emits when a the motors absolute position is changed.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
absolute - +
absolute + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1893,146 +1843,143 @@
Parameters:
- - - - - - - - - -

- rotate :object -

-
- + + + + + + + + +

rotate

+ + + -
+

Emits when a rotation sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2048,26 +1995,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicLargeLinearMotor.html b/docs/TechnicLargeLinearMotor.html index 39fb1e8f..a2ed6d6d 100644 --- a/docs/TechnicLargeLinearMotor.html +++ b/docs/TechnicLargeLinearMotor.html @@ -1,123 +1,53 @@ - - - - - - TechnicLargeLinearMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicLargeLinearMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicLargeLinearMotor -

- -
-
+ +
-

+

TechnicLargeLinearMotor()

- TechnicLargeLinearMotor - - - - -
+
-
+
- + + + + +

new TechnicLargeLinearMotor()

+ + + - - - - - - - -

- new TechnicLargeLinearMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- gotoAngle(angle, speedopt) → {Promise} -

-
+ +

gotoAngle(angle, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given angle.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
angle - +
angle + + +number - - + + + + + + - + + -

Absolute position the motor should go to (degrees from 0).

- -

Absolute position the motor should go to (degrees from 0).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,31 +341,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- gotoRealZero(speedopt) → {Promise} -

-
+ +

gotoRealZero(speedopt) → {Promise}

+ - + -
+

Rotate motor to real zero position.

Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.

-
+
+ + @@ -464,135 +395,122 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

- -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -608,130 +526,113 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - -

- resetZero() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Reset zero to current position

-
+
+
+ + + + + +

resetZero() → {Promise}

+ + -
- - +
+

Reset zero to current position

+
- -
Inherited From:
-
- -
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + +
Inherited From:
+
+ + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
- -
-

Rotate a motor by a given amount of degrees.

-
@@ -739,176 +640,211 @@

-

Parameters:
- - - - - - - - +
Returns:
- - - + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - - - - - - +
+
+ Type +
+
+Promise -
- - - - - - - + + + +

rotateByDegrees(degrees, speedopt) → {Promise}

+ + + + + + +
+

Rotate a motor by a given amount of degrees.

+
+ + + + + + + + +
Parameters:
- + +
NameTypeAttributesDefaultDescription
degrees - - - - number - - + + + - - - - - - - -

How much the motor should be rotated (in degrees).

- -
+ + - + - + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + - 100 + - - - - + + + + + + + + + + + + - +
speedName - - - - number - + TypeAttributesDefaultDescription
degrees + + +number - - - <optional>
+
+ + + + + + + +

How much the motor should be rotated (in degrees).

speed -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -
+ + +number + + + + + + <optional>
+ + + + + +
+ + 100 + +

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -924,30 +860,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ + - + + +

setAccelerationTime(time) → {Promise}

+ + + -
+ +

Set the global acceleration time

-
+
+ @@ -955,115 +912,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1079,31 +1024,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setBrakingStyle(style) -

-
- + + + + + + +

setBrakingStyle(style)

+ + + -
+ +

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1111,115 +1077,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1235,30 +1189,29 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + + + +

setDecelerationTime(time) → {Promise}

+ + + -
+ + +

Set the global deceleration time

-
+
+ @@ -1266,115 +1219,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1390,31 +1331,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setMaxPower(style) -

-
+ +

setMaxPower(style)

+ - + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -1422,115 +1383,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1546,30 +1496,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1577,144 +1527,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1730,154 +1661,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- absolute :object -

-
+ +

absolute

+ - + -
+

Emits when a the motors absolute position is changed.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
absolute - +
absolute + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1893,146 +1843,143 @@
Parameters:
- - - - - - - - - -

- rotate :object -

-
- + + + + + + + + +

rotate

+ + + -
+

Emits when a rotation sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2048,26 +1995,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicMediumAngularMotor.html b/docs/TechnicMediumAngularMotor.html index dc1f1097..0681b831 100644 --- a/docs/TechnicMediumAngularMotor.html +++ b/docs/TechnicMediumAngularMotor.html @@ -1,123 +1,53 @@ - - - - - - TechnicMediumAngularMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicMediumAngularMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicMediumAngularMotor -

- -
-
+ +
-

+

TechnicMediumAngularMotor()

- TechnicMediumAngularMotor - - - - -
+
-
+
- + + + + +

new TechnicMediumAngularMotor()

+ + + - - - - - - - -

- new TechnicMediumAngularMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- gotoAngle(angle, speedopt) → {Promise} -

-
+ +

gotoAngle(angle, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given angle.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
angle - +
angle + + +number - - + + + + + + - + + -

Absolute position the motor should go to (degrees from 0).

- -

Absolute position the motor should go to (degrees from 0).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,31 +341,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- gotoRealZero(speedopt) → {Promise} -

-
+ +

gotoRealZero(speedopt) → {Promise}

+ - + -
+

Rotate motor to real zero position.

Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.

-
+
+ + @@ -464,135 +395,122 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

- -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -608,130 +526,113 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - -

- resetZero() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Reset zero to current position

-
+
+
+ + + + + +

resetZero() → {Promise}

+ + -
- - +
+

Reset zero to current position

+
- -
Inherited From:
-
- -
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + +
Inherited From:
+
+ + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
- -
-

Rotate a motor by a given amount of degrees.

-
@@ -739,176 +640,211 @@

-

Parameters:
- - - - - - - - +
Returns:
- - - + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - - - - - - +
+
+ Type +
+
+Promise -
- - - - - - - + + + +

rotateByDegrees(degrees, speedopt) → {Promise}

+ + + + + + +
+

Rotate a motor by a given amount of degrees.

+
+ + + + + + + + +
Parameters:
- + +
NameTypeAttributesDefaultDescription
degrees - - - - number - - + + + - - - - - - - -

How much the motor should be rotated (in degrees).

- -
+ + - + - + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + - 100 + - - - - + + + + + + + + + + + + - +
speedName - - - - number - + TypeAttributesDefaultDescription
degrees + + +number - - - <optional>
+
+ + + + + + + +

How much the motor should be rotated (in degrees).

speed -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -
+ + +number + + + + + + <optional>
+ + + + + +
+ + 100 + +

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -924,30 +860,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ + - + + +

setAccelerationTime(time) → {Promise}

+ + + -
+ +

Set the global acceleration time

-
+
+ @@ -955,115 +912,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1079,31 +1024,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setBrakingStyle(style) -

-
- + + + + + + +

setBrakingStyle(style)

+ + + -
+ +

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1111,115 +1077,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1235,30 +1189,29 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + + + +

setDecelerationTime(time) → {Promise}

+ + + -
+ + +

Set the global deceleration time

-
+
+ @@ -1266,115 +1219,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1390,31 +1331,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setMaxPower(style) -

-
+ +

setMaxPower(style)

+ - + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -1422,115 +1383,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1546,30 +1496,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1577,144 +1527,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1730,154 +1661,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- absolute :object -

-
+ +

absolute

+ - + -
+

Emits when a the motors absolute position is changed.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
absolute - +
absolute + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1893,146 +1843,143 @@
Parameters:
- - - - - - - - - -

- rotate :object -

-
- + + + + + + + + +

rotate

+ + + -
+

Emits when a rotation sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2048,26 +1995,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicMediumHub.html b/docs/TechnicMediumHub.html index b2cdf22b..8ab805ac 100644 --- a/docs/TechnicMediumHub.html +++ b/docs/TechnicMediumHub.html @@ -1,129 +1,59 @@ - - - - - - TechnicMediumHub - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicMediumHub + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicMediumHub -

- -
-
+ +
-

+

TechnicMediumHub()

- TechnicMediumHub - - - - -
+
-
+
- + + - - - - - - - - -

- new TechnicMediumHub() -

-
+ +

new TechnicMediumHub()

+ - + -
+

The TechnicMediumHub is emitted if the discovered device is a Technic Medium Hub.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,21 +117,29 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -213,7 +147,7 @@

Extends

- + @@ -222,10 +156,9 @@

Members

+

(readonly) batteryLevel

+ -

- (readonly) batteryLevel -

@@ -233,59 +166,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -293,55 +221,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -349,13 +269,11 @@
Properties:
- +

(readonly) connected

+ -

- (readonly) connected -

@@ -363,59 +281,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -423,55 +336,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -479,13 +384,11 @@
Properties:
- +

(readonly) connecting

+ -

- (readonly) connecting -

@@ -493,59 +396,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -553,55 +451,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -609,13 +499,11 @@
Properties:
- +

(readonly) firmwareVersion

+ -

- (readonly) firmwareVersion -

@@ -623,59 +511,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -683,55 +566,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -739,13 +614,11 @@
Properties:
- +

(readonly) hardwareVersion

+ -

- (readonly) hardwareVersion -

@@ -753,59 +626,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -813,55 +681,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -869,13 +729,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -883,59 +741,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -943,55 +796,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -999,13 +844,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1013,59 +856,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1073,55 +911,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1129,13 +959,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1143,59 +970,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1203,55 +1026,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1259,13 +1074,11 @@
Properties:
- +

(readonly) rssi

+ -

- (readonly) rssi -

@@ -1273,59 +1086,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1333,55 +1141,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1389,13 +1189,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1403,59 +1201,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1463,55 +1256,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1519,13 +1304,10 @@
Properties:
- +

(readonly) uuid

-

- (readonly) uuid -

@@ -1533,59 +1315,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1593,55 +1371,47 @@
Properties:
- + - + - + - +
Overrides:
-
- -
- +
+ - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1649,38 +1419,30 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- createVirtualPort(firstPortName, secondPortName) → {Promise} -

-
+ +

createVirtualPort(firstPortName, secondPortName) → {Promise}

+ - + -
+

Combines two ports with into a single virtual port.

Note: The devices attached to the ports must be of the same device type.

-
+
+ @@ -1688,144 +1450,126 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
firstPortName - +
firstPortName + + +string - - -

First port name

- -

First port name

secondPortName - +
secondPortName + + +string - - -

Second port name

- -

Second port name

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1841,30 +1585,50 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setName(name) → {Promise} -

-
+ + + + - + +

setName(name) → {Promise}

+ + + -
+

Set the name of the Hub.

-
+
@@ -1872,115 +1636,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1996,30 +1749,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- shutdown() → {Promise} -

-
- + + + + + + +

shutdown() → {Promise}

+ + + -
+

Shutdown the Hub.

-
+
+ + + @@ -2032,55 +1808,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2096,38 +1864,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -2135,144 +1925,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2288,26 +2059,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicMediumHubAccelerometerSensor.html b/docs/TechnicMediumHubAccelerometerSensor.html index 007ec1d6..c398f1fd 100644 --- a/docs/TechnicMediumHubAccelerometerSensor.html +++ b/docs/TechnicMediumHubAccelerometerSensor.html @@ -1,123 +1,53 @@ - - - - - - TechnicMediumHubAccelerometerSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicMediumHubAccelerometerSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicMediumHubAccelerometerSensor -

- -
-
+ +
-

- - TechnicMediumHubAccelerometerSensor +

TechnicMediumHubAccelerometerSensor()

- - - -
+
-
+
- + + + + +

new TechnicMediumHubAccelerometerSensor()

+ + + - - - - - - - -

- new TechnicMediumHubAccelerometerSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - + - + + - - - - - + +
NameTypeTypeDescriptionDescription
isVirtualPort
isVirtualPort - - - - boolean - + + + +boolean - + +

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

-
@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,197 +846,180 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- accel :object -

-
+ +

accel

+ - + -
+

Emits when accelerometer detects movement. Measured in mG.

-
+
+
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
x - +
x + + +number - - - - -
y - +
y + + +number - - - - -
z - +
z + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1208,26 +1035,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicMediumHubGyroSensor.html b/docs/TechnicMediumHubGyroSensor.html index 0b9a2c35..a48d1e0e 100644 --- a/docs/TechnicMediumHubGyroSensor.html +++ b/docs/TechnicMediumHubGyroSensor.html @@ -1,123 +1,53 @@ - - - - - - TechnicMediumHubGyroSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicMediumHubGyroSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicMediumHubGyroSensor -

- -
-
+ +
-

- - TechnicMediumHubGyroSensor +

TechnicMediumHubGyroSensor()

- - - -
+
-
+
- + + + + +

new TechnicMediumHubGyroSensor()

+ + + - - - - - - - -

- new TechnicMediumHubGyroSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - + - + + - - - - - + +
NameTypeTypeDescriptionDescription
isVirtualPort
isVirtualPort - - - - boolean - + + + +boolean - + +

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

-
@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,10 @@
Properties:
- +

(readonly) type

-

- (readonly) type -

@@ -877,59 +734,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,197 +846,180 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- gyro :object -

-
+ +

gyro

+ - + -
+

Emits when gyroscope detects movement. Measured in DPS - degrees per second.

-
+
+
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- + + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
x - +
x + + +number - - - - -
y - +
y + + +number - - - - -
z - +
z + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1208,26 +1035,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicMediumHubTiltSensor.html b/docs/TechnicMediumHubTiltSensor.html index a164ad47..5e3177be 100644 --- a/docs/TechnicMediumHubTiltSensor.html +++ b/docs/TechnicMediumHubTiltSensor.html @@ -1,123 +1,53 @@ - - - - - - TechnicMediumHubTiltSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicMediumHubTiltSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicMediumHubTiltSensor -

- -
-
+ +
-

+

TechnicMediumHubTiltSensor()

- TechnicMediumHubTiltSensor - - - - -
+
-
+
- + + + + +

new TechnicMediumHubTiltSensor()

+ + + - - - - - - - -

- new TechnicMediumHubTiltSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,8 @@

Members

+

(readonly) connected

-

- (readonly) connected -

@@ -227,59 +159,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,10 @@
Properties:
- +

(readonly) portName

-

- (readonly) portName -

@@ -747,59 +619,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - + - + - + + - - - - - + +
NameTypeTypeDescriptionDescription
portName
portName - - - - string - + + + +string - + +

The port the device is attached to.

-

The port the device is attached to.

-
@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,28 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- setImpactCount(impact) → {Promise} -

-
+ +

setImpactCount(impact) → {Promise}

+ - + -
+

Set the impact count value.

-
+
@@ -1031,106 +867,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - count - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
impact - +
impact + + +count - - -

count between 0 and 2^32

- -

count between 0 and 2^32

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1146,30 +975,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise - +
+
- - - - - - -

- setImpactHoldoff(value) → {Promise} -

-
+ - -
+ + + + + + + +

setImpactHoldoff(value) → {Promise}

+ + + + + + +

Set the impact holdoff time.

-
+
+ + @@ -1177,106 +1028,97 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - holdoff - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
value - +
value + + +holdoff - - -

between 1 and 127

- -

between 1 and 127

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1292,30 +1134,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- setImpactThreshold(value) → {Promise} -

-
- + + + + + + +

setImpactThreshold(value) → {Promise}

+ + + -
+

Set the impact threshold.

-
+
+ @@ -1323,106 +1186,98 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - threshold - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
value - +
value + + +threshold - - -

between 1 and 127

- -

between 1 and 127

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1438,145 +1293,168 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + -

Events

+

Events

- + + - - - - - - - - -

- impactCount :object -

-
+ +

impactCount

+ - + -
+

Emits when proper acceleration is above threshold (e.g. on impact when being thrown to the ground).

-
+
+ + + +
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
number - +
number + + +number - - -

of impact events.

- -

of impact events.

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1592,195 +1470,184 @@
Parameters:
- - - - - - - - - -

- tilt :object -

-
- + + + + + + +

tilt

+ + + -
+ + +

Emits when a tilt sensor is activated.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
-
Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
x - +
x + + +number - - - - -
y - +
y + + +number - - - - -
z - +
z + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1796,26 +1663,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicSmallAngularMotor.html b/docs/TechnicSmallAngularMotor.html index 5ef5cfc1..562fe61a 100644 --- a/docs/TechnicSmallAngularMotor.html +++ b/docs/TechnicSmallAngularMotor.html @@ -1,123 +1,53 @@ - - - - - - TechnicSmallAngularMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicSmallAngularMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicSmallAngularMotor -

- -
-
+ +
-

+

TechnicSmallAngularMotor()

- TechnicSmallAngularMotor - - - - -
+
-
+
- + + + + +

new TechnicSmallAngularMotor()

+ + + - - - - - - - -

- new TechnicSmallAngularMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- gotoAngle(angle, speedopt) → {Promise} -

-
+ +

gotoAngle(angle, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given angle.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
angle - +
angle + + +number - - + + + + + + - + + -

Absolute position the motor should go to (degrees from 0).

- -

Absolute position the motor should go to (degrees from 0).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,31 +341,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- gotoRealZero(speedopt) → {Promise} -

-
+ +

gotoRealZero(speedopt) → {Promise}

+ - + -
+

Rotate motor to real zero position.

Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.

-
+
+ + @@ -464,135 +395,122 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

- -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -608,130 +526,113 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - -

- resetZero() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Reset zero to current position

-
+
+
+ + + + + +

resetZero() → {Promise}

+ + -
- - +
+

Reset zero to current position

+
- -
Inherited From:
-
- -
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + +
Inherited From:
+
+ + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
- -
-

Rotate a motor by a given amount of degrees.

-
@@ -739,176 +640,211 @@

-

Parameters:
- - - - - - - - +
Returns:
- - - + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - - - - - - +
+
+ Type +
+
+Promise -
- - - - - - - + + + +

rotateByDegrees(degrees, speedopt) → {Promise}

+ + + + + + +
+

Rotate a motor by a given amount of degrees.

+
+ + + + + + + + +
Parameters:
- + +
NameTypeAttributesDefaultDescription
degrees - - - - number - - + + + - - - - - - - -

How much the motor should be rotated (in degrees).

- -
+ + - + - + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + - 100 + - - - - + + + + + + + + + + + + - +
speedName - - - - number - + TypeAttributesDefaultDescription
degrees + + +number - - - <optional>
+
+ + + + + + + +

How much the motor should be rotated (in degrees).

speed -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -
+ + +number + + + + + + <optional>
+ + + + + +
+ + 100 + +

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -924,30 +860,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ + - + + +

setAccelerationTime(time) → {Promise}

+ + + -
+ +

Set the global acceleration time

-
+
+ @@ -955,115 +912,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1079,31 +1024,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setBrakingStyle(style) -

-
- + + + + + + +

setBrakingStyle(style)

+ + + -
+ +

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1111,115 +1077,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1235,30 +1189,29 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + + + +

setDecelerationTime(time) → {Promise}

+ + + -
+ + +

Set the global deceleration time

-
+
+ @@ -1266,115 +1219,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1390,31 +1331,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setMaxPower(style) -

-
+ +

setMaxPower(style)

+ - + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -1422,115 +1383,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1546,30 +1496,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1577,144 +1527,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1730,154 +1661,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- absolute :object -

-
+ +

absolute

+ - + -
+

Emits when a the motors absolute position is changed.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
absolute - +
absolute + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1893,146 +1843,143 @@
Parameters:
- - - - - - - - - -

- rotate :object -

-
- + + + + + + + + +

rotate

+ + + -
+

Emits when a rotation sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2048,26 +1995,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TechnicXLargeLinearMotor.html b/docs/TechnicXLargeLinearMotor.html index f69598c2..a95f09cb 100644 --- a/docs/TechnicXLargeLinearMotor.html +++ b/docs/TechnicXLargeLinearMotor.html @@ -1,123 +1,53 @@ - - - - - - TechnicXLargeLinearMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TechnicXLargeLinearMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TechnicXLargeLinearMotor -

- -
-
+ +
-

+

TechnicXLargeLinearMotor()

- TechnicXLargeLinearMotor - - - - -
+
-
+
- + + + + +

new TechnicXLargeLinearMotor()

+ + + - - - - - - - -

- new TechnicXLargeLinearMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,39 +139,35 @@

Extends

- + -

Methods

- - + +

Methods

+ + - + - - - - - - -

- gotoAngle(angle, speedopt) → {Promise} -

-
+ +

gotoAngle(angle, speedopt) → {Promise}

+ - + -
+

Rotate a motor by a given angle.

-
+
+ + @@ -247,176 +175,157 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - + + - - + + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
angle - +
angle + + +number - - + + + + + + - + + -

Absolute position the motor should go to (degrees from 0).

- -

Absolute position the motor should go to (degrees from 0).

speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -432,31 +341,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- gotoRealZero(speedopt) → {Promise} -

-
+ +

gotoRealZero(speedopt) → {Promise}

+ - + -
+

Rotate motor to real zero position.

Real zero is marked on Technic angular motors (SPIKE Prime). It is also available on Technic linear motors (Control+) but is unmarked.

-
+
+ + @@ -464,135 +395,122 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - - + - - + - - - - - - - - + + - +
NameTypeTypeAttributesDefaultDescriptionDescription
speed - +
speed + + +number - - - - <optional>
+
+ + <optional>
+ + + + +
- 100 + + + 100 + + -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

- -

Speed between 1 - 100. Note that this will always take the shortest path to zero.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -608,130 +526,113 @@
Parameters:
- - +
Returns:
- + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - -

- resetZero() → {Promise} -

-
- +
+
+ Type +
+
+ +Promise -
-

Reset zero to current position

-
+
+
+ + + + + +

resetZero() → {Promise}

+ + -
- - +
+

Reset zero to current position

+
- -
Inherited From:
-
- -
- - - - - - - - - - - -
Source:
-
- -
- - - +
- -
+ + + +
Inherited From:
+
+ + + + + + + + + + + +
Source:
+
+ + - - + + +
- - - - - - - -

- rotateByDegrees(degrees, speedopt) → {Promise} -

-
- -
-

Rotate a motor by a given amount of degrees.

-
@@ -739,176 +640,211 @@

-

Parameters:
- - - - - - - - +
Returns:
- - - + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
- - - - - - - - - - - +
+
+ Type +
+
+Promise -
- - - - - - - + + + +

rotateByDegrees(degrees, speedopt) → {Promise}

+ + + + + + +
+

Rotate a motor by a given amount of degrees.

+
+ + + + + + + + +
Parameters:
- + +
NameTypeAttributesDefaultDescription
degrees - - - - number - - + + + - - - - - - - -

How much the motor should be rotated (in degrees).

- -
+ + - + - + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + + + + - 100 + - - - - + + + + + + + + + + + + - +
speedName - - - - number - + TypeAttributesDefaultDescription
degrees + + +number - - - <optional>
+
+ + + + + + + +

How much the motor should be rotated (in degrees).

speed -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

- -
+ + +number + + + + + + <optional>
+ + + + + +
+ + 100 + +

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -924,30 +860,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + - - - - - - - -

- setAccelerationTime(time) → {Promise} -

-
+ + - + + +

setAccelerationTime(time) → {Promise}

+ + + -
+ +

Set the global acceleration time

-
+
+ @@ -955,115 +912,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long acceleration should last (in milliseconds).

- -

How long acceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1079,31 +1024,52 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + - - - - - - - -

- setBrakingStyle(style) -

-
- + + + + + + +

setBrakingStyle(style)

+ + + -
+ +

Set the braking style of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
+ @@ -1111,115 +1077,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1235,30 +1189,29 @@
Parameters:
- - - - - - - - - -

- setDecelerationTime(time) → {Promise} -

-
- + + + + + + +

setDecelerationTime(time) → {Promise}

+ + + -
+ + +

Set the global deceleration time

-
+
+ @@ -1266,115 +1219,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
time - +
time + + +number - - -

How long deceleration should last (in milliseconds).

- -

How long deceleration should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1390,31 +1331,51 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful completion of command (ie. once the motor is finished).

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + + + + + + - + - - - - - - -

- setMaxPower(style) -

-
+ +

setMaxPower(style)

+ - + -
+

Set the max power of the motor.

Note: This applies to setSpeed, rotateByDegrees, and gotoAngle.

-
+
@@ -1422,115 +1383,104 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
style - +
style + + +number - - -

Either BRAKE or HOLD

- -

Either BRAKE or HOLD

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1546,30 +1496,30 @@
Parameters:
- - - - - - - - - -

- setSpeed(speed, time) → {Promise} -

-
- + + + + + + + + +

setSpeed(speed, time) → {Promise}

+ + + -
+

Set the motor speed.

-
+
+ + @@ -1577,144 +1527,125 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
speed - +
speed + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the motor should run for (in milliseconds).

- -

How long the motor should run for (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1730,154 +1661,173 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -

Events

- - + +

Events

+ + - + - - - - - - -

- absolute :object -

-
+ +

absolute

+ - + -
+

Emits when a the motors absolute position is changed.

-
+
+ +
Type:
+
    +
  • + +object + + +
  • +
+ + -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
absolute - +
absolute + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1893,146 +1843,143 @@
Parameters:
- - - - - - - - - -

- rotate :object -

-
- + + + + + + + + +

rotate

+ + + -
+

Emits when a rotation sensor is activated.

-
+
+ + + +
Type:
+
    +
  • + +object + +
  • +
-
Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
rotation - +
rotation + + +number - - - - -
+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2048,26 +1995,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TiltSensor.html b/docs/TiltSensor.html index 593602b8..ece94e8a 100644 --- a/docs/TiltSensor.html +++ b/docs/TiltSensor.html @@ -1,123 +1,53 @@ - - - - - - TiltSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TiltSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TiltSensor -

- -
-
+ +
-

- - TiltSensor +

TiltSensor()

- - - -
+
-
+
- + + + + +

new TiltSensor()

+ + + - - - - - - - -

- new TiltSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,18 +113,24 @@

- + + + + + + +

-

Extends

+

Extends

- + - + @@ -207,7 +139,9 @@

Extends

- + + + @@ -216,10 +150,9 @@

Members

+

(readonly) connected

+ -

- (readonly) connected -

@@ -227,59 +160,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,11 @@
Properties:
- +

(readonly) hub

+ -

- (readonly) hub -

@@ -357,59 +275,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,11 @@
Properties:
- +

(readonly) isVirtualPort

+ -

- (readonly) isVirtualPort -

@@ -487,59 +390,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,12 @@
Properties:
- +

(readonly) mode

+ + -

- (readonly) mode -

@@ -617,59 +506,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,168 +846,157 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- tilt :object -

-
+ +

tilt

+ - + -
+

Emits when a tilt sensor is activated.

-
+
+ + + + +
Type:
+
    +
  • + +object +
  • +
+ -
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
x - +
x + + +number - - - - -
y - +
y + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1179,26 +1012,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/TrainMotor.html b/docs/TrainMotor.html index 48903451..ccdbe241 100644 --- a/docs/TrainMotor.html +++ b/docs/TrainMotor.html @@ -1,123 +1,53 @@ - - - - - - TrainMotor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: TrainMotor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- TrainMotor -

- -
-
+ +
-

+

TrainMotor()

- TrainMotor - - - - -
+
-
+
- + + + + +

new TrainMotor()

+ + + - - - - - - - -

- new TrainMotor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,10 @@
Properties:
- +

(readonly) hub

-

- (readonly) hub -

@@ -357,59 +274,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,12 @@
Properties:
- +

(readonly) isVirtualPort

+ + -

- (readonly) isVirtualPort -

@@ -487,59 +391,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,10 @@
Properties:
- +

(readonly) mode

-

- (readonly) mode -

@@ -617,59 +504,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,12 @@
Properties:
- +

(readonly) portName

+ + -

- (readonly) portName -

@@ -747,59 +621,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -877,59 +735,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,37 +838,31 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- brake() → {Promise} -

-
+ +

brake() → {Promise}

+ - + -
+

Brake the motor.

-
+
+ + + @@ -1036,55 +875,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1100,30 +931,51 @@

- + +

Returns:
+ +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + - - - - - - - -

- rampPower(fromPower, toPower, time) → {Promise} -

-
+ + + + + + +

rampPower(fromPower, toPower, time) → {Promise}

+ - + -
+

Ramp the motor power.

-
+
+ @@ -1131,173 +983,149 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
fromPower - +
fromPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

toPower - +
toPower + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

time - +
time + + +number - - -

How long the ramp should last (in milliseconds).

- -

How long the ramp should last (in milliseconds).

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1313,30 +1141,51 @@
Parameters:
- + +
Returns:
+ +
+

Resolved upon successful completion of command.

+
- - - - - - - -

- setPower(power) → {Promise} -

-
+
+
+ Type +
+
+ +Promise + + +
+
+ + + + - + + + + + + +

setPower(power) → {Promise}

+ + + -
+ + +

Set the motor power.

-
+
+ @@ -1344,115 +1193,103 @@

-

Parameters:
- + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
power - +
power + + +number - - -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

- -

For forward, a value between 1 - 100 should be set. For reverse, a value between -1 to -100. Stop is 0.

+
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1468,30 +1305,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+Promise + + +
+
+ + + - - - - - - - -

- stop() → {Promise} -

-
- + + + + + + +

stop() → {Promise}

+ + + -
+

Stop the motor.

-
+
+ + + @@ -1504,55 +1364,47 @@

- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1568,30 +1420,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful issuance of the command.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + -
-
+ + + + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/VoltageSensor.html b/docs/VoltageSensor.html index 72fdfd0e..22b90f75 100644 --- a/docs/VoltageSensor.html +++ b/docs/VoltageSensor.html @@ -1,123 +1,53 @@ - - - - - - VoltageSensor - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: VoltageSensor + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- VoltageSensor -

- -
-
+ +
-

- - VoltageSensor +

VoltageSensor()

- - - -
+
-
+
- + + + + +

new VoltageSensor()

+ + + - - - - - - - -

- new VoltageSensor() -

-
- @@ -132,46 +62,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -187,19 +113,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -207,7 +141,7 @@

Extends

- + @@ -216,10 +150,10 @@

Members

+

(readonly) connected

+ + -

- (readonly) connected -

@@ -227,59 +161,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - boolean - +
connected + + +boolean - - -

Check if the device is still attached.

-

Check if the device is still attached.

@@ -287,55 +215,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -343,13 +263,12 @@
Properties:
- +

(readonly) hub

+ + -

- (readonly) hub -

@@ -357,59 +276,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hub - - - - Hub - +
hub + + +Hub - - -

The Hub the device is attached to.

-

The Hub the device is attached to.

@@ -417,55 +330,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -473,13 +378,10 @@
Properties:
- +

(readonly) isVirtualPort

-

- (readonly) isVirtualPort -

@@ -487,59 +389,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
isVirtualPort - - - - boolean - +
isVirtualPort + + +boolean - - -

Is this device attached to a virtual port (ie. a combined device)

-

Is this device attached to a virtual port (ie. a combined device)

@@ -547,55 +445,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -603,13 +493,11 @@
Properties:
- +

(readonly) mode

+ -

- (readonly) mode -

@@ -617,59 +505,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
mode - - - - number - +
mode + + +number - - -

The mode the device is currently in

-

The mode the device is currently in

@@ -677,55 +560,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -733,13 +608,11 @@
Properties:
- +

(readonly) portName

+ -

- (readonly) portName -

@@ -747,59 +620,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
portName - - - - string - +
portName + + +string - - -

The port the device is attached to.

-

The port the device is attached to.

@@ -807,55 +675,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -863,13 +723,12 @@
Properties:
- +

(readonly) type

+ + -

- (readonly) type -

@@ -877,59 +736,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - number - +
type + + +number - - -

The type of the device

-

The type of the device

@@ -937,55 +790,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -993,7 +838,6 @@
Properties:
- @@ -1002,139 +846,134 @@
Properties:
-

Events

+

Events

- + + - - - - - - - - -

- voltage :object -

-
+ +

voltage

+ - + -
+

Emits when a voltage change is detected.

-
+
+ + + + + +
Type:
+
    +
  • + +object +
  • +
-
Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - number - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
voltage - +
voltage + + +number - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1150,26 +989,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/WeDo2SmartHub.html b/docs/WeDo2SmartHub.html index 62a7590a..0a4fe9ad 100644 --- a/docs/WeDo2SmartHub.html +++ b/docs/WeDo2SmartHub.html @@ -1,129 +1,59 @@ - - - - - - WeDo2SmartHub - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Class: WeDo2SmartHub + + + + + + - - - - - - - - - - - - - - -
- -
+
- -
- -

- WeDo2SmartHub -

- -
-
+ +
-

+

WeDo2SmartHub()

- WeDo2SmartHub - - - - -
+
-
+
- + + - - - - - - - - -

- new WeDo2SmartHub() -

-
+ +

new WeDo2SmartHub()

+ - + -
+

The WeDo2SmartHub is emitted if the discovered device is a WeDo 2.0 Smart Hub.

-
+
+ + + @@ -136,46 +66,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -191,19 +117,27 @@

- + + + + + + +

-

Extends

+

Extends

+ + - + - + @@ -211,7 +145,7 @@

Extends

- + @@ -220,10 +154,8 @@

Members

+

(readonly) batteryLevel

-

- (readonly) batteryLevel -

@@ -231,59 +163,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
batteryLevel - - - - number - +
batteryLevel + + +number - - -

Battery level of the hub (Percentage between 0-100)

-

Battery level of the hub (Percentage between 0-100)

@@ -291,55 +219,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -347,13 +267,12 @@
Properties:
- +

(readonly) connected

+ + -

- (readonly) connected -

@@ -361,59 +280,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connected - - - - string - +
connected + + +string - - -

Connected status

-

Connected status

@@ -421,55 +334,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -477,13 +382,10 @@
Properties:
- +

(readonly) connecting

-

- (readonly) connecting -

@@ -491,59 +393,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
connecting - - - - string - +
connecting + + +string - - -

Connecting status

-

Connecting status

@@ -551,55 +449,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -607,13 +497,12 @@
Properties:
- +

(readonly) firmwareVersion

+ + -

- (readonly) firmwareVersion -

@@ -621,59 +510,53 @@

-

Properties:
+
Properties:
- + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
firmwareVersion - - - - string - +
firmwareVersion + + +string - - -

Firmware version of the hub

-

Firmware version of the hub

@@ -681,55 +564,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -737,13 +612,10 @@
Properties:
- +

(readonly) hardwareVersion

-

- (readonly) hardwareVersion -

@@ -751,59 +623,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
hardwareVersion - - - - string - +
hardwareVersion + + +string - - -

Hardware version of the hub

-

Hardware version of the hub

@@ -811,55 +679,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -867,13 +727,11 @@
Properties:
- +

(readonly) name

+ -

- (readonly) name -

@@ -881,59 +739,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
name - - - - string - +
name + + +string - - -

Name of the hub

-

Name of the hub

@@ -941,55 +794,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -997,13 +842,11 @@
Properties:
- +

(readonly) ports

+ -

- (readonly) ports -

@@ -1011,59 +854,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
ports - - - - Array.<string> - +
ports + + +Array.<string> - - -

Array of port names

-

Array of port names

@@ -1071,55 +909,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1127,13 +957,10 @@
Properties:
- +

(readonly) primaryMACAddress

-

- (readonly) primaryMACAddress -

@@ -1141,59 +968,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
primaryMACAddress - - - - string - +
primaryMACAddress + + +string - - -

Primary MAC address of the hub

-

Primary MAC address of the hub

@@ -1201,55 +1024,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1257,13 +1072,10 @@
Properties:
- +

(readonly) rssi

-

- (readonly) rssi -

@@ -1271,59 +1083,55 @@

-

Properties:
- + +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
rssi - - - - number - +
rssi + + +number - - -

Signal strength of the hub

-

Signal strength of the hub

@@ -1331,55 +1139,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1387,13 +1187,11 @@
Properties:
- +

(readonly) type

+ -

- (readonly) type -

@@ -1401,59 +1199,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
type - - - - string - +
type + + +string - - -

Hub type

-

Hub type

@@ -1461,55 +1254,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1517,13 +1302,11 @@
Properties:
- +

(readonly) uuid

+ -

- (readonly) uuid -

@@ -1531,59 +1314,54 @@

-

Properties:
- +
Properties:
+ + - + - + - + - + - + - + - + - + - + - - - - - - + + + - + + + - + - + - - + + - - + +
NameTypeTypeDescriptionDescription
uuid - - - - string - +
uuid + + +string - - -

UUID of the hub

-

UUID of the hub

@@ -1591,55 +1369,47 @@
Properties:
- + - + - +
Inherited From:
-
- -
- +
+ - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1647,37 +1417,28 @@
Properties:
- -

Methods

+

Methods

- + + - - - - - - - - -

- setName(name) → {Promise} -

-
+ +

setName(name) → {Promise}

+ - + -
+

Set the name of the Hub.

-
+
@@ -1685,106 +1446,99 @@

-

Parameters:
- + + +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
name - +
name + + +string - - -

New name of the hub (14 characters or less, ASCII only).

- -

New name of the hub (14 characters or less, ASCII only).

+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1800,30 +1554,53 @@
Parameters:
- + +
Returns:
+ + +
+

Resolved upon successful issuance of command.

+
+ + + +
+
+ Type +
+
+Promise - +
+
+ + - - - - - - -

- shutdown() → {Promise} -

-
- -
+ + + + + + +

shutdown() → {Promise}

+ + + + + + +

Shutdown the Hub.

-
+
+ + + @@ -1836,46 +1613,42 @@

- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1891,38 +1664,60 @@

- + +

Returns:
+ + +
+

Resolved upon successful disconnect.

+
+ + + +
+
+ Type +
+
+ +Promise + + +
+
+ + + + + + + + -

Events

+

Events

- + + - - - - - - - - -

- button -

-
+ +

button

+ - + -
+

Emits when a button is pressed.

-
+
+ + @@ -1930,135 +1725,120 @@

-

Parameters:
- +
Parameters:
+ - + - + - + - + - + - + - + - + - + - - - - - + + - - string - - + + + - + - + - - + + - - - - - + + - - ButtonState - - + + + - + - + - - + + - +
NameTypeTypeDescriptionDescription
button - +
button + + +string - - - - -
state - +
state + + +ButtonState - - - - -
+
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -2074,26 +1854,34 @@
Parameters:
- + + + + + + + -
-
+ + -
-
+
- + - - +
- + + + \ No newline at end of file diff --git a/docs/consts.js.html b/docs/consts.js.html index 5698802b..6ddf218b 100644 --- a/docs/consts.js.html +++ b/docs/consts.js.html @@ -1,96 +1,32 @@ - - + + JSDoc: Source: consts.js - - - - - consts.js - Documentation - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- consts.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.MarioColor = exports.MarioPantsType = exports.PortInputFormatSetupSubCommand = exports.ModeInformationType = exports.HWNetworkSubFamily = exports.HWNetworkFamily = exports.HWNetWorkCommandType = exports.ErrorCode = exports.IOTypeID = exports.Event = exports.AlertPayload = exports.AlertOperation = exports.AlertType = exports.ActionType = exports.HubPropertyPayload = exports.HubPropertyOperation = exports.HubPropertyReference = exports.MessageType = exports.BLECharacteristic = exports.BLEService = exports.BLEManufacturerData = exports.DuploTrainBaseSound = exports.BrakingStyle = exports.ButtonState = exports.ColorNames = exports.Color = exports.DeviceTypeNames = exports.DeviceType = exports.HubTypeNames = exports.HubType = void 0;
 /**
@@ -116,7 +52,7 @@ 

HubType[HubType["TECHNIC_MEDIUM_HUB"] = 6] = "TECHNIC_MEDIUM_HUB"; HubType[HubType["MARIO"] = 7] = "MARIO"; HubType[HubType["TECHNIC_SMALL_HUB"] = 8] = "TECHNIC_SMALL_HUB"; -})(HubType = exports.HubType || (exports.HubType = {})); +})(HubType || (exports.HubType = HubType = {})); // tslint:disable-next-line exports.HubTypeNames = HubType; /** @@ -202,7 +138,7 @@

DeviceType[DeviceType["MARIO_PANTS_SENSOR"] = 74] = "MARIO_PANTS_SENSOR"; DeviceType[DeviceType["TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY"] = 75] = "TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY"; DeviceType[DeviceType["TECHNIC_LARGE_ANGULAR_MOTOR_GREY"] = 76] = "TECHNIC_LARGE_ANGULAR_MOTOR_GREY"; -})(DeviceType = exports.DeviceType || (exports.DeviceType = {})); +})(DeviceType || (exports.DeviceType = DeviceType = {})); // tslint:disable-next-line exports.DeviceTypeNames = DeviceType; /** @@ -234,7 +170,7 @@

Color[Color["RED"] = 9] = "RED"; Color[Color["WHITE"] = 10] = "WHITE"; Color[Color["NONE"] = 255] = "NONE"; -})(Color = exports.Color || (exports.Color = {})); +})(Color || (exports.Color = Color = {})); // tslint:disable-next-line exports.ColorNames = Color; /** @@ -252,7 +188,7 @@

ButtonState[ButtonState["UP"] = 1] = "UP"; ButtonState[ButtonState["DOWN"] = 255] = "DOWN"; ButtonState[ButtonState["STOP"] = 127] = "STOP"; -})(ButtonState = exports.ButtonState || (exports.ButtonState = {})); +})(ButtonState || (exports.ButtonState = ButtonState = {})); /** * @typedef BrakingStyle * @property {number} FLOAT 0 @@ -264,7 +200,7 @@

BrakingStyle[BrakingStyle["FLOAT"] = 0] = "FLOAT"; BrakingStyle[BrakingStyle["HOLD"] = 126] = "HOLD"; BrakingStyle[BrakingStyle["BRAKE"] = 127] = "BRAKE"; -})(BrakingStyle = exports.BrakingStyle || (exports.BrakingStyle = {})); +})(BrakingStyle || (exports.BrakingStyle = BrakingStyle = {})); /** * @typedef DuploTrainBaseSound * @property {number} BRAKE 3 @@ -280,7 +216,7 @@

DuploTrainBaseSound[DuploTrainBaseSound["WATER_REFILL"] = 7] = "WATER_REFILL"; DuploTrainBaseSound[DuploTrainBaseSound["HORN"] = 9] = "HORN"; DuploTrainBaseSound[DuploTrainBaseSound["STEAM"] = 10] = "STEAM"; -})(DuploTrainBaseSound = exports.DuploTrainBaseSound || (exports.DuploTrainBaseSound = {})); +})(DuploTrainBaseSound || (exports.DuploTrainBaseSound = DuploTrainBaseSound = {})); var BLEManufacturerData; (function (BLEManufacturerData) { BLEManufacturerData[BLEManufacturerData["DUPLO_TRAIN_BASE_ID"] = 32] = "DUPLO_TRAIN_BASE_ID"; @@ -290,7 +226,7 @@

BLEManufacturerData[BLEManufacturerData["MARIO_ID"] = 67] = "MARIO_ID"; BLEManufacturerData[BLEManufacturerData["TECHNIC_MEDIUM_HUB_ID"] = 128] = "TECHNIC_MEDIUM_HUB_ID"; BLEManufacturerData[BLEManufacturerData["TECHNIC_SMALL_HUB_ID"] = 131] = "TECHNIC_SMALL_HUB_ID"; -})(BLEManufacturerData = exports.BLEManufacturerData || (exports.BLEManufacturerData = {})); +})(BLEManufacturerData || (exports.BLEManufacturerData = BLEManufacturerData = {})); var BLEService; (function (BLEService) { BLEService["WEDO2_SMART_HUB"] = "00001523-1212-efde-1523-785feabcd123"; @@ -299,7 +235,7 @@

BLEService["WEDO2_SMART_HUB_4"] = "180f"; BLEService["WEDO2_SMART_HUB_5"] = "180a"; BLEService["LPF2_HUB"] = "00001623-1212-efde-1623-785feabcd123"; -})(BLEService = exports.BLEService || (exports.BLEService = {})); +})(BLEService || (exports.BLEService = BLEService = {})); var BLECharacteristic; (function (BLECharacteristic) { BLECharacteristic["WEDO2_BATTERY"] = "2a19"; @@ -316,7 +252,7 @@

BLECharacteristic["WEDO2_MOTOR_VALUE_WRITE"] = "00001565-1212-efde-1523-785feabcd123"; BLECharacteristic["WEDO2_NAME_ID"] = "00001524-1212-efde-1523-785feabcd123"; BLECharacteristic["LPF2_ALL"] = "00001624-1212-efde-1623-785feabcd123"; -})(BLECharacteristic = exports.BLECharacteristic || (exports.BLECharacteristic = {})); +})(BLECharacteristic || (exports.BLECharacteristic = BLECharacteristic = {})); /** * @typedef MessageType * @property {number} HUB_PROPERTIES 0x01 @@ -369,7 +305,7 @@

MessageType[MessageType["VIRTUAL_PORT_SETUP"] = 97] = "VIRTUAL_PORT_SETUP"; MessageType[MessageType["PORT_OUTPUT_COMMAND"] = 129] = "PORT_OUTPUT_COMMAND"; MessageType[MessageType["PORT_OUTPUT_COMMAND_FEEDBACK"] = 130] = "PORT_OUTPUT_COMMAND_FEEDBACK"; -})(MessageType = exports.MessageType || (exports.MessageType = {})); +})(MessageType || (exports.MessageType = MessageType = {})); /** * @typedef HubPropertyReference * @param {number} ADVERTISING_NAME 0x01 @@ -406,7 +342,7 @@

HubPropertyReference[HubPropertyReference["PRIMARY_MAC_ADDRESS"] = 13] = "PRIMARY_MAC_ADDRESS"; HubPropertyReference[HubPropertyReference["SECONDARY_MAC_ADDRESS"] = 14] = "SECONDARY_MAC_ADDRESS"; HubPropertyReference[HubPropertyReference["HARDWARE_NETWORK_FAMILY"] = 15] = "HARDWARE_NETWORK_FAMILY"; -})(HubPropertyReference = exports.HubPropertyReference || (exports.HubPropertyReference = {})); +})(HubPropertyReference || (exports.HubPropertyReference = HubPropertyReference = {})); /** * @typedef HubPropertyOperation * @param {number} SET_DOWNSTREAM 0x01 @@ -425,7 +361,7 @@

HubPropertyOperation[HubPropertyOperation["RESET_DOWNSTREAM"] = 4] = "RESET_DOWNSTREAM"; HubPropertyOperation[HubPropertyOperation["REQUEST_UPDATE_DOWNSTREAM"] = 5] = "REQUEST_UPDATE_DOWNSTREAM"; HubPropertyOperation[HubPropertyOperation["UPDATE_UPSTREAM"] = 6] = "UPDATE_UPSTREAM"; -})(HubPropertyOperation = exports.HubPropertyOperation || (exports.HubPropertyOperation = {})); +})(HubPropertyOperation || (exports.HubPropertyOperation = HubPropertyOperation = {})); /** * @typedef HubPropertyPayload * @param {number} ADVERTISING_NAME 0x01 @@ -462,7 +398,7 @@

HubPropertyPayload[HubPropertyPayload["PRIMARY_MAC_ADDRESS"] = 13] = "PRIMARY_MAC_ADDRESS"; HubPropertyPayload[HubPropertyPayload["SECONDARY_MAC_ADDRESS"] = 14] = "SECONDARY_MAC_ADDRESS"; HubPropertyPayload[HubPropertyPayload["HW_NETWORK_FAMILY"] = 15] = "HW_NETWORK_FAMILY"; -})(HubPropertyPayload = exports.HubPropertyPayload || (exports.HubPropertyPayload = {})); +})(HubPropertyPayload || (exports.HubPropertyPayload = HubPropertyPayload = {})); /** * @typedef ActionType * @param {number} SWITCH_OFF_HUB 0x01 @@ -489,7 +425,7 @@

ActionType[ActionType["HUB_WILL_SWITCH_OFF"] = 48] = "HUB_WILL_SWITCH_OFF"; ActionType[ActionType["HUB_WILL_DISCONNECT"] = 49] = "HUB_WILL_DISCONNECT"; ActionType[ActionType["HUB_WILL_GO_INTO_BOOT_MODE"] = 50] = "HUB_WILL_GO_INTO_BOOT_MODE"; -})(ActionType = exports.ActionType || (exports.ActionType = {})); +})(ActionType || (exports.ActionType = ActionType = {})); /** * @typedef AlertType * @param {number} LOW_VOLTAGE 0x01 @@ -504,7 +440,7 @@

AlertType[AlertType["HIGH_CURRENT"] = 2] = "HIGH_CURRENT"; AlertType[AlertType["LOW_SIGNAL_STRENGTH"] = 3] = "LOW_SIGNAL_STRENGTH"; AlertType[AlertType["OVER_POWER_CONDITION"] = 4] = "OVER_POWER_CONDITION"; -})(AlertType = exports.AlertType || (exports.AlertType = {})); +})(AlertType || (exports.AlertType = AlertType = {})); /** * @typedef AlertOperation * @param {number} ENABLE_UPDATE 0x01 @@ -519,7 +455,7 @@

AlertOperation[AlertOperation["HIGH_CURRENT"] = 2] = "HIGH_CURRENT"; AlertOperation[AlertOperation["LOW_SIGNAL_STRENGTH"] = 3] = "LOW_SIGNAL_STRENGTH"; AlertOperation[AlertOperation["OVER_POWER_CONDITION"] = 4] = "OVER_POWER_CONDITION"; -})(AlertOperation = exports.AlertOperation || (exports.AlertOperation = {})); +})(AlertOperation || (exports.AlertOperation = AlertOperation = {})); /** * @typedef AlertPayload * @param {number} STATUS_OK 0x00 @@ -530,7 +466,7 @@

(function (AlertPayload) { AlertPayload[AlertPayload["STATUS_OK"] = 0] = "STATUS_OK"; AlertPayload[AlertPayload["ALERT"] = 255] = "ALERT"; -})(AlertPayload = exports.AlertPayload || (exports.AlertPayload = {})); +})(AlertPayload || (exports.AlertPayload = AlertPayload = {})); /** * @typedef Event * @param {number} DETACHED_IO 0x00 @@ -543,7 +479,7 @@

Event[Event["DETACHED_IO"] = 0] = "DETACHED_IO"; Event[Event["ATTACHED_IO"] = 1] = "ATTACHED_IO"; Event[Event["ATTACHED_VIRTUAL_IO"] = 2] = "ATTACHED_VIRTUAL_IO"; -})(Event = exports.Event || (exports.Event = {})); +})(Event || (exports.Event = Event = {})); /** * @typedef IOTypeID * @param {number} MOTOR 0x0001 @@ -578,7 +514,7 @@

IOTypeID[IOTypeID["EXTERNAL_MOTOR"] = 38] = "EXTERNAL_MOTOR"; IOTypeID[IOTypeID["INTERNAL_MOTOR"] = 39] = "INTERNAL_MOTOR"; IOTypeID[IOTypeID["INTERNAL_TILT"] = 40] = "INTERNAL_TILT"; -})(IOTypeID = exports.IOTypeID || (exports.IOTypeID = {})); +})(IOTypeID || (exports.IOTypeID = IOTypeID = {})); /** * @typedef ErrorCode * @param {number} ACK 0x01 @@ -601,7 +537,7 @@

ErrorCode[ErrorCode["INVALID_USE"] = 6] = "INVALID_USE"; ErrorCode[ErrorCode["OVERCURRENT"] = 7] = "OVERCURRENT"; ErrorCode[ErrorCode["INTERNAL_ERROR"] = 8] = "INTERNAL_ERROR"; -})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {})); +})(ErrorCode || (exports.ErrorCode = ErrorCode = {})); /** * @typedef HWNetWorkCommandType * @param {number} CONNECTION_REQUEST 0x02 @@ -634,7 +570,7 @@

HWNetWorkCommandType[HWNetWorkCommandType["EXTENDED_FAMILY"] = 12] = "EXTENDED_FAMILY"; HWNetWorkCommandType[HWNetWorkCommandType["EXTENDED_FAMILY_SET"] = 13] = "EXTENDED_FAMILY_SET"; HWNetWorkCommandType[HWNetWorkCommandType["RESET_LONG_PRESS_TIMING"] = 14] = "RESET_LONG_PRESS_TIMING"; -})(HWNetWorkCommandType = exports.HWNetWorkCommandType || (exports.HWNetWorkCommandType = {})); +})(HWNetWorkCommandType || (exports.HWNetWorkCommandType = HWNetWorkCommandType = {})); /** * @typedef HWNetworkFamily * @param {number} GREEN 0x01 @@ -659,7 +595,7 @@

HWNetworkFamily[HWNetworkFamily["TEAL"] = 7] = "TEAL"; HWNetworkFamily[HWNetworkFamily["PINK"] = 8] = "PINK"; HWNetworkFamily[HWNetworkFamily["WHITE"] = 0] = "WHITE"; -})(HWNetworkFamily = exports.HWNetworkFamily || (exports.HWNetworkFamily = {})); +})(HWNetworkFamily || (exports.HWNetworkFamily = HWNetworkFamily = {})); /** * @typedef HWNetworkSubFamily * @param {number} ONE_FLASH 0x01 @@ -680,7 +616,7 @@

HWNetworkSubFamily[HWNetworkSubFamily["FIVE_FLASHES"] = 5] = "FIVE_FLASHES"; HWNetworkSubFamily[HWNetworkSubFamily["SIX_FLASHES"] = 6] = "SIX_FLASHES"; HWNetworkSubFamily[HWNetworkSubFamily["SEVEN_FLASHES"] = 7] = "SEVEN_FLASHES"; -})(HWNetworkSubFamily = exports.HWNetworkSubFamily || (exports.HWNetworkSubFamily = {})); +})(HWNetworkSubFamily || (exports.HWNetworkSubFamily = HWNetworkSubFamily = {})); /** * @typedef ModeInformationType * @param {number} NAME 0x00 @@ -707,7 +643,7 @@

ModeInformationType[ModeInformationType["MOTOR_BIAS"] = 7] = "MOTOR_BIAS"; ModeInformationType[ModeInformationType["CAPABILITY_BITS"] = 8] = "CAPABILITY_BITS"; ModeInformationType[ModeInformationType["VALUE_FORMAT"] = 128] = "VALUE_FORMAT"; -})(ModeInformationType = exports.ModeInformationType || (exports.ModeInformationType = {})); +})(ModeInformationType || (exports.ModeInformationType = ModeInformationType = {})); /** * @typedef PortInputFormatSetupSubCommand * @param {number} SET_MODEANDDATASET_COMBINATIONS 0x01 @@ -726,7 +662,7 @@

PortInputFormatSetupSubCommand[PortInputFormatSetupSubCommand["UNLOCKANDSTARTWITHMULTIUPDATEDISABLED"] = 4] = "UNLOCKANDSTARTWITHMULTIUPDATEDISABLED"; PortInputFormatSetupSubCommand[PortInputFormatSetupSubCommand["NOT_USED"] = 5] = "NOT_USED"; PortInputFormatSetupSubCommand[PortInputFormatSetupSubCommand["RESET_SENSOR"] = 6] = "RESET_SENSOR"; -})(PortInputFormatSetupSubCommand = exports.PortInputFormatSetupSubCommand || (exports.PortInputFormatSetupSubCommand = {})); +})(PortInputFormatSetupSubCommand || (exports.PortInputFormatSetupSubCommand = PortInputFormatSetupSubCommand = {})); /** * @typedef MarioPantsType * @param {number} NONE 0x00 @@ -744,7 +680,7 @@

MarioPantsType[MarioPantsType["FIRE"] = 18] = "FIRE"; MarioPantsType[MarioPantsType["NORMAL"] = 33] = "NORMAL"; MarioPantsType[MarioPantsType["BUILDER"] = 34] = "BUILDER"; -})(MarioPantsType = exports.MarioPantsType || (exports.MarioPantsType = {})); +})(MarioPantsType || (exports.MarioPantsType = MarioPantsType = {})); /** * @typedef MarioColor * @param {number} WHITE 0x1300 @@ -766,26 +702,27 @@

MarioColor[MarioColor["GREEN"] = 9472] = "GREEN"; MarioColor[MarioColor["BROWN"] = 27136] = "BROWN"; MarioColor[MarioColor["CYAN"] = 16897] = "CYAN"; -})(MarioColor = exports.MarioColor || (exports.MarioColor = {})); +})(MarioColor || (exports.MarioColor = MarioColor = {})); //# sourceMappingURL=consts.js.map

-
-
+
+
- -
-
+
- + - - +
- + + + diff --git a/docs/devices_absolutemotor.js.html b/docs/devices_absolutemotor.js.html index 0964e661..179f84d6 100644 --- a/docs/devices_absolutemotor.js.html +++ b/docs/devices_absolutemotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/absolutemotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/absolutemotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/absolutemotor.js

-
- -

- devices/absolutemotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -225,30 +165,31 @@ 

(function (Mode) { Mode[Mode["ROTATION"] = 2] = "ROTATION"; Mode[Mode["ABSOLUTE"] = 3] = "ABSOLUTE"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "rotate": Mode.ROTATION, "absolute": Mode.ABSOLUTE }; //# sourceMappingURL=absolutemotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_basicmotor.js.html b/docs/devices_basicmotor.js.html index 14663f3a..1befbf12 100644 --- a/docs/devices_basicmotor.js.html +++ b/docs/devices_basicmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/basicmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/basicmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/basicmotor.js

-
- -

- devices/basicmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -174,24 +114,25 @@ 

} exports.BasicMotor = BasicMotor; //# sourceMappingURL=basicmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_colordistancesensor.js.html b/docs/devices_colordistancesensor.js.html index 1760a9f5..1a1d2c89 100644 --- a/docs/devices_colordistancesensor.js.html +++ b/docs/devices_colordistancesensor.js.html @@ -1,99 +1,39 @@ - - + + JSDoc: Source: devices/colordistancesensor.js - - - - - devices/colordistancesensor.js - Documentation - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- devices/colordistancesensor.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -381,7 +321,7 @@ 

Mode[Mode["RGB_I"] = 6] = "RGB_I"; Mode[Mode["PF_IR"] = 7] = "PF_IR"; Mode[Mode["COLOR_AND_DISTANCE"] = 8] = "COLOR_AND_DISTANCE"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "color": Mode.COLOR, "distance": Mode.DISTANCE, @@ -395,26 +335,27 @@

(function (Output) { Output["RED"] = "RED"; Output["BLUE"] = "BLUE"; -})(Output = exports.Output || (exports.Output = {})); +})(Output || (exports.Output = Output = {})); //# sourceMappingURL=colordistancesensor.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_currentsensor.js.html b/docs/devices_currentsensor.js.html index 31066d9e..9fb21041 100644 --- a/docs/devices_currentsensor.js.html +++ b/docs/devices_currentsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/currentsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/currentsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/currentsensor.js

-
- -

- devices/currentsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -156,7 +96,7 @@ 

var Mode; (function (Mode) { Mode[Mode["CURRENT"] = 0] = "CURRENT"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "current": Mode.CURRENT }; @@ -168,24 +108,25 @@

[Consts.HubType.UNKNOWN]: 4095, }; //# sourceMappingURL=currentsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_device.js.html b/docs/devices_device.js.html index 9a151c5c..ec965b72 100644 --- a/docs/devices_device.js.html +++ b/docs/devices_device.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/device.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/device.js + + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- devices/device.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -275,24 +215,25 @@ 

} exports.Device = Device; //# sourceMappingURL=device.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_duplotrainbasecolorsensor.js.html b/docs/devices_duplotrainbasecolorsensor.js.html index e361401a..95cfadd2 100644 --- a/docs/devices_duplotrainbasecolorsensor.js.html +++ b/docs/devices_duplotrainbasecolorsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/duplotrainbasecolorsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/duplotrainbasecolorsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/duplotrainbasecolorsensor.js

-
- -

- devices/duplotrainbasecolorsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -182,7 +122,7 @@ 

Mode[Mode["COLOR"] = 1] = "COLOR"; Mode[Mode["REFLECTIVITY"] = 2] = "REFLECTIVITY"; Mode[Mode["RGB"] = 3] = "RGB"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "intensity": Mode.INTENSITY, "color": Mode.COLOR, @@ -190,24 +130,25 @@

"rgb": Mode.RGB }; //# sourceMappingURL=duplotrainbasecolorsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_duplotrainbasemotor.js.html b/docs/devices_duplotrainbasemotor.js.html index c8e96607..76c96b04 100644 --- a/docs/devices_duplotrainbasemotor.js.html +++ b/docs/devices_duplotrainbasemotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/duplotrainbasemotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/duplotrainbasemotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/duplotrainbasemotor.js

-
- -

- devices/duplotrainbasemotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.DuploTrainBaseMotor = DuploTrainBaseMotor; //# sourceMappingURL=duplotrainbasemotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_duplotrainbasespeaker.js.html b/docs/devices_duplotrainbasespeaker.js.html index e5b04dc1..d5674fc5 100644 --- a/docs/devices_duplotrainbasespeaker.js.html +++ b/docs/devices_duplotrainbasespeaker.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/duplotrainbasespeaker.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/duplotrainbasespeaker.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/duplotrainbasespeaker.js

-
- -

- devices/duplotrainbasespeaker.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -151,26 +91,27 @@ 

(function (Mode) { Mode[Mode["SOUND"] = 1] = "SOUND"; Mode[Mode["TONE"] = 2] = "TONE"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); //# sourceMappingURL=duplotrainbasespeaker.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_duplotrainbasespeedometer.js.html b/docs/devices_duplotrainbasespeedometer.js.html index 5a2534ac..46890099 100644 --- a/docs/devices_duplotrainbasespeedometer.js.html +++ b/docs/devices_duplotrainbasespeedometer.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/duplotrainbasespeedometer.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/duplotrainbasespeedometer.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/duplotrainbasespeedometer.js

-
- -

- devices/duplotrainbasespeedometer.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -142,29 +82,30 @@ 

var Mode; (function (Mode) { Mode[Mode["SPEED"] = 0] = "SPEED"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "speed": Mode.SPEED }; //# sourceMappingURL=duplotrainbasespeedometer.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_hubled.js.html b/docs/devices_hubled.js.html index bf5ff817..1d282ea3 100644 --- a/docs/devices_hubled.js.html +++ b/docs/devices_hubled.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/hubled.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/hubled.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/hubled.js

-
- -

- devices/hubled.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -171,26 +111,27 @@ 

(function (Mode) { Mode[Mode["COLOR"] = 0] = "COLOR"; Mode[Mode["RGB"] = 1] = "RGB"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); //# sourceMappingURL=hubled.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_light.js.html b/docs/devices_light.js.html index f5ad5835..fff5fd67 100644 --- a/docs/devices_light.js.html +++ b/docs/devices_light.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/light.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/light.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/light.js

-
- -

- devices/light.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -159,24 +99,25 @@ 

} exports.Light = Light; //# sourceMappingURL=light.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_marioaccelerometer.js.html b/docs/devices_marioaccelerometer.js.html index d7ebc343..c41a9c4d 100644 --- a/docs/devices_marioaccelerometer.js.html +++ b/docs/devices_marioaccelerometer.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/marioaccelerometer.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/marioaccelerometer.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/marioaccelerometer.js

-
- -

- devices/marioaccelerometer.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -157,30 +97,31 @@ 

(function (Mode) { Mode[Mode["ACCEL"] = 0] = "ACCEL"; Mode[Mode["GEST"] = 1] = "GEST"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "accel": Mode.ACCEL, "gesture": Mode.GEST, }; //# sourceMappingURL=marioaccelerometer.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_mariobarcodesensor.js.html b/docs/devices_mariobarcodesensor.js.html index cba56c5c..91d4f056 100644 --- a/docs/devices_mariobarcodesensor.js.html +++ b/docs/devices_mariobarcodesensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/mariobarcodesensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/mariobarcodesensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/mariobarcodesensor.js

-
- -

- devices/mariobarcodesensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -165,30 +105,31 @@ 

(function (Mode) { Mode[Mode["BARCODE"] = 0] = "BARCODE"; Mode[Mode["RGB"] = 1] = "RGB"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "barcode": Mode.BARCODE, "rgb": Mode.RGB, }; //# sourceMappingURL=mariobarcodesensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_mariopantssensor.js.html b/docs/devices_mariopantssensor.js.html index 682eb32c..f278b97b 100644 --- a/docs/devices_mariopantssensor.js.html +++ b/docs/devices_mariopantssensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/mariopantssensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/mariopantssensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/mariopantssensor.js

-
- -

- devices/mariopantssensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -142,29 +82,30 @@ 

var Mode; (function (Mode) { Mode[Mode["PANTS"] = 0] = "PANTS"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "pants": Mode.PANTS, }; //# sourceMappingURL=mariopantssensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_mediumlinearmotor.js.html b/docs/devices_mediumlinearmotor.js.html index 5166c433..5809e251 100644 --- a/docs/devices_mediumlinearmotor.js.html +++ b/docs/devices_mediumlinearmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/mediumlinearmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/mediumlinearmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/mediumlinearmotor.js

-
- -

- devices/mediumlinearmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.MediumLinearMotor = MediumLinearMotor; //# sourceMappingURL=mediumlinearmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_motionsensor.js.html b/docs/devices_motionsensor.js.html index cf982e51..c1677695 100644 --- a/docs/devices_motionsensor.js.html +++ b/docs/devices_motionsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/motionsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/motionsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/motionsensor.js

-
- -

- devices/motionsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -146,29 +86,30 @@ 

var Mode; (function (Mode) { Mode[Mode["DISTANCE"] = 0] = "DISTANCE"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "distance": Mode.DISTANCE }; //# sourceMappingURL=motionsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_movehubmediumlinearmotor.js.html b/docs/devices_movehubmediumlinearmotor.js.html index 11bae544..3c416c4c 100644 --- a/docs/devices_movehubmediumlinearmotor.js.html +++ b/docs/devices_movehubmediumlinearmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/movehubmediumlinearmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/movehubmediumlinearmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/movehubmediumlinearmotor.js

-
- -

- devices/movehubmediumlinearmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.MoveHubMediumLinearMotor = MoveHubMediumLinearMotor; //# sourceMappingURL=movehubmediumlinearmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_movehubtiltsensor.js.html b/docs/devices_movehubtiltsensor.js.html index eb780733..0b0ddb85 100644 --- a/docs/devices_movehubtiltsensor.js.html +++ b/docs/devices_movehubtiltsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/movehubtiltsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/movehubtiltsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/movehubtiltsensor.js

-
- -

- devices/movehubtiltsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -144,29 +84,30 @@ 

var Mode; (function (Mode) { Mode[Mode["TILT"] = 0] = "TILT"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "tilt": Mode.TILT }; //# sourceMappingURL=movehubtiltsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_piezobuzzer.js.html b/docs/devices_piezobuzzer.js.html index cdfe18dd..ffb3bf97 100644 --- a/docs/devices_piezobuzzer.js.html +++ b/docs/devices_piezobuzzer.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/piezobuzzer.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/piezobuzzer.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/piezobuzzer.js

-
- -

- devices/piezobuzzer.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -141,24 +81,25 @@ 

} exports.PiezoBuzzer = PiezoBuzzer; //# sourceMappingURL=piezobuzzer.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_remotecontrolbutton.js.html b/docs/devices_remotecontrolbutton.js.html index 86a64f2d..b8e4eee9 100644 --- a/docs/devices_remotecontrolbutton.js.html +++ b/docs/devices_remotecontrolbutton.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/remotecontrolbutton.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/remotecontrolbutton.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/remotecontrolbutton.js

-
- -

- devices/remotecontrolbutton.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -142,7 +82,7 @@ 

var Mode; (function (Mode) { Mode[Mode["BUTTON_EVENTS"] = 0] = "BUTTON_EVENTS"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "remoteButton": Mode.BUTTON_EVENTS }; @@ -153,24 +93,25 @@

"RELEASED": 0x00, }; //# sourceMappingURL=remotecontrolbutton.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_simplemediumlinearmotor.js.html b/docs/devices_simplemediumlinearmotor.js.html index 4548effe..09df9bb2 100644 --- a/docs/devices_simplemediumlinearmotor.js.html +++ b/docs/devices_simplemediumlinearmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/simplemediumlinearmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/simplemediumlinearmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/simplemediumlinearmotor.js

-
- -

- devices/simplemediumlinearmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.SimpleMediumLinearMotor = SimpleMediumLinearMotor; //# sourceMappingURL=simplemediumlinearmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_tachomotor.js.html b/docs/devices_tachomotor.js.html index 415b3b04..b2b63520 100644 --- a/docs/devices_tachomotor.js.html +++ b/docs/devices_tachomotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/tachomotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/tachomotor.js + + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- devices/tachomotor.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -275,29 +215,30 @@ 

var Mode; (function (Mode) { Mode[Mode["ROTATION"] = 2] = "ROTATION"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "rotate": Mode.ROTATION }; //# sourceMappingURL=tachomotor.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technic3x3colorlightmatrix.js.html b/docs/devices_technic3x3colorlightmatrix.js.html index da151e3d..59d092e8 100644 --- a/docs/devices_technic3x3colorlightmatrix.js.html +++ b/docs/devices_technic3x3colorlightmatrix.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technic3x3colorlightmatrix.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technic3x3colorlightmatrix.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technic3x3colorlightmatrix.js

-
- -

- devices/technic3x3colorlightmatrix.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -165,26 +105,27 @@ 

Mode[Mode["COL_0"] = 1] = "COL_0"; Mode[Mode["PIX_0"] = 2] = "PIX_0"; Mode[Mode["TRANS"] = 3] = "TRANS"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); //# sourceMappingURL=technic3x3colorlightmatrix.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_techniccolorsensor.js.html b/docs/devices_techniccolorsensor.js.html index c1dfb176..5accf998 100644 --- a/docs/devices_techniccolorsensor.js.html +++ b/docs/devices_techniccolorsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/techniccolorsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/techniccolorsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/techniccolorsensor.js

-
- -

- devices/techniccolorsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -178,31 +118,32 @@ 

Mode[Mode["COLOR"] = 0] = "COLOR"; Mode[Mode["REFLECTIVITY"] = 1] = "REFLECTIVITY"; Mode[Mode["AMBIENT_LIGHT"] = 2] = "AMBIENT_LIGHT"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "color": Mode.COLOR, "reflect": Mode.REFLECTIVITY, "ambient": Mode.AMBIENT_LIGHT }; //# sourceMappingURL=techniccolorsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicdistancesensor.js.html b/docs/devices_technicdistancesensor.js.html index a9f2f0e4..5a6847cc 100644 --- a/docs/devices_technicdistancesensor.js.html +++ b/docs/devices_technicdistancesensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicdistancesensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicdistancesensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicdistancesensor.js

-
- -

- devices/technicdistancesensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -165,30 +105,31 @@ 

(function (Mode) { Mode[Mode["DISTANCE"] = 0] = "DISTANCE"; Mode[Mode["FAST_DISTANCE"] = 1] = "FAST_DISTANCE"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "distance": Mode.DISTANCE, "fastDistance": Mode.FAST_DISTANCE }; //# sourceMappingURL=technicdistancesensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicforcesensor.js.html b/docs/devices_technicforcesensor.js.html index 4c6af180..87078a74 100644 --- a/docs/devices_technicforcesensor.js.html +++ b/docs/devices_technicforcesensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicforcesensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicforcesensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicforcesensor.js

-
- -

- devices/technicforcesensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -164,31 +104,32 @@ 

Mode[Mode["FORCE"] = 0] = "FORCE"; Mode[Mode["TOUCHED"] = 1] = "TOUCHED"; Mode[Mode["TAPPED"] = 2] = "TAPPED"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "force": Mode.FORCE, "touched": Mode.TOUCHED, "tapped": Mode.TAPPED }; //# sourceMappingURL=technicforcesensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_techniclargeangularmotor.js.html b/docs/devices_techniclargeangularmotor.js.html index b2ac1b15..92e8a7bb 100644 --- a/docs/devices_techniclargeangularmotor.js.html +++ b/docs/devices_techniclargeangularmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/techniclargeangularmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/techniclargeangularmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/techniclargeangularmotor.js

-
- -

- devices/techniclargeangularmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.TechnicLargeAngularMotor = TechnicLargeAngularMotor; //# sourceMappingURL=techniclargeangularmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_techniclargelinearmotor.js.html b/docs/devices_techniclargelinearmotor.js.html index 1780d74d..21206506 100644 --- a/docs/devices_techniclargelinearmotor.js.html +++ b/docs/devices_techniclargelinearmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/techniclargelinearmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/techniclargelinearmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/techniclargelinearmotor.js

-
- -

- devices/techniclargelinearmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.TechnicLargeLinearMotor = TechnicLargeLinearMotor; //# sourceMappingURL=techniclargelinearmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicmediumangularmotor.js.html b/docs/devices_technicmediumangularmotor.js.html index 6f2dde68..093d2989 100644 --- a/docs/devices_technicmediumangularmotor.js.html +++ b/docs/devices_technicmediumangularmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicmediumangularmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicmediumangularmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicmediumangularmotor.js

-
- -

- devices/technicmediumangularmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.TechnicMediumAngularMotor = TechnicMediumAngularMotor; //# sourceMappingURL=technicmediumangularmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicmediumhubaccelerometersensor.js.html b/docs/devices_technicmediumhubaccelerometersensor.js.html index 6fae19b6..7811ce30 100644 --- a/docs/devices_technicmediumhubaccelerometersensor.js.html +++ b/docs/devices_technicmediumhubaccelerometersensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicmediumhubaccelerometersensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicmediumhubaccelerometersensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicmediumhubaccelerometersensor.js

-
- -

- devices/technicmediumhubaccelerometersensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -146,29 +86,30 @@ 

var Mode; (function (Mode) { Mode[Mode["ACCEL"] = 0] = "ACCEL"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "accel": Mode.ACCEL }; //# sourceMappingURL=technicmediumhubaccelerometersensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicmediumhubgyrosensor.js.html b/docs/devices_technicmediumhubgyrosensor.js.html index 7be2f6b4..49ebb791 100644 --- a/docs/devices_technicmediumhubgyrosensor.js.html +++ b/docs/devices_technicmediumhubgyrosensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicmediumhubgyrosensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicmediumhubgyrosensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicmediumhubgyrosensor.js

-
- -

- devices/technicmediumhubgyrosensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -146,29 +86,30 @@ 

var Mode; (function (Mode) { Mode[Mode["GYRO"] = 0] = "GYRO"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "gyro": Mode.GYRO }; //# sourceMappingURL=technicmediumhubgyrosensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicmediumhubtiltsensor.js.html b/docs/devices_technicmediumhubtiltsensor.js.html index 8f684b7e..97066ef0 100644 --- a/docs/devices_technicmediumhubtiltsensor.js.html +++ b/docs/devices_technicmediumhubtiltsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicmediumhubtiltsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicmediumhubtiltsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicmediumhubtiltsensor.js

-
- -

- devices/technicmediumhubtiltsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -213,30 +153,31 @@ 

(function (Mode) { Mode[Mode["TILT"] = 0] = "TILT"; Mode[Mode["IMPACT_COUNT"] = 1] = "IMPACT_COUNT"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "tilt": Mode.TILT, "impactCount": Mode.IMPACT_COUNT }; //# sourceMappingURL=technicmediumhubtiltsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicsmallangularmotor.js.html b/docs/devices_technicsmallangularmotor.js.html index 6cf65d15..4c629142 100644 --- a/docs/devices_technicsmallangularmotor.js.html +++ b/docs/devices_technicsmallangularmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicsmallangularmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicsmallangularmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicsmallangularmotor.js

-
- -

- devices/technicsmallangularmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.TechnicSmallAngularMotor = TechnicSmallAngularMotor; //# sourceMappingURL=technicsmallangularmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_technicxlargelinearmotor.js.html b/docs/devices_technicxlargelinearmotor.js.html index 0e1b198f..ddce6e6a 100644 --- a/docs/devices_technicxlargelinearmotor.js.html +++ b/docs/devices_technicxlargelinearmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/technicxlargelinearmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/technicxlargelinearmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/technicxlargelinearmotor.js

-
- -

- devices/technicxlargelinearmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.TechnicXLargeLinearMotor = TechnicXLargeLinearMotor; //# sourceMappingURL=technicxlargelinearmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_tiltsensor.js.html b/docs/devices_tiltsensor.js.html index 62320128..ae80de73 100644 --- a/docs/devices_tiltsensor.js.html +++ b/docs/devices_tiltsensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/tiltsensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/tiltsensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/tiltsensor.js

-
- -

- devices/tiltsensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -144,29 +84,30 @@ 

var Mode; (function (Mode) { Mode[Mode["TILT"] = 0] = "TILT"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "tilt": Mode.TILT }; //# sourceMappingURL=tiltsensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_trainmotor.js.html b/docs/devices_trainmotor.js.html index 362fcc51..b1972922 100644 --- a/docs/devices_trainmotor.js.html +++ b/docs/devices_trainmotor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/trainmotor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/trainmotor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/trainmotor.js

-
- -

- devices/trainmotor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -125,24 +65,25 @@ 

} exports.TrainMotor = TrainMotor; //# sourceMappingURL=trainmotor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/devices_voltagesensor.js.html b/docs/devices_voltagesensor.js.html index f00765f7..4fe0010f 100644 --- a/docs/devices_voltagesensor.js.html +++ b/docs/devices_voltagesensor.js.html @@ -1,99 +1,39 @@ - - - - - - - - devices/voltagesensor.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: devices/voltagesensor.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: devices/voltagesensor.js

-
- -

- devices/voltagesensor.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -156,7 +96,7 @@ 

var Mode; (function (Mode) { Mode[Mode["VOLTAGE"] = 0] = "VOLTAGE"; -})(Mode = exports.Mode || (exports.Mode = {})); +})(Mode || (exports.Mode = Mode = {})); exports.ModeMap = { "voltage": Mode.VOLTAGE }; @@ -172,24 +112,25 @@

[Consts.HubType.TECHNIC_MEDIUM_HUB]: 4095, }; //# sourceMappingURL=voltagesensor.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/global.html b/docs/global.html index 16033bb5..be1157c1 100644 --- a/docs/global.html +++ b/docs/global.html @@ -1,148 +1,84 @@ - - - - - - Global - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Global + + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- Global -

- -
-
+ +
-

+

- - - - - -
+
-
+
- + +
- + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
- +
@@ -151,8 +87,6 @@

- - @@ -160,633 +94,409 @@

-

Type Definitions

- - - + - + +

Type Definitions

- - - - - - -

- ActionType -

-
+ + +

ActionType

- -
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#action-types

-
- +
-
Parameters:
- - - - - - - +
-
+ - + - + - - - + - - - - - - + - + - + - - + - - - - +
Source:
+
+ - - - - - - - - - - - + +

AlertOperation

- - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-operation

+
- - - - - +
-
- - - - - - - - - - - - + - - - - - + - + - + - - + - - - - +
Source:
+
+ - - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-payload

+
- - - - - - - - - +
- + -
- + - - - - - + - + - + - - + - -
NameTypeDescription
SWITCH_OFF_HUB - - - - number - + + - - -

0x01

- -
DISCONNECT - - - - number - + + + - - -

0x02

- -
VCC_PORT_CONTROL_ON - - - number - - - - - - - -

0x03

- -
VCC_PORT_CONTROL_OFF - - - - number - - - - -

0x04

- -
ACTIVATE_BUSY_INDICATION - - - - number - + - - -

0x05

- -
RESET_BUSY_INDICATION - - - - number - + + - - -

0x06

- -
SHUTDOWN - - - - number - + + + - - -

0x2F

- -
HUB_WILL_SWITCH_OFF - - - number - - - + +

AlertPayload

- -
-

0x30

- -
HUB_WILL_DISCONNECT - - - - number - - - - -

0x31

- -
HUB_WILL_GO_INTO_BOOT_MODE - - - - number - + + - - -

0x32

- -
+ + +
Source:
+
+ + + -
+ +
- - - - - - + + +

AlertType

- - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-type

+
- - - -
Source:
-
- -
- - - - - +
+ + + + + + + + + + + + - - + +
Source:
+
+ + - + - - - - - - -

- AlertOperation -

-
+ +
- -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-operation

-
+ + +

BrakingStyle

-
Parameters:
- - - - - - - - - - - - - +
Properties:
- - + +
NameTypeDescription
+ + - + - + - - + + + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - +
ENABLE_UPDATEName - - - - number - - - - - - - Type -

0x01

- -
Description
DISABLE_UPDATE - +
FLOAT + + +number - - -

0x02

- -

0

REQUEST_UPDATE - +
HOLD + + +number - - -

0x03

- -

127

UPDATE - +
BRAKE + + +number - - -

0x04

- -

128

-
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -794,6 +504,9 @@
Parameters:
+ + +

ButtonState

@@ -802,555 +515,510 @@
Parameters:
- - - - - - - - - - - - -

- AlertPayload -

-
- +
Properties:
+ -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-payload

-
+ + + + + + + + + + + + + + + + + + -
Parameters:
- + + + + + - + - + - + + - + - + + + + - + - + - + - + + - -
Source:
-
- -
- + + +
NameTypeDescription
PRESSED + + +number - - - - - - - + + - + - + - - - + + - - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - -
NameTypeDescription

2

STATUS_OK - +
RELEASED + + +number - - -

0x00

- -

0

ALERT - +
UP + + +number - - -

0xFF

- -

1

- - +
DOWN + + +number -
- + +

255

STOP + + +number - - + +

127

- - - - +
+ + + + + + + + + + + + - - + +
Source:
+
+ + - + - - - - - - -

- AlertType -

-
+ +
- -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#alert-type

-
+ + +

Color

-
Parameters:
- - - - - - - - - - - - - +
Properties:
- - + +
NameTypeDescription
+ + - + - + - - + + + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - -
LOW_VOLTAGEName - - - - number - - - - - - - Type -

0x01

- -
Description
HIGH_CURRENT - +
BLACK + + +number - - -

0x02

- -

0

LOW_SIGNAL_STRENGTH - +
PINK + + +number - - -

0x03

- -

1

OVER_POWER_CONDITION - +
PURPLE + + +number - - -

0x04

- -

2

- + + + BLUE + + + + +number -
- - - - - - - - + + - + - + - +

3

+ - + - + + + LIGHT_BLUE + - + + + +number - - + + - -
Source:
-
- -
- + - + - +

4

+ - -
+ + + + CYAN + + + + +number + + + + +

5

+ + + + + GREEN + + + + +number + + + - - + +

6

+ - + - - - - - - -

- BrakingStyle -

-
+ + + YELLOW + - + + + +number + + + + +

7

+ + + + + ORANGE + + + + +number + + + -
Properties:
+ - +

8

+ - - - - - - + - + + + + - + - - + + - - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + - - - - - - - - - - - - - - +
NameType
RED + + +number - - Description
FLOAT - - - - number - +

9

WHITE + + +number - - -

0

-
HOLD - - - - number - +

10

NONE + + +number - - -

127

-
BRAKE - - - - number - +

255

-

128

-
@@ -1358,46 +1026,42 @@
Properties:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -1405,6 +1069,9 @@
Properties:
+ + +

DeviceType

@@ -1413,6562 +1080,1441 @@
Properties:
- - - +
Properties:
- - - - - - -

- ButtonState -

-
+ - + + + + + + + + + + + + + + - - - - - - -
Properties:
- - - -
NameTypeDescription
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
PRESSED - - - - number - - - - - - - -

2

-
RELEASED - - - - number - - - - - - - -

0

-
UP - - - - number - - - - - - - -

1

-
DOWN - - - - number - - - - - - - -

255

-
STOP - - - - number - - - - - - - -

127

-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- Color -

-
- - - - - - - - - - - - - - -
Properties:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
BLACK - - - - number - - - - - - - -

0

-
PINK - - - - number - - - - - - - -

1

-
PURPLE - - - - number - - - - - - - -

2

-
BLUE - - - - number - - - - - - - -

3

-
LIGHT_BLUE - - - - number - - - - - - - -

4

-
CYAN - - - - number - - - - - - - -

5

-
GREEN - - - - number - - - - - - - -

6

-
YELLOW - - - - number - - - - - - - -

7

-
ORANGE - - - - number - - - - - - - -

8

-
RED - - - - number - - - - - - - -

9

-
WHITE - - - - number - - - - - - - -

10

-
NONE - - - - number - - - - - - - -

255

-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- DeviceType -

-
- - - - - - - - - - - - - - -
Properties:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
UNKNOWN - - - - number - - - - - - - -

0

-
SIMPLE_MEDIUM_LINEAR_MOTOR - - - - number - - - - - - - -

1

-
TRAIN_MOTOR - - - - number - - - - - - - -

2

-
LIGHT - - - - number - - - - - - - -

8

-
VOLTAGE_SENSOR - - - - number - - - - - - - -

20

-
CURRENT_SENSOR - - - - number - - - - - - - -

21

-
PIEZO_BUZZER - - - - number - - - - - - - -

22

-
HUB_LED - - - - number - - - - - - - -

23

-
TILT_SENSOR - - - - number - - - - - - - -

34

-
MOTION_SENSOR - - - - number - - - - - - - -

35

-
COLOR_DISTANCE_SENSOR - - - - number - - - - - - - -

37

-
MEDIUM_LINEAR_MOTOR - - - - number - - - - - - - -

38

-
MOVE_HUB_MEDIUM_LINEAR_MOTOR - - - - number - - - - - - - -

39

-
MOVE_HUB_TILT_SENSOR - - - - number - - - - - - - -

40

-
DUPLO_TRAIN_BASE_MOTOR - - - - number - - - - - - - -

41

-
DUPLO_TRAIN_BASE_SPEAKER - - - - number - - - - - - - -

42

-
DUPLO_TRAIN_BASE_COLOR_SENSOR - - - - number - - - - - - - -

43

-
DUPLO_TRAIN_BASE_SPEEDOMETER - - - - number - - - - - - - -

44

-
TECHNIC_LARGE_LINEAR_MOTOR - - - - number - - - - - - - -

46

-
TECHNIC_XLARGE_LINEAR_MOTOR - - - - number - - - - - - - -

47

-
TECHNIC_MEDIUM_ANGULAR_MOTOR - - - - number - - - - - - - -

48

-
TECHNIC_LARGE_ANGULAR_MOTOR - - - - number - - - - - - - -

49

-
TECHNIC_MEDIUM_HUB_GEST_SENSOR - - - - number - - - - - - - -

54

-
REMOTE_CONTROL_BUTTON - - - - number - - - - - - - -

55

-
REMOTE_CONTROL_RSSI - - - - number - - - - - - - -

56

-
TECHNIC_MEDIUM_HUB_ACCELEROMETER - - - - number - - - - - - - -

57

-
TECHNIC_MEDIUM_HUB_GYRO_SENSOR - - - - number - - - - - - - -

58

-
TECHNIC_MEDIUM_HUB_TILT_SENSOR - - - - number - - - - - - - -

59

-
TECHNIC_MEDIUM_HUB_TEMPERATURE_SENSOR - - - - number - - - - - - - -

60

-
TECHNIC_COLOR_SENSOR - - - - number - - - - - - - -

61

-
TECHNIC_DISTANCE_SENSOR - - - - number - - - - - - - -

62

-
TECHNIC_FORCE_SENSOR - - - - number - - - - - - - -

63

-
TECHNIC_3X3_COLOR_LIGHT_MATRIX - - - - number - - - - - - - -

64

-
TECHNIC_SMALL_ANGULAR_MOTOR - - - - number - - - - - - - -

65

-
MARIO_ACCELEROMETER - - - - number - - - - - - - -

71

-
MARIO_BARCODE_SENSOR - - - - number - - - - - - - -

73

-
MARIO_PANTS_SENSOR - - - - number - - - - - - - -

74

-
TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY - - - - number - - - - - - - -

75

-
TECHNIC_LARGE_ANGULAR_MOTOR_GREY - - - - number - - - - - - - -

76

-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- DuploTrainBaseSound -

-
- - - - - - - - - - - - - - -
Properties:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
BRAKE - - - - number - - - - - - - -

3

-
STATION_DEPARTURE - - - - number - - - - - - - -

5

-
WATER_REFILL - - - - number - - - - - - - -

7

-
HORN - - - - number - - - - - - - -

9

-
STEAM - - - - number - - - - - - - -

10

-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- ErrorCode -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#error-codes

-
- - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
ACK - - - - number - - - - - - - -

0x01

- -
MACK - - - - number - - - - - - - -

0x02

- -
BUFFER_OVERFLOW - - - - number - - - - - - - -

0x03

- -
TIMEOUT - - - - number - - - - - - - -

0x04

- -
COMMAND_NOT_RECOGNIZED - - - - number - - - - - - - -

0x05

- -
INVALID_USE - - - - number - - - - - - - -

0x06

- -
OVERCURRENT - - - - number - - - - - - - -

0x07

- -
INTERNAL_ERROR - - - - number - - - - - - - -

0x08

- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- Event -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#event

-
- - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
DETACHED_IO - - - - number - - - - - - - -

0x00

- -
ATTACHED_IO - - - - number - - - - - - - -

0x01

- -
ATTACHED_VIRTUAL_IO - - - - number - - - - - - - -

0x02

- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- HubPropertyOperation -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference

-
- - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
SET_DOWNSTREAM - - - - number - - - - - - - -

0x01

- -
ENABLE_UPDATES_DOWNSTREAM - - - - number - - - - - - - -

0x02

- -
DISABLE_UPDATES_DOWNSTREAM - - - - number - - - - - - - -

0x03

- -
RESET_DOWNSTREAM - - - - number - - - - - - - -

0x04

- -
REQUEST_UPDATE_DOWNSTREAM - - - - number - - - - - - - -

0x05

- -
UPDATE_UPSTREAM - - - - number - - - - - - - -

0x06

- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- HubPropertyPayload -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference

-
- - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
ADVERTISING_NAME - - - - number - - - - - - - -

0x01

- -
BUTTON_STATE - - - - number - - - - - - - -

0x02

- -
FW_VERSION - - - - number - - - - - - - -

0x03

- -
HW_VERSION - - - - number - - - - - - - -

0x04

- -
RSSI - - - - number - - - - - - - -

0x05

- -
BATTERY_VOLTAGE - - - - number - - - - - - - -

0x06

- -
BATTERY_TYPE - - - - number - - - - - - - -

0x07

- -
MANUFACTURER_NAME - - - - number - - - - - - - -

0x08

- -
RADIO_FIRMWARE_VERSION - - - - number - - - - - - - -

0x09

- -
LWP_PROTOCOL_VERSION - - - - number - - - - - - - -

0x0A

- -
SYSTEM_TYPE_ID - - - - number - - - - - - - -

0x0B

- -
HW_NETWORK_ID - - - - number - - - - - - - -

0x0C

- -
PRIMARY_MAC_ADDRESS - - - - number - - - - - - - -

0x0D

- -
SECONDARY_MAC_ADDRESS - - - - number - - - - - - - -

0x0E

- -
HW_NETWORK_FAMILY - - - - number - - - - - - - -

0x0F

- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- HubPropertyReference -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference

-
- - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
ADVERTISING_NAME - - - - number - - - - - - - -

0x01

- -
BUTTON - - - - number - - - - - - - -

0x02

- -
FW_VERSION - - - - number - - - - - - - -

0x03

- -
HW_VERSION - - - - number - - - - - - - -

0x04

- -
RSSI - - - - number - - - - - - - -

0x05

- -
BATTERY_VOLTAGE - - - - number - - - - - - - -

0x06

- -
BATTERY_TYPE - - - - number - - - - - - - -

0x07

- -
MANUFACTURER_NAME - - - - number - - - - - - - -

0x08

- -
RADIO_FIRMWARE_VERSION - - - - number - - - - - - - -

0x09

- -
LEGO_WIRELESS_PROTOCOL_VERSION - - - - number - - - - - - - -

0x0A

- -
SYSTEM_TYPE_ID - - - - number - - - - - - - -

0x0B

- -
HW_NETWORK_ID - - - - number - - - - - - - -

0x0C

- -
PRIMARY_MAC_ADDRESS - - - - number - - - - - - - -

0x0D

- -
SECONDARY_MAC_ADDRESS - - - - number - - - - - - - -

0x0E

- -
HARDWARE_NETWORK_FAMILY - - - - number - - - - - - - -

0x0F

- -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- HubType -

-
- - - - - - - - - - - - - - -
Properties:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
UNKNOWN - - - - number - - - - - - - -

0

-
WEDO2_SMART_HUB - - - - number - - - - - - - -

1

-
MOVE_HUB - - - - number - - - - - - - -

2

-
HUB - - - - number - - - - - - - -

3

-
REMOTE_CONTROL - - - - number - - - - - - - -

4

-
DUPLO_TRAIN_BASE - - - - number - - - - - - - -

5

-
TECHNIC_MEDIUM_HUB - - - - number - - - - - - - -

6

-
MARIO - - - - number - - - - - - - -

7

-
TECHNIC_SMALL_HUB - - - - number - - - - - - - -

8

-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- HWNetWorkCommandType -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-command-type

-
- - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - number - - - - - - - - - - - - - - - - - - - - - - - - number - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +number - - - - - - - - - - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - -
NameTypeDescription
CONNECTION_REQUEST - +
-

0x02

- -
FAMILY_REQUEST - + UNKNOWN -

0x03

- -
FAMILY_SET - + - - number - - - - - - - -

0x04

- -
JOIN_DENIED - - - number - - - - + -

0x05

- -

0

GET_FAMILY - +
SIMPLE_MEDIUM_LINEAR_MOTOR + + +number - - -

0x06

- -

1

FAMILY - +
TRAIN_MOTOR + + +number - - -

0x07

- -

2

GET_SUBFAMILY - +
LIGHT + + +number - - -

0x08

- -

8

SUBFAMILY - +
VOLTAGE_SENSOR + + +number - - -

0x09

- -

20

SUBFAMILY_SET - +
CURRENT_SENSOR + + +number - - -

0x0A

- -

21

GET_EXTENDED_FAMILY - +
PIEZO_BUZZER + + +number - - -

0x0B

- -

22

EXTENDED_FAMILY - +
HUB_LED + + +number - - -

0x0C

- -

23

EXTENDED_FAMILY_SET - +
TILT_SENSOR + + +number - - -

0x0D

- -

34

RESET_LONG_PRESS_TIMING - +
MOTION_SENSOR + + +number - - -

0x0E

- -

35

- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- -
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

- HWNetworkFamily -

-
- - - - - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-family

-
- - - - - + + + COLOR_DISTANCE_SENSOR + -
Parameters:
- + + + +number - - - - - - - + + - + - + - - - + + - - - - - - + - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - -
NameTypeDescription

37

GREEN - +
MEDIUM_LINEAR_MOTOR + + +number - - -

0x01

- -

38

YELLOW - +
MOVE_HUB_MEDIUM_LINEAR_MOTOR + + +number - - -

0x02

- -

39

RED - +
MOVE_HUB_TILT_SENSOR + + +number - - -

0x03

- -

40

BLUE - +
DUPLO_TRAIN_BASE_MOTOR + + +number - - -

0x04

- -

41

PURPLE - +
DUPLO_TRAIN_BASE_SPEAKER + + +number - - -

0x05

- -

42

LIGHT_BLUE - +
DUPLO_TRAIN_BASE_COLOR_SENSOR + + +number - - -

0x06

- -

43

TEAL - +
DUPLO_TRAIN_BASE_SPEEDOMETER + + +number - - -

0x07

- -

44

PINK - +
TECHNIC_LARGE_LINEAR_MOTOR + + +number - - -

0x08

- -

46

WHITE - +
TECHNIC_XLARGE_LINEAR_MOTOR + + +number - - -

0x00

- -

47

+ + + TECHNIC_MEDIUM_ANGULAR_MOTOR + + + + +number + + -
+ - + - +

48

+ - + - + + + TECHNIC_LARGE_ANGULAR_MOTOR + - + + + +number - - + + - + - + - +

49

+ - + - + + + TECHNIC_MEDIUM_HUB_GEST_SENSOR + - -
Source:
-
- -
- + + + +number - - + + - -
+ + + +

54

+ + + + + REMOTE_CONTROL_BUTTON + + + + +number + + + + +

55

+ + + + + REMOTE_CONTROL_RSSI + + + + +number - - + + + - + - - - - - - -

- HWNetworkSubFamily -

-
+

56

+ - + + + + TECHNIC_MEDIUM_HUB_ACCELEROMETER + + + + +number -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-sub-family

-
+ + + + +

57

+ + + + + TECHNIC_MEDIUM_HUB_GYRO_SENSOR + -
Parameters:
- + + + +number - - - - - - - + + - + - + - - - + + - - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - -
NameTypeDescription

58

ONE_FLASH - +
TECHNIC_MEDIUM_HUB_TILT_SENSOR + + +number - - -

0x01

- -

59

TWO_FLASHES - +
TECHNIC_MEDIUM_HUB_TEMPERATURE_SENSOR + + +number - - -

0x02

- -

60

THREE_FLASHES - +
TECHNIC_COLOR_SENSOR + + +number - - -

0x03

- -

61

FOUR_FLASHES - +
TECHNIC_DISTANCE_SENSOR + + +number - - -

0x04

- -

62

FIVE_FLASHES - +
TECHNIC_FORCE_SENSOR + + +number - - -

0x05

- -

63

SIX_FLASHES - +
TECHNIC_3X3_COLOR_LIGHT_MATRIX + + +number - - -

0x06

- -

64

SEVEN_FLASHES - +
TECHNIC_SMALL_ANGULAR_MOTOR + + +number - - -

0x07

- -

65

+ + + MARIO_ACCELEROMETER + + + + +number + + -
+ - + - +

71

+ - + - + + + MARIO_BARCODE_SENSOR + - + + + +number - - + + - + - + - +

73

+ - + - + + + MARIO_PANTS_SENSOR + - -
Source:
-
- -
- + + + +number - - + + - -
+ + + +

74

+ + + + + + TECHNIC_MEDIUM_ANGULAR_MOTOR_GREY + + + + +number + + + + +

75

+ + + + + TECHNIC_LARGE_ANGULAR_MOTOR_GREY + + + + +number + + - - + + - +

76

+ - - - - - - -

- IOTypeID -

-
+ + + - -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#io-type-id

-
+
+ + + + + + -
Parameters:
- + - - - - - - + - + - + - + - - - + - - - - - +
Source:
+
+ - - - - - - - - - - - - - - - - - - - - - +
- + - + -
- + - - - - - + - + - + - - + - - - - - - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#error-codes

+
- - - - - - - - - +
- + -
- + - - - - - + - + - + - - + - -
NameTypeDescription
MOTOR - - - - number - + + + - - -

0x0001

- -
SYSTEM_TRAIN_MOTOR - - - number - + +

DuploTrainBaseSound

+ - - -
-

0x0002

- -
BUTTON - - - - number - + +
Properties:
+ + + + + + - - + - - + + + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - + +
NameType -

0x0005

- -
Description
LED_LIGHT - +
BRAKE + + +number - - -

0x0008

- -

3

VOLTAGE - +
STATION_DEPARTURE + + +number - - -

0x0014

- -

5

CURRENT - +
WATER_REFILL + + +number - - -

0x0015

- -

7

PIEZO_TONE_SOUND - +
HORN + + +number - - -

0x0016

- -

9

RGB_LIGHT - +
STEAM + + +number - - -

0x0017

- -

10

EXTERNAL_TILT_SENSOR
-
- - - - number - - - - -

0x0022

- -
MOTION_SENSOR - - - - number - + + - - -

0x0023

- -
VISION_SENSOR - - - - number - + +
Source:
+
+ + + + + - -
-

0x0025

- -
EXTERNAL_MOTOR - - - number - - - + +

ErrorCode

- -
-

0x0026

- -
INTERNAL_MOTOR - - - - number - - - - -

0x0027

- -
INTERNAL_TILT - - - - number - + + - - -

0x0028

- -
+ + +
Source:
+
+ + + -
+ +
- - - - - - + + +

Event

- - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#event

+
- - - -
Source:
-
- -
- - - - -
+
+ + + + + + + + + + + + - - + +
Source:
+
+ + - + - - - - - - -

- MarioColor -

-
+ +
- + + +

HWNetWorkCommandType

-
Parameters:
- +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-command-type

+
- - - - - - - - - - - - - - - - - - - - - - - + - - + - - - - - + - + - + - - + - - - - +
Source:
+
+ - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-family

+
- - - - - - - - - +
- + - + -
- + + + - - - - - + - + - + - - + - - - - +
Source:
+
+ - - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#h-w-network-sub-family

+
- - - - -
NameTypeDescription
WHITE - - - - number - +
+ - -
-

0x1300

- -
RED - - - - number - + + - - -

0x1500

- -
BLUE - - - - number - + + + - - -

0x1700

- -
YELLOW - - - number - + +

HWNetworkFamily

- - -
-

0x1800

- -
BLACK - - - - number - - - - -

0x1a00

- -
GREEN - - - - number - + + - - -

0x2500

- -
BROWN - - - - number - + + + - - -

0x6a00

- -
CYAN - - - number - - - + +

HWNetworkSubFamily

- -
-

0x4201

- -
@@ -7976,46 +2522,42 @@
Parameters:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -8023,239 +2565,142 @@
Parameters:
+ + +

HubPropertyOperation

+
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference

+
- - - - - - - - - - - - -

- MarioPantsType -

-
- +
+ + + + + + -
Parameters:
- + - - - - - - + - + - + - + - - - + - - - - - +
Source:
+
+ - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference

+
- - - - - - - - - +
- + - + -
- + - - - - - + - + - + - - + - - - - - + + - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#hub-property-reference

+
- - - - -
NameTypeDescription
NONE - - - - number - + + + - - -

0x00

- -
PROPELLER - - - number - + +

HubPropertyPayload

- - -
-

0x06

- -
CAT - - - - number - - - - -

0x11

- -
FIRE - - - - number - + + - - -

0x12

- -
NORMAL - - - - number - + +
Source:
+
+ + - -
-

0x21

- -
BUILDER - - - - number - - + + +

HubPropertyReference

- -
-

0x22

- -
@@ -8263,46 +2708,42 @@
Parameters:
- + - + - + - + - + - + - + - + - + - + - + - + - +
Source:
-
- -
- +
+ - + - + - +
@@ -8310,6 +2751,9 @@
Parameters:
+ + +

HubType

@@ -8318,1512 +2762,1235 @@
Parameters:
- - - - - - - - - - - -

- MessageType -

-
- +
Properties:
+ + + + + + + -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#message-types

-
+ + + + + + + + + + + + + + -
Properties:
+ - + + -
NameTypeDescription
UNKNOWN + + +number + +

0

- - - - - + - + + + + - + - - + + - - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + + + + - - - - + - + + - + - - - - + - + + +
NameType
WEDO2_SMART_HUB + + +number - - Description
HUB_PROPERTIES - - - - number - +

1

MOVE_HUB + + +number - - -

0x01

-
HUB_ACTIONS - - - - number - +

2

HUB + + +number - - -

0x02

-
HUB_ALERTS - - - - number - +

3

REMOTE_CONTROL + + +number - - -

0x03

-
HUB_ATTACHED_IO - - - - number - +

4

DUPLO_TRAIN_BASE + + +number - - -

0x04

-
GENERIC_ERROR_MESSAGES - - - - number - +

5

TECHNIC_MEDIUM_HUB + + +number - - -

0x05

-
HW_NETWORK_COMMANDS - - - - number - +

6

MARIO + + +number - - -

0x08

-
FW_UPDATE_GO_INTO_BOOT_MODE - - - - number - +

7

TECHNIC_SMALL_HUB + + +number - - -

0x10

-
FW_UPDATE_LOCK_MEMORY - - - - number - +

8

- - - - - - -

0x11

- - +
- + - - - FW_UPDATE_LOCK_STATUS_REQUEST - + - - - - - number - + + - - + - + - + - -

0x12

- - + - + - - - FW_LOCK_STATUS - + - - - - - number - + + +
Source:
+
+ - - + - + +
- - -

0x13

- - - - - - PORT_INFORMATION_REQUEST - - - - - - number - - + + +

IOTypeID

- - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#io-type-id

+
- -

0x21

- - - - - - PORT_MODE_INFORMATION_REQUEST - - - - - - number - - - - +
- + - + - -

0x22

- - + - + - - - PORT_INPUT_FORMAT_SETUP_SINGLE - + - - - - - number - + + - - + - + - + - -

0x41

- - + - + +
Source:
+
+ - - - PORT_INPUT_FORMAT_SETUP_COMBINEDMODE - + - - - - - number - + +
- - - - - -

0x42

- - - + + +

MarioColor

- - - PORT_INFORMATION - - - - - - number - - - - - - - -

0x43

- - - - - - PORT_MODE_INFORMATION - +
- - - - - number - + + - - + - + - + - -

0x44

- - + - + - - - PORT_VALUE_SINGLE - + - - - - - number - + + - - + +
Source:
+
+ - + - + - -

0x45

- - + +
- - - - PORT_VALUE_COMBINEDMODE - - - - - - number - - - - + + +

MarioPantsType

- - - -

0x46

- - - - - - PORT_INPUT_FORMAT_SINGLE - - - - - - number - - - - - +
- + - -

0x47

- - + - + - - - PORT_INPUT_FORMAT_COMBINEDMODE - + - - - - - number - + + - - + - + - + - -

0x48

- - + - + - - - VIRTUAL_PORT_SETUP - + +
Source:
+
+ - - - - - number - + + +
- - - - - -

0x61

- - - - - - PORT_OUTPUT_COMMAND - + + +

MessageType

- - - - - number - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#message-types

+
- - - -

0x81

- - - - - - PORT_OUTPUT_COMMAND_FEEDBACK - - - - - - number - - +
Properties:
+ + + + + + - + + - + + - - -
NameType -

0x82

-
Description
+ + + + + + HUB_PROPERTIES + + + + +number + + -
+ - + - +

0x01

+ - + - + + + HUB_ACTIONS + - + + + +number - - + + - + - + - +

0x02

+ - + - + + + HUB_ALERTS + - -
Source:
-
- -
- + + + +number - - + + - -
+ + + +

0x03

+ + + + + HUB_ATTACHED_IO + + + + +number + + + + +

0x04

+ + + + + GENERIC_ERROR_MESSAGES + + + + +number - - + + + - + - - - - - - -

- ModeInformationType -

-
+

0x05

+ - + + + + HW_NETWORK_COMMANDS + + + + +number -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#mode-information-types

-
+ + + + +

0x08

+ + + + + FW_UPDATE_GO_INTO_BOOT_MODE + -
Parameters:
- + + + +number - - - - - - - + + - + - + - - - + + - - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - - - - - + + - - number - - + + + - + - + - - + + - -
NameTypeDescription

0x10

NAME - +
FW_UPDATE_LOCK_MEMORY + + +number - - -

0x00

- -

0x11

RAW - +
FW_UPDATE_LOCK_STATUS_REQUEST + + +number - - -

0x01

- -

0x12

PCT - +
FW_LOCK_STATUS + + +number - - -

0x02

- -

0x13

SI - +
PORT_INFORMATION_REQUEST + + +number - - -

0x03

- -

0x21

SYMBOL - +
PORT_MODE_INFORMATION_REQUEST + + +number - - -

0x04

- -

0x22

MAPPING - +
PORT_INPUT_FORMAT_SETUP_SINGLE + + +number - - -

0x05

- -

0x41

USED_INTERNALLY - +
PORT_INPUT_FORMAT_SETUP_COMBINEDMODE + + +number - - -

0x06

- -

0x42

MOTOR_BIAS - +
PORT_INFORMATION + + +number - - -

0x07

- -

0x43

CAPABILITY_BITS - +
PORT_MODE_INFORMATION + + +number - - -

0x08

- -

0x44

VALUE_FORMAT - +
PORT_VALUE_SINGLE + + +number - - -

0x80

- -

0x45

+ + + PORT_VALUE_COMBINEDMODE + + + + + +number + + + -
+ - +

0x46

+ - + - + + + PORT_INPUT_FORMAT_SINGLE + - + + + +number - - + + - + - + - +

0x47

+ - + - + + + PORT_INPUT_FORMAT_COMBINEDMODE + - + + + +number - -
Source:
-
- -
- - + + - + - -
+ +

0x48

+ + + + + VIRTUAL_PORT_SETUP + + + + +number + + + + +

0x61

+ + + + + PORT_OUTPUT_COMMAND + + + + +number - - + + + - + - - - - - - -

- PortInputFormatSetupSubCommand -

-
+

0x81

+ - + + + + PORT_OUTPUT_COMMAND_FEEDBACK + + + + +number -
-

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#port-input-format-setup-sub-commands

-
+ + + + +

0x82

+ + + + -
Parameters:
- - - - - - - - +
- + - + -
- - + - - - - - - + - + - + - - + - - - - - - - - - - - - - - - - +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#mode-information-types

+
- - - - - - - - - +
- + - + -
- + - - - - - + - + - + - - + - - - - - + + - - - - - - -
NameTypeDescription
SET_MODEANDDATASET_COMBINATIONS - - - - number - + + - - -

0x01

- -
LOCK_LPF2_DEVICE_FOR_SETUP - - - - number - + +
Source:
+
+ + + + + - -
-

0x02

- -
UNLOCKANDSTARTWITHMULTIUPDATEENABLED - - - number - + +

ModeInformationType

- - -
-

0x03

- -
UNLOCKANDSTARTWITHMULTIUPDATEDISABLED - - - - number - - - - -

0x04

- -
NOT_USED - - - - number - + + - - -

0x05

- -
RESET_SENSOR - - - - number - + +
Source:
+
+ + - -
-

0x06

- -
+ + +

PortInputFormatSetupSubCommand

-
- +
+

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#port-input-format-setup-sub-commands

+
- - - - - - - +
- + - + - + - + - -
Source:
-
- -
- + - + - + - -
+ + + + + + +
Source:
+
+ + + + +
- + + -
-
+ + -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/hubs_basehub.js.html b/docs/hubs_basehub.js.html index f34b5349..c1a06431 100644 --- a/docs/hubs_basehub.js.html +++ b/docs/hubs_basehub.js.html @@ -1,99 +1,39 @@ - - + + JSDoc: Source: hubs/basehub.js - - - - - hubs/basehub.js - Documentation - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- hubs/basehub.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -505,24 +445,25 @@ 

} exports.BaseHub = BaseHub; //# sourceMappingURL=basehub.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_duplotrainbase.js.html b/docs/hubs_duplotrainbase.js.html index ef7fe388..519c48a2 100644 --- a/docs/hubs_duplotrainbase.js.html +++ b/docs/hubs_duplotrainbase.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/duplotrainbase.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/duplotrainbase.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/duplotrainbase.js

-
- -

- hubs/duplotrainbase.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -148,24 +88,25 @@ 

"SPEEDOMETER": 19 }; //# sourceMappingURL=duplotrainbase.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_hub.js.html b/docs/hubs_hub.js.html index d77b109b..a376cf70 100644 --- a/docs/hubs_hub.js.html +++ b/docs/hubs_hub.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/hub.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/hub.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/hub.js

-
- -

- hubs/hub.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -110,12 +50,9 @@ 

__setModuleDefault(result, mod); return result; }; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); exports.PortMap = exports.Hub = void 0; -const compare_versions_1 = __importDefault(require("compare-versions")); +const compare_versions_1 = require("compare-versions"); const lpf2hub_1 = require("./lpf2hub"); const Consts = __importStar(require("../consts")); const Debug = require("debug"); @@ -127,11 +64,6 @@

* @extends BaseHub */ class Hub extends lpf2hub_1.LPF2Hub { - constructor(device) { - super(device, exports.PortMap, Consts.HubType.HUB); - this._currentPort = 0x3b; - debug("Discovered Powered UP Hub"); - } static IsHub(peripheral) { return (peripheral.advertisement && peripheral.advertisement.serviceUuids && @@ -140,13 +72,18 @@

peripheral.advertisement.manufacturerData.length > 3 && peripheral.advertisement.manufacturerData[3] === Consts.BLEManufacturerData.HUB_ID); } + constructor(device) { + super(device, exports.PortMap, Consts.HubType.HUB); + this._currentPort = 0x3b; + debug("Discovered Powered UP Hub"); + } async connect() { debug("Connecting to Powered UP Hub"); await super.connect(); debug("Connect completed"); } _checkFirmware(version) { - if ((0, compare_versions_1.default)("1.1.00.0004", version) === 1) { + if ((0, compare_versions_1.compareVersions)("1.1.00.0004", version) === 1) { throw new Error(`Your Powered Up Hub's (${this.name}) firmware is out of date and unsupported by this library. Please update it via the official Powered Up app.`); } } @@ -160,24 +97,25 @@

"VOLTAGE_SENSOR": 60 }; //# sourceMappingURL=hub.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_lpf2hub.js.html b/docs/hubs_lpf2hub.js.html index a0a1e86a..743c8acd 100644 --- a/docs/hubs_lpf2hub.js.html +++ b/docs/hubs_lpf2hub.js.html @@ -1,99 +1,39 @@ - - + + JSDoc: Source: hubs/lpf2hub.js - - - - - hubs/lpf2hub.js - Documentation - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- hubs/lpf2hub.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -427,24 +367,25 @@ 

} exports.LPF2Hub = LPF2Hub; //# sourceMappingURL=lpf2hub.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_mario.js.html b/docs/hubs_mario.js.html index eee09db5..71bf7928 100644 --- a/docs/hubs_mario.js.html +++ b/docs/hubs_mario.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/mario.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/mario.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/mario.js

-
- -

- hubs/mario.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -144,24 +84,25 @@ 

exports.Mario = Mario; exports.PortMap = {}; //# sourceMappingURL=mario.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_movehub.js.html b/docs/hubs_movehub.js.html index ecdb49c1..a62b3c74 100644 --- a/docs/hubs_movehub.js.html +++ b/docs/hubs_movehub.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/movehub.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/movehub.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/movehub.js

-
- -

- hubs/movehub.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -110,12 +50,9 @@ 

__setModuleDefault(result, mod); return result; }; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); exports.PortMap = exports.MoveHub = void 0; -const compare_versions_1 = __importDefault(require("compare-versions")); +const compare_versions_1 = require("compare-versions"); const lpf2hub_1 = require("./lpf2hub"); const Consts = __importStar(require("../consts")); const Debug = require("debug"); @@ -145,7 +82,7 @@

debug("Connect completed"); } _checkFirmware(version) { - if ((0, compare_versions_1.default)("2.0.00.0017", version) === 1) { + if ((0, compare_versions_1.compareVersions)("2.0.00.0017", version) === 1) { throw new Error(`Your Move Hub's (${this.name}) firmware is out of date and unsupported by this library. Please update it via the official Powered Up app.`); } } @@ -162,24 +99,25 @@

"VOLTAGE_SENSOR": 60 }; //# sourceMappingURL=movehub.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_remotecontrol.js.html b/docs/hubs_remotecontrol.js.html index 0475be41..888f2e24 100644 --- a/docs/hubs_remotecontrol.js.html +++ b/docs/hubs_remotecontrol.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/remotecontrol.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/remotecontrol.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/remotecontrol.js

-
- -

- hubs/remotecontrol.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -150,24 +90,25 @@ 

"REMOTE_CONTROL_RSSI": 60 }; //# sourceMappingURL=remotecontrol.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_technicmediumhub.js.html b/docs/hubs_technicmediumhub.js.html index 31937ab4..b33da085 100644 --- a/docs/hubs_technicmediumhub.js.html +++ b/docs/hubs_technicmediumhub.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/technicmediumhub.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/technicmediumhub.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/technicmediumhub.js

-
- -

- hubs/technicmediumhub.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -155,24 +95,25 @@ 

"TILT_SENSOR": 99 }; //# sourceMappingURL=technicmediumhub.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_technicsmallhub.js.html b/docs/hubs_technicsmallhub.js.html index 83e97757..74191847 100644 --- a/docs/hubs_technicsmallhub.js.html +++ b/docs/hubs_technicsmallhub.js.html @@ -1,99 +1,39 @@ - - - - - - - - hubs/technicsmallhub.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: hubs/technicsmallhub.js + + + + + + - - - - - - - - - - - - - - -
- -
- - +

Source: hubs/technicsmallhub.js

-
- -

- hubs/technicsmallhub.js -

- - -
-
-
"use strict";
+
+    
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -123,11 +63,6 @@ 

* @extends BaseHub */ class TechnicSmallHub extends lpf2hub_1.LPF2Hub { - constructor(device) { - super(device, exports.PortMap, Consts.HubType.TECHNIC_SMALL_HUB); - this._currentPort = 0x3b; - debug("Discovered Spike Essential Hub"); - } static IsTechnicSmallHub(peripheral) { return (peripheral.advertisement && peripheral.advertisement.serviceUuids && @@ -136,6 +71,11 @@

peripheral.advertisement.manufacturerData.length > 3 && peripheral.advertisement.manufacturerData[3] === Consts.BLEManufacturerData.TECHNIC_SMALL_HUB_ID); } + constructor(device) { + super(device, exports.PortMap, Consts.HubType.TECHNIC_SMALL_HUB); + this._currentPort = 0x3b; + debug("Discovered Spike Essential Hub"); + } async connect() { debug("Connecting to Spike Essential Hub"); await super.connect(); @@ -154,24 +94,25 @@

"TILT_SENSOR": 99 }; //# sourceMappingURL=technicsmallhub.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/hubs_wedo2smarthub.js.html b/docs/hubs_wedo2smarthub.js.html index a71b7b91..db34f83a 100644 --- a/docs/hubs_wedo2smarthub.js.html +++ b/docs/hubs_wedo2smarthub.js.html @@ -1,99 +1,39 @@ - - + + JSDoc: Source: hubs/wedo2smarthub.js - - - - - hubs/wedo2smarthub.js - Documentation - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - -
- -
- - -
- -

- hubs/wedo2smarthub.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -123,17 +63,17 @@ 

* @extends BaseHub */ class WeDo2SmartHub extends basehub_1.BaseHub { + static IsWeDo2SmartHub(peripheral) { + return (peripheral.advertisement && + peripheral.advertisement.serviceUuids && + peripheral.advertisement.serviceUuids.indexOf(Consts.BLEService.WEDO2_SMART_HUB.replace(/-/g, "")) >= 0); + } constructor(device) { super(device, exports.PortMap, Consts.HubType.WEDO2_SMART_HUB); this._lastTiltX = 0; this._lastTiltY = 0; debug("Discovered WeDo 2.0 Smart Hub"); } - static IsWeDo2SmartHub(peripheral) { - return (peripheral.advertisement && - peripheral.advertisement.serviceUuids && - peripheral.advertisement.serviceUuids.indexOf(Consts.BLEService.WEDO2_SMART_HUB.replace(/-/g, "")) >= 0); - } connect() { return new Promise(async (resolve) => { debug("Connecting to WeDo 2.0 Smart Hub"); @@ -301,24 +241,25 @@

"HUB_LED": 6 }; //# sourceMappingURL=wedo2smarthub.js.map

-
-
+
+
- -
-
+ - + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/index.html b/docs/index.html index c7b71f0d..4277ee26 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,97 +1,49 @@ + + JSDoc: Home + + + + + + + - - + - - Home - Documentation - +
- +

Home

- - + - - - - - + + + +

+ - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - - - -
-
-

Drone
+ +

+

Drone
NPM Version
Docs

node-poweredup - A Javascript module to interface with LEGO Powered Up components.

@@ -406,26 +358,27 @@

Known Issues and Limitations

Credits

-

Thanks go to Jorge Pereira (@JorgePe), Sebastian Raff (@hobbyquaker), Valentin Heun (@vheun), Johan Korten (@jakorten), and Andrey Pokhilko (@undera) for their various works, contributions, and assistance on figuring out the LEGO Boost, WeDo 2.0, and Powered Up protocols.

-
-
+

Thanks go to Jorge Pereira (@JorgePe), Sebastian Raff (@hobbyquaker), Valentin Heun (@vheun), Johan Korten (@jakorten), and Andrey Pokhilko (@undera) for their various works, contributions, and assistance on figuring out the LEGO Boost, WeDo 2.0, and Powered Up protocols.

+
+ - -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + \ No newline at end of file diff --git a/docs/poweredup-browser.js.html b/docs/poweredup-browser.js.html index a8daf893..d5b7f55c 100644 --- a/docs/poweredup-browser.js.html +++ b/docs/poweredup-browser.js.html @@ -1,99 +1,39 @@ - - + + JSDoc: Source: poweredup-browser.js - - - - - poweredup-browser.js - Documentation - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- poweredup-browser.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -325,24 +265,25 @@ 

} exports.PoweredUP = PoweredUP; //# sourceMappingURL=poweredup-browser.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/poweredup-node.js.html b/docs/poweredup-node.js.html index d65e1604..56ca0554 100644 --- a/docs/poweredup-node.js.html +++ b/docs/poweredup-node.js.html @@ -1,99 +1,39 @@ - - - - - - - - poweredup-node.js - Documentation - - - - - - - - - - - - - - - - - - + + JSDoc: Source: poweredup-node.js + + + + + + - - - - - - - - - - +
- - -
- -
- - -
- -

- poweredup-node.js -

- - - -
-
-
"use strict";
+    
+
+
"use strict";
 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
-    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+    var desc = Object.getOwnPropertyDescriptor(m, k);
+    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
+      desc = { enumerable: true, get: function() { return m[k]; } };
+    }
+    Object.defineProperty(o, k2, desc);
 }) : (function(o, m, k, k2) {
     if (k2 === undefined) k2 = k;
     o[k2] = m[k];
@@ -170,7 +110,6 @@ 

async scan() { wantScan = true; // @ts-ignore - noble.removeAllListeners(); noble.on("discover", this._discoveryEventHandler); if (ready) { debug("Scanning started"); @@ -185,7 +124,6 @@

stop() { wantScan = false; // @ts-ignore - noble.removeAllListeners(); noble.removeListener("discover", this._discoveryEventHandler); noble.stopScanning(); } @@ -288,24 +226,25 @@

} exports.PoweredUP = PoweredUP; //# sourceMappingURL=poweredup-node.js.map

-
-
+
+
- -
-
+
- + - - +
- +
+ Documentation generated by JSDoc 4.0.2 on Thu Apr 25 2024 16:38:07 GMT-0700 (Pacific Daylight Time) +
+ + diff --git a/docs/scripts/linenumber.js b/docs/scripts/linenumber.js index 7cb917ce..4354785c 100644 --- a/docs/scripts/linenumber.js +++ b/docs/scripts/linenumber.js @@ -1,23 +1,25 @@ -'use strict'; +/*global document */ +(() => { + const source = document.getElementsByClassName('prettyprint source linenums'); + let i = 0; + let lineNumber = 0; + let lineId; + let lines; + let totalLines; + let anchorHash; -(function () { - var lineId, lines, totalLines, anchorHash; - var source = document.getElementsByClassName('prettyprint source linenums'); - var i = 0; - var lineNumber = 0; + if (source && source[0]) { + anchorHash = document.location.hash.substring(1); + lines = source[0].getElementsByTagName('li'); + totalLines = lines.length; - if (source && source[0]) { - anchorHash = document.location.hash.substring(1); - lines = source[0].getElementsByTagName('li'); - totalLines = lines.length; - - for (; i < totalLines; i++) { - lineNumber++; - lineId = 'line' + lineNumber; - lines[i].id = lineId; - if (lineId === anchorHash) { - lines[i].className += ' selected'; - } + for (; i < totalLines; i++) { + lineNumber++; + lineId = `line${lineNumber}`; + lines[i].id = lineId; + if (lineId === anchorHash) { + lines[i].className += ' selected'; + } + } } - } })(); diff --git a/docs/scripts/prettify/Apache-License-2.0.txt b/docs/scripts/prettify/Apache-License-2.0.txt new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/docs/scripts/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/docs/scripts/prettify/lang-css.js b/docs/scripts/prettify/lang-css.js new file mode 100644 index 00000000..041e1f59 --- /dev/null +++ b/docs/scripts/prettify/lang-css.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", +/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); diff --git a/docs/scripts/prettify/prettify.js b/docs/scripts/prettify/prettify.js new file mode 100644 index 00000000..eef5ad7e --- /dev/null +++ b/docs/scripts/prettify/prettify.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}pul { - padding: 0 10px; +nav h3 { + margin-top: 12px; } -nav>ul li:first-child { - padding-top: 0; +nav li { + margin-top: 6px; } -nav ul li ul { - padding-left: 0; +footer { + display: block; + padding: 6px; + margin-top: 12px; + font-style: italic; + font-size: 90%; } -nav>ul>li { - border-bottom: 1px solid #e2e2e2; - padding: 10px 0 20px 0; +h1, h2, h3, h4 { + font-weight: 200; + margin: 0; } -nav>ul>li.active ul { - border-left: 3px solid #0095dd; - padding-left: 15px; +h1 +{ + font-family: 'Open Sans Light', sans-serif; + font-size: 48px; + letter-spacing: -2px; + margin: 12px 24px 20px; } -nav>ul>li.active ul li.active a { - font-weight: bold; +h2, h3.subsection-title +{ + font-size: 30px; + font-weight: 700; + letter-spacing: -1px; + margin-bottom: 12px; } -nav>ul>li.active a { - color: #0095dd; +h3 +{ + font-size: 24px; + letter-spacing: -0.5px; + margin-bottom: 12px; } -nav>ul>li>a { - color: #706d77; - padding: 20px 0; +h4 +{ font-size: 18px; + letter-spacing: -0.33px; + margin-bottom: 12px; + color: #4d4e53; } -nav ul ul { - margin-bottom: 10px; - padding-left: 0; -} - -nav ul ul a { - color: #5f5c63; -} - -nav ul ul a, nav ul ul a:active { - font-family: 'bt_mono', monospace; - font-size: 14px; - padding-left: 20px; - padding-top: 3px; - padding-bottom: 9px; +h5, .container-overview .subsection-title +{ + font-size: 120%; + font-weight: bold; + letter-spacing: -0.01em; + margin: 8px 0 3px 0; } -nav h2 { - font-size: 12px; - margin: 0; - padding: 0; +h6 +{ + font-size: 100%; + letter-spacing: -0.01em; + margin: 6px 0 3px 0; + font-style: italic; } -nav>h2>a { - color: hsl(202, 71%, 50%); - border-bottom: 1px solid hsl(202, 71%, 50%); - padding-bottom: 5px; +table +{ + border-spacing: 0; + border: 0; + border-collapse: collapse; } -nav>h2>a:hover { - font-weight: 500; - text-decoration: none; +td, th +{ + border: 1px solid #ddd; + margin: 0px; + text-align: left; + vertical-align: top; + padding: 4px 6px; + display: table-cell; } -footer { - background-color: #fff; - color: hsl(0, 0%, 28%); - margin-left: 300px; - display: block; - font-style: italic; - font-size: 12px; - padding: 30px; - text-align: center; +thead tr +{ + background-color: #ddd; + font-weight: bold; } -.ancestors { - color: #999; -} +th { border-right: 1px solid #aaa; } +tr > th:last-child { border-right: 1px solid #ddd; } -.ancestors a { +.ancestors, .attribs { color: #999; } +.ancestors a, .attribs a +{ color: #999 !important; text-decoration: none; } -.clear { +.clear +{ clear: both; } -.important { +.important +{ font-weight: bold; color: #950B02; } @@ -430,524 +249,110 @@ footer { } .name, .signature { - font-family: 'bt_mono', monospace; - word-wrap: break-word; -} - -.details { - margin-top: 14px; - font-size: 13px; - text-align: right; - background: #ffffff; - /* Old browsers */ - background: -moz-linear-gradient(left, #ffffff 0%, #fafafa 100%); - /* FF3.6-15 */ - background: -webkit-linear-gradient(left, #ffffff 0%, #fafafa 100%); - /* Chrome10-25,Safari5.1-6 */ - background: linear-gradient(to right, #ffffff 0%, #fafafa 100%); - /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ - filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fafafa', GradientType=1); - padding-right: 5px; -} - -.details dt { - display: inline-block; -} - -.details dd { - display: inline-block; - margin: 0; + font-family: Consolas, Monaco, 'Andale Mono', monospace; } -.details dd a { - font-style: italic; - font-weight: normal; - line-height: 1; -} - -.details ul { - list-style-type: none; - margin: 0; -} - -.details pre.prettyprint { - margin: 0 -} - -.details .object-value { - padding-top: 0 -} +.details { margin-top: 14px; border-left: 2px solid #DDD; } +.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; } +.details dd { margin-left: 70px; } +.details ul { margin: 0; } +.details ul { list-style-type: none; } +.details li { margin-left: 30px; padding-top: 6px; } +.details pre.prettyprint { margin: 0 } +.details .object-value { padding-top: 0; } .description { margin-bottom: 1em; margin-top: 1em; } -.code-caption { +.code-caption +{ font-style: italic; + font-size: 107%; margin: 0; - font-size: 16px; - color: #545454; } -.prettyprint { - font-size: 13px; +.source +{ border: 1px solid #ddd; - border-radius: 3px; + width: 80%; overflow: auto; - background-color: #fbfbfb; } .prettyprint.source { width: inherit; } -.prettyprint code { +.source code +{ font-size: 100%; line-height: 18px; display: block; - margin: 0 30px; - background-color: #fbfbfb; + padding: 4px 12px; + margin: 0; + background-color: #fff; color: #4D4E53; } -.prettyprint>code { - padding: 30px 15px; -} - -.prettyprint .linenums code { - padding: 0 15px; +.prettyprint code span.line +{ + display: inline-block; } -.prettyprint .linenums li:first-of-type code { - padding-top: 15px; +.prettyprint.linenums +{ + padding-left: 70px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.prettyprint code span.line { - display: inline-block; +.prettyprint.linenums ol +{ + padding-left: 0; } -.prettyprint.linenums { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; +.prettyprint.linenums li +{ + border-left: 3px #ddd solid; } -.prettyprint.linenums ol { - padding-left: 0 +.prettyprint.linenums li.selected, +.prettyprint.linenums li.selected * +{ + background-color: lightyellow; } -.prettyprint.linenums li { - border-left: 3px #ddd solid -} - -.prettyprint.linenums li.selected, .prettyprint.linenums li.selected * { - background-color: lightyellow -} - -.prettyprint.linenums li * { - -webkit-user-select: text; - -moz-user-select: text; - -ms-user-select: text; - user-select: text; -} - -.readme .prettyprint { - max-width: 800px; -} - -.params, .props { - border-spacing: 0; - border: 1px solid #ddd; - border-radius: 3px; - width: 100%; - font-size: 14px; +.prettyprint.linenums li * +{ + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; } .params .name, .props .name, .name code { color: #4D4E53; - font-family: 'bt_mono', monospace; + font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 100%; } -.params td, .params th, .props td, .props th { - margin: 0px; - text-align: left; - vertical-align: top; - padding: 10px; - display: table-cell; -} - -.params td { - border-top: 1px solid #eee; -} - -.params thead tr, .props thead tr { - background-color: #fff; - font-weight: bold; -} - -.params .params thead tr, .props .props thead tr { - background-color: #fff; - font-weight: bold; -} - -.params td.description>p:first-child, .props td.description>p:first-child { +.params td.description > p:first-child, +.props td.description > p:first-child +{ margin-top: 0; padding-top: 0; } -.params td.description>p:last-child, .props td.description>p:last-child { +.params td.description > p:last-child, +.props td.description > p:last-child +{ margin-bottom: 0; padding-bottom: 0; } -dl.param-type { - margin-top: 5px; -} - -.param-type dt, .param-type dd { - display: inline-block -} - -.param-type dd { - font-family: Consolas, Monaco, 'Andale Mono', monospace -} - .disabled { - color: #454545 -} - - -/* tag source style */ - -.tag-deprecated { - padding-right: 5px; -} - -.tag-source { - border-bottom: 1px solid rgba(28, 160, 224, 0.35); -} - -.tag-source:first-child { - border-bottom: 1px solid rgba(28, 160, 224, 1); -} - - -/* navicon button */ - -.navicon-button { - position: relative; - transition: 0.25s; - cursor: pointer; - user-select: none; - opacity: .8; - background-color: white; - border-radius: 100%; - width: 50px; - height: 50px; - -webkit-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.31); - -moz-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.31); - box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.31); -} - -.navicon-button .navicon:before, .navicon-button .navicon:after { - transition: 0.25s; -} - -.navicon-button:hover { - transition: 0.5s; - opacity: 1; -} - -.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after { - transition: 0.25s; -} - -.navicon-button:hover .navicon:before { - top: .425rem; -} - -.navicon-button:hover .navicon:after { - top: -.425rem; -} - - -/* navicon */ - -.navicon { - position: relative; - width: 1.5em; - height: .195rem; - background: #000; - top: calc(50% - .09rem); - left: calc(50% - .75rem); - transition: 0.3s; - border-radius: 5px; -} - -.navicon:before, .navicon:after { - display: block; - content: ""; - height: .195rem; - width: 1.5rem; - background: #000; - position: absolute; - z-index: -1; - transition: 0.3s 0.25s; -} - -.navicon:before { - top: 0.425rem; - height: .195rem; - border-radius: 5px; -} - -.navicon:after { - top: -0.425rem; - border-radius: 5px; -} - - -/* open */ - -.nav-trigger:checked+label:not(.steps) .navicon:before, .nav-trigger:checked+label:not(.steps) .navicon:after { - top: 0 !important; -} - -.nav-trigger:checked+label .navicon:before, .nav-trigger:checked+label .navicon:after { - transition: 0.5s; -} - - -/* Minus */ - -.nav-trigger:checked+label { - transform: scale(0.75); -} - - -/* × and + */ - -.nav-trigger:checked+label.plus .navicon, .nav-trigger:checked+label.x .navicon { - background: transparent; -} - -.nav-trigger:checked+label.plus .navicon:before, .nav-trigger:checked+label.x .navicon:before { - transform: rotate(-45deg); - background: #000; -} - -.nav-trigger:checked+label.plus .navicon:after, .nav-trigger:checked+label.x .navicon:after { - transform: rotate(45deg); - background: #000; -} - -.nav-trigger:checked+label.plus { - transform: scale(0.75) rotate(45deg); -} - -.nav-trigger:checked~nav { - left: 0 !important; -} - -.nav-trigger:checked~.overlay { - display: block; -} - -.nav-trigger { - position: fixed; - top: 0; - clip: rect(0, 0, 0, 0); -} - -.overlay { - display: none; - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - width: 100%; - height: 100%; - background: hsla(0, 0%, 0%, 0.5); - z-index: 1; -} - -table { - border-collapse: separate; - ; - display: block; - overflow-x: auto; - /*table-layout:fixed;*/ -} - -table tbody td { - border-top: 1px solid hsl(207, 10%, 86%); - border-right: 1px solid #eee; - padding: 5px; - /*word-wrap: break-word;*/ -} - -td table.params, td table.props { - border: 0; -} - -@media only screen and (min-width: 320px) and (max-width: 680px) { - body { - overflow-x: hidden; - } - #main { - padding: 30px 30px; - width: 100%; - min-width: 360px; - } - nav { - background: #FFF; - width: 300px; - height: 100%; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: -300px; - z-index: 3; - padding: 0 10px; - transition: left 0.2s; - margin-top: 0; - } - .navicon-button { - display: inline-block; - position: fixed; - bottom: 1.5em; - right: 20px; - z-index: 1000; - } - .top-nav-wrapper { - display: none; - } - #main h1.page-title { - margin: 0.5em 0; - } - footer { - margin-left: 0; - margin-bottom: 30px; - } -} - -.top-nav-wrapper { - background-color: #ececec; - position: fixed; - top: 0px; - left: 0px; - padding: 10px 10px 0 10px; - z-index: 999; - width: 300px; -} - -.top-nav-wrapper ul { - margin: 0; -} - -.top-nav-wrapper ul li { - display: inline-block; - padding: 0 10px; - vertical-align: top; -} - -.top-nav-wrapper ul li.active { - border-bottom: 2px solid rgba(28, 160, 224, 1); -} - -.search-wrapper { - display: inline-block; - position: relative; -} - -.search-wrapper svg { - position: absolute; - left: 0px; -} - -input.search-input { - background: transparent; - box-shadow: 0; - border: 0; - border-bottom: 1px solid #c7c7c7; - padding: 7px 15px 12px 35px; - margin: 0 auto; -} - - -/* Smooth outline with box-shadow: */ - -input.search-input:focus { - border-bottom: 2px solid rgba(28, 160, 224, 1); - outline: none; -} - - -/* Hightlight JS Paradiso Light Theme */ - -.hljs-comment, .hljs-quote { - color: #776e71 -} - -.hljs-variable, .hljs-template-variable, .hljs-tag, .hljs-name, .hljs-selector-id, .hljs-selector-class, .hljs-regexp, .hljs-link, .hljs-meta { - color: #ef6155 -} - -.hljs-number, .hljs-built_in, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params, .hljs-deletion { - color: #f99b15 -} - -.hljs-title, .hljs-section, .hljs-attribute { - color: #fec418 -} - -.hljs-string, .hljs-symbol, .hljs-bullet, .hljs-addition { - color: #48b685 -} - -.hljs-keyword, .hljs-selector-tag { - color: #815ba4 -} - -.hljs { - display: block; - overflow-x: auto; - background: #e7e9db; - color: #4f424c; - padding: 0.5em -} - -.hljs-emphasis { - font-style: italic -} - -.hljs-strong { - font-weight: bold -} - -.link-icon { - opacity: 0; - position: absolute; - margin-left: -25px; - padding-right: 5px; - padding-top: 2px; -} - -.example-container .link-icon { - margin-top: -6px; -} - -.example-container:hover .link-icon, -.name-container:hover .link-icon { - opacity: .5; -} - -.name-container { - display: flex; - padding-top: 1em; + color: #454545; } diff --git a/docs/styles/prettify-jsdoc.css b/docs/styles/prettify-jsdoc.css index 834a866d..5a2526e3 100644 --- a/docs/styles/prettify-jsdoc.css +++ b/docs/styles/prettify-jsdoc.css @@ -9,7 +9,7 @@ /* string content */ .str { - color: hsl(104, 100%, 24%); + color: #006400; font-weight: normal; font-style: normal; } diff --git a/docs/styles/prettify-tomorrow.css b/docs/styles/prettify-tomorrow.css index eaf12510..b6f92a78 100644 --- a/docs/styles/prettify-tomorrow.css +++ b/docs/styles/prettify-tomorrow.css @@ -9,35 +9,35 @@ @media screen { /* string content */ .str { - color: hsl(104, 100%, 24%); } + color: #718c00; } /* a keyword */ .kwd { - color: hsl(240, 100%, 50%); } + color: #8959a8; } /* a comment */ .com { - color: hsl(0, 0%, 60%); } + color: #8e908c; } /* a type name */ .typ { - color: hsl(240, 100%, 32%); } + color: #4271ae; } /* a literal value */ .lit { - color: hsl(240, 100%, 40%); } + color: #f5871f; } /* punctuation */ .pun { - color: #000000; } + color: #4d4d4c; } /* lisp open bracket */ .opn { - color: #000000; } + color: #4d4d4c; } /* lisp close bracket */ .clo { - color: #000000; } + color: #4d4d4c; } /* a markup tag name */ .tag { @@ -105,12 +105,6 @@ pre.prettyprint { padding: 10px; } */ -/* Get LI elements to show when they are in the main article */ -article ul li { - list-style-type: circle; - margin-left: 25px; -} - /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; diff --git a/jsdoc-template/braintree b/jsdoc-template/braintree deleted file mode 160000 index 445d0d04..00000000 --- a/jsdoc-template/braintree +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 445d0d0419ebc21d665492ba16bb0cd3bc644d54 diff --git a/package-lock.json b/package-lock.json index 1132b011..322336a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,57 +1,36 @@ { "name": "node-poweredup", - "version": "8.0.5", - "lockfileVersion": 2, + "version": "8.0.6", + "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "node-poweredup", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "dependencies": { - "@abandonware/noble": "1.9.2-15", - "compare-versions": "^4.1.3", - "debug": "^4.3.3" + "@abandonware/noble": "1.9.2-24", + "compare-versions": "^6.1.0", + "debug": "^4.3.4" }, "devDependencies": { - "@types/debug": "4.1.7", - "@types/node": "^17.0.10", - "@types/web-bluetooth": "0.0.12", + "@types/debug": "4.1.12", + "@types/node": "^20.12.7", + "@types/web-bluetooth": "0.0.20", "buffer": "^6.0.3", - "jsdoc": "^3.5.5", - "jsdoc-to-markdown": "^7.1.0", - "ts-loader": "^9.2.6", + "jsdoc": "^4.0.2", + "jsdoc-to-markdown": "^8.0.1", + "ts-loader": "^9.5.1", "tslint": "^6.1.3", - "typescript": "^4.5.4", - "webpack": "^5.66.0", - "webpack-cli": "^4.9.1" - } - }, - "node_modules/@abandonware/bluetooth-hci-socket": { - "version": "0.5.3-8", - "resolved": "https://registry.npmjs.org/@abandonware/bluetooth-hci-socket/-/bluetooth-hci-socket-0.5.3-8.tgz", - "integrity": "sha512-JIUkTZpAo6vKyXd94OasynjnmAxgCvn3VRrQJM/KXBKbm/yW59BMK6ni1wLy/JLM4eFhsLkd2S907HJnXBSWKw==", - "hasInstallScript": true, - "optional": true, - "os": [ - "linux", - "android", - "freebsd", - "win32" - ], - "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.5", - "debug": "^4.3.2", - "nan": "^2.15.0" - }, - "optionalDependencies": { - "usb": "^1.7.2" + "typescript": "^5.4.5", + "webpack": "^5.91.0", + "webpack-cli": "^5.1.4" } }, "node_modules/@abandonware/noble": { - "version": "1.9.2-15", - "resolved": "https://registry.npmjs.org/@abandonware/noble/-/noble-1.9.2-15.tgz", - "integrity": "sha512-qD9NN5fzvbtHdWYFPDzxY2AveILvDSRX/PTdL0V+CUfyF70ggIJtLBc1WW1hbVMIpu8rZylYgrK+PUEBwIpjCg==", + "version": "1.9.2-24", + "resolved": "https://registry.npmjs.org/@abandonware/noble/-/noble-1.9.2-24.tgz", + "integrity": "sha512-9kP3DWP1IxuG5PYjz4rqGXl3u6JIu654iibR6Teasgk5UsdH9nkTi2teYuUl54yoOz6vjgXNjofwXp3naJvhfQ==", "hasInstallScript": true, "os": [ "darwin", @@ -60,14 +39,16 @@ "win32" ], "dependencies": { - "debug": "^4.3.1", - "node-addon-api": "^3.2.0" + "debug": "^4.3.4", + "napi-thread-safe-callback": "^0.0.6", + "node-addon-api": "^4.3.0", + "node-gyp-build": "^4.5.0" }, "engines": { "node": ">=6" }, "optionalDependencies": { - "@abandonware/bluetooth-hci-socket": "^0.5.3-8" + "@abandonware/bluetooth-hci-socket": "^0.5.3-11" } }, "node_modules/@babel/code-frame": { @@ -159,9 +140,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz", - "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", + "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -179,55 +160,89 @@ "node": ">=10.0.0" } }, - "node_modules/@mapbox/node-pre-gyp": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.8.tgz", - "integrity": "sha512-CMGKi28CF+qlbXh26hDe6NxCd7amqeAzEqnS6IHeO6LoaKyM/n+Xw3HT1COdq8cuioOdlKdqn/hCmqPUOMOywg==", - "optional": true, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "dev": true, "dependencies": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.5", - "nopt": "^5.0.0", - "npmlog": "^5.0.1", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.11" + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" + "engines": { + "node": ">=6.0.0" } }, - "node_modules/@mapbox/node-pre-gyp/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "optional": true, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jsdoc/salty": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.8.tgz", + "integrity": "sha512-5e+SFVavj1ORKlKaKr2BmTOekmXbelU7dC0cDkQLqag7xfuTPuGMUFx7KWJuv4bYZrTsoL2Z18VVCOKYxzoHcg==", + "dev": true, + "dependencies": { + "lodash": "^4.17.21" }, "engines": { - "node": ">=10" + "node": ">=v12.0.0" } }, "node_modules/@types/debug": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.7.tgz", - "integrity": "sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==", + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "dev": true, - "license": "MIT", "dependencies": { "@types/ms": "*" } }, "node_modules/@types/eslint": { - "version": "7.2.13", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.13.tgz", - "integrity": "sha512-LKmQCWAlnVHvvXq4oasNUMTJJb2GwSyTY8+1C7OH5ILR8mPLaljv1jxL1bXW3xB3jFbQxTKxJAvI8PyjB09aBg==", + "version": "8.56.10", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.10.tgz", + "integrity": "sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==", "dev": true, "dependencies": { "@types/estree": "*", @@ -235,9 +250,9 @@ } }, "node_modules/@types/eslint-scope": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.0.tgz", - "integrity": "sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw==", + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", "dev": true, "dependencies": { "@types/eslint": "*", @@ -245,15 +260,37 @@ } }, "node_modules/@types/estree": { - "version": "0.0.50", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", - "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", "dev": true }, "node_modules/@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true + }, + "node_modules/@types/linkify-it": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.5.tgz", + "integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==", + "dev": true + }, + "node_modules/@types/markdown-it": { + "version": "12.2.3", + "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz", + "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", + "dev": true, + "dependencies": { + "@types/linkify-it": "*", + "@types/mdurl": "*" + } + }, + "node_modules/@types/mdurl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.5.tgz", + "integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==", "dev": true }, "node_modules/@types/ms": { @@ -263,192 +300,203 @@ "dev": true }, "node_modules/@types/node": { - "version": "17.0.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.10.tgz", - "integrity": "sha512-S/3xB4KzyFxYGCppyDt68yzBU9ysL88lSdIah4D6cptdcltc4NCPCAMc0+PCpg/lLIyC7IPvj2Z52OJWeIUkog==", - "dev": true + "version": "20.12.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", + "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/web-bluetooth": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.12.tgz", - "integrity": "sha512-Q4sUrowpylCOWjUWFtNwkNBHQUnCL8y44Iq2ZLtVMAuAGIwPSXa3kqIvu2LwXoc2d1jyaaw4Bg354degHrsADw==", + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", + "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==", "dev": true }, "node_modules/@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", + "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==", "dev": true, "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" } }, "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", "dev": true }, "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", "dev": true }, "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz", + "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==", "dev": true }, "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", "dev": true, "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", "dev": true }, "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz", + "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.12.1" } }, "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", "dev": true, "dependencies": { "@xtuc/ieee754": "^1.2.0" } }, "node_modules/@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", "dev": true, "dependencies": { "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", "dev": true }, "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz", + "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-opt": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1", + "@webassemblyjs/wast-printer": "1.12.1" } }, "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz", + "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz", + "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1" } }, "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz", + "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz", + "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/ast": "1.12.1", "@xtuc/long": "4.2.2" } }, "node_modules/@webpack-cli/configtest": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.0.tgz", - "integrity": "sha512-ttOkEkoalEHa7RaFYpM0ErK1xc4twg3Am9hfHhL7MVqlHebnkYd2wuI/ZqTDj0cVzZho6PdinY0phFZV3O0Mzg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-2.1.1.tgz", + "integrity": "sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw==", "dev": true, + "engines": { + "node": ">=14.15.0" + }, "peerDependencies": { - "webpack": "4.x.x || 5.x.x", - "webpack-cli": "4.x.x" + "webpack": "5.x.x", + "webpack-cli": "5.x.x" } }, "node_modules/@webpack-cli/info": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.0.tgz", - "integrity": "sha512-F6b+Man0rwE4n0409FyAJHStYA5OIZERxmnUfLVwv0mc0V1wLad3V7jqRlMkgKBeAq07jUvglacNaa6g9lOpuw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-2.0.2.tgz", + "integrity": "sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A==", "dev": true, - "dependencies": { - "envinfo": "^7.7.3" + "engines": { + "node": ">=14.15.0" }, "peerDependencies": { - "webpack-cli": "4.x.x" + "webpack": "5.x.x", + "webpack-cli": "5.x.x" } }, "node_modules/@webpack-cli/serve": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.0.tgz", - "integrity": "sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-2.0.5.tgz", + "integrity": "sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==", "dev": true, + "engines": { + "node": ">=14.15.0" + }, "peerDependencies": { - "webpack-cli": "4.x.x" + "webpack": "5.x.x", + "webpack-cli": "5.x.x" }, "peerDependenciesMeta": { "webpack-dev-server": { @@ -468,16 +516,10 @@ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "dev": true }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "optional": true - }, "node_modules/acorn": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.4.1.tgz", - "integrity": "sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -487,26 +529,14 @@ } }, "node_modules/acorn-import-assertions": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.7.6.tgz", - "integrity": "sha512-FlVvVFA1TX6l3lp8VjDnYYq7R1nyW6x3svAt4nDgrWQ9SBaSh9CnbwgSUTasgfNfOG5HlM1ehugCvM+hjo56LA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", "dev": true, "peerDependencies": { "acorn": "^8" } }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "optional": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -553,15 +583,6 @@ "node": ">=6" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "optional": true, - "engines": { - "node": ">=8" - } - }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -577,25 +598,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/aproba": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", - "optional": true - }, - "node_modules/are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "optional": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -618,7 +620,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "devOptional": true + "dev": true }, "node_modules/base64-js": { "version": "1.5.1", @@ -650,7 +652,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "devOptional": true, + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -669,26 +671,35 @@ } }, "node_modules/browserslist": { - "version": "4.16.6", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", - "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "dependencies": { - "caniuse-lite": "^1.0.30001219", - "colorette": "^1.2.2", - "electron-to-chromium": "^1.3.723", - "escalade": "^3.1.1", - "node-releases": "^1.1.71" + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" }, "bin": { "browserslist": "cli.js" }, "engines": { "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" } }, "node_modules/buffer": { @@ -716,9 +727,9 @@ } }, "node_modules/buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "node_modules/builtin-modules": { @@ -754,14 +765,24 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001233", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001233.tgz", - "integrity": "sha512-BmkbxLfStqiPA7IEzQpIk0UFZFf3A4E6fzjPJ6OR+bFC2L8ES9J8zGA/asoi47p8XDVkev+WJo2I2Nc8c/34Yg==", + "version": "1.0.30001612", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001612.tgz", + "integrity": "sha512-lFgnZ07UhaCcsSZgWW0K5j4e69dK1u/ltrL9lTUiFOwNHs12S3UMIEYgBV0Z6C6hRDev7iRnMzzYmKabYdXF9g==", "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] }, "node_modules/catharsis": { "version": "0.9.0", @@ -791,15 +812,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "optional": true, - "engines": { - "node": ">=10" - } - }, "node_modules/chrome-trace-event": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", @@ -854,21 +866,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "optional": true, - "bin": { - "color-support": "bin.js" - } - }, - "node_modules/colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", - "dev": true - }, "node_modules/command-line-args": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.0.tgz", @@ -973,15 +970,15 @@ } }, "node_modules/compare-versions": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", - "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==" + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.0.tgz", + "integrity": "sha512-LNZQXhqUvqUTotpZ00qLSaify3b4VFD588aRr8MKFw4CMUr98ytzCW5wDH5qx/DEY5kCDXcbcRuCqL0szEf2tg==" }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "devOptional": true + "dev": true }, "node_modules/config-master": { "version": "3.1.0", @@ -1001,12 +998,6 @@ "node": ">=0.10.0" } }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "optional": true - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -1021,10 +1012,31 @@ "node": ">= 8" } }, + "node_modules/cross-spawn/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dependencies": { "ms": "2.1.2" }, @@ -1046,24 +1058,6 @@ "node": ">=4.0.0" } }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "optional": true - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "optional": true, - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -1074,53 +1068,38 @@ } }, "node_modules/dmd": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/dmd/-/dmd-6.0.0.tgz", - "integrity": "sha512-PwWZlqZnJPETwqZZ70haRa+UDZcD5jeBD3ywW1Kf+jYYv0MHu/S7Ri9jsSoeTMwkcMVW9hXOMA1IZUMEufBhOg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/dmd/-/dmd-6.2.0.tgz", + "integrity": "sha512-uXWxLF1H7TkUAuoHK59/h/ts5cKavm2LnhrIgJWisip4BVzPoXavlwyoprFFn2CzcahKYgvkfaebS6oxzgflkg==", "dev": true, "dependencies": { - "array-back": "^5.0.0", + "array-back": "^6.2.2", "cache-point": "^2.0.0", - "common-sequence": "^2.0.0", - "file-set": "^4.0.1", + "common-sequence": "^2.0.2", + "file-set": "^4.0.2", "handlebars": "^4.7.7", - "marked": "^2.0.0", + "marked": "^4.2.3", "object-get": "^2.1.1", - "reduce-flatten": "^3.0.0", + "reduce-flatten": "^3.0.1", "reduce-unique": "^2.0.1", "reduce-without": "^1.0.1", "test-value": "^3.0.0", - "walk-back": "^5.0.0" + "walk-back": "^5.1.0" }, "engines": { - "node": ">=14" - } - }, - "node_modules/dmd/node_modules/array-back": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", - "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", - "dev": true, - "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/electron-to-chromium": { - "version": "1.3.747", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.747.tgz", - "integrity": "sha512-+K1vnBc08GNYxCWwdRe9o3Ml30DhsNyK/qIl/NE1Dic+qCy9ZREcqGNiV4jiLiAdALK1DUG3pakJHGkJUd9QQw==", + "version": "1.4.749", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.749.tgz", + "integrity": "sha512-LRMMrM9ITOvue0PoBrvNIraVmuDbJV5QC9ierz/z5VilMdPOVMjOtpICNld3PuXuTZ3CHH/UPxX9gHhAPwi+0Q==", "dev": true }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "optional": true - }, "node_modules/enhanced-resolve": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz", - "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==", + "version": "5.16.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz", + "integrity": "sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==", "dev": true, "dependencies": { "graceful-fs": "^4.2.4", @@ -1131,15 +1110,18 @@ } }, "node_modules/entities": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", - "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==", - "dev": true + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "dev": true, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } }, "node_modules/envinfo": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "version": "7.12.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.12.0.tgz", + "integrity": "sha512-Iw9rQJBGpJRd3rwXm9ft/JiGoAZmLxxJZELYDQoPRZ4USVhkKtIcNBPw6U+/K2mBpaqM25JSV6Yl4Az9vO2wJg==", "dev": true, "bin": { "envinfo": "dist/cli.js" @@ -1149,15 +1131,15 @@ } }, "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.0.tgz", + "integrity": "sha512-pqrTKmwEIgafsYZAGw9kszYzmagcE/n4dbgwGWLEXg7J4QFJVQRBld8j3Q3GNez79jzxZshq0bcT962QHOghjw==", "dev": true }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -1237,29 +1219,6 @@ "node": ">=0.8.x" } }, - "node_modules/execa": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.0.tgz", - "integrity": "sha512-CkdUB7s2y6S+d4y+OM/+ZtQcJCiKUCth4cNImGMqrt2zEVtW2rfHGspQBE1GDo6LjeNIQmTPKXqTCKjqFKyu3A==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -1346,22 +1305,10 @@ "node": ">=8" } }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "optional": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/fs-then-native": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/fs-then-native/-/fs-then-native-2.0.0.tgz", - "integrity": "sha1-GaEk2U2QwiyOBF8ujdbr6jbUjGc=", + "integrity": "sha512-X712jAOaWXkemQCAmWeg5rOT2i+KOpWz1Z/txk/cW0qlOu2oQ9H61vc5w3X/iyuUEfq/OyaFJ78/cZAQD1/bgA==", "dev": true, "engines": { "node": ">=4.0.0" @@ -1371,7 +1318,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "devOptional": true + "dev": true }, "node_modules/function-bind": { "version": "1.1.1", @@ -1379,43 +1326,11 @@ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, - "node_modules/gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "optional": true, - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/glob": { "version": "7.1.7", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "devOptional": true, + "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -1438,19 +1353,19 @@ "dev": true }, "node_modules/graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dev": true, "dependencies": { "minimist": "^1.2.5", - "neo-async": "^2.6.0", + "neo-async": "^2.6.2", "source-map": "^0.6.1", "wordwrap": "^1.0.0" }, @@ -1485,34 +1400,6 @@ "node": ">=8" } }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "optional": true - }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "optional": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -1553,7 +1440,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "devOptional": true, + "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -1563,15 +1450,15 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "devOptional": true + "dev": true }, "node_modules/interpret": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", - "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz", + "integrity": "sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==", "dev": true, "engines": { - "node": ">= 0.10" + "node": ">=10.13.0" } }, "node_modules/is-core-module": { @@ -1586,15 +1473,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "optional": true, - "engines": { - "node": ">=8" - } - }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -1616,21 +1494,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, "node_modules/isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", @@ -1641,9 +1504,9 @@ } }, "node_modules/jest-worker": { - "version": "27.0.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.0.2.tgz", - "integrity": "sha512-EoBdilOTTyOgmHXtw/cPc+ZrCA0KJMrkXzkrPGNwLmnvvlN1nj7MPrxpT7m+otSv2e1TLaVffzDnE/LB14zJMg==", + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, "dependencies": { "@types/node": "*", @@ -1698,45 +1561,46 @@ } }, "node_modules/jsdoc": { - "version": "3.6.7", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz", - "integrity": "sha512-sxKt7h0vzCd+3Y81Ey2qinupL6DpRSZJclS04ugHDNmRUXGzqicMJ6iwayhSA0S0DwwX30c5ozyUthr1QKF6uw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", + "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", "dev": true, "dependencies": { - "@babel/parser": "^7.9.4", + "@babel/parser": "^7.20.15", + "@jsdoc/salty": "^0.2.1", + "@types/markdown-it": "^12.2.3", "bluebird": "^3.7.2", "catharsis": "^0.9.0", "escape-string-regexp": "^2.0.0", - "js2xmlparser": "^4.0.1", + "js2xmlparser": "^4.0.2", "klaw": "^3.0.0", - "markdown-it": "^10.0.0", - "markdown-it-anchor": "^5.2.7", - "marked": "^2.0.3", + "markdown-it": "^12.3.2", + "markdown-it-anchor": "^8.4.1", + "marked": "^4.0.10", "mkdirp": "^1.0.4", "requizzle": "^0.2.3", "strip-json-comments": "^3.1.0", - "taffydb": "2.6.2", - "underscore": "~1.13.1" + "underscore": "~1.13.2" }, "bin": { "jsdoc": "jsdoc.js" }, "engines": { - "node": ">=8.15.0" + "node": ">=12.0.0" } }, "node_modules/jsdoc-api": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.1.0.tgz", - "integrity": "sha512-yjIiZa6LFOgd0dyFW/R+3unnVUhhbU1CeBhisgjBPRHkar83rkgDtTMRdgQotSvt+pGlmknZqfwR5AQuMh9/6w==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-8.0.0.tgz", + "integrity": "sha512-Rnhor0suB1Ds1abjmFkFfKeD+kSMRN9oHMTMZoJVUrmtCGDwXty+sWMA9sa4xbe4UyxuPjhC7tavZ40mDKK6QQ==", "dev": true, "dependencies": { - "array-back": "^6.2.0", + "array-back": "^6.2.2", "cache-point": "^2.0.0", "collect-all": "^1.0.4", "file-set": "^4.0.2", "fs-then-native": "^2.0.0", - "jsdoc": "^3.6.7", + "jsdoc": "^4.0.0", "object-to-spawn-args": "^2.0.1", "temp-path": "^1.0.0", "walk-back": "^5.1.0" @@ -1746,34 +1610,33 @@ } }, "node_modules/jsdoc-parse": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-6.0.1.tgz", - "integrity": "sha512-ij3Az5y2dp+ajMxYnEJH7kjKK5v6+yZ3Cg/KtRdoT15pIm6qTk/W8q72QdNLZ9jQm/U2/ifENFXXTOe6xIxGeA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-6.2.1.tgz", + "integrity": "sha512-9viGRUUtWOk/G4V0+nQ6rfLucz5plxh5I74WbNSNm9h9NWugCDVX4jbG8hZP9QqKGpdTPDE+qJXzaYNos3wqTA==", "dev": true, "dependencies": { - "array-back": "^6.1.1", + "array-back": "^6.2.2", "lodash.omit": "^4.5.0", - "lodash.pick": "^4.4.0", "reduce-extract": "^1.0.0", - "sort-array": "^4.1.4", + "sort-array": "^4.1.5", "test-value": "^3.0.0" }, "engines": { - "node": ">=14" + "node": ">=12" } }, "node_modules/jsdoc-to-markdown": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.1.0.tgz", - "integrity": "sha512-LJAiwrUaOpPqOmllqnVVqfBZh6KI/rHHfSwL7DerTpjLQWHfpndz/JUNlF5ngYjbL4aHNf7uJ1TuXl6xGfq5rg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-8.0.1.tgz", + "integrity": "sha512-qJfNJhkq2C26UYoOdj8L1yheTJlk1veCsxwRejRmj07XZKCn7oSkuPErx6+JoNi8afCaUKdIM5oUu0uF2/T8iw==", "dev": true, "dependencies": { - "array-back": "^6.2.0", + "array-back": "^6.2.2", "command-line-tool": "^0.8.0", "config-master": "^3.1.0", - "dmd": "^6.0.0", - "jsdoc-api": "^7.1.0", - "jsdoc-parse": "^6.0.1", + "dmd": "^6.2.0", + "jsdoc-api": "^8.0.0", + "jsdoc-parse": "^6.2.1", "walk-back": "^5.1.0" }, "bin": { @@ -1792,10 +1655,10 @@ "node": ">=8" } }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, "node_modules/json-schema-traverse": { @@ -1823,9 +1686,9 @@ } }, "node_modules/linkify-it": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", - "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", "dev": true, "dependencies": { "uc.micro": "^1.0.1" @@ -1867,7 +1730,7 @@ "node_modules/lodash.omit": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", - "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", + "integrity": "sha512-XeqSp49hNGmlkj2EJlfrQFIzQ6lXdNro9sddtQzcJY8QaoC2GO0DT7xaIokHeyM+mIT0mPMlPvkYzg2xCuHdZg==", "dev": true }, "node_modules/lodash.padend": { @@ -1876,17 +1739,11 @@ "integrity": "sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4=", "dev": true }, - "node_modules/lodash.pick": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", - "dev": true - }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "devOptional": true, + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -1894,39 +1751,15 @@ "node": ">=10" } }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "optional": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "optional": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/markdown-it": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", - "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", + "version": "12.3.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", "dev": true, "dependencies": { - "argparse": "^1.0.7", - "entities": "~2.0.0", - "linkify-it": "^2.0.0", + "argparse": "^2.0.1", + "entities": "~2.1.0", + "linkify-it": "^3.0.1", "mdurl": "^1.0.1", "uc.micro": "^1.0.5" }, @@ -1935,30 +1768,37 @@ } }, "node_modules/markdown-it-anchor": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz", - "integrity": "sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA==", + "version": "8.6.7", + "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", + "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", "dev": true, "peerDependencies": { + "@types/markdown-it": "*", "markdown-it": "*" } }, + "node_modules/markdown-it/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/marked": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/marked/-/marked-2.1.3.tgz", - "integrity": "sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", "dev": true, "bin": { - "marked": "bin/marked" + "marked": "bin/marked.js" }, "engines": { - "node": ">= 10" + "node": ">= 12" } }, "node_modules/mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", "dev": true }, "node_modules/merge-stream": { @@ -2001,20 +1841,11 @@ "node": ">= 0.6" } }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "devOptional": true, + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -2023,41 +1854,19 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "node_modules/minipass": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", - "optional": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "optional": true, - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "devOptional": true, + "dev": true, "bin": { "mkdirp": "bin/cmd.js" }, @@ -2076,11 +1885,10 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", - "optional": true + "node_modules/napi-thread-safe-callback": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/napi-thread-safe-callback/-/napi-thread-safe-callback-0.0.6.tgz", + "integrity": "sha512-X7uHCOCdY4u0yamDxDrv3jF2NtYc8A1nvPzBQgvpoSX+WB3jAe2cVNsY448V1ucq7Whf9Wdy02HEUoLW5rJKWg==" }, "node_modules/neo-async": { "version": "2.6.2", @@ -2089,35 +1897,14 @@ "dev": true }, "node_modules/node-addon-api": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==" - }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "optional": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" }, "node_modules/node-gyp-build": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", - "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", - "optional": true, + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz", + "integrity": "sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==", "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -2125,59 +1912,11 @@ } }, "node_modules/node-releases": { - "version": "1.1.72", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", - "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", "dev": true }, - "node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "optional": true, - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "optional": true, - "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object-get": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/object-get/-/object-get-2.1.1.tgz", @@ -2197,39 +1936,9 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "devOptional": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "wrappy": "1" } }, "node_modules/p-locate": { @@ -2281,7 +1990,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "devOptional": true, + "dev": true, "engines": { "node": ">=0.10.0" } @@ -2301,6 +2010,12 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, "node_modules/picomatch": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", @@ -2326,9 +2041,9 @@ } }, "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -2343,36 +2058,22 @@ "safe-buffer": "^5.1.0" } }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "optional": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/rechoir": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.0.tgz", - "integrity": "sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz", + "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==", "dev": true, "dependencies": { - "resolve": "^1.9.0" + "resolve": "^1.20.0" }, "engines": { - "node": ">= 0.10" + "node": ">= 10.13.0" } }, "node_modules/reduce-extract": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/reduce-extract/-/reduce-extract-1.0.0.tgz", - "integrity": "sha1-Z/I4W+2mUGG19fQxJmLosIDKFSU=", + "integrity": "sha512-QF8vjWx3wnRSL5uFMyCjDeDc5EBMiryoT9tz94VvgjKfzecHAVnqmXAwQDcr7X4JmLc2cjkjFGCVzhMqDjgR9g==", "dev": true, "dependencies": { "test-value": "^1.0.1" @@ -2384,7 +2085,7 @@ "node_modules/reduce-extract/node_modules/array-back": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "integrity": "sha512-1WxbZvrmyhkNoeYcizokbmh5oiOCIfyvGtcqbK3Ls1v1fKcquzxnQSceOx6tzq7jmai2kFLWIpGND2cLhH6TPw==", "dev": true, "dependencies": { "typical": "^2.6.0" @@ -2396,7 +2097,7 @@ "node_modules/reduce-extract/node_modules/test-value": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/test-value/-/test-value-1.1.0.tgz", - "integrity": "sha1-oJE29y7AQ9J8iTcHwrFZv6196T8=", + "integrity": "sha512-wrsbRo7qP+2Je8x8DsK8ovCGyxe3sYfQwOraIY/09A2gFXU9DYKiTF14W4ki/01AEh56kMzAmlj9CaHGDDUBJA==", "dev": true, "dependencies": { "array-back": "^1.0.2", @@ -2427,7 +2128,7 @@ "node_modules/reduce-without": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/reduce-without/-/reduce-without-1.0.1.tgz", - "integrity": "sha1-aK0OrRGFXJo31OglbBW7+Hly/Iw=", + "integrity": "sha512-zQv5y/cf85sxvdrKPlfcRzlDn/OqKFThNimYmsS3flmkioKvkUGn2Qg9cJVoQiEvdxFGLE0MQER/9fZ9sUqdxg==", "dev": true, "dependencies": { "test-value": "^2.0.0" @@ -2439,7 +2140,7 @@ "node_modules/reduce-without/node_modules/array-back": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "integrity": "sha512-1WxbZvrmyhkNoeYcizokbmh5oiOCIfyvGtcqbK3Ls1v1fKcquzxnQSceOx6tzq7jmai2kFLWIpGND2cLhH6TPw==", "dev": true, "dependencies": { "typical": "^2.6.0" @@ -2451,7 +2152,7 @@ "node_modules/reduce-without/node_modules/test-value": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz", - "integrity": "sha1-Edpv9nDzRxpztiXKTz/c97t0gpE=", + "integrity": "sha512-+1epbAxtKeXttkGFMTX9H42oqzOTufR1ceCF+GYA5aOmvaPq9wd4PUS8329fn2RRLGNeUkgRLnVpycjx8DsO2w==", "dev": true, "dependencies": { "array-back": "^1.0.3", @@ -2504,26 +2205,11 @@ "node": ">=8" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "optional": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "devOptional": true, + "dev": true, "funding": [ { "type": "github", @@ -2540,9 +2226,9 @@ ] }, "node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.8", @@ -2558,29 +2244,23 @@ } }, "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "bin": { "semver": "bin/semver" } }, "node_modules/serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "dependencies": { "randombytes": "^2.1.0" } }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "optional": true - }, "node_modules/shallow-clone": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", @@ -2614,16 +2294,10 @@ "node": ">=8" } }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "devOptional": true - }, "node_modules/sort-array": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/sort-array/-/sort-array-4.1.4.tgz", - "integrity": "sha512-GVFN6Y1sHKrWaSYOJTk9093ZnrBMc9sP3nuhANU44S4xg3rE6W5Z5WyamuT8VpMBbssnetx5faKCua0LEmUnSw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/sort-array/-/sort-array-4.1.5.tgz", + "integrity": "sha512-Ya4peoS1fgFN42RN1REk2FgdNOeLIEMKFGJvs7VTP3OklF8+kl2SkpVliZ4tk/PurWsrWRsdNdU+tgyOBkB9sA==", "dev": true, "dependencies": { "array-back": "^5.0.0", @@ -2661,9 +2335,9 @@ } }, "node_modules/source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", "dev": true, "dependencies": { "buffer-from": "^1.0.0", @@ -2679,7 +2353,7 @@ "node_modules/stream-connect": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/stream-connect/-/stream-connect-1.0.2.tgz", - "integrity": "sha1-GLyB8u2zW4tdmoAJIAqYUxRCipc=", + "integrity": "sha512-68Kl+79cE0RGKemKkhxTSg8+6AGrqBt+cbZAXevg2iJ6Y3zX4JhA/sZeGzLpxW9cXhmqAcE7KnJCisUmIUfnFQ==", "dev": true, "dependencies": { "array-back": "^1.0.2" @@ -2691,7 +2365,7 @@ "node_modules/stream-connect/node_modules/array-back": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "integrity": "sha512-1WxbZvrmyhkNoeYcizokbmh5oiOCIfyvGtcqbK3Ls1v1fKcquzxnQSceOx6tzq7jmai2kFLWIpGND2cLhH6TPw==", "dev": true, "dependencies": { "typical": "^2.6.0" @@ -2709,50 +2383,6 @@ "node": ">=0.10.0" } }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "optional": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "optional": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "optional": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -2805,12 +2435,6 @@ "node": ">=4" } }, - "node_modules/taffydb": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", - "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", - "dev": true - }, "node_modules/tapable": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz", @@ -2820,38 +2444,22 @@ "node": ">=6" } }, - "node_modules/tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", - "optional": true, - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 10" - } - }, "node_modules/temp-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/temp-path/-/temp-path-1.0.0.tgz", - "integrity": "sha1-JLFUOXOrRCiW2a02fdnL2/r+kYs=", + "integrity": "sha512-TvmyH7kC6ZVTYkqCODjJIbgvu0FKiwQpZ4D1aknE7xpcDf/qEOB8KZEK5ef2pfbVoiBhNWs3yx4y+ESMtNYmlg==", "dev": true }, "node_modules/terser": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.0.tgz", - "integrity": "sha512-HP5/9hp2UaZt5fYkuhNBR8YyRcT8juw8+uFbAme53iN9hblvKnLUTKkmwJG6ocWpIKf8UK4DoeWG4ty0J6S6/g==", + "version": "5.30.4", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.30.4.tgz", + "integrity": "sha512-xRdd0v64a8mFK9bnsKVdoNP9GQIKUAaJPTaqEQDL4w/J8WaW4sWXXoMZ+6SimPkfT5bElreXf8m9HnmPc3E1BQ==", "dev": true, "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.19" + "source-map-support": "~0.5.20" }, "bin": { "terser": "bin/terser" @@ -2861,17 +2469,16 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.3.tgz", - "integrity": "sha512-cxGbMqr6+A2hrIB5ehFIF+F/iST5ZOxvOmy9zih9ySbP1C2oEWQSOUS+2SNBTjzx5xLKO4xnod9eywdfq1Nb9A==", + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", "dev": true, "dependencies": { - "jest-worker": "^27.0.2", - "p-limit": "^3.1.0", - "schema-utils": "^3.0.0", - "serialize-javascript": "^5.0.1", - "source-map": "^0.6.1", - "terser": "^5.7.0" + "@jridgewell/trace-mapping": "^0.3.20", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.26.0" }, "engines": { "node": ">= 10.13.0" @@ -2882,15 +2489,17 @@ }, "peerDependencies": { "webpack": "^5.1.0" - } - }, - "node_modules/terser/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "engines": { - "node": ">= 8" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } } }, "node_modules/test-value": { @@ -2930,22 +2539,17 @@ "node": ">=8.0" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", - "optional": true - }, "node_modules/ts-loader": { - "version": "9.2.6", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.6.tgz", - "integrity": "sha512-QMTC4UFzHmu9wU2VHZEmWWE9cUajjfcdcws+Gh7FhiO+Dy0RnR1bNz0YCHqhI0yRowCE9arVnNxYHqELOy9Hjw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.1.tgz", + "integrity": "sha512-rNH3sK9kGZcH9dYzC7CewQm4NtxJTjSEVRJ2DyBZR7f8/wcta+iV44UPCXc5+nzDzivKtlzV6c9P4e+oFhDLYg==", "dev": true, "dependencies": { "chalk": "^4.1.0", "enhanced-resolve": "^5.0.0", "micromatch": "^4.0.0", - "semver": "^7.3.4" + "semver": "^7.3.4", + "source-map": "^0.7.4" }, "engines": { "node": ">=12.0.0" @@ -2956,9 +2560,9 @@ } }, "node_modules/ts-loader/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -2970,6 +2574,15 @@ "node": ">=10" } }, + "node_modules/ts-loader/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -3094,16 +2707,16 @@ } }, "node_modules/typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/typical": { @@ -3119,9 +2732,9 @@ "dev": true }, "node_modules/uglify-js": { - "version": "3.14.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.5.tgz", - "integrity": "sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==", + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", "dev": true, "optional": true, "bin": { @@ -3137,6 +2750,42 @@ "integrity": "sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g==", "dev": true }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -3146,32 +2795,6 @@ "punycode": "^2.1.0" } }, - "node_modules/usb": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/usb/-/usb-1.9.2.tgz", - "integrity": "sha512-dryNz030LWBPAf6gj8vyq0Iev3vPbCLHCT8dBw3gQRXRzVNsIdeuU+VjPp3ksmSPkeMAl1k+kQ14Ij0QHyeiAg==", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "node-addon-api": "^4.2.0", - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">=10.16.0" - } - }, - "node_modules/usb/node_modules/node-addon-api": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.2.0.tgz", - "integrity": "sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q==", - "optional": true - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "optional": true - }, "node_modules/walk-back": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-5.1.0.tgz", @@ -3182,9 +2805,9 @@ } }, "node_modules/watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz", + "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==", "dev": true, "dependencies": { "glob-to-regexp": "^0.4.1", @@ -3194,42 +2817,36 @@ "node": ">=10.13.0" } }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", - "optional": true - }, "node_modules/webpack": { - "version": "5.66.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.66.0.tgz", - "integrity": "sha512-NJNtGT7IKpGzdW7Iwpn/09OXz9inIkeIQ/ibY6B+MdV1x6+uReqz/5z1L89ezWnpPDWpXF0TY5PCYKQdWVn8Vg==", - "dev": true, - "dependencies": { - "@types/eslint-scope": "^3.7.0", - "@types/estree": "^0.0.50", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", - "browserslist": "^4.14.5", + "version": "5.91.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.91.0.tgz", + "integrity": "sha512-rzVwlLeBWHJbmgTC/8TvAcu5vpJNII+MelQpylD4jNERPwpBJOE2lEcko1zJX3QJeLjTTAnQxn/OJ8bjDzVQaw==", + "dev": true, + "dependencies": { + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^1.0.5", + "@webassemblyjs/ast": "^1.12.1", + "@webassemblyjs/wasm-edit": "^1.12.1", + "@webassemblyjs/wasm-parser": "^1.12.1", + "acorn": "^8.7.1", + "acorn-import-assertions": "^1.9.0", + "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.8.3", - "es-module-lexer": "^0.9.0", + "enhanced-resolve": "^5.16.0", + "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", - "json-parse-better-errors": "^1.0.2", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", + "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.2" + "terser-webpack-plugin": "^5.3.10", + "watchpack": "^2.4.1", + "webpack-sources": "^3.2.3" }, "bin": { "webpack": "bin/webpack.js" @@ -3248,40 +2865,42 @@ } }, "node_modules/webpack-cli": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.1.tgz", - "integrity": "sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-5.1.4.tgz", + "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", "dev": true, "dependencies": { "@discoveryjs/json-ext": "^0.5.0", - "@webpack-cli/configtest": "^1.1.0", - "@webpack-cli/info": "^1.4.0", - "@webpack-cli/serve": "^1.6.0", + "@webpack-cli/configtest": "^2.1.1", + "@webpack-cli/info": "^2.0.2", + "@webpack-cli/serve": "^2.0.5", "colorette": "^2.0.14", - "commander": "^7.0.0", - "execa": "^5.0.0", + "commander": "^10.0.1", + "cross-spawn": "^7.0.3", + "envinfo": "^7.7.3", "fastest-levenshtein": "^1.0.12", "import-local": "^3.0.2", - "interpret": "^2.2.0", - "rechoir": "^0.7.0", + "interpret": "^3.1.1", + "rechoir": "^0.8.0", "webpack-merge": "^5.7.3" }, "bin": { "webpack-cli": "bin/cli.js" }, "engines": { - "node": ">=10.13.0" + "node": ">=14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "webpack": "4.x.x || 5.x.x" + "webpack": "5.x.x" }, "peerDependenciesMeta": { "@webpack-cli/generators": { "optional": true }, - "@webpack-cli/migrate": { - "optional": true - }, "webpack-bundle-analyzer": { "optional": true }, @@ -3297,12 +2916,12 @@ "dev": true }, "node_modules/webpack-cli/node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, "engines": { - "node": ">= 10" + "node": ">=14" } }, "node_modules/webpack-merge": { @@ -3327,40 +2946,6 @@ "node": ">=10.13.0" } }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "optional": true, - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "optional": true, - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, "node_modules/wildcard": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", @@ -3370,7 +2955,7 @@ "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", "dev": true }, "node_modules/wordwrapjs": { @@ -3399,7 +2984,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "devOptional": true + "dev": true }, "node_modules/xmlcreate": { "version": "2.0.4", @@ -3411,2637 +2996,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "devOptional": true - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - }, - "dependencies": { - "@abandonware/bluetooth-hci-socket": { - "version": "0.5.3-8", - "resolved": "https://registry.npmjs.org/@abandonware/bluetooth-hci-socket/-/bluetooth-hci-socket-0.5.3-8.tgz", - "integrity": "sha512-JIUkTZpAo6vKyXd94OasynjnmAxgCvn3VRrQJM/KXBKbm/yW59BMK6ni1wLy/JLM4eFhsLkd2S907HJnXBSWKw==", - "optional": true, - "requires": { - "@mapbox/node-pre-gyp": "^1.0.5", - "debug": "^4.3.2", - "nan": "^2.15.0", - "usb": "^1.7.2" - } - }, - "@abandonware/noble": { - "version": "1.9.2-15", - "resolved": "https://registry.npmjs.org/@abandonware/noble/-/noble-1.9.2-15.tgz", - "integrity": "sha512-qD9NN5fzvbtHdWYFPDzxY2AveILvDSRX/PTdL0V+CUfyF70ggIJtLBc1WW1hbVMIpu8rZylYgrK+PUEBwIpjCg==", - "requires": { - "@abandonware/bluetooth-hci-socket": "^0.5.3-8", - "debug": "^4.3.1", - "node-addon-api": "^3.2.0" - } - }, - "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.12.13" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==", - "dev": true - }, - "@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.0", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@babel/parser": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz", - "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==", - "dev": true - }, - "@discoveryjs/json-ext": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz", - "integrity": "sha512-Fxt+AfXgjMoin2maPIYzFZnQjAXjAL0PHscM5pRTtatFqB+vZxAM9tLp2Optnuw3QOQC40jTNeGYFOMvyf7v9g==", - "dev": true - }, - "@mapbox/node-pre-gyp": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.8.tgz", - "integrity": "sha512-CMGKi28CF+qlbXh26hDe6NxCd7amqeAzEqnS6IHeO6LoaKyM/n+Xw3HT1COdq8cuioOdlKdqn/hCmqPUOMOywg==", - "optional": true, - "requires": { - "detect-libc": "^1.0.3", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.5", - "nopt": "^5.0.0", - "npmlog": "^5.0.1", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.11" - }, - "dependencies": { - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "optional": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "@types/debug": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.7.tgz", - "integrity": "sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==", - "dev": true, - "requires": { - "@types/ms": "*" - } - }, - "@types/eslint": { - "version": "7.2.13", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.13.tgz", - "integrity": "sha512-LKmQCWAlnVHvvXq4oasNUMTJJb2GwSyTY8+1C7OH5ILR8mPLaljv1jxL1bXW3xB3jFbQxTKxJAvI8PyjB09aBg==", - "dev": true, - "requires": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "@types/eslint-scope": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.0.tgz", - "integrity": "sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw==", - "dev": true, - "requires": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "@types/estree": { - "version": "0.0.50", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", - "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", - "dev": true - }, - "@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", - "dev": true - }, - "@types/ms": { - "version": "0.7.31", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz", - "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", - "dev": true - }, - "@types/node": { - "version": "17.0.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.10.tgz", - "integrity": "sha512-S/3xB4KzyFxYGCppyDt68yzBU9ysL88lSdIah4D6cptdcltc4NCPCAMc0+PCpg/lLIyC7IPvj2Z52OJWeIUkog==", - "dev": true - }, - "@types/web-bluetooth": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.12.tgz", - "integrity": "sha512-Q4sUrowpylCOWjUWFtNwkNBHQUnCL8y44Iq2ZLtVMAuAGIwPSXa3kqIvu2LwXoc2d1jyaaw4Bg354degHrsADw==", - "dev": true - }, - "@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", - "dev": true, - "requires": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" - } - }, - "@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true - }, - "@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true - }, - "@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true - }, - "@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", - "dev": true, - "requires": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true - }, - "@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" - } - }, - "@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", - "dev": true, - "requires": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", - "dev": true, - "requires": { - "@xtuc/long": "4.2.2" - } - }, - "@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true - }, - "@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" - } - }, - "@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" - } - }, - "@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "@webpack-cli/configtest": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.1.0.tgz", - "integrity": "sha512-ttOkEkoalEHa7RaFYpM0ErK1xc4twg3Am9hfHhL7MVqlHebnkYd2wuI/ZqTDj0cVzZho6PdinY0phFZV3O0Mzg==", - "dev": true, - "requires": {} - }, - "@webpack-cli/info": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.4.0.tgz", - "integrity": "sha512-F6b+Man0rwE4n0409FyAJHStYA5OIZERxmnUfLVwv0mc0V1wLad3V7jqRlMkgKBeAq07jUvglacNaa6g9lOpuw==", - "dev": true, - "requires": { - "envinfo": "^7.7.3" - } - }, - "@webpack-cli/serve": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.6.0.tgz", - "integrity": "sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==", - "dev": true, - "requires": {} - }, - "@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true - }, - "@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true - }, - "abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "optional": true - }, - "acorn": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.4.1.tgz", - "integrity": "sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA==", - "dev": true - }, - "acorn-import-assertions": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.7.6.tgz", - "integrity": "sha512-FlVvVFA1TX6l3lp8VjDnYYq7R1nyW6x3svAt4nDgrWQ9SBaSh9CnbwgSUTasgfNfOG5HlM1ehugCvM+hjo56LA==", - "dev": true, - "requires": {} - }, - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "optional": true, - "requires": { - "debug": "4" - } - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "requires": {} - }, - "ansi-escape-sequences": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-escape-sequences/-/ansi-escape-sequences-4.1.0.tgz", - "integrity": "sha512-dzW9kHxH011uBsidTXd14JXgzye/YLb2LzeKZ4bsgl/Knwx8AtbSFkkGxagdNOoh0DlqHCmfiEjWKBaqjOanVw==", - "dev": true, - "requires": { - "array-back": "^3.0.1" - }, - "dependencies": { - "array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "dev": true - } - } - }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "optional": true - }, - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "aproba": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", - "optional": true - }, - "are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "optional": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "array-back": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", - "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", - "dev": true - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "devOptional": true - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true - }, - "bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "devOptional": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "browserslist": { - "version": "4.16.6", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", - "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", - "dev": true, - "requires": { - "caniuse-lite": "^1.0.30001219", - "colorette": "^1.2.2", - "electron-to-chromium": "^1.3.723", - "escalade": "^3.1.1", - "node-releases": "^1.1.71" - } - }, - "buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "dev": true, - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true - }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", - "dev": true - }, - "cache-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cache-point/-/cache-point-2.0.0.tgz", - "integrity": "sha512-4gkeHlFpSKgm3vm2gJN5sPqfmijYRFYCQ6tv5cLw0xVmT6r1z1vd4FNnpuOREco3cBs1G709sZ72LdgddKvL5w==", - "dev": true, - "requires": { - "array-back": "^4.0.1", - "fs-then-native": "^2.0.0", - "mkdirp2": "^1.0.4" - }, - "dependencies": { - "array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", - "dev": true - } - } - }, - "caniuse-lite": { - "version": "1.0.30001233", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001233.tgz", - "integrity": "sha512-BmkbxLfStqiPA7IEzQpIk0UFZFf3A4E6fzjPJ6OR+bFC2L8ES9J8zGA/asoi47p8XDVkev+WJo2I2Nc8c/34Yg==", - "dev": true - }, - "catharsis": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", - "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", - "dev": true, - "requires": { - "lodash": "^4.17.15" - } - }, - "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "optional": true - }, - "chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true - }, - "clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - } - }, - "collect-all": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/collect-all/-/collect-all-1.0.4.tgz", - "integrity": "sha512-RKZhRwJtJEP5FWul+gkSMEnaK6H3AGPTTWOiRimCcs+rc/OmQE3Yhy1Q7A7KsdkG3ZXVdZq68Y6ONSdvkeEcKA==", - "dev": true, - "requires": { - "stream-connect": "^1.0.2", - "stream-via": "^1.0.4" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "optional": true - }, - "colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", - "dev": true - }, - "command-line-args": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.0.tgz", - "integrity": "sha512-4zqtU1hYsSJzcJBOcNZIbW5Fbk9BkjCp1pZVhQKoRaWL5J7N4XphDLwo8aWwdQpTugxwu+jf9u2ZhkXiqp5Z6A==", - "dev": true, - "requires": { - "array-back": "^3.1.0", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - }, - "dependencies": { - "array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "dev": true - }, - "typical": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", - "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", - "dev": true - } - } - }, - "command-line-tool": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/command-line-tool/-/command-line-tool-0.8.0.tgz", - "integrity": "sha512-Xw18HVx/QzQV3Sc5k1vy3kgtOeGmsKIqwtFFoyjI4bbcpSgnw2CWVULvtakyw4s6fhyAdI6soQQhXc2OzJy62g==", - "dev": true, - "requires": { - "ansi-escape-sequences": "^4.0.0", - "array-back": "^2.0.0", - "command-line-args": "^5.0.0", - "command-line-usage": "^4.1.0", - "typical": "^2.6.1" - }, - "dependencies": { - "array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "requires": { - "typical": "^2.6.1" - } - } - } - }, - "command-line-usage": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-4.1.0.tgz", - "integrity": "sha512-MxS8Ad995KpdAC0Jopo/ovGIroV/m0KHwzKfXxKag6FHOkGsH8/lv5yjgablcRxCJJC0oJeUMuO/gmaq+Wq46g==", - "dev": true, - "requires": { - "ansi-escape-sequences": "^4.0.0", - "array-back": "^2.0.0", - "table-layout": "^0.4.2", - "typical": "^2.6.1" - }, - "dependencies": { - "array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "requires": { - "typical": "^2.6.1" - } - } - } - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "common-sequence": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/common-sequence/-/common-sequence-2.0.2.tgz", - "integrity": "sha512-jAg09gkdkrDO9EWTdXfv80WWH3yeZl5oT69fGfedBNS9pXUKYInVJ1bJ+/ht2+Moeei48TmSbQDYMc8EOx9G0g==", - "dev": true - }, - "compare-versions": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", - "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==" - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "devOptional": true - }, - "config-master": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/config-master/-/config-master-3.1.0.tgz", - "integrity": "sha1-ZnZjWQUFooO/JqSE1oSJ10xUhdo=", - "dev": true, - "requires": { - "walk-back": "^2.0.1" - }, - "dependencies": { - "walk-back": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-2.0.1.tgz", - "integrity": "sha1-VU4qnYdPrEeoywBr9EwvDEmYoKQ=", - "dev": true - } - } - }, - "console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", - "optional": true - }, - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "requires": { - "ms": "2.1.2" - } - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true - }, - "delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", - "optional": true - }, - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", - "optional": true - }, - "diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true - }, - "dmd": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/dmd/-/dmd-6.0.0.tgz", - "integrity": "sha512-PwWZlqZnJPETwqZZ70haRa+UDZcD5jeBD3ywW1Kf+jYYv0MHu/S7Ri9jsSoeTMwkcMVW9hXOMA1IZUMEufBhOg==", - "dev": true, - "requires": { - "array-back": "^5.0.0", - "cache-point": "^2.0.0", - "common-sequence": "^2.0.0", - "file-set": "^4.0.1", - "handlebars": "^4.7.7", - "marked": "^2.0.0", - "object-get": "^2.1.1", - "reduce-flatten": "^3.0.0", - "reduce-unique": "^2.0.1", - "reduce-without": "^1.0.1", - "test-value": "^3.0.0", - "walk-back": "^5.0.0" - }, - "dependencies": { - "array-back": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", - "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", - "dev": true - } - } - }, - "electron-to-chromium": { - "version": "1.3.747", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.747.tgz", - "integrity": "sha512-+K1vnBc08GNYxCWwdRe9o3Ml30DhsNyK/qIl/NE1Dic+qCy9ZREcqGNiV4jiLiAdALK1DUG3pakJHGkJUd9QQw==", - "dev": true - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "optional": true - }, - "enhanced-resolve": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz", - "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - } - }, - "entities": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", - "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==", - "dev": true - }, - "envinfo": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", - "dev": true - }, - "es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", - "dev": true - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "requires": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - } - }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true - }, - "esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "requires": { - "estraverse": "^5.2.0" - }, - "dependencies": { - "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true - } - } - }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true - }, - "events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true - }, - "execa": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.0.tgz", - "integrity": "sha512-CkdUB7s2y6S+d4y+OM/+ZtQcJCiKUCth4cNImGMqrt2zEVtW2rfHGspQBE1GDo6LjeNIQmTPKXqTCKjqFKyu3A==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - } - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "fastest-levenshtein": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", - "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==", - "dev": true - }, - "file-set": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/file-set/-/file-set-4.0.2.tgz", - "integrity": "sha512-fuxEgzk4L8waGXaAkd8cMr73Pm0FxOVkn8hztzUW7BAHhOGH90viQNXbiOsnecCWmfInqU6YmAMwxRMdKETceQ==", - "dev": true, - "requires": { - "array-back": "^5.0.0", - "glob": "^7.1.6" - }, - "dependencies": { - "array-back": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", - "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", - "dev": true - } - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "find-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", - "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", - "dev": true, - "requires": { - "array-back": "^3.0.1" - }, - "dependencies": { - "array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "dev": true - } - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "optional": true, - "requires": { - "minipass": "^3.0.0" - } - }, - "fs-then-native": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fs-then-native/-/fs-then-native-2.0.0.tgz", - "integrity": "sha1-GaEk2U2QwiyOBF8ujdbr6jbUjGc=", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "devOptional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "optional": true, - "requires": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - } - }, - "get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true - }, - "glob": { - "version": "7.1.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", - "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", - "devOptional": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true - }, - "graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", - "dev": true - }, - "handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "requires": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4", - "wordwrap": "^1.0.0" - } - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", - "optional": true - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "optional": true, - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true - }, - "import-local": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", - "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", - "dev": true, - "requires": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "devOptional": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "devOptional": true - }, - "interpret": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", - "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", - "dev": true - }, - "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "optional": true - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, - "jest-worker": { - "version": "27.0.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.0.2.tgz", - "integrity": "sha512-EoBdilOTTyOgmHXtw/cPc+ZrCA0KJMrkXzkrPGNwLmnvvlN1nj7MPrxpT7m+otSv2e1TLaVffzDnE/LB14zJMg==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "dependencies": { - "supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "js2xmlparser": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", - "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", - "dev": true, - "requires": { - "xmlcreate": "^2.0.4" - } - }, - "jsdoc": { - "version": "3.6.7", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.7.tgz", - "integrity": "sha512-sxKt7h0vzCd+3Y81Ey2qinupL6DpRSZJclS04ugHDNmRUXGzqicMJ6iwayhSA0S0DwwX30c5ozyUthr1QKF6uw==", - "dev": true, - "requires": { - "@babel/parser": "^7.9.4", - "bluebird": "^3.7.2", - "catharsis": "^0.9.0", - "escape-string-regexp": "^2.0.0", - "js2xmlparser": "^4.0.1", - "klaw": "^3.0.0", - "markdown-it": "^10.0.0", - "markdown-it-anchor": "^5.2.7", - "marked": "^2.0.3", - "mkdirp": "^1.0.4", - "requizzle": "^0.2.3", - "strip-json-comments": "^3.1.0", - "taffydb": "2.6.2", - "underscore": "~1.13.1" - }, - "dependencies": { - "escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true - } - } - }, - "jsdoc-api": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-7.1.0.tgz", - "integrity": "sha512-yjIiZa6LFOgd0dyFW/R+3unnVUhhbU1CeBhisgjBPRHkar83rkgDtTMRdgQotSvt+pGlmknZqfwR5AQuMh9/6w==", - "dev": true, - "requires": { - "array-back": "^6.2.0", - "cache-point": "^2.0.0", - "collect-all": "^1.0.4", - "file-set": "^4.0.2", - "fs-then-native": "^2.0.0", - "jsdoc": "^3.6.7", - "object-to-spawn-args": "^2.0.1", - "temp-path": "^1.0.0", - "walk-back": "^5.1.0" - } - }, - "jsdoc-parse": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-6.0.1.tgz", - "integrity": "sha512-ij3Az5y2dp+ajMxYnEJH7kjKK5v6+yZ3Cg/KtRdoT15pIm6qTk/W8q72QdNLZ9jQm/U2/ifENFXXTOe6xIxGeA==", - "dev": true, - "requires": { - "array-back": "^6.1.1", - "lodash.omit": "^4.5.0", - "lodash.pick": "^4.4.0", - "reduce-extract": "^1.0.0", - "sort-array": "^4.1.4", - "test-value": "^3.0.0" - } - }, - "jsdoc-to-markdown": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-7.1.0.tgz", - "integrity": "sha512-LJAiwrUaOpPqOmllqnVVqfBZh6KI/rHHfSwL7DerTpjLQWHfpndz/JUNlF5ngYjbL4aHNf7uJ1TuXl6xGfq5rg==", - "dev": true, - "requires": { - "array-back": "^6.2.0", - "command-line-tool": "^0.8.0", - "config-master": "^3.1.0", - "dmd": "^6.0.0", - "jsdoc-api": "^7.1.0", - "jsdoc-parse": "^6.0.1", - "walk-back": "^5.1.0" - } - }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true - }, - "klaw": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", - "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.9" - } - }, - "linkify-it": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", - "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", - "dev": true, - "requires": { - "uc.micro": "^1.0.1" - } - }, - "loader-runner": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", - "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", - "dev": true - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", - "dev": true - }, - "lodash.omit": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", - "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=", - "dev": true - }, - "lodash.padend": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/lodash.padend/-/lodash.padend-4.6.1.tgz", - "integrity": "sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4=", - "dev": true - }, - "lodash.pick": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", - "dev": true - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "devOptional": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "optional": true, - "requires": { - "semver": "^6.0.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "optional": true - } - } - }, - "markdown-it": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", - "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", - "dev": true, - "requires": { - "argparse": "^1.0.7", - "entities": "~2.0.0", - "linkify-it": "^2.0.0", - "mdurl": "^1.0.1", - "uc.micro": "^1.0.5" - } - }, - "markdown-it-anchor": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.3.0.tgz", - "integrity": "sha512-/V1MnLL/rgJ3jkMWo84UR+K+jF1cxNG1a+KwqeXqTIJ+jtA8aWSHuigx8lTzauiIjBDbwF3NcWQMotd0Dm39jA==", - "dev": true, - "requires": {} - }, - "marked": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/marked/-/marked-2.1.3.tgz", - "integrity": "sha512-/Q+7MGzaETqifOMWYEA7HVMaZb4XbcRfaOzcSsHZEith83KGlvaSG33u0SKu89Mj5h+T8V2hM+8O45Qc5XTgwA==", - "dev": true - }, - "mdurl": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", - "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", - "dev": true - }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", - "dev": true, - "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - } - }, - "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", - "dev": true - }, - "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "dev": true, - "requires": { - "mime-db": "1.48.0" - } - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "devOptional": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "minipass": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", - "optional": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "optional": true, - "requires": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - } - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "devOptional": true - }, - "mkdirp2": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/mkdirp2/-/mkdirp2-1.0.5.tgz", - "integrity": "sha512-xOE9xbICroUDmG1ye2h4bZ8WBie9EGmACaco8K8cx6RlkJJrxGIqjGqztAI+NMhexXBcdGbSEzI6N3EJPevxZw==", - "dev": true - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "nan": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", - "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==", - "optional": true - }, - "neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "node-addon-api": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==" - }, - "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "optional": true, - "requires": { - "whatwg-url": "^5.0.0" - } - }, - "node-gyp-build": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", - "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", - "optional": true - }, - "node-releases": { - "version": "1.1.72", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", - "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==", - "dev": true - }, - "nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "optional": true, - "requires": { - "abbrev": "1" - } - }, - "npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "requires": { - "path-key": "^3.0.0" - } - }, - "npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "optional": true, - "requires": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "optional": true - }, - "object-get": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object-get/-/object-get-2.1.1.tgz", - "integrity": "sha512-7n4IpLMzGGcLEMiQKsNR7vCe+N5E9LORFrtNUVy4sO3dj9a3HedZCxEL2T7QuLhcHN1NBuBsMOKaOsAYI9IIvg==", - "dev": true - }, - "object-to-spawn-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object-to-spawn-args/-/object-to-spawn-args-2.0.1.tgz", - "integrity": "sha512-6FuKFQ39cOID+BMZ3QaphcC8Y4cw6LXBLyIgPU+OhIYwviJamPAn+4mITapnSBQrejB+NNp+FMskhD8Cq+Ys3w==", - "dev": true - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "devOptional": true, - "requires": { - "wrappy": "1" - } - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "requires": { - "yocto-queue": "^0.1.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - }, - "dependencies": { - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - } - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "devOptional": true - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", - "dev": true - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "optional": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "rechoir": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.0.tgz", - "integrity": "sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q==", - "dev": true, - "requires": { - "resolve": "^1.9.0" - } - }, - "reduce-extract": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/reduce-extract/-/reduce-extract-1.0.0.tgz", - "integrity": "sha1-Z/I4W+2mUGG19fQxJmLosIDKFSU=", - "dev": true, - "requires": { - "test-value": "^1.0.1" - }, - "dependencies": { - "array-back": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", - "dev": true, - "requires": { - "typical": "^2.6.0" - } - }, - "test-value": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/test-value/-/test-value-1.1.0.tgz", - "integrity": "sha1-oJE29y7AQ9J8iTcHwrFZv6196T8=", - "dev": true, - "requires": { - "array-back": "^1.0.2", - "typical": "^2.4.2" - } - } - } - }, - "reduce-flatten": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-3.0.1.tgz", - "integrity": "sha512-bYo+97BmUUOzg09XwfkwALt4PQH1M5L0wzKerBt6WLm3Fhdd43mMS89HiT1B9pJIqko/6lWx3OnV4J9f2Kqp5Q==", - "dev": true - }, - "reduce-unique": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/reduce-unique/-/reduce-unique-2.0.1.tgz", - "integrity": "sha512-x4jH/8L1eyZGR785WY+ePtyMNhycl1N2XOLxhCbzZFaqF4AXjLzqSxa2UHgJ2ZVR/HHyPOvl1L7xRnW8ye5MdA==", - "dev": true - }, - "reduce-without": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/reduce-without/-/reduce-without-1.0.1.tgz", - "integrity": "sha1-aK0OrRGFXJo31OglbBW7+Hly/Iw=", - "dev": true, - "requires": { - "test-value": "^2.0.0" - }, - "dependencies": { - "array-back": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", - "dev": true, - "requires": { - "typical": "^2.6.0" - } - }, - "test-value": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz", - "integrity": "sha1-Edpv9nDzRxpztiXKTz/c97t0gpE=", - "dev": true, - "requires": { - "array-back": "^1.0.3", - "typical": "^2.6.0" - } - } - } - }, - "requizzle": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz", - "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", - "dev": true, - "requires": { - "lodash": "^4.17.14" - } - }, - "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, - "requires": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - } - }, - "resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "requires": { - "resolve-from": "^5.0.0" - } - }, - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "optional": true, - "requires": { - "glob": "^7.1.3" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "devOptional": true - }, - "schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.8", - "ajv": "^6.12.5", - "ajv-keywords": "^3.5.2" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - }, - "serialize-javascript": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", - "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "optional": true - }, - "shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "requires": { - "kind-of": "^6.0.2" - } - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", - "devOptional": true - }, - "sort-array": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/sort-array/-/sort-array-4.1.4.tgz", - "integrity": "sha512-GVFN6Y1sHKrWaSYOJTk9093ZnrBMc9sP3nuhANU44S4xg3rE6W5Z5WyamuT8VpMBbssnetx5faKCua0LEmUnSw==", - "dev": true, - "requires": { - "array-back": "^5.0.0", - "typical": "^6.0.1" - }, - "dependencies": { - "array-back": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-5.0.0.tgz", - "integrity": "sha512-kgVWwJReZWmVuWOQKEOohXKJX+nD02JAZ54D1RRWlv8L0NebauKAaFxACKzB74RTclt1+WNz5KHaLRDAPZbDEw==", - "dev": true - }, - "typical": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/typical/-/typical-6.0.1.tgz", - "integrity": "sha512-+g3NEp7fJLe9DPa1TArHm9QAA7YciZmWnfAqEaFrBihQ7epOv9i99rjtgb6Iz0wh3WuQDjsCTDfgRoGnmHN81A==", - "dev": true - } - } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true - }, - "stream-connect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/stream-connect/-/stream-connect-1.0.2.tgz", - "integrity": "sha1-GLyB8u2zW4tdmoAJIAqYUxRCipc=", - "dev": true, - "requires": { - "array-back": "^1.0.2" - }, - "dependencies": { - "array-back": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", - "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", - "dev": true, - "requires": { - "typical": "^2.6.0" - } - } - } - }, - "stream-via": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stream-via/-/stream-via-1.0.4.tgz", - "integrity": "sha512-DBp0lSvX5G9KGRDTkR/R+a29H+Wk2xItOF+MpZLLNDWbEV9tGPnqLPxHEYjmiz8xGtJHRIqmI+hCjmNzqoA4nQ==", - "dev": true - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "optional": true, - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "optional": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "optional": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true - }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - }, - "table-layout": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz", - "integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==", - "dev": true, - "requires": { - "array-back": "^2.0.0", - "deep-extend": "~0.6.0", - "lodash.padend": "^4.6.1", - "typical": "^2.6.1", - "wordwrapjs": "^3.0.0" - }, - "dependencies": { - "array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "requires": { - "typical": "^2.6.1" - } - } - } - }, - "taffydb": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", - "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", - "dev": true - }, - "tapable": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz", - "integrity": "sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw==", - "dev": true - }, - "tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", - "optional": true, - "requires": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - } - }, - "temp-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-path/-/temp-path-1.0.0.tgz", - "integrity": "sha1-JLFUOXOrRCiW2a02fdnL2/r+kYs=", - "dev": true - }, - "terser": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.0.tgz", - "integrity": "sha512-HP5/9hp2UaZt5fYkuhNBR8YyRcT8juw8+uFbAme53iN9hblvKnLUTKkmwJG6ocWpIKf8UK4DoeWG4ty0J6S6/g==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.19" - }, - "dependencies": { - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "terser-webpack-plugin": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.3.tgz", - "integrity": "sha512-cxGbMqr6+A2hrIB5ehFIF+F/iST5ZOxvOmy9zih9ySbP1C2oEWQSOUS+2SNBTjzx5xLKO4xnod9eywdfq1Nb9A==", - "dev": true, - "requires": { - "jest-worker": "^27.0.2", - "p-limit": "^3.1.0", - "schema-utils": "^3.0.0", - "serialize-javascript": "^5.0.1", - "source-map": "^0.6.1", - "terser": "^5.7.0" - } - }, - "test-value": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/test-value/-/test-value-3.0.0.tgz", - "integrity": "sha512-sVACdAWcZkSU9x7AOmJo5TqE+GyNJknHaHsMrR6ZnhjVlVN9Yx6FjHrsKZ3BjIpPCT68zYesPWkakrNupwfOTQ==", - "dev": true, - "requires": { - "array-back": "^2.0.0", - "typical": "^2.6.1" - }, - "dependencies": { - "array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "requires": { - "typical": "^2.6.1" - } - } - } - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", - "optional": true - }, - "ts-loader": { - "version": "9.2.6", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.2.6.tgz", - "integrity": "sha512-QMTC4UFzHmu9wU2VHZEmWWE9cUajjfcdcws+Gh7FhiO+Dy0RnR1bNz0YCHqhI0yRowCE9arVnNxYHqELOy9Hjw==", - "dev": true, - "requires": { - "chalk": "^4.1.0", - "enhanced-resolve": "^5.0.0", - "micromatch": "^4.0.0", - "semver": "^7.3.4" - }, - "dependencies": { - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "tslint": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-6.1.3.tgz", - "integrity": "sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "builtin-modules": "^1.1.1", - "chalk": "^2.3.0", - "commander": "^2.12.1", - "diff": "^4.0.1", - "glob": "^7.1.1", - "js-yaml": "^3.13.1", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.3", - "resolve": "^1.3.2", - "semver": "^5.3.0", - "tslib": "^1.13.0", - "tsutils": "^2.29.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "tsutils": { - "version": "2.29.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", - "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", - "dev": true, - "requires": { - "tslib": "^1.8.1" - } - }, - "typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", - "dev": true - }, - "typical": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", - "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", - "dev": true - }, - "uc.micro": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", - "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", - "dev": true - }, - "uglify-js": { - "version": "3.14.5", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.5.tgz", - "integrity": "sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==", - "dev": true, - "optional": true - }, - "underscore": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.2.tgz", - "integrity": "sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g==", - "dev": true - }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "usb": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/usb/-/usb-1.9.2.tgz", - "integrity": "sha512-dryNz030LWBPAf6gj8vyq0Iev3vPbCLHCT8dBw3gQRXRzVNsIdeuU+VjPp3ksmSPkeMAl1k+kQ14Ij0QHyeiAg==", - "optional": true, - "requires": { - "node-addon-api": "^4.2.0", - "node-gyp-build": "^4.3.0" - }, - "dependencies": { - "node-addon-api": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.2.0.tgz", - "integrity": "sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q==", - "optional": true - } - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "optional": true - }, - "walk-back": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/walk-back/-/walk-back-5.1.0.tgz", - "integrity": "sha512-Uhxps5yZcVNbLEAnb+xaEEMdgTXl9qAQDzKYejG2AZ7qPwRQ81lozY9ECDbjLPNWm7YsO1IK5rsP1KoQzXAcGA==", - "dev": true - }, - "watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", - "dev": true, - "requires": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - } - }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", - "optional": true - }, - "webpack": { - "version": "5.66.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.66.0.tgz", - "integrity": "sha512-NJNtGT7IKpGzdW7Iwpn/09OXz9inIkeIQ/ibY6B+MdV1x6+uReqz/5z1L89ezWnpPDWpXF0TY5PCYKQdWVn8Vg==", - "dev": true, - "requires": { - "@types/eslint-scope": "^3.7.0", - "@types/estree": "^0.0.50", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", - "acorn-import-assertions": "^1.7.6", - "browserslist": "^4.14.5", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.8.3", - "es-module-lexer": "^0.9.0", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.9", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^4.2.0", - "mime-types": "^2.1.27", - "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", - "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.2" - } - }, - "webpack-cli": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.9.1.tgz", - "integrity": "sha512-JYRFVuyFpzDxMDB+v/nanUdQYcZtqFPGzmlW4s+UkPMFhSpfRNmf1z4AwYcHJVdvEFAM7FFCQdNTpsBYhDLusQ==", - "dev": true, - "requires": { - "@discoveryjs/json-ext": "^0.5.0", - "@webpack-cli/configtest": "^1.1.0", - "@webpack-cli/info": "^1.4.0", - "@webpack-cli/serve": "^1.6.0", - "colorette": "^2.0.14", - "commander": "^7.0.0", - "execa": "^5.0.0", - "fastest-levenshtein": "^1.0.12", - "import-local": "^3.0.2", - "interpret": "^2.2.0", - "rechoir": "^0.7.0", - "webpack-merge": "^5.7.3" - }, - "dependencies": { - "colorette": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", - "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", - "dev": true - }, - "commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true - } - } - }, - "webpack-merge": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.7.3.tgz", - "integrity": "sha512-6/JUQv0ELQ1igjGDzHkXbVDRxkfA57Zw7PfiupdLFJYrgFqY5ZP8xxbpp2lU3EPwYx89ht5Z/aDkD40hFCm5AA==", - "dev": true, - "requires": { - "clone-deep": "^4.0.1", - "wildcard": "^2.0.0" - } - }, - "webpack-sources": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", - "dev": true - }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "optional": true, - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "optional": true, - "requires": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, - "wildcard": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", - "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", - "dev": true - }, - "wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", - "dev": true - }, - "wordwrapjs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz", - "integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==", - "dev": true, - "requires": { - "reduce-flatten": "^1.0.1", - "typical": "^2.6.1" - }, - "dependencies": { - "reduce-flatten": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz", - "integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc=", - "dev": true - } - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "devOptional": true - }, - "xmlcreate": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", - "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", - "dev": true - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "devOptional": true - }, - "yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true } } diff --git a/package.json b/package.json index cb061d15..4514ce2e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-poweredup", - "version": "8.0.5", + "version": "8.0.6", "description": "A Javascript module to interface with LEGO Powered Up components.", "homepage": "https://github.com/nathankellenicki/node-poweredup/", "main": "dist/node/index-node.js", @@ -18,21 +18,21 @@ "author": "Nathan Kellenicki ", "license": "MIT", "dependencies": { - "@abandonware/noble": "1.9.2-15", - "compare-versions": "^4.1.3", - "debug": "^4.3.3" + "@abandonware/noble": "1.9.2-24", + "compare-versions": "^6.1.0", + "debug": "^4.3.4" }, "devDependencies": { - "@types/debug": "4.1.7", - "@types/node": "^17.0.10", - "@types/web-bluetooth": "0.0.12", + "@types/debug": "4.1.12", + "@types/node": "^20.12.7", + "@types/web-bluetooth": "0.0.20", "buffer": "^6.0.3", - "jsdoc": "^3.5.5", - "jsdoc-to-markdown": "^7.1.0", - "ts-loader": "^9.2.6", + "jsdoc": "^4.0.2", + "jsdoc-to-markdown": "^8.0.1", + "ts-loader": "^9.5.1", "tslint": "^6.1.3", - "typescript": "^4.5.4", - "webpack": "^5.66.0", - "webpack-cli": "^4.9.1" + "typescript": "^5.4.5", + "webpack": "^5.91.0", + "webpack-cli": "^5.1.4" } } diff --git a/src/devices/device.ts b/src/devices/device.ts index 7c232055..54e96246 100644 --- a/src/devices/device.ts +++ b/src/devices/device.ts @@ -25,7 +25,7 @@ export class Device extends EventEmitter { private _isWeDo2SmartHub: boolean; private _isVirtualPort: boolean = false; - private _eventTimer: NodeJS.Timer | null = null; + private _eventTimer: NodeJS.Timeout | null = null; constructor (hub: IDeviceInterface, portId: number, modeMap: {[event: string]: number} = {}, type: Consts.DeviceType = Consts.DeviceType.UNKNOWN) { super(); @@ -178,7 +178,7 @@ export class Device extends EventEmitter { } } - public setEventTimer (timer: NodeJS.Timer) { + public setEventTimer (timer: NodeJS.Timeout) { this._eventTimer = timer; } diff --git a/src/hubs/hub.ts b/src/hubs/hub.ts index e16ce13d..9081e138 100644 --- a/src/hubs/hub.ts +++ b/src/hubs/hub.ts @@ -1,5 +1,5 @@ import { Peripheral } from "@abandonware/noble"; -import compareVersion from "compare-versions"; +import { compareVersions } from "compare-versions"; import { IBLEAbstraction } from "../interfaces"; @@ -47,7 +47,7 @@ export class Hub extends LPF2Hub { protected _checkFirmware (version: string) { - if (compareVersion("1.1.00.0004", version) === 1) { + if (compareVersions("1.1.00.0004", version) === 1) { throw new Error(`Your Powered Up Hub's (${this.name}) firmware is out of date and unsupported by this library. Please update it via the official Powered Up app.`); } } diff --git a/src/hubs/movehub.ts b/src/hubs/movehub.ts index d2902702..8c1cdd17 100644 --- a/src/hubs/movehub.ts +++ b/src/hubs/movehub.ts @@ -1,5 +1,5 @@ import { Peripheral } from "@abandonware/noble"; -import compareVersion from "compare-versions"; +import { compareVersions } from "compare-versions"; import { IBLEAbstraction } from "../interfaces"; @@ -45,7 +45,7 @@ export class MoveHub extends LPF2Hub { protected _checkFirmware (version: string) { - if (compareVersion("2.0.00.0017", version) === 1) { + if (compareVersions("2.0.00.0017", version) === 1) { throw new Error(`Your Move Hub's (${this.name}) firmware is out of date and unsupported by this library. Please update it via the official Powered Up app.`); } }