From c8058222e50d62d9b79f09b342474fe857a40d14 Mon Sep 17 00:00:00 2001 From: Conventional Changelog Action Date: Sat, 16 Jan 2021 21:43:10 +0000 Subject: [PATCH] chore(release): v1.0.28 --- CHANGELOG.md | 7 +++++++ index.js | 6 ++++-- package.json | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb34ba8..297b468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ +## 1.0.28 (2021-01-16) + +* tests: added tests ([b8890fc](https://github.com/simonecorsi/mawesome/commit/b8890fc)) + + + ## 1.0.27 (2021-01-16) +* chore(release): v1.0.27 ([bf07858](https://github.com/simonecorsi/mawesome/commit/bf07858)) * docs: typo ([46172a5](https://github.com/simonecorsi/mawesome/commit/46172a5)) diff --git a/index.js b/index.js index 847afc2..2a81db0 100644 --- a/index.js +++ b/index.js @@ -20801,6 +20801,7 @@ function factory(key, options) { * https://github.com/jhermsmeier/node-http-link-header */ +/* istanbul ignore file */ var COMPATIBLE_ENCODING_PATTERN = /^utf-?8|ascii|utf-?16-?le|ucs-?2|base-?64|latin-?1$/i; @@ -21263,7 +21264,7 @@ const core = __importStar(__nccwpck_require__(2186)); const exec = __importStar(__nccwpck_require__(1514)); const { GITHUB_REPOSITORY, GITHUB_REF } = process.env; const branch = GITHUB_REF === null || GITHUB_REF === void 0 ? void 0 : GITHUB_REF.replace('refs/heads/', ''); -exports.default = new (class Git { +class Git { constructor() { this.isShallow = () => __awaiter(this, void 0, void 0, function* () { const isShallow = yield this.exec('rev-parse --is-shallow-repository'); @@ -21314,7 +21315,8 @@ exports.default = new (class Git { // Update the origin this.updateOrigin(`https://x-access-token:${githubToken}@github.com/${GITHUB_REPOSITORY}.git`); } -})(); +} +exports.default = new Git(); /***/ }), diff --git a/package.json b/package.json index 43c940c..cd7b4dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mawesome", - "version": "1.0.27", + "version": "1.0.28", "description": "Generate awesome list from user starred repositories", "main": "index.js", "author": "Simone Corsi", @@ -66,4 +66,4 @@ "volta": { "node": "14.15.4" } -} +} \ No newline at end of file