Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

makecode

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makecode - npm Package Compare versions

Comparing version 0.28.3 to 0.28.4

26

built/cli.js

@@ -100,3 +100,6 @@ "use strict";

}
let debugMode = false;
function applyGlobalOptions(opts) {
if (opts.debug)
debugMode = true;
if (opts.noColors)

@@ -473,3 +476,17 @@ chalk.level = 0;

prj.mainPkg = null;
yield prj.maybeWritePxtModulesAsync();
if (opts.monoRepo) {
const dirs = bump.monoRepoConfigs(".");
info(`mono-repo: building ${dirs.length} projects`);
for (const fullpxtjson of dirs) {
if (fullpxtjson.startsWith("pxt_modules"))
continue;
const fulldir = path.dirname(fullpxtjson);
info(`install ${fulldir}`);
const prj0 = prj.mkChildProject(fulldir);
yield prj0.maybeWritePxtModulesAsync();
}
}
else {
yield prj.maybeWritePxtModulesAsync();
}
});

@@ -506,2 +523,3 @@ }

targetWebsite: target.website,
links: {},
}, null, 4), { encoding: "utf-8" });

@@ -753,3 +771,6 @@ }

error: error,
debug: s => console.log(chalk.gray(s)),
debug: s => {
if (debugMode)
console.debug(chalk.gray(s));
},
});

@@ -796,2 +817,3 @@ commander_1.program.version(require("../package.json").version);

.description("downloads the dependencies")
.option("-r, --mono-repo", "also install in all subfolders with 'pxt.json' in them")
.option("--symlink-pxt-modules", "symlink files in pxt_modules/* for auto-completion")

@@ -798,0 +820,0 @@ .option("--link-pxt-modules", "write pxt_modules/* adhering to 'links' field in mkc.json (for pxt cli build)")

5

built/files.js

@@ -128,5 +128,8 @@ "use strict";

const v = files[k];
if (typeof v == "string")
if (typeof v == "string") {
mkc.debug(` write ${k}`);
yield writeAsync(k, v);
}
else {
mkc.debug(` link ${k}`);
try {

@@ -133,0 +136,0 @@ fs.unlinkSync(k);

{
"name": "makecode",
"version": "0.28.3",
"version": "0.28.4",
"description": "MakeCode (PXT) - web-cached build tool",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc