Socket
Socket
Sign inDemoInstall

browser-headers

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.1.7

webpack.config.js

9

lib/BrowserHeaders.d.ts
import { WindowHeaders } from "./WindowHeaders";
export interface Map<K, V> {
clear(): void;
delete(key: K): boolean;
forEach(callbackfn: (value: V, index: K, map: Map<K, V>) => void, thisArg?: any): void;
get(key: K): V | undefined;
has(key: K): boolean;
set(key: K, value?: V): this;
readonly size: number;
}
export declare type HeaderObject = {

@@ -3,0 +12,0 @@ [key: string]: string | string[];

3

package.json
{
"name": "browser-headers",
"version": "0.1.6",
"version": "0.1.7",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "https://github.com/improbable-eng/js-browser-headers",

@@ -6,0 +7,0 @@ "license": "Apache-2.0",

import { normalizeName, normalizeValue, getHeaderValues, getHeaderKeys, splitHeaderValue } from "./util";
import { WindowHeaders } from "./WindowHeaders";
/** @internal */
export interface Map<K, V> {

@@ -6,0 +5,0 @@ clear(): void;

@@ -21,4 +21,3 @@ {

"include": [
"src",
"src/iterateHeaders"
"src"
],

@@ -25,0 +24,0 @@ "exclude": [

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