From da2f7a58669398c91cf9c5bfc7114d6e952624c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20St=C4=99pniewski?= Date: Fri, 8 Jun 2018 10:25:43 +0200 Subject: [PATCH] ISSUES-42: - Build with typescript v2.6.2 Bug Fixes: - Fix platform-server support --- ...ewport_config_class_.inviewportconfig.html | 23 +- ...ewport_directive_.inviewportdirective.html | 25 +- ..._in_viewport_module_.inviewportmodule.html | 5 +- ...n_viewport_service_.inviewportservice.html | 25 +- ...nfig_class_.inviewportconfigdirection.html | 9 +- docs/globals.html | 4 + docs/index.html | 3 + ...config_class_.inviewportconfigoptions.html | 9 +- ...vice_.inviewportserviceregistryobject.html | 9 +- docs/modules/_in_viewport_.html | 3 + docs/modules/_in_viewport_config_class_.html | 3 + docs/modules/_in_viewport_directive_.html | 7 +- docs/modules/_in_viewport_module_.html | 3 + docs/modules/_in_viewport_service_.html | 3 + docs/modules/_in_viewport_utils_.html | 188 +++++++++++++++ .../_in_viewport_utils_.inviewportutils.html | 223 ++++++++++++++++++ package.json | 31 ++- src/in-viewport/in-viewport-config.class.ts | 21 +- src/in-viewport/in-viewport-utils.ts | 10 + src/in-viewport/in-viewport.directive.ts | 12 +- src/package.json | 22 +- yarn.lock | 30 +-- 22 files changed, 586 insertions(+), 82 deletions(-) create mode 100644 docs/modules/_in_viewport_utils_.html create mode 100644 docs/modules/_in_viewport_utils_.inviewportutils.html create mode 100644 src/in-viewport/in-viewport-utils.ts diff --git a/docs/classes/_in_viewport_config_class_.inviewportconfig.html b/docs/classes/_in_viewport_config_class_.inviewportconfig.html index d355f84e..4488ded1 100644 --- a/docs/classes/_in_viewport_config_class_.inviewportconfig.html +++ b/docs/classes/_in_viewport_config_class_.inviewportconfig.html @@ -118,7 +118,7 @@

