js-dos 7.2.0 → 7.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/codeql-analysis.yml +70 -0
- package/.github/workflows/yarn-gulp.yml +30 -0
- package/README.md +1 -1
- package/dist/emulators-ui-loader.png +0 -0
- package/dist/js-dos.css +83 -3
- package/dist/js-dos.js +16 -1
- package/dist/js-dos.js.map +1 -1
- package/dist/types/src/backend/jj/jj-config.d.ts +4 -0
- package/dist/types/src/backend/jj/latency.d.ts +1 -0
- package/dist/types/src/{personal.d.ts → backend/v7/personal.d.ts} +0 -0
- package/dist/types/src/backend/v7/v7-config.d.ts +3 -0
- package/dist/types/src/components/controls.d.ts +1 -0
- package/dist/types/src/components/region.d.ts +6 -0
- package/dist/types/src/hardware-transport-layer.d.ts +1 -1
- package/dist/types/src/icons.d.ts +17 -5
- package/dist/types/src/player-app.d.ts +9 -4
- package/dist/types/src/player.d.ts +2 -0
- package/examples/digger/index.html +4 -1
- package/package.json +3 -3
- package/yarn-error.log +9 -9
- package/dist/emulators-ui-loader.gif +0 -0
- package/examples/digger/bundle.jsdos +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: [ 7.xx ]
|
|
17
|
+
pull_request:
|
|
18
|
+
# The branches below must be a subset of the branches above
|
|
19
|
+
branches: [ 7.xx ]
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: '33 3 * * 6'
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
analyze:
|
|
25
|
+
name: Analyze
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
permissions:
|
|
28
|
+
actions: read
|
|
29
|
+
contents: read
|
|
30
|
+
security-events: write
|
|
31
|
+
|
|
32
|
+
strategy:
|
|
33
|
+
fail-fast: false
|
|
34
|
+
matrix:
|
|
35
|
+
language: [ 'typescript' ]
|
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
|
37
|
+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
|
38
|
+
|
|
39
|
+
steps:
|
|
40
|
+
- name: Checkout repository
|
|
41
|
+
uses: actions/checkout@v2
|
|
42
|
+
|
|
43
|
+
# Initializes the CodeQL tools for scanning.
|
|
44
|
+
- name: Initialize CodeQL
|
|
45
|
+
uses: github/codeql-action/init@v1
|
|
46
|
+
with:
|
|
47
|
+
languages: ${{ matrix.language }}
|
|
48
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
49
|
+
# By default, queries listed here will override any specified in a config file.
|
|
50
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
51
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
52
|
+
|
|
53
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
54
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
55
|
+
- name: Autobuild
|
|
56
|
+
uses: github/codeql-action/autobuild@v1
|
|
57
|
+
|
|
58
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
59
|
+
# 📚 https://git.io/JvXDl
|
|
60
|
+
|
|
61
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
62
|
+
# and modify them (or add more) to build your code if your project
|
|
63
|
+
# uses a compiled language
|
|
64
|
+
|
|
65
|
+
#- run: |
|
|
66
|
+
# make bootstrap
|
|
67
|
+
# make release
|
|
68
|
+
|
|
69
|
+
- name: Perform CodeQL Analysis
|
|
70
|
+
uses: github/codeql-action/analyze@v1
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ 7.xx ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ 7.xx ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
strategy:
|
|
14
|
+
matrix:
|
|
15
|
+
node-version: [12.x, 14.x, 16.x]
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v2
|
|
19
|
+
|
|
20
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
|
+
uses: actions/setup-node@v1
|
|
22
|
+
with:
|
|
23
|
+
node-version: ${{ matrix.node-version }}
|
|
24
|
+
|
|
25
|
+
- name: Build
|
|
26
|
+
run: |
|
|
27
|
+
npm install -g yarn
|
|
28
|
+
yarn
|
|
29
|
+
yarn run eslint . --ext ts --max-warnings 0
|
|
30
|
+
yarn run gulp
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# js-dos 7.xx
|
|
2
|
-
|
|
2
|
+
[](https://github.com/caiiiycuk/js-dos/actions/workflows/yarn-gulp.yml)
|
|
3
3
|
|
|
4
4
|
js-dos is a javascript library that allows you to run DOS programs in browser. js-dos provides nice and easy to use javascript api over dosbox.
|
|
5
5
|
|
|
Binary file
|
package/dist/js-dos.css
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.emulator-loader {
|
|
71
|
-
background: url(emulators-ui-loader.
|
|
71
|
+
background: url(emulators-ui-loader.png) no-repeat;
|
|
72
72
|
background-size: cover;
|
|
73
73
|
width: 50px;
|
|
74
74
|
height: 50px;
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
border-color: rgba(255, 255, 255, 0.5);
|
|
156
156
|
|
|
157
157
|
border-style: solid;
|
|
158
|
-
box-shadow: 0 0 2px 2px
|
|
158
|
+
box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 2px 2px rgba(255, 255, 255, 0.5);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.emulator-button {
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.emulator-options {
|
|
212
|
-
justify-content: end;
|
|
212
|
+
justify-content: flex-end;
|
|
213
213
|
flex-wrap: wrap-reverse;
|
|
214
214
|
display: flex;
|
|
215
215
|
flex-direction: row;
|
|
@@ -788,6 +788,10 @@ video {
|
|
|
788
788
|
* Ensure the default browser behavior of the `hidden` attribute.
|
|
789
789
|
*/
|
|
790
790
|
|
|
791
|
+
[hidden] {
|
|
792
|
+
display: none;
|
|
793
|
+
}
|
|
794
|
+
|
|
791
795
|
*, ::before, ::after {
|
|
792
796
|
--tw-border-opacity: 1;
|
|
793
797
|
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
|
@@ -821,6 +825,10 @@ video {
|
|
|
821
825
|
bottom: 0px;
|
|
822
826
|
}
|
|
823
827
|
|
|
828
|
+
.bottom-2 {
|
|
829
|
+
bottom: 0.5rem;
|
|
830
|
+
}
|
|
831
|
+
|
|
824
832
|
.left-0 {
|
|
825
833
|
left: 0px;
|
|
826
834
|
}
|
|
@@ -837,6 +845,11 @@ video {
|
|
|
837
845
|
z-index: 50;
|
|
838
846
|
}
|
|
839
847
|
|
|
848
|
+
.mx-2 {
|
|
849
|
+
margin-left: 0.5rem;
|
|
850
|
+
margin-right: 0.5rem;
|
|
851
|
+
}
|
|
852
|
+
|
|
840
853
|
.my-4 {
|
|
841
854
|
margin-top: 1rem;
|
|
842
855
|
margin-bottom: 1rem;
|
|
@@ -850,10 +863,18 @@ video {
|
|
|
850
863
|
margin-top: 0.5rem;
|
|
851
864
|
}
|
|
852
865
|
|
|
866
|
+
.mt-8 {
|
|
867
|
+
margin-top: 2rem;
|
|
868
|
+
}
|
|
869
|
+
|
|
853
870
|
.-mt-6 {
|
|
854
871
|
margin-top: -1.5rem;
|
|
855
872
|
}
|
|
856
873
|
|
|
874
|
+
.-mt-7 {
|
|
875
|
+
margin-top: -1.75rem;
|
|
876
|
+
}
|
|
877
|
+
|
|
857
878
|
.mr-2 {
|
|
858
879
|
margin-right: 0.5rem;
|
|
859
880
|
}
|
|
@@ -878,6 +899,10 @@ video {
|
|
|
878
899
|
display: table;
|
|
879
900
|
}
|
|
880
901
|
|
|
902
|
+
.hidden {
|
|
903
|
+
display: none;
|
|
904
|
+
}
|
|
905
|
+
|
|
881
906
|
.h-4 {
|
|
882
907
|
height: 1rem;
|
|
883
908
|
}
|
|
@@ -1016,6 +1041,11 @@ video {
|
|
|
1016
1041
|
}
|
|
1017
1042
|
}
|
|
1018
1043
|
|
|
1044
|
+
.animate-spin {
|
|
1045
|
+
-webkit-animation: spin 1s linear infinite;
|
|
1046
|
+
animation: spin 1s linear infinite;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1019
1049
|
.animate-pulse {
|
|
1020
1050
|
-webkit-animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
1021
1051
|
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
@@ -1041,10 +1071,18 @@ video {
|
|
|
1041
1071
|
justify-content: center;
|
|
1042
1072
|
}
|
|
1043
1073
|
|
|
1074
|
+
.justify-between {
|
|
1075
|
+
justify-content: space-between;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1044
1078
|
.justify-evenly {
|
|
1045
1079
|
justify-content: space-evenly;
|
|
1046
1080
|
}
|
|
1047
1081
|
|
|
1082
|
+
.self-center {
|
|
1083
|
+
align-self: center;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1048
1086
|
.overflow-hidden {
|
|
1049
1087
|
overflow: hidden;
|
|
1050
1088
|
}
|
|
@@ -1053,6 +1091,10 @@ video {
|
|
|
1053
1091
|
text-overflow: ellipsis;
|
|
1054
1092
|
}
|
|
1055
1093
|
|
|
1094
|
+
.whitespace-nowrap {
|
|
1095
|
+
white-space: nowrap;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1056
1098
|
.rounded {
|
|
1057
1099
|
border-radius: 0.25rem;
|
|
1058
1100
|
}
|
|
@@ -1083,6 +1125,10 @@ video {
|
|
|
1083
1125
|
border-bottom-width: 2px;
|
|
1084
1126
|
}
|
|
1085
1127
|
|
|
1128
|
+
.border-l-2 {
|
|
1129
|
+
border-left-width: 2px;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1086
1132
|
.border-gray-400 {
|
|
1087
1133
|
--tw-border-opacity: 1;
|
|
1088
1134
|
border-color: rgba(156, 163, 175, var(--tw-border-opacity));
|
|
@@ -1108,6 +1154,11 @@ video {
|
|
|
1108
1154
|
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
|
|
1109
1155
|
}
|
|
1110
1156
|
|
|
1157
|
+
.px-2 {
|
|
1158
|
+
padding-left: 0.5rem;
|
|
1159
|
+
padding-right: 0.5rem;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1111
1162
|
.px-4 {
|
|
1112
1163
|
padding-left: 1rem;
|
|
1113
1164
|
padding-right: 1rem;
|
|
@@ -1122,6 +1173,10 @@ video {
|
|
|
1122
1173
|
padding-top: 1.5rem;
|
|
1123
1174
|
}
|
|
1124
1175
|
|
|
1176
|
+
.pr-2 {
|
|
1177
|
+
padding-right: 0.5rem;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1125
1180
|
.pb-2 {
|
|
1126
1181
|
padding-bottom: 0.5rem;
|
|
1127
1182
|
}
|
|
@@ -1130,10 +1185,31 @@ video {
|
|
|
1130
1185
|
padding-bottom: 1rem;
|
|
1131
1186
|
}
|
|
1132
1187
|
|
|
1188
|
+
.pl-2 {
|
|
1189
|
+
padding-left: 0.5rem;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.text-center {
|
|
1193
|
+
text-align: center;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.font-mono {
|
|
1197
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1133
1200
|
.font-bold {
|
|
1134
1201
|
font-weight: 700;
|
|
1135
1202
|
}
|
|
1136
1203
|
|
|
1204
|
+
.uppercase {
|
|
1205
|
+
text-transform: uppercase;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.text-black {
|
|
1209
|
+
--tw-text-opacity: 1;
|
|
1210
|
+
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1137
1213
|
.text-gray-400 {
|
|
1138
1214
|
--tw-text-opacity: 1;
|
|
1139
1215
|
color: rgba(156, 163, 175, var(--tw-text-opacity));
|
|
@@ -1174,6 +1250,10 @@ video {
|
|
|
1174
1250
|
color: rgba(31, 41, 55, var(--tw-text-opacity));
|
|
1175
1251
|
}
|
|
1176
1252
|
|
|
1253
|
+
.underline {
|
|
1254
|
+
text-decoration: underline;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1177
1257
|
.opacity-80 {
|
|
1178
1258
|
opacity: 0.8;
|
|
1179
1259
|
}
|