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

probot

Package Overview
Dependencies
Maintainers
6
Versions
314
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

probot - npm Package Compare versions

Comparing version 12.2.1 to 12.2.2

views/import.handlebars

2

lib/apps/default.js

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

}
res.render("probot.hbs", pkg);
res.render("probot.handlebars", pkg);
});

@@ -24,0 +24,0 @@ router.get("/", (req, res, next) => res.redirect("/probot"));

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

// Pass the manifest to be POST'd
res.render("setup.hbs", { pkg, createAppUrl, manifest });
res.render("setup.handlebars", { pkg, createAppUrl, manifest });
});

@@ -56,3 +56,3 @@ route.get("/probot/setup", async (req, res) => {

const GH_HOST = `https://${GHE_HOST !== null && GHE_HOST !== void 0 ? GHE_HOST : "github.com"}`;
res.render("import.hbs", { WEBHOOK_PROXY_URL, GH_HOST });
res.render("import.handlebars", { WEBHOOK_PROXY_URL, GH_HOST });
});

@@ -74,3 +74,3 @@ route.post("/probot/import", body_parser_1.default.json(), async (req, res) => {

route.get("/probot/success", async (req, res) => {
res.render("success.hbs");
res.render("success.handlebars");
});

@@ -77,0 +77,0 @@ route.get("/", (req, res, next) => res.redirect("/probot"));

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

const version_1 = require("../version");
const express_handlebars_1 = require("express-handlebars");
class Server {

@@ -48,3 +49,6 @@ constructor(options = {}) {

}));
this.expressApp.set("view engine", "hbs");
this.expressApp.engine("handlebars", express_handlebars_1.engine({
defaultLayout: false,
}));
this.expressApp.set("view engine", "handlebars");
this.expressApp.set("views", path_1.join(__dirname, "..", "..", "views"));

@@ -51,0 +55,0 @@ this.expressApp.get("/ping", (req, res) => res.end("PONG"));

@@ -1,1 +0,1 @@

export declare const VERSION = "12.2.1";
export declare const VERSION = "12.2.2";

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

// The version is set automatically before publish to npm
exports.VERSION = "12.2.1";
exports.VERSION = "12.2.2";
//# sourceMappingURL=version.js.map
{
"name": "probot",
"version": "12.2.1",
"version": "12.2.2",
"description": "A framework for building GitHub Apps to automate and improve your workflow",

@@ -60,3 +60,3 @@ "repository": "github:probot/probot",

"express": "^4.17.1",
"hbs": "^4.2.0",
"express-handlebars": "^6.0.3",
"ioredis": "^4.27.8",

@@ -63,0 +63,0 @@ "js-yaml": "^3.14.1",

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