Skip to content

Commit a9ddb25

Browse files
renovate[bot]stipsan
authored andcommitted
chore(deps): update dependency typescript to v3.1.1 (#458)
This PR contains the following updates: | Package | Type | Update | Change | References | |---|---|---|---|---| | typescript | devDependencies | minor | `3.0.3` -> `3.1.1` | [homepage](http://typescriptlang.org/), [source](https://renovatebot.com/gh/Microsoft/TypeScript) | --- ### Release Notes <details> <summary>Microsoft/TypeScript</summary> ### [`v3.1.1`](https://renovatebot.com/gh/Microsoft/TypeScript/releases/v3.1.1) [Compare Source](https://renovatebot.com/gh/Microsoft/TypeScript/compare/v3.0.3...v3.1.1) For release notes, check out the [release announcement](https://blogs.msdn.microsoft.com/typescript/announcing-typescript-3-1/) For new features, check out the [What's new in TypeScript 3.1](https://renovatebot.com/gh/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#typescript-31). For breaking changes, check out the [Breaking changes in TypeScript 3.1](https://renovatebot.com/gh/Microsoft/TypeScript/wiki/Breaking-Changes#typescript-31) page. For the complete list of fixed issues, check out the [fixed issues query for Typescript 3.1](https://renovatebot.com/gh/Microsoft/TypeScript/issues?q=is%3Aissue+milestone%3A%22TypeScript+3.1%22+label%3A%22fixed%22+). Download: - [npm](https://www.npmjs.com/package/typescript) - [Visual Studio 2017](https://www.microsoft.com/en-us/download/details.aspx?id=55258) ([Select new version in project options](https://renovatebot.com/gh/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017)) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild/3.1.0) Special thanks to all contributors to this release: - Alexander Tarasyuk - Anders Hejlsberg - Andrew Casey - Andy Hanson - Benjamin Lichtman - Brian Terlson - [@&#8203;csigs](https://renovatebot.com/gh/csigs) - Dan Rollo - Daniel Imms - Daniel Rosenwasser - David Sherret - Elizabeth Dinella - Frederico Bittencourt - Jack Williams - James Keane - Jordi Oliveras Rovira - Klaus Meinhardt - Martin Probst - Matt McCutchen - Mine Starks - Minh Nguyen - Nathan Day - Mohamed Hegazy - Nathan Shively-Sanders - Ron Buckton - Rhys van der Waerden - Ryan Cavanaugh - Sam Lanning - Sheetal Nandi - Wenlu Wang - Wesley Wigham - Tim Schaub </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Enabled. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`". :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#stipsan/scroll-into-view-if-needed).
1 parent cfb50a1 commit a9ddb25

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"semantic-release": "15.9.17",
6464
"tslint": "5.11.0",
6565
"tslint-config-prettier": "1.15.0",
66-
"typescript": "3.0.3"
66+
"typescript": "3.1.1"
6767
},
6868
"keywords": [
6969
"behavior-smooth",

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ function scrollIntoView<T>(
6464
function scrollIntoView(target: Element, options?: Options | boolean): void
6565
function scrollIntoView<T>(target: Element, options?: Options<T> | boolean) {
6666
// Browsers treats targets that aren't in the dom as a no-op
67-
const scrollingElement = document.scrollingElement || document.documentElement
67+
const scrollingElement = (document.scrollingElement ||
68+
document.documentElement) as Element
6869
const targetIsDetached =
6970
target !== scrollingElement && !scrollingElement.contains(target)
7071

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface Options {
1717

1818
// Custom behavior, not in any spec
1919
export type CustomScrollBoundaryCallback = (parent: Element) => boolean
20-
export type CustomScrollBoundary = Element | CustomScrollBoundaryCallback
20+
export type CustomScrollBoundary = Element | CustomScrollBoundaryCallback | null
2121
export interface CustomScrollAction {
2222
el: Element
2323
top: number

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6552,10 +6552,10 @@ typescript-compiler@^1.4.1-2:
65526552
resolved "https://registry.yarnpkg.com/typescript-compiler/-/typescript-compiler-1.4.1-2.tgz#ba4f7db22d91534a1929d90009dce161eb72fd3f"
65536553
integrity sha1-uk99si2RU0oZKdkACdzhYety/T8=
65546554

6555-
typescript@3.0.3:
6556-
version "3.0.3"
6557-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8"
6558-
integrity sha512-kk80vLW9iGtjMnIv11qyxLqZm20UklzuR2tL0QAnDIygIUIemcZMxlMWudl9OOt76H3ntVzcTiddQ1/pAAJMYg==
6555+
typescript@3.1.1:
6556+
version "3.1.1"
6557+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.1.tgz#3362ba9dd1e482ebb2355b02dfe8bcd19a2c7c96"
6558+
integrity sha512-Veu0w4dTc/9wlWNf2jeRInNodKlcdLgemvPsrNpfu5Pq39sgfFjvIIgTsvUHCoLBnMhPoUA+tFxsXjU6VexVRQ==
65596559

65606560
typescript@~2.4.2:
65616561
version "2.4.2"

0 commit comments

Comments
 (0)