constructor

  • Parameters

    @@ -140,7 +140,7 @@

    Protected _direction

    @@ -150,7 +150,7 @@

    Protected _partial

    _partial: boolean
    @@ -160,7 +160,7 @@

    Protected _rootElement_rootElement: Element @@ -178,7 +178,7 @@

    direction

  • Returns InViewportConfigDirection

    @@ -186,7 +186,7 @@

    Returns

    Parameters

    @@ -210,7 +210,7 @@

    partial

  • Returns boolean

    @@ -218,7 +218,7 @@

    Returns boolean

    Parameters

    @@ -242,7 +242,7 @@

    rootElement

  • Returns Element

    @@ -250,7 +250,7 @@

    Returns Element

    Parameters

    @@ -283,6 +283,9 @@

    Returns void "in-viewport-config.class"

  • +
  • + "in-viewport-utils" +
  • "in-viewport.directive"
  • diff --git a/docs/classes/_in_viewport_directive_.inviewportdirective.html b/docs/classes/_in_viewport_directive_.inviewportdirective.html index cf5be0ca..663efdc7 100644 --- a/docs/classes/_in_viewport_directive_.inviewportdirective.html +++ b/docs/classes/_in_viewport_directive_.inviewportdirective.html @@ -134,7 +134,7 @@

    constructor

  • Parameters

    @@ -162,7 +162,7 @@

    action$

    action$: EventEmitter<any>
    @@ -172,7 +172,7 @@

    Private config

    @@ -182,7 +182,7 @@

    Private elementRef

    elementRef: ElementRef
    @@ -192,7 +192,7 @@

    Private inViewportSer
    inViewportService: InViewportService
    @@ -202,7 +202,7 @@

    Private platformId

    platformId: Object
    @@ -212,7 +212,7 @@

    Private subscription

    subscription: Subscription = new Subscription()
    @@ -229,7 +229,7 @@

    updateConfig

  • Parameters

    @@ -255,7 +255,7 @@

    check

  • Parameters

    @@ -281,7 +281,7 @@

    ngAfterViewInit

  • Returns void

    @@ -298,7 +298,7 @@

    ngOnDestroy

  • Returns void

    @@ -325,6 +325,9 @@

    Returns void "in-viewport-config.class"

  • +
  • + "in-viewport-utils" +
  • "in-viewport.directive"
  • diff --git a/docs/classes/_in_viewport_module_.inviewportmodule.html b/docs/classes/_in_viewport_module_.inviewportmodule.html index 48931bfe..c793b1b0 100644 --- a/docs/classes/_in_viewport_module_.inviewportmodule.html +++ b/docs/classes/_in_viewport_module_.inviewportmodule.html @@ -102,7 +102,7 @@

    Static forRoot

  • Returns ModuleWithProviders

    @@ -129,6 +129,9 @@

    Returns ModuleWit
  • "in-viewport-config.class"
  • +
  • + "in-viewport-utils" +
  • "in-viewport.directive"
  • diff --git a/docs/classes/_in_viewport_service_.inviewportservice.html b/docs/classes/_in_viewport_service_.inviewportservice.html index 20d8caa7..b169732b 100644 --- a/docs/classes/_in_viewport_service_.inviewportservice.html +++ b/docs/classes/_in_viewport_service_.inviewportservice.html @@ -122,7 +122,7 @@

    constructor

  • Parameters

    @@ -144,7 +144,7 @@

    Private ngZone

    ngZone: NgZone
    @@ -154,7 +154,7 @@

    Private registry

    @@ -164,7 +164,7 @@

    trigger$

    trigger$: Subject<IntersectionObserverEntry> = new Subject<IntersectionObserverEntry>()
    @@ -181,7 +181,7 @@

    addTarget

  • Parameters

    @@ -207,7 +207,7 @@

    Private findRegistryE
  • Parameters

    @@ -230,7 +230,7 @@

    Private getRootElemen
  • Parameters

    @@ -253,7 +253,7 @@

    Private onChanges

  • Parameters

    @@ -276,7 +276,7 @@

    Private register

  • Parameters

    @@ -302,7 +302,7 @@

    removeTarget

  • Parameters

    @@ -328,7 +328,7 @@

    Private unregister

  • Parameters

    @@ -364,6 +364,9 @@

    Returns void "in-viewport-config.class"

  • +
  • + "in-viewport-utils" +
  • "in-viewport.directive"
  • diff --git a/docs/enums/_in_viewport_config_class_.inviewportconfigdirection.html b/docs/enums/_in_viewport_config_class_.inviewportconfigdirection.html index cbad207d..d3958bfc 100644 --- a/docs/enums/_in_viewport_config_class_.inviewportconfigdirection.html +++ b/docs/enums/_in_viewport_config_class_.inviewportconfigdirection.html @@ -92,7 +92,7 @@

    Both

    Both:
    @@ -102,7 +102,7 @@

    Horizontal

    Horizontal:
    @@ -112,7 +112,7 @@

    Vertical

    Vertical:
    @@ -136,6 +136,9 @@

    Vertical

  • "in-viewport-config.class"
  • +
  • + "in-viewport-utils" +
  • "in-viewport.directive"
  • diff --git a/docs/globals.html b/docs/globals.html index 8752e996..ae711f8e 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -72,6 +72,7 @@

    External modules

    • "in-viewport"
    • "in-viewport-config.class"
    • +
    • "in-viewport-utils"
    • "in-viewport.directive"
    • "in-viewport.module"
    • "in-viewport.service"
    • @@ -99,6 +100,9 @@

      External modules

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/index.html b/docs/index.html index c525b947..4751de7f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -103,6 +103,9 @@

      License

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/interfaces/_in_viewport_config_class_.inviewportconfigoptions.html b/docs/interfaces/_in_viewport_config_class_.inviewportconfigoptions.html index 950175d9..1e740e08 100644 --- a/docs/interfaces/_in_viewport_config_class_.inviewportconfigoptions.html +++ b/docs/interfaces/_in_viewport_config_class_.inviewportconfigoptions.html @@ -100,7 +100,7 @@

      Optional direction

      @@ -110,7 +110,7 @@

      Optional partial

      partial: boolean
      @@ -120,7 +120,7 @@

      Optional rootElement

      rootElement: any
      @@ -144,6 +144,9 @@

      Optional rootElement

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/interfaces/_in_viewport_service_.inviewportserviceregistryobject.html b/docs/interfaces/_in_viewport_service_.inviewportserviceregistryobject.html index e27f327e..074af91c 100644 --- a/docs/interfaces/_in_viewport_service_.inviewportserviceregistryobject.html +++ b/docs/interfaces/_in_viewport_service_.inviewportserviceregistryobject.html @@ -100,7 +100,7 @@

      observer

      observer: IntersectionObserver
      @@ -110,7 +110,7 @@

      rootElement

      rootElement: Element
      @@ -120,7 +120,7 @@

      targets

      targets: Element[]
      @@ -144,6 +144,9 @@

      targets

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/modules/_in_viewport_.html b/docs/modules/_in_viewport_.html index 2ccd289e..a8af89a3 100644 --- a/docs/modules/_in_viewport_.html +++ b/docs/modules/_in_viewport_.html @@ -85,6 +85,9 @@

      External module "in-viewport"

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/modules/_in_viewport_config_class_.html b/docs/modules/_in_viewport_config_class_.html index 5c4b19e8..9bb2f1f2 100644 --- a/docs/modules/_in_viewport_config_class_.html +++ b/docs/modules/_in_viewport_config_class_.html @@ -110,6 +110,9 @@

      Interfaces

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/modules/_in_viewport_directive_.html b/docs/modules/_in_viewport_directive_.html index 1d53afc6..8940f0e9 100644 --- a/docs/modules/_in_viewport_directive_.html +++ b/docs/modules/_in_viewport_directive_.html @@ -90,10 +90,10 @@

      Variables

      Const InViewportMetadata

      -
      InViewportMetadata: unique symbol = Symbol('InViewportMetadata')
      +
      InViewportMetadata: symbol = Symbol('InViewportMetadata')
      @@ -117,6 +117,9 @@

      Const InViewportMetadat
    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/modules/_in_viewport_module_.html b/docs/modules/_in_viewport_module_.html index 24305498..d6c7d0b0 100644 --- a/docs/modules/_in_viewport_module_.html +++ b/docs/modules/_in_viewport_module_.html @@ -98,6 +98,9 @@

      Classes

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/modules/_in_viewport_service_.html b/docs/modules/_in_viewport_service_.html index 2712081f..b7feea88 100644 --- a/docs/modules/_in_viewport_service_.html +++ b/docs/modules/_in_viewport_service_.html @@ -104,6 +104,9 @@

      Interfaces

    • "in-viewport-config.class"
    • +
    • + "in-viewport-utils" +
    • "in-viewport.directive"
    • diff --git a/docs/modules/_in_viewport_utils_.html b/docs/modules/_in_viewport_utils_.html new file mode 100644 index 00000000..692c64d8 --- /dev/null +++ b/docs/modules/_in_viewport_utils_.html @@ -0,0 +1,188 @@ + + + + + + "in-viewport-utils" | ng-in-viewport + + + + + +
      +
      +
      +
      + +
      +
      + Options +
      +
      + All +
        +
      • Public
      • +
      • Public/Protected
      • +
      • All
      • +
      +
      + + + + + + +
      +
      + Menu +
      +
      +
      +
      +
      +
      + +

      External module "in-viewport-utils"

      +
      +
      +
      +
      +
      +
      +
      +

      Index

      +
      +
      +
      +

      Modules

      + +
      +
      +
      +
      +
      + +
      +
      +
      +
      +

      Legend

      +
      +
        +
      • Module
      • +
      • Object literal
      • +
      • Variable
      • +
      • Function
      • +
      • Function with type parameter
      • +
      • Index signature
      • +
      • Type alias
      • +
      +
        +
      • Enumeration
      • +
      • Enumeration member
      • +
      • Property
      • +
      • Method
      • +
      +
        +
      • Interface
      • +
      • Interface with type parameter
      • +
      • Constructor
      • +
      • Property
      • +
      • Method
      • +
      • Index signature
      • +
      +
        +
      • Class
      • +
      • Class with type parameter
      • +
      • Constructor
      • +
      • Property
      • +
      • Method
      • +
      • Accessor
      • +
      • Index signature
      • +
      +
        +
      • Inherited constructor
      • +
      • Inherited property
      • +
      • Inherited method
      • +
      • Inherited accessor
      • +
      +
        +
      • Protected property
      • +
      • Protected method
      • +
      • Protected accessor
      • +
      +
        +
      • Private property
      • +
      • Private method
      • +
      • Private accessor
      • +
      +
        +
      • Static property
      • +
      • Static method
      • +
      +
      +
      +
      +
      +

      Generated using TypeDoc

      +
      +
      + + + + \ No newline at end of file diff --git a/docs/modules/_in_viewport_utils_.inviewportutils.html b/docs/modules/_in_viewport_utils_.inviewportutils.html new file mode 100644 index 00000000..86d9fcdb --- /dev/null +++ b/docs/modules/_in_viewport_utils_.inviewportutils.html @@ -0,0 +1,223 @@ + + + + + + InViewportUtils | ng-in-viewport + + + + + +
      +
      +
      +
      + +
      +
      + Options +
      +
      + All +
        +
      • Public
      • +
      • Public/Protected
      • +
      • All
      • +
      +
      + + + + + + +
      +
      + Menu +
      +
      +
      +
      +
      +
      + +

      Module InViewportUtils

      +
      +
      +
      +
      +
      +
      +
      +

      Index

      +
      +
      +
      +

      Functions

      + +
      +
      +
      +
      +
      +

      Functions

      +
      + +

      isObject

      +
        +
      • isObject(value: any): boolean
      • +
      + +
      +
      + +

      isObjectLiteral

      +
        +
      • isObjectLiteral(value: any): boolean
      • +
      + +
      +
      +
      + +
      +
      +
      +
      +

      Legend

      +
      +
        +
      • Module
      • +
      • Object literal
      • +
      • Variable
      • +
      • Function
      • +
      • Function with type parameter
      • +
      • Index signature
      • +
      • Type alias
      • +
      +
        +
      • Enumeration
      • +
      • Enumeration member
      • +
      • Property
      • +
      • Method
      • +
      +
        +
      • Interface
      • +
      • Interface with type parameter
      • +
      • Constructor
      • +
      • Property
      • +
      • Method
      • +
      • Index signature
      • +
      +
        +
      • Class
      • +
      • Class with type parameter
      • +
      • Constructor
      • +
      • Property
      • +
      • Method
      • +
      • Accessor
      • +
      • Index signature
      • +
      +
        +
      • Inherited constructor
      • +
      • Inherited property
      • +
      • Inherited method
      • +
      • Inherited accessor
      • +
      +
        +
      • Protected property
      • +
      • Protected method
      • +
      • Protected accessor
      • +
      +
        +
      • Private property
      • +
      • Private method
      • +
      • Private accessor
      • +
      +
        +
      • Static property
      • +
      • Static method
      • +
      +
      +
      +
      +
      +

      Generated using TypeDoc

      +
      +
      + + + + \ No newline at end of file diff --git a/package.json b/package.json index 3a8afd4c..9fe4a842 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,23 @@ { "name": "ng-in-viewport", - "version": "1.2.7", + "version": "1.2.8", "description": "Allows us to check if an element is within the browsers visual viewport", + "keywords": [ + "intersection observer", + "visibility", + "viewport", + "lazy loading", + "lazy load image", + "lazy load images", + "infinite scroll", + "reactive", + "observable", + "ng", + "angular", + "angular 2", + "angular 4", + "angular 5" + ], "license": "MIT", "authors": [ { @@ -28,16 +44,19 @@ "intersection-observer": ">=0.5.0" }, "devDependencies": { - "@angular/compiler": ">=4.0.0 < 6", - "@angular/compiler-cli": ">=4.0.0 < 6", - "@angular/core": ">=4.0.0 < 6", - "@angular/common": ">=4.0.0 < 6", + "@angular/compiler": ">=4.0.0 < 6.0.0", + "@angular/compiler-cli": ">=4.0.0 < 6.0.0", + "@angular/core": ">=4.0.0 < 6.0.0", + "@angular/common": ">=4.0.0 < 6.0.0", "prettier": "^1.12.1", "rimraf": "^2.6.2", "rollup": "^0.58.2", "rxjs": "^5.0.1", "typedoc": "^0.11.1", - "typescript": "^2.3.2", + "typescript": "~2.6.2", "zone.js": "^0.8.4" + }, + "resolutions": { + "typescript": "2.6.2" } } diff --git a/src/in-viewport/in-viewport-config.class.ts b/src/in-viewport/in-viewport-config.class.ts index 59e40293..86ff9854 100644 --- a/src/in-viewport/in-viewport-config.class.ts +++ b/src/in-viewport/in-viewport-config.class.ts @@ -1,3 +1,6 @@ +import { InViewportUtils } from './in-viewport-utils'; +import isObjectLiteral = InViewportUtils.isObjectLiteral; + export enum InViewportConfigDirection { Both, Vertical, @@ -16,11 +19,10 @@ export class InViewportConfig { protected _direction: InViewportConfigDirection; constructor(options?: InViewportConfigOptions) { - this.rootElement = options && options.rootElement instanceof Element ? options.rootElement : void 0; - - this.partial = options && 'partial' in options ? options.partial : true; - - this.direction = options && 'direction' in options ? options.direction : InViewportConfigDirection.Both; + const exist = isObjectLiteral(options); + this.rootElement = exist && options.hasOwnProperty('rootElement') ? options.rootElement : void 0; + this.partial = exist && options.hasOwnProperty('partial') ? options.partial : true; + this.direction = exist && options.hasOwnProperty('direction') ? options.direction : void 0; } get rootElement(): Element { @@ -28,7 +30,7 @@ export class InViewportConfig { } set rootElement(value: Element) { - this._rootElement = value; + this._rootElement = value && value.nodeType === 1 ? value : void 0; } get partial(): boolean { @@ -44,6 +46,11 @@ export class InViewportConfig { } set direction(value: InViewportConfigDirection) { - this._direction = value; + const availableOptions = [ + InViewportConfigDirection.Both, + InViewportConfigDirection.Vertical, + InViewportConfigDirection.Horizontal + ]; + this._direction = availableOptions.indexOf(value) >= 0 ? value : InViewportConfigDirection.Both; } } diff --git a/src/in-viewport/in-viewport-utils.ts b/src/in-viewport/in-viewport-utils.ts new file mode 100644 index 00000000..0fed433b --- /dev/null +++ b/src/in-viewport/in-viewport-utils.ts @@ -0,0 +1,10 @@ +export namespace InViewportUtils { + export function isObject(value: any): boolean { + const type = typeof value; + return value != null && (type == 'object' || type == 'function'); + } + + export function isObjectLiteral(value: any): boolean { + return Object.prototype.toString.call(value) === '[object Object]'; + } +} diff --git a/src/in-viewport/in-viewport.directive.ts b/src/in-viewport/in-viewport.directive.ts index 61336c3c..901f3386 100644 --- a/src/in-viewport/in-viewport.directive.ts +++ b/src/in-viewport/in-viewport.directive.ts @@ -14,11 +14,13 @@ import { Subscription } from 'rxjs/Subscription'; import { InViewportConfig } from './in-viewport-config.class'; import { InViewportService } from './in-viewport.service'; +import { InViewportUtils } from './in-viewport-utils'; +import isObjectLiteral = InViewportUtils.isObjectLiteral; export const InViewportMetadata = Symbol('InViewportMetadata'); @Directive({ - selector: '[in-viewport], [inViewport]' + selector: '[inViewport], [in-viewport]' }) export class InViewportDirective implements AfterViewInit, OnDestroy { private config: InViewportConfig; @@ -37,14 +39,14 @@ export class InViewportDirective implements AfterViewInit, OnDestroy { @Input('inViewportOptions') set updateConfig(value: any) { - if (value && Object.prototype.toString.call(value) === '[object Object]') { - if (value.rootElement instanceof Element) { + if (isObjectLiteral(value)) { + if (value.hasOwnProperty('rootElement')) { this.config.rootElement = value.rootElement; } - if ('partial' in value) { + if (value.hasOwnProperty('partial')) { this.config.partial = value.partial; } - if ('direction' in value) { + if (value.hasOwnProperty('direction')) { this.config.direction = value.direction; } } diff --git a/src/package.json b/src/package.json index 821bffdb..96028eee 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,23 @@ { "name": "ng-in-viewport", - "version": "1.2.7", + "version": "1.2.8", "description": "Allows us to check if an element is within the browsers visual viewport", + "keywords": [ + "intersection observer", + "visibility", + "viewport", + "lazy loading", + "lazy load image", + "lazy load images", + "infinite scroll", + "reactive", + "observable", + "ng", + "angular", + "angular 2", + "angular 4", + "angular 5" + ], "license": "MIT", "authors": [ { @@ -22,8 +38,8 @@ "module": "index.es5.js", "es2015": "index.js", "peerDependencies": { - "@angular/core": ">=4.0.0 < 6", - "@angular/common": ">=4.0.0 < 6", + "@angular/core": ">=4.0.0 < 6.0.0", + "@angular/common": ">=4.0.0 < 6.0.0", "intersection-observer": ">=0.5.0" } } diff --git a/yarn.lock b/yarn.lock index b273271b..ca15359f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,30 +2,30 @@ # yarn lockfile v1 -"@angular/common@>=4.0.0 < 6": +"@angular/common@>=4.0.0 < 6.0.0": version "5.2.11" resolved "https://registry.yarnpkg.com/@angular/common/-/common-5.2.11.tgz#ee7520b02510a2868f30b1f91897102d48324edf" dependencies: tslib "^1.7.1" -"@angular/compiler-cli@>=4.0.0 < 6": - version "5.2.10" - resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.10.tgz#7e9dead0730dc20f7658e110a558b557b60e7be2" +"@angular/compiler-cli@>=4.0.0 < 6.0.0": + version "5.2.11" + resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-5.2.11.tgz#71a2885ac394a3c7a407c6ba0b920b52d73add99" dependencies: chokidar "^1.4.2" minimist "^1.2.0" reflect-metadata "^0.1.2" tsickle "^0.27.2" -"@angular/compiler@>=4.0.0 < 6": - version "5.2.10" - resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.10.tgz#1cd9914436f0707957823531c4418ce5b7e6a130" +"@angular/compiler@>=4.0.0 < 6.0.0": + version "5.2.11" + resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-5.2.11.tgz#ca2c38cda6ddde52b5948b8cff6551ff19d5e9de" dependencies: tslib "^1.7.1" -"@angular/core@>=4.0.0 < 6": - version "5.2.10" - resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.10.tgz#a6eba06cae7267efbd2666e3fa5e42b84c2261de" +"@angular/core@>=4.0.0 < 6.0.0": + version "5.2.11" + resolved "https://registry.yarnpkg.com/@angular/core/-/core-5.2.11.tgz#0e38fdf4fa038a3c168c72952682f2ee3721f1a3" dependencies: tslib "^1.7.1" @@ -938,13 +938,9 @@ typedoc@^0.11.1: typedoc-default-themes "^0.5.0" typescript "2.7.2" -typescript@2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836" - -typescript@^2.3.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.3.tgz#5d817f9b6f31bb871835f4edf0089f21abe6c170" +typescript@2.6.2, typescript@2.7.2, typescript@~2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4" uglify-js@^2.6: version "2.8.29"