@angular/language-service 7.0.2 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.0.2
2
+ * @license Angular v7.0.3
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -7467,8 +7467,8 @@ define(['exports', 'fs', 'path', 'typescript'], function (exports, fs, path, ts)
7467
7467
  };
7468
7468
  Token.prototype.isNumber = function () { return this.type == TokenType.Number; };
7469
7469
  Token.prototype.isString = function () { return this.type == TokenType.String; };
7470
- Token.prototype.isOperator = function (operater) {
7471
- return this.type == TokenType.Operator && this.strValue == operater;
7470
+ Token.prototype.isOperator = function (operator) {
7471
+ return this.type == TokenType.Operator && this.strValue == operator;
7472
7472
  };
7473
7473
  Token.prototype.isIdentifier = function () { return this.type == TokenType.Identifier; };
7474
7474
  Token.prototype.isKeyword = function () { return this.type == TokenType.Keyword; };
@@ -13305,7 +13305,7 @@ define(['exports', 'fs', 'path', 'typescript'], function (exports, fs, path, ts)
13305
13305
  * Use of this source code is governed by an MIT-style license that can be
13306
13306
  * found in the LICENSE file at https://angular.io/license
13307
13307
  */
13308
- var VERSION$1 = new Version('7.0.2');
13308
+ var VERSION$1 = new Version('7.0.3');
13309
13309
 
13310
13310
  /**
13311
13311
  * @license
@@ -36654,7 +36654,7 @@ define(['exports', 'fs', 'path', 'typescript'], function (exports, fs, path, ts)
36654
36654
  /**
36655
36655
  * @publicApi
36656
36656
  */
36657
- var VERSION$2 = new Version$1('7.0.2');
36657
+ var VERSION$2 = new Version$1('7.0.3');
36658
36658
 
36659
36659
  /**
36660
36660
  * @license
@@ -49076,7 +49076,7 @@ define(['exports', 'fs', 'path', 'typescript'], function (exports, fs, path, ts)
49076
49076
  * Use of this source code is governed by an MIT-style license that can be
49077
49077
  * found in the LICENSE file at https://angular.io/license
49078
49078
  */
49079
- var VERSION$3 = new Version$1('7.0.2');
49079
+ var VERSION$3 = new Version$1('7.0.3');
49080
49080
 
49081
49081
  /**
49082
49082
  * @license
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.0.2
2
+ * @license Angular v7.0.3
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -289,7 +289,7 @@ var ji,Fi=function(){function t(t,e,n,r){this.file=t,this.offset=e,this.line=n,t
289
289
  *
290
290
  * Use of this source code is governed by an MIT-style license that can be
291
291
  * found in the LICENSE file at https://angular.io/license
292
- */(t.styles,"_ngcontent-%COMP%","_nghost-%COMP%"):t.styles).map(function(t){return me(t)});i.set("styles",fe(b))}return null!==t.animations&&i.set("data",de([{key:"animations",value:t.animations,quoted:!1}])),(t.selector||"").replace(/\n/g,""),{expression:pe(Sn.defineComponent).callFn([i.toLiteralMap()]),type:ja(t,Sn.ComponentDefWithMeta),statements:o}}(a({},n,za(n),{template:i,viewQueries:n.viewQueries.map(Wa),wrapDirectivesInClosure:!1,styles:n.styles||[],encapsulation:n.encapsulation,animations:null!=n.animations?new St(n.animations):null,viewProviders:null!=n.viewProviders?new St(n.viewProviders):null}),r,Na()),l=f(r.statements,u.statements);return nr(u.expression,t,e,l)},t}(),Ba=Object.keys({useClass:null})[0],Ha=Object.keys({useFactory:null})[0],qa=Object.keys({useValue:null})[0],Ua=Object.keys({useExisting:null})[0],Ka=function(t){var e=new St(t);return{value:e,type:e}};function Wa(t){return a({},t,{predicate:Array.isArray(t.predicate)?t.predicate:new St(t.predicate),read:t.read?new St(t.read):null})}function za(t){var e=$a(t.inputs||[]),n=$a(t.outputs||[]),r=t.propMetadata,i={},o={},s=function(t){r.hasOwnProperty(t)&&r[t].forEach(function(e){!function n(t){return"Input"===t.ngMetadataName}(e)?function r(t){return"Output"===t.ngMetadataName}(e)&&(o[t]=e.bindingPropertyName||t):i[t]=e.bindingPropertyName?[e.bindingPropertyName,t]:t})};for(var u in r)s(u);return a({},t,{typeSourceSpan:null,type:new St(t.type),deps:Xa(t.deps),host:function c(t,e){var n=function r(t){var e={},n={},r={},i={};return Object.keys(t).forEach(function(o){var s=t[o],a=o.match(Fa);null===a?e[o]=s:null!=a[1]?r[a[1]]=s:null!=a[2]?n[a[2]]=s:null!=a[3]&&(i[a[3]]=s)}),{attributes:e,listeners:n,properties:r,animations:i}}(t||{}),i=n.attributes,o=n.listeners,s=n.properties;if(Object.keys(n.animations).length>0)throw new Error("Animation bindings are as-of-yet unsupported in Ivy");var a=function(t){e.hasOwnProperty(t)&&e[t].forEach(function(e){!function n(t){return"HostBinding"===t.ngMetadataName}(e)?function r(t){return"HostListener"===t.ngMetadataName}(e)&&(o[e.eventName||t]=t+"("+(e.args||[]).join(",")+")"):s[e.hostPropertyName||t]=t})};for(var u in e)a(u);return{attributes:i,listeners:o,properties:s}}(t.host,t.propMetadata),inputs:a({},e,i),outputs:a({},n,o),providers:null!=t.providers?new St(t.providers):null})}function Qa(t,e){return t.hasOwnProperty(e)?new St(t[e]):void 0}function Ga(t){return{token:null===t.token?new It(null):t.resolved===Dn.Attribute?new It(t.token):new St(t.token),resolved:t.resolved,host:t.host,optional:t.optional,self:t.self,skipSelf:t.skipSelf}}function Xa(t){return null==t?null:t.map(Ga)}function $a(t){return t.reduce(function(t,e){var n=h(e.split(",").map(function(t){return t.trim()}),2),r=n[0];return t[r]=n[1]||r,t},{})}new Ke("7.0.2");
292
+ */(t.styles,"_ngcontent-%COMP%","_nghost-%COMP%"):t.styles).map(function(t){return me(t)});i.set("styles",fe(b))}return null!==t.animations&&i.set("data",de([{key:"animations",value:t.animations,quoted:!1}])),(t.selector||"").replace(/\n/g,""),{expression:pe(Sn.defineComponent).callFn([i.toLiteralMap()]),type:ja(t,Sn.ComponentDefWithMeta),statements:o}}(a({},n,za(n),{template:i,viewQueries:n.viewQueries.map(Wa),wrapDirectivesInClosure:!1,styles:n.styles||[],encapsulation:n.encapsulation,animations:null!=n.animations?new St(n.animations):null,viewProviders:null!=n.viewProviders?new St(n.viewProviders):null}),r,Na()),l=f(r.statements,u.statements);return nr(u.expression,t,e,l)},t}(),Ba=Object.keys({useClass:null})[0],Ha=Object.keys({useFactory:null})[0],qa=Object.keys({useValue:null})[0],Ua=Object.keys({useExisting:null})[0],Ka=function(t){var e=new St(t);return{value:e,type:e}};function Wa(t){return a({},t,{predicate:Array.isArray(t.predicate)?t.predicate:new St(t.predicate),read:t.read?new St(t.read):null})}function za(t){var e=$a(t.inputs||[]),n=$a(t.outputs||[]),r=t.propMetadata,i={},o={},s=function(t){r.hasOwnProperty(t)&&r[t].forEach(function(e){!function n(t){return"Input"===t.ngMetadataName}(e)?function r(t){return"Output"===t.ngMetadataName}(e)&&(o[t]=e.bindingPropertyName||t):i[t]=e.bindingPropertyName?[e.bindingPropertyName,t]:t})};for(var u in r)s(u);return a({},t,{typeSourceSpan:null,type:new St(t.type),deps:Xa(t.deps),host:function c(t,e){var n=function r(t){var e={},n={},r={},i={};return Object.keys(t).forEach(function(o){var s=t[o],a=o.match(Fa);null===a?e[o]=s:null!=a[1]?r[a[1]]=s:null!=a[2]?n[a[2]]=s:null!=a[3]&&(i[a[3]]=s)}),{attributes:e,listeners:n,properties:r,animations:i}}(t||{}),i=n.attributes,o=n.listeners,s=n.properties;if(Object.keys(n.animations).length>0)throw new Error("Animation bindings are as-of-yet unsupported in Ivy");var a=function(t){e.hasOwnProperty(t)&&e[t].forEach(function(e){!function n(t){return"HostBinding"===t.ngMetadataName}(e)?function r(t){return"HostListener"===t.ngMetadataName}(e)&&(o[e.eventName||t]=t+"("+(e.args||[]).join(",")+")"):s[e.hostPropertyName||t]=t})};for(var u in e)a(u);return{attributes:i,listeners:o,properties:s}}(t.host,t.propMetadata),inputs:a({},e,i),outputs:a({},n,o),providers:null!=t.providers?new St(t.providers):null})}function Qa(t,e){return t.hasOwnProperty(e)?new St(t[e]):void 0}function Ga(t){return{token:null===t.token?new It(null):t.resolved===Dn.Attribute?new It(t.token):new St(t.token),resolved:t.resolved,host:t.host,optional:t.optional,self:t.self,skipSelf:t.skipSelf}}function Xa(t){return null==t?null:t.map(Ga)}function $a(t){return t.reduce(function(t,e){var n=h(e.split(",").map(function(t){return t.trim()}),2),r=n[0];return t[r]=n[1]||r,t},{})}new Ke("7.0.3");
293
293
  /**
294
294
  * @license
295
295
  * Copyright Google Inc. All Rights Reserved.
@@ -1150,7 +1150,7 @@ function F_(){}cf({provide:String,useValue:cf});var V_=F_,B_=F_,H_=F_,q_=cf({pro
1150
1150
  * Use of this source code is governed by an MIT-style license that can be
1151
1151
  * found in the LICENSE file at https://angular.io/license
1152
1152
  */
