pxt-common-packages 13.1.2 → 13.1.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/libs/accelerometer/built/debug/binary.js +9 -10
- package/libs/azureiot/built/debug/binary.js +462 -497
- package/libs/cable/_locales/cable-strings.json +1 -0
- package/libs/color/built/debug/binary.js +9 -10
- package/libs/color-sensor/built/debug/binary.js +9 -10
- package/libs/controller/built/debug/binary.js +7349 -7898
- package/libs/controller---none/built/debug/binary.js +7329 -7876
- package/libs/core/built/debug/binary.js +1 -2
- package/libs/core---samd/built/debug/binary.js +9 -10
- package/libs/datalogger/built/debug/binary.js +64 -72
- package/libs/edge-connector/built/debug/binary.js +9 -10
- package/libs/esp32/built/debug/binary.js +463 -498
- package/libs/game/_locales/game-strings.json +8 -0
- package/libs/game/built/debug/binary.js +7268 -7812
- package/libs/gamepad/built/debug/binary.js +9 -10
- package/libs/infrared/_locales/infrared-strings.json +1 -0
- package/libs/keyboard/built/debug/binary.js +9 -10
- package/libs/lcd/built/debug/binary.js +9 -10
- package/libs/light/built/debug/binary.js +9 -10
- package/libs/light/defaultlights.ts +14 -14
- package/libs/light/docs/reference/light/animation.md +33 -0
- package/libs/light-spectrum-sensor/built/debug/binary.js +9 -10
- package/libs/lora/built/debug/binary.js +9 -10
- package/libs/matrix-keypad/built/debug/binary.js +9 -10
- package/libs/microphone/built/debug/binary.js +9 -10
- package/libs/mixer/melody.ts +2 -0
- package/libs/mouse/built/debug/binary.js +9 -10
- package/libs/mqtt/built/debug/binary.js +177 -193
- package/libs/music/built/debug/binary.js +9 -10
- package/libs/net/built/debug/binary.js +177 -193
- package/libs/net-game/built/debug/binary.js +8985 -9642
- package/libs/palette/built/debug/binary.js +7263 -7807
- package/libs/pixel/built/debug/binary.js +9 -10
- package/libs/power/built/debug/binary.js +9 -10
- package/libs/proximity/built/debug/binary.js +9 -10
- package/libs/pulse/built/debug/binary.js +9 -10
- package/libs/radio/_locales/radio-strings.json +5 -0
- package/libs/radio/built/debug/binary.js +9 -10
- package/libs/radio-broadcast/built/debug/binary.js +9 -10
- package/libs/rotary-encoder/built/debug/binary.js +9 -10
- package/libs/rotary-encoder/docs/reference/encoders/on-changed.md +29 -0
- package/libs/rotary-encoder/docs/reference/encoders/position.md +33 -0
- package/libs/rotary-encoder/rotary.cpp +2 -2
- package/libs/rotary-encoder/shims.d.ts +2 -2
- package/libs/screen/built/debug/binary.js +51 -58
- package/libs/servo/built/debug/binary.js +9 -10
- package/libs/sprite-scaling/built/debug/binary.js +7267 -7811
- package/libs/storyboard/built/debug/binary.js +7267 -7811
- package/libs/tests/built/debug/binary.js +16 -17
- package/libs/thermometer/built/debug/binary.js +9 -10
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=3310 new=32.42% cached=0.00% other=67.58%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P26233(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,33 +66,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
71
|
-
globals.
|
|
72
|
-
globals.
|
|
73
|
-
globals.
|
|
74
|
-
globals.
|
|
75
|
-
globals.
|
|
76
|
-
globals.
|
|
69
|
+
globals._intervals___26477 = (undefined);
|
|
70
|
+
globals._pollEventQueue___26490 = (undefined);
|
|
71
|
+
globals._tests___26677 = (undefined);
|
|
72
|
+
globals._currentTest___26679 = (undefined);
|
|
73
|
+
globals._runSetup___26681 = (undefined);
|
|
74
|
+
globals._runTearDown___26683 = (undefined);
|
|
75
|
+
globals._testSetUp___26685 = (undefined);
|
|
76
|
+
globals._testTearDown___26687 = (undefined);
|
|
77
77
|
r0 = undefined;
|
|
78
78
|
return leave(s, r0)
|
|
79
79
|
default: oops()
|
|
80
80
|
} } }
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
_main___P26233.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
|
|
82
|
+
_main___P26233.continuations = [ ]
|
|
83
83
|
|
|
84
|
-
function
|
|
84
|
+
function _main___P26233_mk(s) {
|
|
85
85
|
checkStack(s.depth);
|
|
86
86
|
return {
|
|
87
|
-
parent: s, fn:
|
|
87
|
+
parent: s, fn: _main___P26233, depth: s.depth + 1,
|
|
88
88
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
89
89
|
} }
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
+
const breakpoints = setupDebugger(1, ["_tests___26677","_currentTest___26679","_runSetup___26681","_runTearDown___26683","_testSetUp___26685","_testTearDown___26687"])
|
|
94
95
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
return _main___P26218
|
|
96
|
+
return _main___P26233
|
|
98
97
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// total=
|
|
1
|
+
// total=2915 new=27.41% cached=0.00% other=72.59%
|
|
2
2
|
(function (ectx) {
|
|
3
3
|
'use strict';
|
|
4
4
|
const runtime = ectx.runtime;
|
|
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
|
|
|
56
56
|
const pxsim_numops = pxsim.numops;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function _main___P14370(s) {
|
|
60
60
|
let r0 = s.r0, step = s.pc;
|
|
61
61
|
s.pc = -1;
|
|
62
62
|
|
|
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
|
|
|
66
66
|
switch (step) {
|
|
67
67
|
case 0:
|
|
68
68
|
|
|
69
|
-
globals.
|
|
70
|
-
globals.
|
|
69
|
+
globals._intervals___14614 = (undefined);
|
|
70
|
+
globals._pollEventQueue___14627 = (undefined);
|
|
71
71
|
r0 = undefined;
|
|
72
72
|
return leave(s, r0)
|
|
73
73
|
default: oops()
|
|
74
74
|
} } }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
_main___P14370.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/base/ns.ts","functionName":"<main>","argumentNames":[]}
|
|
76
|
+
_main___P14370.continuations = [ ]
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _main___P14370_mk(s) {
|
|
79
79
|
checkStack(s.depth);
|
|
80
80
|
return {
|
|
81
|
-
parent: s, fn:
|
|
81
|
+
parent: s, fn: _main___P14370, depth: s.depth + 1,
|
|
82
82
|
pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
|
|
83
83
|
} }
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
|
|
89
88
|
const breakpoints = setupDebugger(1, [])
|
|
90
89
|
|
|
91
|
-
return
|
|
90
|
+
return _main___P14370
|
|
92
91
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-common-packages",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.5",
|
|
4
4
|
"description": "Microsoft MakeCode (PXT) common packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MakeCode",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
],
|
|
12
12
|
"author": "Microsoft Corporation",
|
|
13
13
|
"repository": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/microsoft/pxt-common-packages.git"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/microsoft/pxt-common-packages",
|
|
18
18
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"libs/**/*"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"pxt-core": "
|
|
27
|
+
"pxt-core": "12.2.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^4.2.3"
|