Socket
Socket
Sign inDemoInstall

structured-headers

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0 to 1.0.0

changelog.md

12

dist/types.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc