Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-status

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-status - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.6.2](https://github.com/adaltas/node-http-status/compare/v1.6.1...v1.6.2) (2023-01-10)
### Bug Fixes
* **types:** add undefined to types ([8efa2e1](https://github.com/adaltas/node-http-status/commit/8efa2e1e977cc75a64d71217ef454312db206edb)), closes [#43](https://github.com/adaltas/node-http-status/issues/43)
### [1.6.1](https://github.com/adaltas/node-http-status/compare/v1.6.0...v1.6.1) (2023-01-01)

@@ -7,0 +14,0 @@

11

lib/index.d.ts

@@ -7,9 +7,10 @@ export = httpStatus;

interface HttpStatus {
readonly [key: number]: string
readonly [key: number]: string | undefined;
readonly [key: string]:
| string
| number
| HttpStatusClasses
| HttpStatusExtra;
| string
| number
| HttpStatusClasses
| HttpStatusExtra
| undefined;

@@ -16,0 +17,0 @@ readonly 100: string;

{
"name": "http-status",
"version": "1.6.1",
"version": "1.6.2",
"description": "Interact with HTTP status code",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/adaltas/node-http-status",

@@ -198,3 +198,2 @@ [![Build Status](https://secure.travis-ci.org/adaltas/node-http-status.png)](http://travis-ci.org/adaltas/node-http-status)

yarn run release
```

@@ -204,2 +203,4 @@

Note, on release, both the publish and test workflows run in parallel. Not very happy about it but I haven't found a better way.
Note:
- On release, both the publish and test workflows run in parallel. Not very happy about it but I haven't found a better way.
- `yarn` does not call the "postrelease" script and `npm` fails if the `package-lock.json` file is present and git ignored.
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