New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

magic-http-status

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magic-http-status - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE.md

19

dist/index.d.ts

@@ -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
[![Build Status](https://travis-ci.com/g-ongenae/magic-http-status.svg?branch=master)](https://travis-ci.com/g-ongenae/magic-http-status)
[![Build Status](https://travis-ci.com/g-ongenae/magic-http-status.svg?branch=master)](https://travis-ci.com/g-ongenae/magic-http-status) [![Greenkeeper badge](https://badges.greenkeeper.io/g-ongenae/magic-http-status.svg)](https://greenkeeper.io/)

@@ -5,0 +5,0 @@ ## Install

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc