Skip to content

Commit 2f213f2

Browse files
2 parents ffaf0f8 + 3f1c0dc commit 2f213f2

888 files changed

Lines changed: 39356 additions & 8950 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/postCreate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
echo "Post Create Starting"
22

3+
export NVM_DIR="/usr/local/share/nvm"
4+
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
5+
36
nvm install
47
nvm use
58
npm install gulp-cli -g

.github/actions/load/action.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Load working directory
2+
description: Load working directory saved with "actions/save"
3+
inputs:
4+
name:
5+
description: The name used with actions/save
6+
7+
runs:
8+
using: 'composite'
9+
steps:
10+
- name: Set up Node.js
11+
uses: actions/setup-node@v6
12+
with:
13+
node-version: '20'
14+
15+
- name: 'Clear working directory'
16+
shell: bash
17+
run: |
18+
rm -r ./*
19+
20+
- name: Download artifact
21+
uses: actions/download-artifact@v5
22+
with:
23+
path: '${{ runner.temp }}'
24+
name: '${{ inputs.name }}'
25+
26+
- name: 'Untar working directory'
27+
shell: bash
28+
run: |
29+
tar -xf '${{ runner.temp }}/${{ inputs.name }}.tar' .
30+

.github/actions/save/action.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Save working directory
2+
description: Save working directory, preserving permissions
3+
inputs:
4+
name:
5+
description: a name to reference with actions/load
6+
7+
runs:
8+
using: 'composite'
9+
steps:
10+
- name: Tar working directory
11+
shell: bash
12+
run: |
13+
tar -cf "${{ runner.temp }}/${{ inputs.name }}.tar" .
14+
- name: Upload artifact
15+
uses: actions/upload-artifact@v4
16+
with:
17+
path: '${{ runner.temp }}/${{ inputs.name }}.tar'
18+
name: ${{ inputs.name }}
19+
overwrite: true
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Wait for browserstack sessions
2+
description: Wait until enough browserstack sessions have become available
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- shell: bash
8+
run: |
9+
while
10+
status=$(curl -u "${BROWSERSTACK_USERNAME}:${BROWSERSTACK_ACCESS_KEY}" \
11+
-X GET "https://api-cloud.browserstack.com/automate/plan.json" 2> /dev/null);
12+
running=$(jq '.parallel_sessions_running' <<< $status)
13+
max_running=$(jq '.parallel_sessions_max_allowed' <<< $status)
14+
queued=$(jq '.queued_sessions' <<< $status)
15+
max_queued=$(jq '.queued_sessions_max_allowed' <<< $status)
16+
spare=$(( ${max_running} + ${max_queued} - ${running} - ${queued} ))
17+
required=6
18+
echo "Browserstack status: ${running} sessions running, ${queued} queued, ${spare} free"
19+
(( ${required} > ${spare} ))
20+
do
21+
delay=$(( 60 + $(shuf -i 1-60 -n 1) ))
22+
echo "Waiting for ${required} sessions to free up, checking again in ${delay}s"
23+
sleep $delay
24+
done
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// this file is autogenerated, see fingerprintApis.mjs
2+
3+
class DOMMethod extends string {
4+
5+
float weight;
6+
string type;
7+
8+
DOMMethod() {
9+
10+
( this = "getChannelData" and weight = 827.19 and type = "AudioBuffer" )
11+
or
12+
( this = "toDataURL" and weight = 27.15 and type = "HTMLCanvasElement" )
13+
}
14+
15+
float getWeight() {
16+
result = weight
17+
}
18+
19+
string getType() {
20+
result = type
21+
}
22+
23+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// this file is autogenerated, see fingerprintApis.mjs
2+
3+
class EventProperty extends string {
4+
5+
float weight;
6+
string event;
7+
8+
EventProperty() {
9+
10+
( this = "accelerationIncludingGravity" and weight = 149.23 and event = "devicemotion" )
11+
or
12+
( this = "beta" and weight = 1075.3 and event = "deviceorientation" )
13+
or
14+
( this = "gamma" and weight = 395.62 and event = "deviceorientation" )
15+
or
16+
( this = "alpha" and weight = 366.53 and event = "deviceorientation" )
17+
or
18+
( this = "candidate" and weight = 69.63 and event = "icecandidate" )
19+
or
20+
( this = "acceleration" and weight = 58.05 and event = "devicemotion" )
21+
or
22+
( this = "rotationRate" and weight = 57.59 and event = "devicemotion" )
23+
or
24+
( this = "absolute" and weight = 387.12 and event = "deviceorientation" )
25+
}
26+
27+
float getWeight() {
28+
result = weight
29+
}
30+
31+
string getEvent() {
32+
result = event
33+
}
34+
35+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// this file is autogenerated, see fingerprintApis.mjs
2+
3+
class GlobalConstructor extends string {
4+
5+
float weight;
6+
7+
GlobalConstructor() {
8+
9+
( this = "SharedWorker" and weight = 78.14 )
10+
or
11+
( this = "OfflineAudioContext" and weight = 1135.77 )
12+
or
13+
( this = "RTCPeerConnection" and weight = 49.44 )
14+
or
15+
( this = "Gyroscope" and weight = 142.79 )
16+
or
17+
( this = "AudioWorkletNode" and weight = 17.63 )
18+
}
19+
20+
float getWeight() {
21+
result = weight
22+
}
23+
24+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// this file is autogenerated, see fingerprintApis.mjs
2+
3+
class GlobalObjectProperty0 extends string {
4+
5+
float weight;
6+
string global0;
7+
8+
GlobalObjectProperty0() {
9+
10+
( this = "availHeight" and weight = 70.68 and global0 = "screen" )
11+
or
12+
( this = "availWidth" and weight = 65.56 and global0 = "screen" )
13+
or
14+
( this = "colorDepth" and weight = 34.27 and global0 = "screen" )
15+
or
16+
( this = "deviceMemory" and weight = 75.06 and global0 = "navigator" )
17+
or
18+
( this = "availTop" and weight = 1240.09 and global0 = "screen" )
19+
or
20+
( this = "cookieEnabled" and weight = 15.3 and global0 = "navigator" )
21+
or
22+
( this = "pixelDepth" and weight = 37.72 and global0 = "screen" )
23+
or
24+
( this = "availLeft" and weight = 547.54 and global0 = "screen" )
25+
or
26+
( this = "orientation" and weight = 35.82 and global0 = "screen" )
27+
or
28+
( this = "vendorSub" and weight = 1791.96 and global0 = "navigator" )
29+
or
30+
( this = "productSub" and weight = 482.29 and global0 = "navigator" )
31+
or
32+
( this = "webkitTemporaryStorage" and weight = 40.79 and global0 = "navigator" )
33+
or
34+
( this = "hardwareConcurrency" and weight = 67.85 and global0 = "navigator" )
35+
or
36+
( this = "appCodeName" and weight = 143.58 and global0 = "navigator" )
37+
or
38+
( this = "onLine" and weight = 19.76 and global0 = "navigator" )
39+
or
40+
( this = "webdriver" and weight = 31.25 and global0 = "navigator" )
41+
or
42+
( this = "keyboard" and weight = 957.44 and global0 = "navigator" )
43+
or
44+
( this = "mediaDevices" and weight = 121.74 and global0 = "navigator" )
45+
or
46+
( this = "storage" and weight = 151.33 and global0 = "navigator" )
47+
or
48+
( this = "mediaCapabilities" and weight = 126.07 and global0 = "navigator" )
49+
or
50+
( this = "permissions" and weight = 66.75 and global0 = "navigator" )
51+
or
52+
( this = "permission" and weight = 22.02 and global0 = "Notification" )
53+
or
54+
( this = "getBattery" and weight = 114.16 and global0 = "navigator" )
55+
or
56+
( this = "webkitPersistentStorage" and weight = 150.79 and global0 = "navigator" )
57+
or
58+
( this = "requestMediaKeySystemAccess" and weight = 17.34 and global0 = "navigator" )
59+
or
60+
( this = "getGamepads" and weight = 235.72 and global0 = "navigator" )
61+
}
62+
63+
float getWeight() {
64+
result = weight
65+
}
66+
67+
string getGlobal0() {
68+
result = global0
69+
}
70+
71+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// this file is autogenerated, see fingerprintApis.mjs
2+
3+
class GlobalObjectProperty1 extends string {
4+
5+
float weight;
6+
string global0;
7+
string global1;
8+
9+
GlobalObjectProperty1() {
10+
11+
( this = "enumerateDevices" and weight = 301.74 and global0 = "navigator" and global1 = "mediaDevices" )
12+
}
13+
14+
float getWeight() {
15+
result = weight
16+
}
17+
18+
string getGlobal0() {
19+
result = global0
20+
}
21+
22+
string getGlobal1() {
23+
result = global1
24+
}
25+
26+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// this file is autogenerated, see fingerprintApis.mjs
2+
3+
class GlobalTypeProperty0 extends string {
4+
5+
float weight;
6+
string global0;
7+
8+
GlobalTypeProperty0() {
9+
10+
( this = "x" and weight = 5043.14 and global0 = "Gyroscope" )
11+
or
12+
( this = "y" and weight = 5043.14 and global0 = "Gyroscope" )
13+
or
14+
( this = "z" and weight = 5043.14 and global0 = "Gyroscope" )
15+
}
16+
17+
float getWeight() {
18+
result = weight
19+
}
20+
21+
string getGlobal0() {
22+
result = global0
23+
}
24+
25+
}

0 commit comments

Comments
 (0)