1153
- var W_=function(t){return function(e,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o=e.constructor;o.hasOwnProperty(vf)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(lf(r.inputs,n.inputs),lf(r.outputs,n.outputs),lf(r.declaredInputs,n.declaredInputs))}(e),t(o.ngBaseDef)[n]=r[0]}},z_=(kf("Input",function(t){return{bindingPropertyName:t}},void 0,W_(function(t){return t.inputs||{}})),kf("Output",function(t){return{bindingPropertyName:t}},void 0,W_(function(t){return t.outputs||{}})),kf("HostBinding",function(t){return{hostPropertyName:t}}),kf("HostListener",function(t,e){return{eventName:t,args:e}}),Pf("NgModule",function(t){return t},void 0,void 0,function(t,e){return function n(t,e){var n=e&&e.imports||[];e&&e.exports&&(n=f(n,[e.exports])),t.ngInjectorDef=function r(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}({factory:K_(t,{useClass:t}),providers:e&&e.providers,imports:n})}(t,e)})),Q_=function Ke(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},G_=new Q_("7.0.2"),X_=Pf("Injectable",void 0,void 0,void 0,function(t,e){return function n(t,e){e&&void 0!==e.providedIn&&!gf(t)&&(t.ngInjectableDef=mf({providedIn:e.providedIn,factory:K_(t,e)}))}(t,e)}),$_="ngDebugContext",Y_="ngOriginalError",Z_="ngErrorLogger";function J_(t){return t[$_]}function tb(t){return t[Y_]}function eb(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,f(e))}
1153
+ var W_=function(t){return function(e,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o=e.constructor;o.hasOwnProperty(vf)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(lf(r.inputs,n.inputs),lf(r.outputs,n.outputs),lf(r.declaredInputs,n.declaredInputs))}(e),t(o.ngBaseDef)[n]=r[0]}},z_=(kf("Input",function(t){return{bindingPropertyName:t}},void 0,W_(function(t){return t.inputs||{}})),kf("Output",function(t){return{bindingPropertyName:t}},void 0,W_(function(t){return t.outputs||{}})),kf("HostBinding",function(t){return{hostPropertyName:t}}),kf("HostListener",function(t,e){return{eventName:t,args:e}}),Pf("NgModule",function(t){return t},void 0,void 0,function(t,e){return function n(t,e){var n=e&&e.imports||[];e&&e.exports&&(n=f(n,[e.exports])),t.ngInjectorDef=function r(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}({factory:K_(t,{useClass:t}),providers:e&&e.providers,imports:n})}(t,e)})),Q_=function Ke(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},G_=new Q_("7.0.3"),X_=Pf("Injectable",void 0,void 0,void 0,function(t,e){return function n(t,e){e&&void 0!==e.providedIn&&!gf(t)&&(t.ngInjectableDef=mf({providedIn:e.providedIn,factory:K_(t,e)}))}(t,e)}),$_="ngDebugContext",Y_="ngOriginalError",Z_="ngErrorLogger";function J_(t){return t[$_]}function tb(t){return t[Y_]}function eb(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,f(e))}
1154
1154
  /**
1155
1155
  * @license
1156
1156
  * Copyright Google Inc. All Rights Reserved.
@@ -1449,7 +1449,7 @@ var YC=function(){function t(t){this._nativeNode=t}return Object.defineProperty(
1449
1449
  *
1450
1450
  * Use of this source code is governed by an MIT-style license that can be
1451
1451
  * found in the LICENSE file at https://angular.io/license
1452
- */(n,i):{message:n.message,span:i}})||[]},t.prototype.getDeclarationFromNode=function(t,e){var n,i;if(e.kind==r.SyntaxKind.ClassDeclaration&&e.decorators&&e.name)try{for(var o=p(e.decorators),s=o.next();!s.done;s=o.next()){var a=s.value;if(a.expression&&a.expression.kind==r.SyntaxKind.CallExpression){var u=e;if(u.name){var c=a.expression.expression;if(this.checker.getTypeAtLocation(c)){var l=this.reflector.getStaticSymbol(t.fileName,u.name.text);try{if(this.resolver.isDirective(l)){var h=this.resolver.getNonNormalizedDirectiveMetadata(l).metadata;return{type:l,declarationSpan:f=rT(c),metadata:h,errors:this.getCollectedErrors(f,t)}}}catch(e){var f;if(e.message)return this.collectError(e,t.fileName),{type:l,declarationSpan:f=rT(c),errors:this.getCollectedErrors(f,t)}}}}}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.prototype.stringOf=function(t){switch(t.kind){case r.SyntaxKind.NoSubstitutionTemplateLiteral:case r.SyntaxKind.StringLiteral:return t.text}},t.prototype.findNode=function(t,e){return function t(n){if(e>=n.getStart()&&e<n.getEnd())return r.forEachChild(n,t)||n}(t)},t.missingTemplate=[void 0,void 0],t}();function rT(t){return{start:t.getStart(),end:t.getEnd()}}var iT=new WeakMap,oT=new Q_("7.0.2");
1452
+ */(n,i):{message:n.message,span:i}})||[]},t.prototype.getDeclarationFromNode=function(t,e){var n,i;if(e.kind==r.SyntaxKind.ClassDeclaration&&e.decorators&&e.name)try{for(var o=p(e.decorators),s=o.next();!s.done;s=o.next()){var a=s.value;if(a.expression&&a.expression.kind==r.SyntaxKind.CallExpression){var u=e;if(u.name){var c=a.expression.expression;if(this.checker.getTypeAtLocation(c)){var l=this.reflector.getStaticSymbol(t.fileName,u.name.text);try{if(this.resolver.isDirective(l)){var h=this.resolver.getNonNormalizedDirectiveMetadata(l).metadata;return{type:l,declarationSpan:f=rT(c),metadata:h,errors:this.getCollectedErrors(f,t)}}}catch(e){var f;if(e.message)return this.collectError(e,t.fileName),{type:l,declarationSpan:f=rT(c),errors:this.getCollectedErrors(f,t)}}}}}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},t.prototype.stringOf=function(t){switch(t.kind){case r.SyntaxKind.NoSubstitutionTemplateLiteral:case r.SyntaxKind.StringLiteral:return t.text}},t.prototype.findNode=function(t,e){return function t(n){if(e>=n.getStart()&&e<n.getEnd())return r.forEachChild(n,t)||n}(t)},t.missingTemplate=[void 0,void 0],t}();function rT(t){return{start:t.getStart(),end:t.getEnd()}}var iT=new WeakMap,oT=new Q_("7.0.3");
1453
1453
  /**
1454
1454
  * @license
1455
1455
  * Copyright Google Inc. All Rights Reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/language-service",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "Angular - language services",
5
5
  "main": "./bundles/language-service.umd.js",
6
6
  "module": "./fesm5/language-service.js",
package/src/version.js CHANGED
@@ -22,6 +22,6 @@
22
22
  * Entry point for all public APIs of the common package.
23
23
  */
24
24
  var core_1 = require("@angular/core");
25
- exports.VERSION = new core_1.Version('7.0.2');
25
+ exports.VERSION = new core_1.Version('7.0.3');
26
26
  });
27
27
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2xhbmd1YWdlLXNlcnZpY2Uvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7SUFFSDs7OztPQUlHO0lBRUgsc0NBQXNDO0lBRXpCLFFBQUEsT0FBTyxHQUFHLElBQUksY0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21tb24gcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19