chore: update build

This commit is contained in:
Adrian Smijulj 2022-06-12 19:25:58 +02:00
parent 138e7df3d6
commit ef414e5205

18
dist/main/index.js vendored
View file

@ -489,6 +489,7 @@ const DEFAULT_COMMIT_TYPES = [
"refactor", "refactor",
"test", "test",
"build", "build",
"perf",
"ci", "ci",
"chore", "chore",
"revert", "revert",
@ -510,6 +511,7 @@ const isValidCommitMessage = (message, availableTypes = DEFAULT_COMMIT_TYPES) =>
} }
possiblyValidCommitType = possiblyValidCommitType possiblyValidCommitType = possiblyValidCommitType
.replace(/\s/g, "") // Remove all whitespace .replace(/\s/g, "") // Remove all whitespace
.replace(/\!/g, "") // Remove bang for notify breaking change
.replace(/()/g, "") // Remove all whitespace .replace(/()/g, "") // Remove all whitespace
.replace(/[^a-z]/g, ""); // Only leave [a-z] characters. .replace(/[^a-z]/g, ""); // Only leave [a-z] characters.
return availableTypes.includes(possiblyValidCommitType); return availableTypes.includes(possiblyValidCommitType);
@ -2815,7 +2817,7 @@ const understoodStatuses = new Set([
const errorStatusCodes = new Set([ const errorStatusCodes = new Set([
500, 500,
502, 502,
503, 503,
504, 504,
]); ]);
@ -4201,7 +4203,7 @@ exports.parse = function (s) {
if(/^:base64:/.test(value)) if(/^:base64:/.test(value))
return Buffer.from(value.substring(8), 'base64') return Buffer.from(value.substring(8), 'base64')
else else
return /^:/.test(value) ? value.substring(1) : value return /^:/.test(value) ? value.substring(1) : value
} }
return value return value
}) })
@ -33081,7 +33083,7 @@ exports.default = normalizeArguments;
/******/ }, /******/ },
/******/ function(__webpack_require__) { // webpackRuntimeModules /******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ "use strict"; /******/ "use strict";
/******/ /******/
/******/ /* webpack/runtime/make namespace object */ /******/ /* webpack/runtime/make namespace object */
/******/ !function() { /******/ !function() {
/******/ // define __esModule on exports /******/ // define __esModule on exports
@ -33092,7 +33094,7 @@ exports.default = normalizeArguments;
/******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
/******/ /* webpack/runtime/define property getter */ /******/ /* webpack/runtime/define property getter */
/******/ !function() { /******/ !function() {
/******/ // define getter function for harmony exports /******/ // define getter function for harmony exports
@ -33103,7 +33105,7 @@ exports.default = normalizeArguments;
/******/ } /******/ }
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
/******/ /* webpack/runtime/create fake namespace object */ /******/ /* webpack/runtime/create fake namespace object */
/******/ !function() { /******/ !function() {
/******/ // create a fake namespace object /******/ // create a fake namespace object
@ -33122,7 +33124,7 @@ exports.default = normalizeArguments;
/******/ return ns; /******/ return ns;
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
/******/ /* webpack/runtime/compat get default export */ /******/ /* webpack/runtime/compat get default export */
/******/ !function() { /******/ !function() {
/******/ // getDefaultExport function for compatibility with non-harmony modules /******/ // getDefaultExport function for compatibility with non-harmony modules
@ -33134,6 +33136,6 @@ exports.default = normalizeArguments;
/******/ return getter; /******/ return getter;
/******/ }; /******/ };
/******/ }(); /******/ }();
/******/ /******/
/******/ } /******/ }
); );