Skip to content

Commit e061c15

Browse files
author
Alexander Belov
committed
Fixes
1 parent b4062a2 commit e061c15

File tree

6 files changed

+120
-19
lines changed

6 files changed

+120
-19
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ build/docs
1212
coverage
1313
.nyc_output
1414
*.log
15+
.idea

src/lib/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default () => console.log('works');
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// tslint:disable:no-expression-statement
2+
import test from 'ava';
3+
4+
test('test', t => {
5+
t.is(true, true);
6+
});

src/lib/segment-tree/segment-tree.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export class SegmentTree {}

tslint.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
// Immutability rules
1616
"readonly-keyword": true,
1717
"readonly-array": false,
18-
"no-let": true,
18+
"no-let": false,
1919
"no-object-mutation": true,
20-
"no-delete": true,
20+
"no-delete": false,
2121
"no-method-signature": true,
2222

2323
// Functional style rules
24-
"no-this": true,
25-
"no-class": true,
24+
"no-this": false,
25+
"no-class": false,
2626
"no-mixed-interface": true,
2727
"no-expression-statement": [
2828
true,
@@ -33,6 +33,7 @@
3333
"no-unused-variable": false,
3434
"no-unused-expression": false,
3535
"no-unused-locals": false,
36+
"no-console": false,
3637
"prefer-for-of": false
3738
/* end tslint-immutable rules */
3839
}

yarn.lock

Lines changed: 106 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
"@types/minimatch" "*"
342342
"@types/node" "*"
343343

344-
"@types/minimatch@*":
344+
"@types/minimatch@*", "@types/[email protected]":
345345
version "3.0.3"
346346
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
347347
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
@@ -602,6 +602,13 @@ babel-plugin-espower@^3.0.1:
602602
espurify "^1.6.0"
603603
estraverse "^4.1.1"
604604

605+
backbone@^1.4.0:
606+
version "1.4.0"
607+
resolved "https://registry.yarnpkg.com/backbone/-/backbone-1.4.0.tgz#54db4de9df7c3811c3f032f34749a4cd27f3bd12"
608+
integrity sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==
609+
dependencies:
610+
underscore ">=1.8.3"
611+
605612
balanced-match@^1.0.0:
606613
version "1.0.0"
607614
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
@@ -1680,6 +1687,15 @@ fs-extra@^7.0.0:
16801687
jsonfile "^4.0.0"
16811688
universalify "^0.1.0"
16821689

1690+
fs-extra@^8.1.0:
1691+
version "8.1.0"
1692+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
1693+
integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==
1694+
dependencies:
1695+
graceful-fs "^4.2.0"
1696+
jsonfile "^4.0.0"
1697+
universalify "^0.1.0"
1698+
16831699
fs.realpath@^1.0.0:
16841700
version "1.0.0"
16851701
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@@ -1805,7 +1821,7 @@ glob-parent@^5.0.0:
18051821
dependencies:
18061822
is-glob "^4.0.1"
18071823

1808-
glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
1824+
glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
18091825
version "7.1.4"
18101826
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
18111827
integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==
@@ -1883,7 +1899,7 @@ got@^9.6.0:
18831899
to-readable-stream "^1.0.0"
18841900
url-parse-lax "^3.0.0"
18851901

1886-
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6:
1902+
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0:
18871903
version "4.2.2"
18881904
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02"
18891905
integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==
@@ -1941,6 +1957,11 @@ hasha@^5.0.0:
19411957
is-stream "^1.1.0"
19421958
type-fest "^0.3.0"
19431959

1960+
highlight.js@^9.15.8:
1961+
version "9.15.10"
1962+
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.10.tgz#7b18ed75c90348c045eef9ed08ca1319a2219ad2"
1963+
integrity sha512-RoV7OkQm0T3os3Dd2VHLNMoaoDVx77Wygln3n9l5YV172XonWG6rgQD3XnF/BuFFZw9A0TJgmMSO8FEWQgvcXw==
1964+
19441965
hosted-git-info@^2.1.4:
19451966
version "2.8.4"
19461967
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.4.tgz#44119abaf4bc64692a16ace34700fed9c03e2546"
@@ -2032,7 +2053,7 @@ inflight@^1.0.4:
20322053
once "^1.3.0"
20332054
wrappy "1"
20342055

