Socket
Socket
Sign inDemoInstall

@types/reach__router

Package Overview
Dependencies
3
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.6 to 1.3.7

11

reach__router/index.d.ts

@@ -13,5 +13,12 @@ // Type definitions for @reach/router 1.3

import * as React from 'react';
import { Location as HLocation, LocationState } from 'history';
export type WindowLocation<S = LocationState> = Window['location'] & HLocation<S>;
export interface HLocation<S = unknown> {
pathname: string;
search: string;
state: S;
hash: string;
key?: string;
}
export type WindowLocation<S = unknown> = Window['location'] & HLocation<S>;
export type HistoryActionType = 'PUSH' | 'POP';

@@ -18,0 +25,0 @@ export type HistoryLocation = WindowLocation & { state?: any };

7

reach__router/package.json
{
"name": "@types/reach__router",
"version": "1.3.6",
"version": "1.3.7",
"description": "TypeScript definitions for @reach/router",

@@ -47,7 +47,6 @@ "license": "MIT",

"dependencies": {
"@types/history": "*",
"@types/react": "*"
},
"typesPublisherContentHash": "0246421096144015ecca60e3ce798f190a8149dd42c35b6a867bc09f989721d4",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "873f0b51f5ced35ee398c77cc81026e05b332908b748718b1bf31f5a9d5a6d20",
"typeScriptVersion": "3.4"
}

@@ -11,4 +11,4 @@ # Installation

### Additional Details
* Last updated: Fri, 25 Sep 2020 23:56:29 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/history](https://npmjs.com/package/@types/history)
* Last updated: Fri, 22 Jan 2021 00:05:17 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none

@@ -15,0 +15,0 @@

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