pxt-common-packages 13.1.5 → 13.1.6

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.
Files changed (51) hide show
  1. package/built/common-sim.d.ts +0 -6
  2. package/built/common-sim.js +0 -23
  3. package/libs/accelerometer/built/debug/binary.js +8 -8
  4. package/libs/azureiot/built/debug/binary.js +461 -461
  5. package/libs/color/built/debug/binary.js +8 -8
  6. package/libs/color-sensor/built/debug/binary.js +8 -8
  7. package/libs/controller/built/debug/binary.js +7348 -7348
  8. package/libs/controller---none/built/debug/binary.js +7328 -7328
  9. package/libs/core/_locales/core-jsdoc-strings.json +0 -13
  10. package/libs/core/_locales/core-strings.json +0 -2
  11. package/libs/core/pxt.json +0 -2
  12. package/libs/core/shims.d.ts +0 -30
  13. package/libs/core---samd/_locales/core---samd-jsdoc-strings.json +0 -13
  14. package/libs/core---samd/_locales/core---samd-strings.json +0 -2
  15. package/libs/core---samd/built/debug/binary.js +8 -8
  16. package/libs/core---samd/shims.d.ts +0 -30
  17. package/libs/datalogger/built/debug/binary.js +63 -63
  18. package/libs/edge-connector/built/debug/binary.js +8 -8
  19. package/libs/esp32/built/debug/binary.js +462 -462
  20. package/libs/game/built/debug/binary.js +7267 -7267
  21. package/libs/gamepad/built/debug/binary.js +8 -8
  22. package/libs/keyboard/built/debug/binary.js +8 -8
  23. package/libs/lcd/built/debug/binary.js +8 -8
  24. package/libs/light/built/debug/binary.js +8 -8
  25. package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
  26. package/libs/lora/built/debug/binary.js +8 -8
  27. package/libs/matrix-keypad/built/debug/binary.js +8 -8
  28. package/libs/microphone/built/debug/binary.js +8 -8
  29. package/libs/mouse/built/debug/binary.js +8 -8
  30. package/libs/mqtt/built/debug/binary.js +176 -176
  31. package/libs/music/built/debug/binary.js +8 -8
  32. package/libs/net/built/debug/binary.js +176 -176
  33. package/libs/net-game/built/debug/binary.js +8984 -8984
  34. package/libs/palette/built/debug/binary.js +7266 -7266
  35. package/libs/pixel/built/debug/binary.js +8 -8
  36. package/libs/power/built/debug/binary.js +8 -8
  37. package/libs/proximity/built/debug/binary.js +8 -8
  38. package/libs/pulse/built/debug/binary.js +8 -8
  39. package/libs/radio/built/debug/binary.js +8 -8
  40. package/libs/radio-broadcast/built/debug/binary.js +8 -8
  41. package/libs/rotary-encoder/built/debug/binary.js +8 -8
  42. package/libs/screen/built/debug/binary.js +50 -50
  43. package/libs/servo/built/debug/binary.js +8 -8
  44. package/libs/sprite-scaling/built/debug/binary.js +7266 -7266
  45. package/libs/storyboard/built/debug/binary.js +7266 -7266
  46. package/libs/tests/built/debug/binary.js +15 -15
  47. package/libs/thermometer/built/debug/binary.js +8 -8
  48. package/package.json +1 -1
  49. package/libs/core/keyvaluestorage.cpp +0 -109
  50. package/libs/core/keyvaluestorage.ts +0 -43
  51. package/libs/core/sim/keyvaluestorage.ts +0 -15
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P24467(s) {
59
+ function _main___P24355(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___24711 = (undefined);
70
- globals._pollEventQueue___24724 = (undefined);
69
+ globals._intervals___24599 = (undefined);
70
+ globals._pollEventQueue___24612 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P24467.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P24467.continuations = [ ]
75
+ _main___P24355.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P24355.continuations = [ ]
77
77
 
78
- function _main___P24467_mk(s) {
78
+ function _main___P24355_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P24467, depth: s.depth + 1,
81
+ parent: s, fn: _main___P24355, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P24467_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P24467
90
+ return _main___P24355
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P29759(s) {
59
+ function _main___P29623(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___30003 = (undefined);
70
- globals._pollEventQueue___30016 = (undefined);
69
+ globals._intervals___29867 = (undefined);
70
+ globals._pollEventQueue___29880 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P29759.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P29759.continuations = [ ]
75
+ _main___P29623.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P29623.continuations = [ ]
77
77
 
78
- function _main___P29759_mk(s) {
78
+ function _main___P29623_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P29759, depth: s.depth + 1,
81
+ parent: s, fn: _main___P29623, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P29759_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P29759
90
+ return _main___P29623
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P49528(s) {
59
+ function _main___P49368(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___49772 = (undefined);
70
- globals._pollEventQueue___49785 = (undefined);
69
+ globals._intervals___49612 = (undefined);
70
+ globals._pollEventQueue___49625 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P49528.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P49528.continuations = [ ]
75
+ _main___P49368.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P49368.continuations = [ ]
77
77
 
78
- function _main___P49528_mk(s) {
78
+ function _main___P49368_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P49528, depth: s.depth + 1,
81
+ parent: s, fn: _main___P49368, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P49528_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P49528
90
+ return _main___P49368
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P5356(s) {
59
+ function _main___P5332(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___5600 = (undefined);
70
- globals._pollEventQueue___5613 = (undefined);
69
+ globals._intervals___5576 = (undefined);
70
+ globals._pollEventQueue___5589 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P5356.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P5356.continuations = [ ]
75
+ _main___P5332.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P5332.continuations = [ ]
77
77
 
78
- function _main___P5356_mk(s) {
78
+ function _main___P5332_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P5356, depth: s.depth + 1,
81
+ parent: s, fn: _main___P5332, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P5356_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P5356
90
+ return _main___P5332
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P100875(s) {
59
+ function _main___P100627(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___101119 = (undefined);
70
- globals._pollEventQueue___101132 = (undefined);
69
+ globals._intervals___100871 = (undefined);
70
+ globals._pollEventQueue___100884 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P100875.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P100875.continuations = [ ]
75
+ _main___P100627.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P100627.continuations = [ ]
77
77
 
78
- function _main___P100875_mk(s) {
78
+ function _main___P100627_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P100875, depth: s.depth + 1,
81
+ parent: s, fn: _main___P100627, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P100875_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P100875
90
+ return _main___P100627
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P60859(s) {
59
+ function _main___P60651(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___61103 = (undefined);
70
- globals._pollEventQueue___61116 = (undefined);
69
+ globals._intervals___60895 = (undefined);
70
+ globals._pollEventQueue___60908 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P60859.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P60859.continuations = [ ]
75
+ _main___P60651.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P60651.continuations = [ ]
77
77
 
78
- function _main___P60859_mk(s) {
78
+ function _main___P60651_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P60859, depth: s.depth + 1,
81
+ parent: s, fn: _main___P60651, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P60859_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P60859
90
+ return _main___P60651
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P197357(s) {
59
+ function _main___P196981(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___197601 = (undefined);
70
- globals._pollEventQueue___197614 = (undefined);
69
+ globals._intervals___197225 = (undefined);
70
+ globals._pollEventQueue___197238 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P197357.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P197357.continuations = [ ]
75
+ _main___P196981.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P196981.continuations = [ ]
77
77
 
78
- function _main___P197357_mk(s) {
78
+ function _main___P196981_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P197357, depth: s.depth + 1,
81
+ parent: s, fn: _main___P196981, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P197357_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P197357
90
+ return _main___P196981
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P9204(s) {
59
+ function _main___P9164(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___9448 = (undefined);
70
- globals._pollEventQueue___9461 = (undefined);
69
+ globals._intervals___9408 = (undefined);
70
+ globals._pollEventQueue___9421 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P9204.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P9204.continuations = [ ]
75
+ _main___P9164.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P9164.continuations = [ ]
77
77
 
78
- function _main___P9204_mk(s) {
78
+ function _main___P9164_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P9204, depth: s.depth + 1,
81
+ parent: s, fn: _main___P9164, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P9204_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P9204
90
+ return _main___P9164
91
91
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P28002(s) {
59
+ function _main___P27874(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___28246 = (undefined);
70
- globals._pollEventQueue___28259 = (undefined);
69
+ globals._intervals___28118 = (undefined);
70
+ globals._pollEventQueue___28131 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P28002.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P28002.continuations = [ ]
75
+ _main___P27874.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P27874.continuations = [ ]
77
77
 
78
- function _main___P28002_mk(s) {
78
+ function _main___P27874_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P28002, depth: s.depth + 1,
81
+ parent: s, fn: _main___P27874, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -87,5 +87,5 @@ function _main___P28002_mk(s) {
87
87
 
88
88
  const breakpoints = setupDebugger(1, [])
89
89
 
90
- return _main___P28002
90
+ return _main___P27874
91
91
  })