2035-
inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3:
2056+
inherits@2, inherits@^2.0.3, inherits@~2.0.3:
20362057
version "2.0.4"
20372058
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
20382059
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -2042,6 +2063,11 @@ ini@^1.3.2, ini@^1.3.4, ini@~1.3.0:
20422063
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
20432064
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
20442065

2066+
interpret@^1.0.0:
2067+
version "1.2.0"
2068+
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
2069+
integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==
2070+
20452071
invert-kv@^2.0.0:
20462072
version "2.0.0"
20472073
resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02"
@@ -2316,6 +2342,11 @@ istanbul-reports@^2.2.4:
23162342
dependencies:
23172343
handlebars "^4.1.2"
23182344

2345+
jquery@^3.4.1:
2346+
version "3.4.1"
2347+
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2"
2348+
integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==
2349+
23192350
js-string-escape@^1.0.1:
23202351
version "1.0.1"
23212352
resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef"
@@ -2504,7 +2535,7 @@ lodash.templatesettings@^4.0.0:
25042535
dependencies:
25052536
lodash._reinterpolate "^3.0.0"
25062537

2507-
lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.2.1:
2538+
lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.2.1:
25082539
version "4.17.15"
25092540
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
25102541
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
@@ -2555,6 +2586,11 @@ lru-cache@^4.0.0, lru-cache@^4.0.1:
25552586
pseudomap "^1.0.2"
25562587
yallist "^2.1.2"
25572588

2589+
lunr@^2.3.6:
2590+
version "2.3.6"
2591+
resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.6.tgz#f278beee7ffd56ad86e6e478ce02ab2b98c78dd5"
2592+
integrity sha512-swStvEyDqQ85MGpABCMBclZcLI/pBIlu8FFDtmX197+oEgKloJ67QnB+Tidh0340HmLMs39c4GrkPY3cmkXp6Q==
2593+
25582594
make-dir@^1.0.0:
25592595
version "1.3.0"
25602596
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
@@ -2594,6 +2630,11 @@ map-obj@^2.0.0:
25942630
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9"
25952631
integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk=
25962632

2633+
marked@^0.7.0:
2634+
version "0.7.0"
2635+
resolved "https://registry.yarnpkg.com/marked/-/marked-0.7.0.tgz#b64201f051d271b1edc10a04d1ae9b74bb8e5c0e"
2636+
integrity sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==
2637+
25972638
matcher@^2.0.0:
25982639
version "2.0.0"
25992640
resolved "https://registry.yarnpkg.com/matcher/-/matcher-2.0.0.tgz#85fe38d97670dbd2a46590cf099401e2ffb4755c"
@@ -2715,7 +2756,7 @@ mimic-response@^1.0.0, mimic-response@^1.0.1:
27152756
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
27162757
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
27172758

2718-
minimatch@^3.0.4:
2759+
minimatch@^3.0.0, minimatch@^3.0.4:
27192760
version "3.0.4"
27202761
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
27212762
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
@@ -3274,6 +3315,11 @@ process-nextick-args@~2.0.0:
32743315
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
32753316
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
32763317

3318+
progress@^2.0.3:
3319+
version "2.0.3"
3320+
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
3321+
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
3322+
32773323
pseudomap@^1.0.2:
32783324
version "1.0.2"
32793325
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
@@ -3386,6 +3432,13 @@ readdirp@^3.1.1:
33863432
dependencies:
33873433
picomatch "^2.0.4"
33883434

3435+
rechoir@^0.6.2:
3436+
version "0.6.2"
3437+
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
3438+
integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=
3439+
dependencies:
3440+
resolve "^1.1.6"
3441+
33893442
redent@^1.0.0:
33903443
version "1.0.0"
33913444
resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde"
@@ -3506,7 +3559,7 @@ resolve-from@^5.0.0:
35063559
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69"
35073560
integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==
35083561

