Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kesla/parse-headers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dbc894d3e31dc4a2fa7b10d08ab0119575893420
Choose a base ref
...
head repository: kesla/parse-headers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ba5fd077cece0f14cf071e99829c87fcd9c143e8
Choose a head ref
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Jul 22, 2021

  1. added index.d.ts

    e10jon committed Jul 22, 2021
    Copy the full SHA
    c2be742 View commit details

Commits on Aug 4, 2021

  1. Merge pull request #10 from e10jc/typedef

    Added index.d.ts
    kesla authored Aug 4, 2021
    Copy the full SHA
    7026a94 View commit details
  2. 2.0.4

    kesla committed Aug 4, 2021
    Copy the full SHA
    ba5fd07 View commit details
Showing with 5 additions and 1 deletion.
  1. +4 −0 index.d.ts
  2. +1 −1 package.json
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module 'parse-headers' {
function parseHeaders(headers: string): Record<string, string | string[]>
export = parseHeaders
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parse-headers",
"version": "2.0.3",
"version": "2.0.4",
"description": "Parse http headers, works with browserify/xhr",
"main": "parse-headers.js",
"scripts": {