Socket
Socket
Sign inDemoInstall

@types/tough-cookie

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/tough-cookie - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

58

tough-cookie/index.d.ts

@@ -135,22 +135,22 @@ // Type definitions for tough-cookie 4.0

interface ParseOptions {
loose?: boolean;
loose?: boolean | undefined;
}
interface Properties {
key?: string;
value?: string;
expires?: Date;
maxAge?: number | 'Infinity' | '-Infinity';
domain?: string;
path?: string;
secure?: boolean;
httpOnly?: boolean;
extensions?: string[];
creation?: Date;
creationIndex?: number;
key?: string | undefined;
value?: string | undefined;
expires?: Date | undefined;
maxAge?: number | 'Infinity' | '-Infinity' | undefined;
domain?: string | undefined;
path?: string | undefined;
secure?: boolean | undefined;
httpOnly?: boolean | undefined;
extensions?: string[] | undefined;
creation?: Date | undefined;
creationIndex?: number | undefined;
hostOnly?: boolean;
pathIsDefault?: boolean;
lastAccessed?: Date;
sameSite?: string;
hostOnly?: boolean | undefined;
pathIsDefault?: boolean | undefined;
lastAccessed?: Date | undefined;
sameSite?: string | undefined;
}

@@ -219,21 +219,21 @@

interface Options {
allowSpecialUseDomain?: boolean;
looseMode?: boolean;
rejectPublicSuffixes?: boolean;
prefixSecurity?: string;
allowSpecialUseDomain?: boolean | undefined;
looseMode?: boolean | undefined;
rejectPublicSuffixes?: boolean | undefined;
prefixSecurity?: string | undefined;
}
interface SetCookieOptions {
http?: boolean;
secure?: boolean;
now?: Date;
ignoreError?: boolean;
http?: boolean | undefined;
secure?: boolean | undefined;
now?: Date | undefined;
ignoreError?: boolean | undefined;
}
interface GetCookiesOptions {
http?: boolean;
secure?: boolean;
now?: Date;
expire?: boolean;
allPaths?: boolean;
http?: boolean | undefined;
secure?: boolean | undefined;
now?: Date | undefined;
expire?: boolean | undefined;
allPaths?: boolean | undefined;
}

@@ -240,0 +240,0 @@

{
"name": "@types/tough-cookie",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for tough-cookie",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tough-cookie",
"license": "MIT",

@@ -32,4 +33,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "ca0d31f2e9fc2a883ed38f569a7c21cb47c3ad66089c59faa840a59b14c0daf5",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "35dd1719b4f8b273457e3e24babcf7140e293129fb277b499985b53427852cbd",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 31 Mar 2020 23:35:07 GMT
* Last updated: Fri, 02 Jul 2021 19:37:15 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

Sorry, the diff of this file is not supported yet

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