Comparing version 10.0.1 to 10.0.2
@@ -0,1 +1,10 @@ | ||
## [10.0.2](https://github.com/homer0/jimpex/compare/10.0.1...10.0.2) (2024-11-09) | ||
### Bug Fixes | ||
* add support for Node v22 and set v20 for dev ([743f987](https://github.com/homer0/jimpex/commit/743f987c19a5ef93329a05b633eadf82ed52859d)) | ||
* get rid of unused variable ([09c92b5](https://github.com/homer0/jimpex/commit/09c92b5aadff5fb914c4ebdff8159472a1b04d05)) | ||
* update dependencies ([e7ed985](https://github.com/homer0/jimpex/commit/e7ed9855b12743686f5ba64965f86241e0025db6)) | ||
## [10.0.1](https://github.com/homer0/jimpex/compare/10.0.0...10.0.1) (2024-04-07) | ||
@@ -2,0 +11,0 @@ |
@@ -30,6 +30,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var jimpex_exports = {}; | ||
@@ -218,4 +215,3 @@ __export(jimpex_exports, { | ||
stop() { | ||
if (!this._instance) | ||
return; | ||
if (!this._instance) return; | ||
this._emitEvent("beforeStop", { app: this }); | ||
@@ -246,4 +242,3 @@ this._instance.close(); | ||
const connected = useController.connect(this, route); | ||
if (!connected) | ||
return; | ||
if (!connected) return; | ||
const router = this._reduceWithEvent("controllerWillBeMounted", connected, { | ||
@@ -416,8 +411,5 @@ route, | ||
const { services: enabledServices } = this._options; | ||
if (enabledServices.common) | ||
this.register(import_services.commonServicesProvider); | ||
if (enabledServices.http) | ||
this.register(import_services.httpServicesProvider); | ||
if (enabledServices.utils) | ||
this.register(import_services.utilsServicesProvider); | ||
if (enabledServices.common) this.register(import_services.commonServicesProvider); | ||
if (enabledServices.http) this.register(import_services.httpServicesProvider); | ||
if (enabledServices.utils) this.register(import_services.utilsServicesProvider); | ||
this.set("events", () => new import_events_hub.EventsHub()); | ||
@@ -532,4 +524,3 @@ this.set("statuses", () => import_utils.statuses); | ||
async _setupConfig() { | ||
if (this._configReady) | ||
return; | ||
if (this._configReady) return; | ||
this._configReady = true; | ||
@@ -619,4 +610,3 @@ const { config: options } = this._options; | ||
const filepath = credentialsInfo[key]; | ||
if (!filepath) | ||
return void 0; | ||
if (!filepath) return void 0; | ||
const file = await import_promises.default.readFile(pathUtils.joinFrom(location, filepath), "utf8"); | ||
@@ -623,0 +613,0 @@ return { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var config_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(config_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var health_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(health_exports, { |
@@ -30,6 +30,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var statics_exports = {}; | ||
@@ -36,0 +33,0 @@ __export(statics_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var gateway_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(gateway_exports, { |
import { | ||
__publicField | ||
} from "../chunk-F3FYYIAV.js"; | ||
} from "../chunk-V6TY7KAL.js"; | ||
import * as path from "path"; | ||
@@ -189,4 +189,3 @@ import fs from "fs/promises"; | ||
stop() { | ||
if (!this._instance) | ||
return; | ||
if (!this._instance) return; | ||
this._emitEvent("beforeStop", { app: this }); | ||
@@ -217,4 +216,3 @@ this._instance.close(); | ||
const connected = useController.connect(this, route); | ||
if (!connected) | ||
return; | ||
if (!connected) return; | ||
const router = this._reduceWithEvent("controllerWillBeMounted", connected, { | ||
@@ -387,8 +385,5 @@ route, | ||
const { services: enabledServices } = this._options; | ||
if (enabledServices.common) | ||
this.register(commonServicesProvider); | ||
if (enabledServices.http) | ||
this.register(httpServicesProvider); | ||
if (enabledServices.utils) | ||
this.register(utilsServicesProvider); | ||
if (enabledServices.common) this.register(commonServicesProvider); | ||
if (enabledServices.http) this.register(httpServicesProvider); | ||
if (enabledServices.utils) this.register(utilsServicesProvider); | ||
this.set("events", () => new EventsHub()); | ||
@@ -503,4 +498,3 @@ this.set("statuses", () => statuses); | ||
async _setupConfig() { | ||
if (this._configReady) | ||
return; | ||
if (this._configReady) return; | ||
this._configReady = true; | ||
@@ -590,4 +584,3 @@ const { config: options } = this._options; | ||
const filepath = credentialsInfo[key]; | ||
if (!filepath) | ||
return void 0; | ||
if (!filepath) return void 0; | ||
const file = await fs.readFile(pathUtils.joinFrom(location, filepath), "utf8"); | ||
@@ -594,0 +587,0 @@ return { |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { controller } from "../../utils"; | ||
@@ -5,0 +5,0 @@ class ConfigController { |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { controller } from "../../utils"; | ||
@@ -5,0 +5,0 @@ class HealthController { |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import * as path from "path"; | ||
@@ -5,0 +5,0 @@ import { deepAssignWithOverwrite } from "@homer0/deep-assign"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { deepAssignWithOverwrite } from "@homer0/deep-assign"; | ||
@@ -5,0 +5,0 @@ import { flat, unflat } from "@homer0/object-utils"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { deepAssignWithOverwrite } from "@homer0/deep-assign"; | ||
@@ -5,0 +5,0 @@ import { middlewareCreator } from "../../utils"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { middlewareCreator } from "../../utils"; | ||
@@ -44,4 +44,3 @@ class ForceHTTPS { | ||
const enabled = app.getConfig("forceHTTPS"); | ||
if (!enabled) | ||
return void 0; | ||
if (!enabled) return void 0; | ||
return new ForceHTTPS(options).getMiddleware(); | ||
@@ -48,0 +47,0 @@ } |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { middlewareCreator } from "../../utils"; | ||
@@ -5,0 +5,0 @@ class HSTS { |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { createRouteExpression, middlewareCreator, removeSlashes } from "../../utils"; | ||
@@ -119,4 +119,3 @@ class FastHTML { | ||
const clean = removeSlashes(route).trim(); | ||
if (!clean || processed.includes(clean)) | ||
return acc; | ||
if (!clean || processed.includes(clean)) return acc; | ||
expressions.push(createRouteExpression(clean)); | ||
@@ -123,0 +122,0 @@ processed.push(clean); |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { middlewareCreator } from "../../utils"; | ||
@@ -5,0 +5,0 @@ class ShowHTML { |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { deepAssignWithOverwrite } from "@homer0/deep-assign"; | ||
@@ -5,0 +5,0 @@ import { middlewareCreator } from "../../utils"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { provider, statuses as statusesFn } from "../../utils"; | ||
@@ -5,0 +5,0 @@ class AppError extends Error { |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { provider, statuses as statusesFn } from "../../utils"; | ||
@@ -3,0 +3,0 @@ import { AppError } from "./appError"; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { providers } from "../../utils"; | ||
@@ -3,0 +3,0 @@ import { appErrorProvider } from "./appError"; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { provider } from "../../utils"; | ||
@@ -3,0 +3,0 @@ const sendFile = ({ inject: { pathUtils } }) => ({ res, filepath, from = "app", next = () => { |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import fs from "fs/promises"; | ||
@@ -5,0 +5,0 @@ import { provider } from "../../utils"; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { providers } from "../../utils"; | ||
@@ -3,0 +3,0 @@ import { frontendFsProvider } from "./frontendFs"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { get } from "@homer0/object-utils"; | ||
@@ -80,6 +80,4 @@ import { deepAssignWithOverwrite } from "@homer0/deep-assign"; | ||
async generateHTML() { | ||
if (this._fileReady) | ||
return void 0; | ||
if (this._fileDeferred) | ||
return this._fileDeferred.promise; | ||
if (this._fileReady) return void 0; | ||
if (this._fileDeferred) return this._fileDeferred.promise; | ||
this._fileDeferred = deferred(); | ||
@@ -86,0 +84,0 @@ const { template, deleteTemplateAfter, file, silent } = this._options; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { providers } from "../../utils"; | ||
@@ -3,0 +3,0 @@ import { htmlGeneratorProvider } from "./htmlGenerator"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { | ||
@@ -53,9 +53,6 @@ APIClient as APIClientBase | ||
const res = response; | ||
if (res.error) | ||
return res.error; | ||
if (res.error) return res.error; | ||
if (res.data) { | ||
if (res.data.message) | ||
return res.data.message; | ||
if (res.data.error) | ||
return res.data.error; | ||
if (res.data.message) return res.data.message; | ||
if (res.data.error) return res.data.error; | ||
} | ||
@@ -62,0 +59,0 @@ return "Unexpected error"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import urijs from "urijs"; | ||
@@ -5,0 +5,0 @@ import { deepAssignWithOverwrite } from "@homer0/deep-assign"; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { providers } from "../../utils"; | ||
@@ -3,0 +3,0 @@ import { apiClientProvider } from "./apiClient"; |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { provider } from "../../utils"; | ||
@@ -131,3 +131,3 @@ const DEFAULT_CLOSE_DELAY_FOR_POST_MESSAGE = 700; | ||
} | ||
} catch (_) { | ||
} catch { | ||
useStatus = this._statuses("ok"); | ||
@@ -134,0 +134,0 @@ } |
import { | ||
__publicField | ||
} from "../../chunk-F3FYYIAV.js"; | ||
} from "../../chunk-V6TY7KAL.js"; | ||
import { deepAssignWithOverwrite } from "@homer0/deep-assign"; | ||
@@ -5,0 +5,0 @@ import { providerCreator } from "../../utils"; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { providers } from "../../utils"; | ||
@@ -3,0 +3,0 @@ import { ensureBearerTokenProvider } from "./ensureBearerToken"; |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
const notUndefined = (value) => value !== void 0; | ||
@@ -3,0 +3,0 @@ export { |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import { escapeForRegExp } from "./text"; | ||
@@ -3,0 +3,0 @@ const removeLeadingSlash = (url) => url.replace(/^\/+/, ""); |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
import statuses from "statuses"; | ||
@@ -3,0 +3,0 @@ export { |
@@ -1,2 +0,2 @@ | ||
import "../../chunk-F3FYYIAV.js"; | ||
import "../../chunk-V6TY7KAL.js"; | ||
const escapeForRegExp = (text) => text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); | ||
@@ -3,0 +3,0 @@ export { |
@@ -1,2 +0,2 @@ | ||
import "../chunk-F3FYYIAV.js"; | ||
import "../chunk-V6TY7KAL.js"; | ||
import { | ||
@@ -3,0 +3,0 @@ createProvider, |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var errorHandler_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(errorHandler_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var forceHTTPS_exports = {}; | ||
@@ -71,4 +68,3 @@ __export(forceHTTPS_exports, { | ||
const enabled = app.getConfig("forceHTTPS"); | ||
if (!enabled) | ||
return void 0; | ||
if (!enabled) return void 0; | ||
return new ForceHTTPS(options).getMiddleware(); | ||
@@ -75,0 +71,0 @@ } |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var hsts_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(hsts_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var fastHTML_exports = {}; | ||
@@ -146,4 +143,3 @@ __export(fastHTML_exports, { | ||
const clean = (0, import_utils.removeSlashes)(route).trim(); | ||
if (!clean || processed.includes(clean)) | ||
return acc; | ||
if (!clean || processed.includes(clean)) return acc; | ||
expressions.push((0, import_utils.createRouteExpression)(clean)); | ||
@@ -150,0 +146,0 @@ processed.push(clean); |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var showHTML_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(showHTML_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var versionValidator_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(versionValidator_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var appError_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(appError_exports, { |
@@ -30,6 +30,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var frontendFs_exports = {}; | ||
@@ -36,0 +33,0 @@ __export(frontendFs_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var htmlGenerator_exports = {}; | ||
@@ -107,6 +104,4 @@ __export(htmlGenerator_exports, { | ||
async generateHTML() { | ||
if (this._fileReady) | ||
return void 0; | ||
if (this._fileDeferred) | ||
return this._fileDeferred.promise; | ||
if (this._fileReady) return void 0; | ||
if (this._fileDeferred) return this._fileDeferred.promise; | ||
this._fileDeferred = (0, import_deferred.deferred)(); | ||
@@ -113,0 +108,0 @@ const { template, deleteTemplateAfter, file, silent } = this._options; |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var apiClient_exports = {}; | ||
@@ -78,9 +75,6 @@ __export(apiClient_exports, { | ||
const res = response; | ||
if (res.error) | ||
return res.error; | ||
if (res.error) return res.error; | ||
if (res.data) { | ||
if (res.data.message) | ||
return res.data.message; | ||
if (res.data.error) | ||
return res.data.error; | ||
if (res.data.message) return res.data.message; | ||
if (res.data.error) return res.data.error; | ||
} | ||
@@ -87,0 +81,0 @@ return "Unexpected error"; |
@@ -30,6 +30,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var http_exports = {}; | ||
@@ -36,0 +33,0 @@ __export(http_exports, { |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var responsesBuilder_exports = {}; | ||
@@ -158,3 +155,3 @@ __export(responsesBuilder_exports, { | ||
} | ||
} catch (_) { | ||
} catch { | ||
useStatus = this._statuses("ok"); | ||
@@ -161,0 +158,0 @@ } |
@@ -20,6 +20,3 @@ "use strict"; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var ensureBearerToken_exports = {}; | ||
@@ -26,0 +23,0 @@ __export(ensureBearerToken_exports, { |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://homer0.github.io/jimpex/", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"repository": "homer0/jimpex", | ||
@@ -11,19 +11,19 @@ "author": "Leonardo Apiwan (@homer0) <me@homer0.com>", | ||
"dependencies": { | ||
"@homer0/api-utils": "^3.0.4", | ||
"@homer0/deep-assign": "^3.0.4", | ||
"@homer0/deferred": "^3.0.4", | ||
"@homer0/env-utils": "^3.0.4", | ||
"@homer0/events-hub": "^3.0.4", | ||
"@homer0/jimple": "^3.0.4", | ||
"@homer0/object-utils": "^3.0.4", | ||
"@homer0/package-info": "^3.0.4", | ||
"@homer0/path-utils": "^3.0.4", | ||
"@homer0/root-file": "^3.0.4", | ||
"@homer0/simple-config": "^3.0.4", | ||
"@homer0/simple-logger": "^3.0.4", | ||
"@homer0/ts-async-import": "^1.1.3", | ||
"body-parser": "^1.20.2", | ||
"compression": "^1.7.4", | ||
"express": "^4.19.2", | ||
"mime": "^4.0.1", | ||
"@homer0/api-utils": "^3.0.6", | ||
"@homer0/deep-assign": "^3.0.6", | ||
"@homer0/deferred": "^3.0.6", | ||
"@homer0/env-utils": "^3.0.6", | ||
"@homer0/events-hub": "^3.0.6", | ||
"@homer0/jimple": "^3.0.6", | ||
"@homer0/object-utils": "^3.0.6", | ||
"@homer0/package-info": "^3.0.6", | ||
"@homer0/path-utils": "^3.0.6", | ||
"@homer0/root-file": "^3.0.6", | ||
"@homer0/simple-config": "^3.0.6", | ||
"@homer0/simple-logger": "^3.0.6", | ||
"@homer0/ts-async-import": "^1.1.5", | ||
"body-parser": "^1.20.3", | ||
"compression": "^1.7.5", | ||
"express": "^4.21.1", | ||
"mime": "^4.0.4", | ||
"multer": "1.4.5-lts.1", | ||
@@ -36,32 +36,35 @@ "node-fetch": "^3.3.2", | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.2.1", | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@homer0/eslint-plugin": "^12.0.4", | ||
"@commitlint/cli": "^19.5.0", | ||
"@commitlint/config-conventional": "^19.5.0", | ||
"@homer0/eslint-plugin": "^12.0.6", | ||
"@homer0/prettier-config": "^1.1.3", | ||
"@homer0/prettier-plugin-jsdoc": "^8.0.0", | ||
"@homer0/tsconfig": "^1.0.15", | ||
"@homer0/prettier-plugin-jsdoc": "^9.1.0", | ||
"@homer0/tsconfig": "^1.0.17", | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/git": "^10.0.1", | ||
"@types/body-parser": "^1.19.5", | ||
"@types/compression": "^1.7.5", | ||
"@types/express": "^4.17.21", | ||
"@types/jest": "^29.5.12", | ||
"@types/multer": "^1.4.11", | ||
"@types/node": "^20.12.5", | ||
"@types/express": "^5.0.0", | ||
"@types/jest": "^29.5.14", | ||
"@types/multer": "^1.4.12", | ||
"@types/node": "^22.9.0", | ||
"@types/spdy": "^3.4.9", | ||
"@types/statuses": "^2.0.5", | ||
"@types/urijs": "^1.19.25", | ||
"eslint": "^8.57.0", | ||
"husky": "^9.0.11", | ||
"eslint": "^8.57.1", | ||
"husky": "^9.1.6", | ||
"is-ci": "^3.0.1", | ||
"jest": "^29.7.0", | ||
"leasot": "^13.3.0", | ||
"lint-staged": "^15.2.2", | ||
"ts-jest": "^29.1.2", | ||
"leasot": "^14.4.0", | ||
"lint-staged": "^15.2.10", | ||
"semantic-release": "^24.2.0", | ||
"ts-jest": "^29.2.5", | ||
"ts-node-dev": "^2.0.0", | ||
"tsup": "^8.0.2", | ||
"typedoc": "0.25.12", | ||
"typescript": "^5.4.4" | ||
"tsup": "^8.3.5", | ||
"typedoc": "0.26.11", | ||
"typescript": "^5.6.3" | ||
}, | ||
"engine-strict": true, | ||
"engines": { | ||
"node": ">=18.17 <21" | ||
"node": ">=18.17 <23" | ||
}, | ||
@@ -68,0 +71,0 @@ "main": "./dist/index.js", |
@@ -233,3 +233,3 @@ import type { Config, Response } from '../../types'; | ||
} | ||
} catch (_) { | ||
} catch { | ||
useStatus = this._statuses('ok') as number; | ||
@@ -236,0 +236,0 @@ } |
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
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
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
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
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1450555
29
20140
Updated@homer0/api-utils@^3.0.6
Updated@homer0/deep-assign@^3.0.6
Updated@homer0/deferred@^3.0.6
Updated@homer0/env-utils@^3.0.6
Updated@homer0/events-hub@^3.0.6
Updated@homer0/jimple@^3.0.6
Updated@homer0/object-utils@^3.0.6
Updated@homer0/package-info@^3.0.6
Updated@homer0/path-utils@^3.0.6
Updated@homer0/root-file@^3.0.6
Updated@homer0/simple-config@^3.0.6
Updated@homer0/simple-logger@^3.0.6
Updatedbody-parser@^1.20.3
Updatedcompression@^1.7.5
Updatedexpress@^4.21.1
Updatedmime@^4.0.4