pxt-core 8.2.12 → 8.2.14
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/built/buildengine.js +3 -3
- package/built/cli.js +5 -5
- package/built/gdb.js +4 -4
- package/built/nodeutil.d.ts +1 -0
- package/built/pxt.js +366 -364
- package/built/pxtblockly.js +35 -35
- package/built/pxtblocks.js +35 -35
- package/built/pxtcompiler.js +162 -160
- package/built/pxteditor.d.ts +15 -3
- package/built/pxteditor.js +6 -6
- package/built/pxtlib.d.ts +2 -1
- package/built/pxtlib.js +162 -161
- package/built/pxtpy.js +34 -35
- package/built/pxtsim.d.ts +5 -5
- package/built/pxtsim.js +3 -3
- package/built/server.js +5 -5
- package/built/storage.js +4 -4
- package/built/target.js +1 -1
- package/built/web/main.js +1 -1
- package/built/web/pxtapp.js +1 -1
- package/built/web/pxtasseteditor.js +1 -1
- package/built/web/pxtcompiler.js +1 -1
- package/built/web/pxteditor.js +1 -1
- package/built/web/pxtembed.js +2 -2
- package/built/web/pxtlib.js +1 -1
- package/built/web/pxtpy.js +1 -1
- package/built/web/pxtsim.js +1 -1
- package/built/web/pxtworker.js +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/built/web/skillmap/js/2.960f04a5.chunk.js +2 -0
- package/built/web/skillmap/js/main.44b2383f.chunk.js +1 -0
- package/common-docs/static/logo/social-buttons/google-classroom.png +0 -0
- package/common-docs/static/logo/social-buttons/microsoft-teams.png +0 -0
- package/docfiles/pxtweb/tsconfig.json +2 -1
- package/localtypings/dom.d.ts +3 -0
- package/localtypings/react.d.ts +1 -1
- package/package.json +6 -6
- package/react-common/components/controls/Modal.tsx +2 -2
- package/react-common/components/share/ShareInfo.tsx +1 -1
- package/react-common/tsconfig.json +3 -2
- package/theme/common.less +5 -3
- package/theme/highcontrast.less +3 -0
- package/theme/toolbox.less +25 -0
- package/theme/tutorial-sidebar.less +171 -115
- package/webapp/public/skillmap.html +1 -1
- package/built/web/skillmap/js/2.26325281.chunk.js +0 -2
- package/built/web/skillmap/js/main.d94a2bd9.chunk.js +0 -1
package/built/buildengine.js
CHANGED
|
@@ -521,9 +521,9 @@ function buildDalConst(buildEngine, mainPkg, rebuild = false, create = false) {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
exports.buildDalConst = buildDalConst;
|
|
524
|
-
const writeFileAsync = util_1.promisify(fs.writeFile);
|
|
525
|
-
const cpExecAsync = util_1.promisify(child_process.exec);
|
|
526
|
-
const readDirAsync = util_1.promisify(fs.readdir);
|
|
524
|
+
const writeFileAsync = (0, util_1.promisify)(fs.writeFile);
|
|
525
|
+
const cpExecAsync = (0, util_1.promisify)(child_process.exec);
|
|
526
|
+
const readDirAsync = (0, util_1.promisify)(fs.readdir);
|
|
527
527
|
function buildFinalCsAsync(res) {
|
|
528
528
|
return nodeutil.spawnAsync({
|
|
529
529
|
cmd: getCSharpCommand(),
|
package/built/cli.js
CHANGED
|
@@ -2461,11 +2461,11 @@ function serveAsync(parsed) {
|
|
|
2461
2461
|
}));
|
|
2462
2462
|
}
|
|
2463
2463
|
exports.serveAsync = serveAsync;
|
|
2464
|
-
const readFileAsync = util_1.promisify(fs.readFile);
|
|
2465
|
-
const writeFileAsync = util_1.promisify(fs.writeFile);
|
|
2466
|
-
const readDirAsync = util_1.promisify(fs.readdir);
|
|
2467
|
-
const statAsync = util_1.promisify(fs.stat);
|
|
2468
|
-
const rimrafAsync = util_1.promisify(rimraf);
|
|
2464
|
+
const readFileAsync = (0, util_1.promisify)(fs.readFile);
|
|
2465
|
+
const writeFileAsync = (0, util_1.promisify)(fs.writeFile);
|
|
2466
|
+
const readDirAsync = (0, util_1.promisify)(fs.readdir);
|
|
2467
|
+
const statAsync = (0, util_1.promisify)(fs.stat);
|
|
2468
|
+
const rimrafAsync = (0, util_1.promisify)(rimraf);
|
|
2469
2469
|
let commonfiles = {};
|
|
2470
2470
|
class SnippetHost {
|
|
2471
2471
|
constructor(name, packageFiles, extraDependencies, includeCommon = false) {
|
package/built/gdb.js
CHANGED
|
@@ -9,12 +9,12 @@ const buildengine = require("./buildengine");
|
|
|
9
9
|
const util_1 = require("util");
|
|
10
10
|
var U = pxt.Util;
|
|
11
11
|
const maxDMesgSize = 4096;
|
|
12
|
-
const openAsync = util_1.promisify(fs.open);
|
|
13
|
-
const closeAsync = util_1.promisify(fs.close);
|
|
14
|
-
const writeAsync = util_1.promisify(fs.write);
|
|
12
|
+
const openAsync = (0, util_1.promisify)(fs.open);
|
|
13
|
+
const closeAsync = (0, util_1.promisify)(fs.close);
|
|
14
|
+
const writeAsync = (0, util_1.promisify)(fs.write);
|
|
15
15
|
let gdbServer;
|
|
16
16
|
let bmpMode = false;
|
|
17
|
-
const cpExecAsync = util_1.promisify(child_process.exec);
|
|
17
|
+
const cpExecAsync = (0, util_1.promisify)(child_process.exec);
|
|
18
18
|
function getBMPSerialPortsAsync() {
|
|
19
19
|
if (process.env["PXT_IGNORE_BMP"])
|
|
20
20
|
return Promise.resolve([]);
|