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.0.3 to 0.0.4

3

built/cli.js

@@ -40,2 +40,3 @@ "use strict";

.option("-i, --init-mkc", "initialize mkc.json")
.option("-u, --update", "check for web-app updates")
.option("--always-built", "always generate files in built/ folder (and not built/hw-variant/)")

@@ -47,3 +48,3 @@ .parse(process.argv);

const prj = new mkc.Project(files.findProjectDir());
yield prj.loadEditorAsync();
yield prj.loadEditorAsync(!!opts.update);
prj.service.runSync("(() => { pxt.savedAppTheme().experimentalHw = true; pxt.reloadAppTargetVariant() })()");

@@ -50,0 +51,0 @@ const hwVariants = prj.service.runSync("pxt.getHwVariants()");

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

console.log(`write ${built}/${fn}`);
yield writeAsync(path.join(built, fn), outfiles[fn]);
if (/\.(uf2|pxt64|elf)$/.test(fn))
yield writeAsync(path.join(built, fn), outfiles[fn], "base64");
else
yield writeAsync(path.join(built, fn), outfiles[fn], "utf8");
}

@@ -96,0 +99,0 @@ });

{
"name": "makecode",
"version": "0.0.3",
"version": "0.0.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