pxt-common-packages 13.2.6 → 13.2.8
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/libs/azureiot/built/debug/binary.js +5 -5
- package/libs/base/console.ts +2 -0
- package/libs/base/control.cpp +2 -0
- package/libs/base/control.ts +3 -0
- package/libs/base/eventcontext.ts +1 -0
- package/libs/base/loops.cpp +1 -0
- package/libs/base/math.ts +2 -0
- package/libs/base/pause.ts +1 -0
- package/libs/color/colors.ts +3 -0
- package/libs/controller/built/debug/binary.js +27 -27
- package/libs/controller---none/built/debug/binary.js +27 -27
- package/libs/esp32/built/debug/binary.js +5 -5
- package/libs/game/built/debug/binary.js +27 -27
- package/libs/microphone/microphone.cpp +1 -0
- package/libs/microphone/shims.d.ts +1 -0
- package/libs/mixer/instrument.ts +31 -27
- package/libs/net-game/built/debug/binary.js +28 -28
- package/libs/palette/built/debug/binary.js +27 -27
- package/libs/radio/radio.cpp +4 -0
- package/libs/radio/radio.ts +5 -0
- package/libs/radio/shims.d.ts +4 -0
- package/libs/radio-broadcast/radio-broadcast.ts +2 -0
- package/libs/screen/built/debug/binary.js +2 -2
- package/libs/servo/servo.ts +5 -0
- package/libs/sprite-scaling/built/debug/binary.js +27 -27
- package/libs/storyboard/built/debug/binary.js +27 -27
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=1687714 new=70.95% cached=0.00% other=29.05%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -2207,7 +2207,7 @@ switch (step) {
|
|
|
2207
2207
|
return leave(s, r0)
|
|
2208
2208
|
default: oops()
|
|
2209
2209
|
} } }
|
|
2210
|
-
console_addListener__P159323.info = {"start":
|
|
2210
|
+
console_addListener__P159323.info = {"start":3632,"length":197,"line":123,"column":4,"endLine":126,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]}
|
|
2211
2211
|
|
|
2212
2212
|
function console_addListener__P159323_mk(s) {
|
|
2213
2213
|
checkStack(s.depth);
|
|
@@ -4971,7 +4971,7 @@ switch (step) {
|
|
|
4971
4971
|
return leaveAccessor(s, r0)
|
|
4972
4972
|
default: oops()
|
|
4973
4973
|
} } }
|
|
4974
|
-
control_EventContext_deltaTime__P159350.info = {"start":
|
|
4974
|
+
control_EventContext_deltaTime__P159350.info = {"start":2182,"length":75,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]}
|
|
4975
4975
|
control_EventContext_deltaTime__P159350.isGetter = true;
|
|
4976
4976
|
|
|
4977
4977
|
function control_EventContext_deltaTime__P159350_mk(s) {
|
|
@@ -7014,7 +7014,7 @@ switch (step) {
|
|
|
7014
7014
|
return leave(s, r0)
|
|
7015
7015
|
default: oops()
|
|
7016
7016
|
} } }
|
|
7017
|
-
control_onEvent__P159342.info = {"start":
|
|
7017
|
+
control_onEvent__P159342.info = {"start":383,"length":325,"line":10,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]}
|
|
7018
7018
|
|
|
7019
7019
|
function control_onEvent__P159342_mk(s) {
|
|
7020
7020
|
checkStack(s.depth);
|
|
@@ -7121,7 +7121,7 @@ switch (step) {
|
|
|
7121
7121
|
return leave(s, r0)
|
|
7122
7122
|
default: oops()
|
|
7123
7123
|
} } }
|
|
7124
|
-
control_EventContext_registerHandler__P159357.info = {"start":
|
|
7124
|
+
control_EventContext_registerHandler__P159357.info = {"start":5807,"length":525,"line":174,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]}
|
|
7125
7125
|
|
|
7126
7126
|
function control_EventContext_registerHandler__P159357_mk(s) {
|
|
7127
7127
|
checkStack(s.depth);
|
|
@@ -7178,7 +7178,7 @@ switch (step) {
|
|
|
7178
7178
|
return leave(s, r0)
|
|
7179
7179
|
default: oops()
|
|
7180
7180
|
} } }
|
|
7181
|
-
control_EventHandler_register__P159345.info = {"start":
|
|
7181
|
+
control_EventHandler_register__P159345.info = {"start":1008,"length":165,"line":31,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
|
|
7182
7182
|
|
|
7183
7183
|
function control_EventHandler_register__P159345_mk(s) {
|
|
7184
7184
|
checkStack(s.depth);
|
|
@@ -7228,7 +7228,7 @@ switch (step) {
|
|
|
7228
7228
|
return leave(s, r0)
|
|
7229
7229
|
default: oops()
|
|
7230
7230
|
} } }
|
|
7231
|
-
control_EventHandler_register_inline__P163270.info = {"start":
|
|
7231
|
+
control_EventHandler_register_inline__P163270.info = {"start":1079,"length":71,"line":32,"column":58,"endLine":34,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
|
|
7232
7232
|
|
|
7233
7233
|
function control_EventHandler_register_inline__P163270_mk(s) {
|
|
7234
7234
|
checkStack(s.depth);
|
|
@@ -7270,7 +7270,7 @@ switch (step) {
|
|
|
7270
7270
|
return leave(s, r0)
|
|
7271
7271
|
default: oops()
|
|
7272
7272
|
} } }
|
|
7273
|
-
control_EventHandler_constructor__P159347.info = {"start":
|
|
7273
|
+
control_EventHandler_constructor__P159347.info = {"start":833,"length":165,"line":24,"column":8,"endLine":29,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]}
|
|
7274
7274
|
|
|
7275
7275
|
function control_EventHandler_constructor__P159347_mk(s) {
|
|
7276
7276
|
checkStack(s.depth);
|
|
@@ -7315,7 +7315,7 @@ switch (step) {
|
|
|
7315
7315
|
return leave(s, r0)
|
|
7316
7316
|
default: oops()
|
|
7317
7317
|
} } }
|
|
7318
|
-
control_eventContext__P159365.info = {"start":
|
|
7318
|
+
control_eventContext__P159365.info = {"start":7141,"length":136,"line":214,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]}
|
|
7319
7319
|
|
|
7320
7320
|
function control_eventContext__P159365_mk(s) {
|
|
7321
7321
|
checkStack(s.depth);
|
|
@@ -11127,7 +11127,7 @@ switch (step) {
|
|
|
11127
11127
|
return leave(s, r0)
|
|
11128
11128
|
default: oops()
|
|
11129
11129
|
} } }
|
|
11130
|
-
control_EventContext_registerFrameHandler__P159355.info = {"start":
|
|
11130
|
+
control_EventContext_registerFrameHandler__P159355.info = {"start":4909,"length":643,"line":148,"column":8,"endLine":165,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]}
|
|
11131
11131
|
|
|
11132
11132
|
function control_EventContext_registerFrameHandler__P159355_mk(s) {
|
|
11133
11133
|
checkStack(s.depth);
|
|
@@ -11192,7 +11192,7 @@ switch (step) {
|
|
|
11192
11192
|
return leave(s, r0)
|
|
11193
11193
|
default: oops()
|
|
11194
11194
|
} } }
|
|
11195
|
-
control_EventContext_registerFrameCallbacks__P159352.info = {"start":
|
|
11195
|
+
control_EventContext_registerFrameCallbacks__P159352.info = {"start":3715,"length":895,"line":110,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]}
|
|
11196
11196
|
|
|
11197
11197
|
function control_EventContext_registerFrameCallbacks__P159352_mk(s) {
|
|
11198
11198
|
checkStack(s.depth);
|
|
@@ -11268,7 +11268,7 @@ switch (step) {
|
|
|
11268
11268
|
return leave(s, r0)
|
|
11269
11269
|
default: oops()
|
|
11270
11270
|
} } }
|
|
11271
|
-
control_EventContext_registerFrameCallbacks_inline__P164433.info = {"start":
|
|
11271
|
+
control_EventContext_registerFrameCallbacks_inline__P164433.info = {"start":3876,"length":723,"line":114,"column":34,"endLine":133,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
|
|
11272
11272
|
|
|
11273
11273
|
function control_EventContext_registerFrameCallbacks_inline__P164433_mk(s) {
|
|
11274
11274
|
checkStack(s.depth);
|
|
@@ -11302,7 +11302,7 @@ switch (step) {
|
|
|
11302
11302
|
return leave(s, r0)
|
|
11303
11303
|
default: oops()
|
|
11304
11304
|
} } }
|
|
11305
|
-
control_EventContext_registerFrameCallbacks_inline__P164439.info = {"start":
|
|
11305
|
+
control_EventContext_registerFrameCallbacks_inline__P164439.info = {"start":4107,"length":28,"line":118,"column":31,"endLine":118,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]}
|
|
11306
11306
|
|
|
11307
11307
|
function control_EventContext_registerFrameCallbacks_inline__P164439_mk(s) {
|
|
11308
11308
|
checkStack(s.depth);
|
|
@@ -11569,7 +11569,7 @@ switch (step) {
|
|
|
11569
11569
|
return leave(s, r0)
|
|
11570
11570
|
default: oops()
|
|
11571
11571
|
} } }
|
|
11572
|
-
control_EventContext_runCallbacks__P159351.info = {"start":
|
|
11572
|
+
control_EventContext_runCallbacks__P159351.info = {"start":2267,"length":1395,"line":76,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]}
|
|
11573
11573
|
|
|
11574
11574
|
function control_EventContext_runCallbacks__P159351_mk(s) {
|
|
11575
11575
|
checkStack(s.depth);
|
|
@@ -12061,7 +12061,7 @@ switch (step) {
|
|
|
12061
12061
|
return leave(s, r0)
|
|
12062
12062
|
default: oops()
|
|
12063
12063
|
} } }
|
|
12064
|
-
control_pushEventContext__P159366.info = {"start":
|
|
12064
|
+
control_pushEventContext__P159366.info = {"start":7357,"length":340,"line":221,"column":4,"endLine":232,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]}
|
|
12065
12065
|
|
|
12066
12066
|
function control_pushEventContext__P159366_mk(s) {
|
|
12067
12067
|
checkStack(s.depth);
|
|
@@ -12116,7 +12116,7 @@ switch (step) {
|
|
|
12116
12116
|
return leave(s, r0)
|
|
12117
12117
|
default: oops()
|
|
12118
12118
|
} } }
|
|
12119
|
-
control_EventContext_constructor__P159363.info = {"start":
|
|
12119
|
+
control_EventContext_constructor__P159363.info = {"start":1825,"length":347,"line":60,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]}
|
|
12120
12120
|
|
|
12121
12121
|
function control_EventContext_constructor__P159363_mk(s) {
|
|
12122
12122
|
checkStack(s.depth);
|
|
@@ -12182,7 +12182,7 @@ switch (step) {
|
|
|
12182
12182
|
return leave(s, r0)
|
|
12183
12183
|
default: oops()
|
|
12184
12184
|
} } }
|
|
12185
|
-
control_EventContext_unregister__P159354.info = {"start":
|
|
12185
|
+
control_EventContext_unregister__P159354.info = {"start":4768,"length":131,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
|
|
12186
12186
|
|
|
12187
12187
|
function control_EventContext_unregister__P159354_mk(s) {
|
|
12188
12188
|
checkStack(s.depth);
|
|
@@ -12228,7 +12228,7 @@ switch (step) {
|
|
|
12228
12228
|
return leave(s, r0)
|
|
12229
12229
|
default: oops()
|
|
12230
12230
|
} } }
|
|
12231
|
-
control_EventHandler_unregister__P159346.info = {"start":
|
|
12231
|
+
control_EventHandler_unregister__P159346.info = {"start":1183,"length":106,"line":37,"column":8,"endLine":39,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]}
|
|
12232
12232
|
|
|
12233
12233
|
function control_EventHandler_unregister__P159346_mk(s) {
|
|
12234
12234
|
checkStack(s.depth);
|
|
@@ -12258,7 +12258,7 @@ switch (step) {
|
|
|
12258
12258
|
return leave(s, r0)
|
|
12259
12259
|
default: oops()
|
|
12260
12260
|
} } }
|
|
12261
|
-
control_doNothing__P159348.info = {"start":
|
|
12261
|
+
control_doNothing__P159348.info = {"start":1301,"length":24,"line":42,"column":4,"endLine":42,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]}
|
|
12262
12262
|
|
|
12263
12263
|
function control_doNothing__P159348_mk(s) {
|
|
12264
12264
|
checkStack(s.depth);
|
|
@@ -14078,7 +14078,7 @@ switch (step) {
|
|
|
14078
14078
|
return leave(s, r0)
|
|
14079
14079
|
default: oops()
|
|
14080
14080
|
} } }
|
|
14081
|
-
control_popEventContext__P159367.info = {"start":
|
|
14081
|
+
control_popEventContext__P159367.info = {"start":7802,"length":413,"line":237,"column":4,"endLine":251,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]}
|
|
14082
14082
|
|
|
14083
14083
|
function control_popEventContext__P159367_mk(s) {
|
|
14084
14084
|
checkStack(s.depth);
|
|
@@ -14145,7 +14145,7 @@ switch (step) {
|
|
|
14145
14145
|
return leave(s, r0)
|
|
14146
14146
|
default: oops()
|
|
14147
14147
|
} } }
|
|
14148
|
-
control_EventContext_register__P159353.info = {"start":
|
|
14148
|
+
control_EventContext_register__P159353.info = {"start":4620,"length":138,"line":136,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]}
|
|
14149
14149
|
|
|
14150
14150
|
function control_EventContext_register__P159353_mk(s) {
|
|
14151
14151
|
checkStack(s.depth);
|
|
@@ -19796,7 +19796,7 @@ switch (step) {
|
|
|
19796
19796
|
return leave(s, r0)
|
|
19797
19797
|
default: oops()
|
|
19798
19798
|
} } }
|
|
19799
|
-
console_log__P159320.info = {"start":
|
|
19799
|
+
console_log__P159320.info = {"start":1478,"length":86,"line":59,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]}
|
|
19800
19800
|
|
|
19801
19801
|
function console_log__P159320_mk(s) {
|
|
19802
19802
|
checkStack(s.depth);
|
|
@@ -20111,7 +20111,7 @@ switch (step) {
|
|
|
20111
20111
|
return leave(s, r0)
|
|
20112
20112
|
default: oops()
|
|
20113
20113
|
} } }
|
|
20114
|
-
console_inspect__P159322.info = {"start":
|
|
20114
|
+
console_inspect__P159322.info = {"start":2345,"length":1190,"line":83,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]}
|
|
20115
20115
|
|
|
20116
20116
|
function console_inspect__P159322_mk(s) {
|
|
20117
20117
|
checkStack(s.depth);
|
|
@@ -20203,7 +20203,7 @@ switch (step) {
|
|
|
20203
20203
|
return leave(s, r0)
|
|
20204
20204
|
default: oops()
|
|
20205
20205
|
} } }
|
|
20206
|
-
console_inspect_inline__P166988.info = {"start":
|
|
20206
|
+
console_inspect_inline__P166988.info = {"start":3367,"length":61,"line":110,"column":20,"endLine":110,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]}
|
|
20207
20207
|
|
|
20208
20208
|
function console_inspect_inline__P166988_mk(s) {
|
|
20209
20209
|
checkStack(s.depth);
|
|
@@ -25316,7 +25316,7 @@ switch (step) {
|
|
|
25316
25316
|
return leave(s, r0)
|
|
25317
25317
|
default: oops()
|
|
25318
25318
|
} } }
|
|
25319
|
-
control_ramSize__P159290.info = {"start":
|
|
25319
|
+
control_ramSize__P159290.info = {"start":4922,"length":100,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]}
|
|
25320
25320
|
|
|
25321
25321
|
function control_ramSize__P159290_mk(s) {
|
|
25322
25322
|
checkStack(s.depth);
|
|
@@ -25344,7 +25344,7 @@ switch (step) {
|
|
|
25344
25344
|
return leave(s, r0)
|
|
25345
25345
|
default: oops()
|
|
25346
25346
|
} } }
|
|
25347
|
-
control__ramSize__P159289.info = {"start":
|
|
25347
|
+
control__ramSize__P159289.info = {"start":4802,"length":60,"line":162,"column":4,"endLine":164,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]}
|
|
25348
25348
|
|
|
25349
25349
|
function control__ramSize__P159289_mk(s) {
|
|
25350
25350
|
checkStack(s.depth);
|
|
@@ -27610,7 +27610,7 @@ switch (step) {
|
|
|
27610
27610
|
return leave(s, r0)
|
|
27611
27611
|
default: oops()
|
|
27612
27612
|
} } }
|
|
27613
|
-
pause__P159371.info = {"start":
|
|
27613
|
+
pause__P159371.info = {"start":267,"length":57,"line":8,"column":0,"endLine":10,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
|
|
27614
27614
|
|
|
27615
27615
|
function pause__P159371_mk(s) {
|
|
27616
27616
|
checkStack(s.depth);
|