Socket
Socket
Sign inDemoInstall

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.32.2 to 0.32.3

13

built/bump.js

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

function bumpAsync(prj, versionFile, stage, release) {
var _a, _b;
var _a, _b, _c, _d;
return __awaiter(this, void 0, void 0, function* () {

@@ -142,2 +142,9 @@ if (stage)

const cfg0 = JSON.parse(fs.readFileSync(fn, "utf8"));
if (((_b = (_a = cfg0 === null || cfg0 === void 0 ? void 0 : cfg0.codal) === null || _a === void 0 ? void 0 : _a.libraries) === null || _b === void 0 ? void 0 : _b.length) == 1) {
const lib = cfg0.codal.libraries[0];
if (lib.endsWith("#v" + cfg0.version)) {
mkc.debug(`updating codal library in ${fn}`);
cfg0.codal.libraries[0] = lib.replace(/#.*/, "#v" + newV);
}
}
cfg0.version = newV;

@@ -160,3 +167,3 @@ mkc.debug(`updating ${fn}`);

});
const url = (_a = urlinfo === null || urlinfo === void 0 ? void 0 : urlinfo.toString("utf8")) === null || _a === void 0 ? void 0 : _a.trim();
const url = (_c = urlinfo === null || urlinfo === void 0 ? void 0 : urlinfo.toString("utf8")) === null || _c === void 0 ? void 0 : _c.trim();
if (url) {

@@ -167,3 +174,3 @@ const slug = url.replace(/.*github\.com\//i, "");

const res = yield (0, downloader_1.httpGetJsonAsync)("https://makecode.com/api/gh/" + slug + "/refs?nocache=1");
const sha = (_b = res === null || res === void 0 ? void 0 : res.refs) === null || _b === void 0 ? void 0 : _b["refs/tags/" + newTag];
const sha = (_d = res === null || res === void 0 ? void 0 : res.refs) === null || _d === void 0 ? void 0 : _d["refs/tags/" + newTag];
mkc.debug(`refreshed ${newV} -> ${sha}`);

@@ -170,0 +177,0 @@ }

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

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

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