nhb-toolbox 4.14.0 → 4.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HTTP_STATUS_CODES = exports.HTTP_STATUS_DATA = void 0;
|
|
4
4
|
/** Data for HTTP Status Codes */
|
|
5
|
-
exports.HTTP_STATUS_DATA = [
|
|
5
|
+
exports.HTTP_STATUS_DATA = Object.freeze([
|
|
6
6
|
{
|
|
7
7
|
category: 'informational',
|
|
8
8
|
link: 'https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100',
|
|
@@ -570,9 +570,9 @@ exports.HTTP_STATUS_DATA = [
|
|
|
570
570
|
message: 'Network Authentication Required',
|
|
571
571
|
description: 'Indicates that the client needs to authenticate to gain network access.',
|
|
572
572
|
},
|
|
573
|
-
];
|
|
573
|
+
]);
|
|
574
574
|
/** List of HTTP Status Names with Corresponding Codes */
|
|
575
|
-
exports.HTTP_STATUS_CODES = {
|
|
575
|
+
exports.HTTP_STATUS_CODES = Object.freeze({
|
|
576
576
|
/**
|
|
577
577
|
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100 Continue}
|
|
578
578
|
* - This interim response indicates that the client should continue the request or ignore the response if the request is already finished.
|
|
@@ -892,4 +892,4 @@ exports.HTTP_STATUS_CODES = {
|
|
|
892
892
|
* - Indicates that the client needs to authenticate to gain network access.
|
|
893
893
|
*/
|
|
894
894
|
NETWORK_AUTHENTICATION_REQUIRED: 511,
|
|
895
|
-
};
|
|
895
|
+
});
|
|
@@ -505,7 +505,7 @@ export declare const HTTP_STATUS_DATA: readonly [{
|
|
|
505
505
|
readonly description: "Indicates that the client needs to authenticate to gain network access.";
|
|
506
506
|
}];
|
|
507
507
|
/** List of HTTP Status Names with Corresponding Codes */
|
|
508
|
-
export declare const HTTP_STATUS_CODES: {
|
|
508
|
+
export declare const HTTP_STATUS_CODES: Readonly<{
|
|
509
509
|
/**
|
|
510
510
|
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100 Continue}
|
|
511
511
|
* - This interim response indicates that the client should continue the request or ignore the response if the request is already finished.
|
|
@@ -825,5 +825,5 @@ export declare const HTTP_STATUS_CODES: {
|
|
|
825
825
|
* - Indicates that the client needs to authenticate to gain network access.
|
|
826
826
|
*/
|
|
827
827
|
readonly NETWORK_AUTHENTICATION_REQUIRED: 511;
|
|
828
|
-
}
|
|
828
|
+
}>;
|
|
829
829
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/http-status/constants.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/http-status/constants.ts"],"names":[],"mappings":"AAAA,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G;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;EAEO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Data for HTTP Status Codes */
|
|
2
|
-
export const HTTP_STATUS_DATA = [
|
|
2
|
+
export const HTTP_STATUS_DATA = /* @__PURE__ */ Object.freeze([
|
|
3
3
|
{
|
|
4
4
|
category: 'informational',
|
|
5
5
|
link: 'https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100',
|
|
@@ -567,9 +567,9 @@ export const HTTP_STATUS_DATA = [
|
|
|
567
567
|
message: 'Network Authentication Required',
|
|
568
568
|
description: 'Indicates that the client needs to authenticate to gain network access.',
|
|
569
569
|
},
|
|
570
|
-
];
|
|
570
|
+
]);
|
|
571
571
|
/** List of HTTP Status Names with Corresponding Codes */
|
|
572
|
-
export const HTTP_STATUS_CODES = {
|
|
572
|
+
export const HTTP_STATUS_CODES = /* @__PURE__ */ Object.freeze({
|
|
573
573
|
/**
|
|
574
574
|
* * {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/100 Continue}
|
|
575
575
|
* - This interim response indicates that the client should continue the request or ignore the response if the request is already finished.
|
|
@@ -889,4 +889,4 @@ export const HTTP_STATUS_CODES = {
|
|
|
889
889
|
* - Indicates that the client needs to authenticate to gain network access.
|
|
890
890
|
*/
|
|
891
891
|
NETWORK_AUTHENTICATION_REQUIRED: 511,
|
|
892
|
-
};
|
|
892
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nhb-toolbox",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.1",
|
|
4
4
|
"description": "A versatile collection of smart, efficient, and reusable utility functions and classes for everyday development needs.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|