📦 3.1.0

This commit is contained in:
release bot
2023-09-23 18:22:23 +00:00
parent 4e5805f8af
commit b58af55b7d
5 changed files with 5 additions and 4015 deletions

View File

@@ -4,7 +4,7 @@ author: "platane"
runs: runs:
using: docker using: docker
image: docker://platane/snk@sha256:753878055e52fbbaf3148fdac4590e396f97581f1dc4c1f861701add7a1dc1b5 image: docker://platane/snk@sha256:b7835a30ad60660a0c3e1f669187932a7e098fe4949ed7df4ec3beb56c2cfb9f
inputs: inputs:
github_user_name: github_user_name:

View File

@@ -1,7 +1,7 @@
{ {
"name": "snk", "name": "snk",
"description": "Generates a snake game from a github user contributions grid", "description": "Generates a snake game from a github user contributions grid",
"version": "3.0.0", "version": "3.1.0",
"private": true, "private": true,
"repository": "github:platane/snk", "repository": "github:platane/snk",
"devDependencies": { "devDependencies": {

File diff suppressed because one or more lines are too long

View File

@@ -14,11 +14,7 @@ __webpack_require__.d(__webpack_exports__, {
"generateContributionSnake": () => (/* binding */ generateContributionSnake) "generateContributionSnake": () => (/* binding */ generateContributionSnake)
}); });
// EXTERNAL MODULE: ../../node_modules/node-fetch/lib/index.js
var lib = __webpack_require__(2197);
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
;// CONCATENATED MODULE: ../github-user-contribution/index.ts ;// CONCATENATED MODULE: ../github-user-contribution/index.ts
/** /**
* get the contribution grid from a github user page * get the contribution grid from a github user page
* *
@@ -55,7 +51,7 @@ const getGithubUserContribution = async (userName, o) => {
} }
`; `;
const variables = { login: userName }; const variables = { login: userName };
const res = await lib_default()("https://api.github.com/graphql", { const res = await fetch("https://api.github.com/graphql", {
headers: { headers: {
Authorization: `bearer ${o.githubToken}`, Authorization: `bearer ${o.githubToken}`,
"Content-Type": "application/json", "Content-Type": "application/json",

View File

@@ -558,7 +558,7 @@ class OidcClient {
.catch(error => { .catch(error => {
throw new Error(`Failed to get ID Token. \n throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`); Error Message: ${error.message}`);
}); });
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
if (!id_token) { if (!id_token) {
@@ -2784,14 +2784,6 @@ module.exports = require("path");
/***/ }), /***/ }),
/***/ 5477:
/***/ ((module) => {
"use strict";
module.exports = require("punycode");
/***/ }),
/***/ 2781: /***/ 2781:
/***/ ((module) => { /***/ ((module) => {
@@ -2808,28 +2800,12 @@ module.exports = require("tls");
/***/ }), /***/ }),
/***/ 7310:
/***/ ((module) => {
"use strict";
module.exports = require("url");
/***/ }),
/***/ 3837: /***/ 3837:
/***/ ((module) => { /***/ ((module) => {
"use strict"; "use strict";
module.exports = require("util"); module.exports = require("util");
/***/ }),
/***/ 9796:
/***/ ((module) => {
"use strict";
module.exports = require("zlib");
/***/ }) /***/ })
/******/ }); /******/ });
@@ -3099,7 +3075,7 @@ const parseEntry = (entry) => {
core.getInput("svg_out_path"), core.getInput("svg_out_path"),
]); ]);
const githubToken = process.env.GITHUB_TOKEN; const githubToken = process.env.GITHUB_TOKEN;
const { generateContributionSnake } = await Promise.all(/* import() */[__nccwpck_require__.e(197), __nccwpck_require__.e(407)]).then(__nccwpck_require__.bind(__nccwpck_require__, 407)); const { generateContributionSnake } = await __nccwpck_require__.e(/* import() */ 407).then(__nccwpck_require__.bind(__nccwpck_require__, 407));
const results = await generateContributionSnake(userName, outputs, { const results = await generateContributionSnake(userName, outputs, {
githubToken, githubToken,
}); });