@aurelia/route-recognizer
Advanced tools
Comparing version 0.8.0-dev.202010070120 to 0.8.0-dev.202010070306
@@ -26,3 +26,2 @@ /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||
constructor(chars, states, skippedStates, result) { | ||
var _a; | ||
this.chars = chars; | ||
@@ -33,3 +32,3 @@ this.states = states; | ||
this.head = states[states.length - 1]; | ||
this.endpoint = (_a = this.head) === null || _a === void 0 ? void 0 : _a.endpoint; | ||
this.endpoint = this.head.endpoint; | ||
} | ||
@@ -36,0 +35,0 @@ advance(ch) { |
@@ -41,3 +41,2 @@ /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||
constructor(chars, states, skippedStates, result) { | ||
var _a; | ||
this.chars = chars; | ||
@@ -48,3 +47,3 @@ this.states = states; | ||
this.head = states[states.length - 1]; | ||
this.endpoint = (_a = this.head) === null || _a === void 0 ? void 0 : _a.endpoint; | ||
this.endpoint = this.head.endpoint; | ||
} | ||
@@ -51,0 +50,0 @@ advance(ch) { |
{ | ||
"name": "@aurelia/route-recognizer", | ||
"version": "0.8.0-dev.202010070120", | ||
"version": "0.8.0-dev.202010070306", | ||
"main": "dist/umd/index.js", | ||
@@ -37,5 +37,5 @@ "module": "dist/esnext/index.js", | ||
"devDependencies": { | ||
"typescript": "^3.9.3" | ||
"typescript": "^4.0.3" | ||
}, | ||
"gitHead": "0e5759c1b9eaab7a7ccdb7d0c1ffd99faa3a02bf" | ||
"gitHead": "c16cb9a2ef6b8052945c5dc1b8b1d99d154343e9" | ||
} |
@@ -45,3 +45,3 @@ /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||
this.head = states[states.length - 1]; | ||
this.endpoint = this.head?.endpoint!; | ||
this.endpoint = this.head!.endpoint!; | ||
} | ||
@@ -48,0 +48,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92003
1603