structured-headers
Advanced tools
Comparing version 0.5.0 to 1.0.0
@@ -6,3 +6,3 @@ import { Token } from './token'; | ||
*/ | ||
export declare type List = (InnerList | Item)[]; | ||
export type List = (InnerList | Item)[]; | ||
/** | ||
@@ -12,3 +12,3 @@ * An Inner List is an array of zero or more Items. Both the individual Items | ||
*/ | ||
export declare type InnerList = [Item[], Parameters]; | ||
export type InnerList = [Item[], Parameters]; | ||
/** | ||
@@ -20,3 +20,3 @@ * Parameters are an ordered map of key-value pairs that are associated with | ||
*/ | ||
export declare type Parameters = Map<string, BareItem>; | ||
export type Parameters = Map<string, BareItem>; | ||
/** | ||
@@ -30,3 +30,3 @@ * Dictionaries are ordered maps of key-value pairs, where the keys are short | ||
*/ | ||
export declare type Dictionary = Map<string, Item | InnerList>; | ||
export type Dictionary = Map<string, Item | InnerList>; | ||
export declare class ByteSequence { | ||
@@ -37,3 +37,3 @@ base64Value: string; | ||
} | ||
export declare type BareItem = number | string | Token | ByteSequence | boolean; | ||
export declare type Item = [BareItem, Parameters]; | ||
export type BareItem = number | string | Token | ByteSequence | boolean; | ||
export type Item = [BareItem, Parameters]; |
{ | ||
"name": "structured-headers", | ||
"version": "0.5.0", | ||
"version": "1.0.0", | ||
"description": "Implementation of RFC8941, structured headers for HTTP.", | ||
@@ -18,2 +18,4 @@ "main": "dist/index.js", | ||
"structured-header", | ||
"structured-fields", | ||
"structured fields", | ||
"RFC8941", | ||
@@ -37,3 +39,3 @@ "headers" | ||
"@types/chai": "^4.3.3", | ||
"@types/mocha": "^9.1.1", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^12.20.13", | ||
@@ -49,5 +51,5 @@ "@typescript-eslint/eslint-plugin": "^5.36.2", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^4.2.4", | ||
"webpack": "^5.37.0", | ||
"webpack-cli": "^4.7.0" | ||
"typescript": "^5.1.3", | ||
"webpack": "^5.86.0", | ||
"webpack-cli": "^5.1.4" | ||
}, | ||
@@ -75,3 +77,7 @@ "nyc": { | ||
"not op_mini all" | ||
] | ||
], | ||
"engines": { | ||
"npm": ">=6", | ||
"node": ">= 14" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
103889
31
0