magic-http-status
Advanced tools
Comparing version
@@ -1,12 +0,9 @@ | ||
declare const _default: { | ||
CODES: { | ||
[key: string]: number; | ||
}; | ||
MESSAGES: { | ||
[key: string]: string; | ||
}; | ||
STATUS: { | ||
[key: number]: string; | ||
}; | ||
export declare const CODES: { | ||
[key: string]: number; | ||
}; | ||
export default _default; | ||
export declare const MESSAGES: { | ||
[key: string]: string; | ||
}; | ||
export declare const STATUS: { | ||
[key: number]: string; | ||
}; |
@@ -14,7 +14,5 @@ "use strict"; | ||
} | ||
exports["default"] = { | ||
CODES: invertGeneric(http_1.STATUS_CODES, function (k) { return Number(k); }), | ||
MESSAGES: invertGeneric(http_1.STATUS_CODES, function (k) { return http_1.STATUS_CODES[k]; }), | ||
STATUS: http_1.STATUS_CODES | ||
}; | ||
exports.CODES = invertGeneric(http_1.STATUS_CODES, function (k) { return Number(k); }); | ||
exports.MESSAGES = invertGeneric(http_1.STATUS_CODES, function (k) { return http_1.STATUS_CODES[k]; }); | ||
exports.STATUS = http_1.STATUS_CODES; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "magic-http-status", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "HTTP status codes and messages", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# HTTP Status Codes and Messages | ||
[](https://travis-ci.com/g-ongenae/magic-http-status) | ||
[](https://travis-ci.com/g-ongenae/magic-http-status) [](https://greenkeeper.io/) | ||
@@ -5,0 +5,0 @@ ## Install |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
3893
41.82%5
25%25
-16.67%2
100%