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.8.0 to 0.8.1

4

built/bump.js

@@ -121,7 +121,7 @@ "use strict";

cfg0.version = newV;
fs.writeFileSync(fn, JSON.stringify(cfg0, null, 4));
fs.writeFileSync(fn, mkc.stringifyConfig(cfg0));
}
}
}
yield files.writeFilesAsync(prj.directory, { "pxt.json": JSON.stringify(cfg, null, 4) }, true);
yield files.writeFilesAsync(prj.directory, { "pxt.json": mkc.stringifyConfig(cfg) }, true);
yield runGitAsync("commit", "-a", "-m", newV);

@@ -128,0 +128,0 @@ yield runGitAsync("tag", "v" + newV);

@@ -144,3 +144,3 @@ "use strict";

msg("saving mkc.json");
fs.writeFileSync("mkc.json", JSON.stringify(prj.mainPkg.mkcConfig, null, 4));
fs.writeFileSync("mkc.json", mkc.stringifyConfig(prj.mainPkg.mkcConfig));
}

@@ -176,3 +176,3 @@ prj.writePxtModules = !!opts.pxtModules;

catch (e) {
console.error("Exception: " + e.message);
error("Exception: " + e.message);
success = false;

@@ -179,0 +179,0 @@ }

@@ -75,1 +75,2 @@ /// <reference path="../external/pxtpackage.d.ts" />

}): void;
export declare function stringifyConfig(cfg: pxt.PackageConfig | MkcJson): string;

@@ -13,3 +13,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.setLogging = exports.debug = exports.error = exports.log = exports.Project = exports.cloudRoot = void 0;
exports.stringifyConfig = exports.setLogging = exports.debug = exports.error = exports.log = exports.Project = exports.cloudRoot = void 0;
exports.downloader = require("./downloader");

@@ -89,3 +89,3 @@ exports.files = require("./files");

jsonCopyFrom(res.config, res.mkcConfig.overrides);
res.files["pxt.json"] = JSON.stringify(res.config, null, 4);
res.files["pxt.json"] = stringifyConfig(res.config);
for (let f of res.config.files.concat(res.config.testFiles || [])) {

@@ -109,3 +109,3 @@ res.files[f] = yield this.readFileAsync(f);

prj.config.binaryonly = true;
const pxtJson = prj.files["pxt.json"] = JSON.stringify(prj.config, null, 4);
const pxtJson = prj.files["pxt.json"] = stringifyConfig(prj.config);
this.mainPkg = prj;

@@ -206,2 +206,6 @@ if (pxtJson != this.lastPxtJson) {

exports.setLogging = setLogging;
function stringifyConfig(cfg) {
return JSON.stringify(cfg, null, 4) + "\n";
}
exports.stringifyConfig = stringifyConfig;
//# sourceMappingURL=mkc.js.map

@@ -194,3 +194,3 @@ "use strict";

cfg.dependencies[prj.mkcConfig.hwVariant] = "*";
tmp["pxt.json"] = JSON.stringify(cfg, null, 4);
tmp["pxt.json"] = mkc.stringifyConfig(cfg);
this.sandbox._scriptText = tmp;

@@ -197,0 +197,0 @@ }

{
"name": "makecode",
"version": "0.8.0",
"version": "0.8.1",
"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

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