3509-
resolve@^1.10.0, resolve@^1.3.2:
3562+
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2:
35103563
version "1.12.0"
35113564
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
35123565
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
@@ -3600,14 +3653,6 @@ set-blocking@^2.0.0:
36003653
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
36013654
integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
36023655

3603-
sha.js@^2.4.11:
3604-
version "2.4.11"
3605-
resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7"
3606-
integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==
3607-
dependencies:
3608-
inherits "^2.0.1"
3609-
safe-buffer "^5.0.1"
3610-
36113656
shebang-command@^1.2.0:
36123657
version "1.2.0"
36133658
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
@@ -3625,6 +3670,15 @@ shell-quote@^1.6.1:
36253670
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.1.tgz#3161d969886fb14f9140c65245a5dd19b6f0b06b"
36263671
integrity sha512-2kUqeAGnMAu6YrTPX4E3LfxacH9gKljzVjlkUeSqY0soGwK4KLl7TURXCem712tkhBCeeaFP9QK4dKn88s3Icg==
36273672

3673+
shelljs@^0.8.3:
3674+
version "0.8.3"
3675+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097"
3676+
integrity sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==
3677+
dependencies:
3678+
glob "^7.0.0"
3679+
interpret "^1.0.0"
3680+
rechoir "^0.6.2"
3681+
36283682
signal-exit@^3.0.0, signal-exit@^3.0.2:
36293683
version "3.0.2"
36303684
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
@@ -4130,6 +4184,38 @@ typedarray@^0.0.6:
41304184
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
41314185
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
41324186

4187+
typedoc-default-themes@^0.6.0:
4188+
version "0.6.0"
4189+
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.6.0.tgz#7e73bf54dd9e11550dd0fb576d5176b758f8f8b5"
4190+
integrity sha512-MdTROOojxod78CEv22rIA69o7crMPLnVZPefuDLt/WepXqJwgiSu8Xxq+H36x0Jj3YGc7lOglI2vPJ2GhoOybw==
4191+
dependencies:
4192+
backbone "^1.4.0"
4193+
jquery "^3.4.1"
4194+
lunr "^2.3.6"
4195+
underscore "^1.9.1"
4196+
4197+
typedoc@^0.15.0:
4198+
version "0.15.0"
4199+
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.15.0.tgz#21eaf4db41cf2797bad027a74f2a75cd08ae0c2d"
4200+
integrity sha512-NOtfq5Tis4EFt+J2ozhVq9RCeUnfEYMFKoU6nCXCXUULJz1UQynOM+yH3TkfZCPLzigbqB0tQYGVlktUWweKlw==
4201+
dependencies:
4202+
"@types/minimatch" "3.0.3"
4203+
fs-extra "^8.1.0"
4204+
handlebars "^4.1.2"
4205+
highlight.js "^9.15.8"
4206+
lodash "^4.17.15"
4207+
marked "^0.7.0"
4208+
minimatch "^3.0.0"
4209+
progress "^2.0.3"
4210+
shelljs "^0.8.3"
4211+
typedoc-default-themes "^0.6.0"
4212+
typescript "3.5.x"
4213+
4214+
4215+
version "3.5.3"
4216+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
4217+
integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==
4218+
41334219
typescript@^3.5.3:
41344220
version "3.6.2"
41354221
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.2.tgz#105b0f1934119dde543ac8eb71af3a91009efe54"
@@ -4148,6 +4234,11 @@ [email protected]:
41484234
resolved "https://registry.yarnpkg.com/uid2/-/uid2-0.0.3.tgz#483126e11774df2f71b8b639dcd799c376162b82"
41494235
integrity sha1-SDEm4Rd03y9xuLY53NeZw3YWK4I=
41504236

4237+
underscore@>=1.8.3, underscore@^1.9.1:
4238+
version "1.9.1"
4239+
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961"
4240+
integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==
4241+
41514242
unicode-canonical-property-names-ecmascript@^1.0.4:
41524243
version "1.0.4"
41534244
resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"

0 commit comments

Comments
 (0)