Skip to content

Commit 8b39d71

Browse files
Seulgi KimSeulgi Kim
authored andcommitted
Upgrade typescript, tslint and prettier
1 parent 973a612 commit 8b39d71

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

test/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"@types/seedrandom": "^2.4.28",
3434
"@types/snappy": "^6.0.0",
3535
"mocha": "^6.1.4",
36-
"prettier": "^1.17.1",
37-
"tslint": "^5.16.0",
36+
"prettier": "^1.18.2",
37+
"ts-node": "^8.2.0",
38+
"tslint": "^5.17.0",
3839
"tslint-config-prettier": "^1.18.0",
3940
"tslint-no-unused-expression-chai": "^0.1.4",
40-
"ts-node": "^8.2.0",
41-
"typescript": "^3.4.5"
41+
"typescript": "^3.5.1"
4242
},
4343
"dependencies": {
4444
"blakejs": "^1.1.0",

test/src/helper/spawn.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,7 @@ export default class CodeChain {
251251
this.process.on("exit", (code, signal) => {
252252
if (code !== 0) {
253253
console.error(
254-
`CodeChain(${
255-
this.id
256-
}) exited with code ${code}, ${signal}`
254+
`CodeChain(${this.id}) exited with code ${code}, ${signal}`
257255
);
258256
} else if (!this.isTestFailed) {
259257
unlinkSync(this.logPath);

test/yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ js-tokens@^4.0.0:
10631063
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
10641064
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
10651065

1066-
[email protected], js-yaml@^3.13.0:
1066+
[email protected], js-yaml@^3.13.1:
10671067
version "3.13.1"
10681068
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
10691069
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@@ -1491,10 +1491,10 @@ prebuild-install@^5.2.2:
14911491
tunnel-agent "^0.6.0"
14921492
which-pm-runs "^1.0.0"
14931493

1494-
prettier@^1.17.1:
1495-
version "1.17.1"
1496-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.1.tgz#ed64b4e93e370cb8a25b9ef7fef3e4fd1c0995db"
1497-
integrity sha512-TzGRNvuUSmPgwivDqkZ9tM/qTGW9hqDKWOE9YHiyQdixlKbv7kvEqsmDPrcHJTKwthU774TQwZXVtaQ/mMsvjg==
1494+
prettier@^1.18.2:
1495+
version "1.18.2"
1496+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
1497+
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
14981498

14991499
process-nextick-args@~2.0.0:
15001500
version "2.0.0"
@@ -1914,18 +1914,18 @@ tslint-no-unused-expression-chai@^0.1.4:
19141914
dependencies:
19151915
tsutils "^3.0.0"
19161916

1917-
tslint@^5.16.0:
1918-
version "5.16.0"
1919-
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.16.0.tgz#ae61f9c5a98d295b9a4f4553b1b1e831c1984d67"
1920-
integrity sha512-UxG2yNxJ5pgGwmMzPMYh/CCnCnh0HfPgtlVRDs1ykZklufFBL1ZoTlWFRz2NQjcoEiDoRp+JyT0lhBbbH/obyA==
1917+
tslint@^5.17.0:
1918+
version "5.17.0"
1919+
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.17.0.tgz#f9f0ce2011d8e90debaa6e9b4975f24cd16852b8"
1920+
integrity sha512-pflx87WfVoYepTet3xLfDOLDm9Jqi61UXIKePOuca0qoAZyrGWonDG9VTbji58Fy+8gciUn8Bt7y69+KEVjc/w==
19211921
dependencies:
19221922
"@babel/code-frame" "^7.0.0"
19231923
builtin-modules "^1.1.1"
19241924
chalk "^2.3.0"
19251925
commander "^2.12.1"
19261926
diff "^3.2.0"
19271927
glob "^7.1.1"
1928-
js-yaml "^3.13.0"
1928+
js-yaml "^3.13.1"
19291929
minimatch "^3.0.4"
19301930
mkdirp "^0.5.1"
19311931
resolve "^1.3.2"
@@ -1964,10 +1964,10 @@ type-detect@^4.0.0, type-detect@^4.0.5:
19641964
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
19651965
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==
19661966

1967-
typescript@^3.4.5:
1968-
version "3.4.5"
1969-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99"
1970-
integrity sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw==
1967+
typescript@^3.5.1:
1968+
version "3.5.1"
1969+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.1.tgz#ba72a6a600b2158139c5dd8850f700e231464202"
1970+
integrity sha512-64HkdiRv1yYZsSe4xC1WVgamNigVYjlssIoaH2HcZF0+ijsk5YK2g0G34w9wJkze8+5ow4STd22AynfO6ZYYLw==
19711971

19721972
unorm@^1.4.1:
19731973
version "1.5.0"

0 commit comments

Comments
 (0)