Commit Graph

160 Commits

Author SHA1 Message Date
Fukuda Naoto
1070e666e3 docs: add some missing JSDoc (denoland/deno#7765)
Refs denoland/deno#7487
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
57d903a06b build: migrate to dlint (denoland/deno#8176)
This commit migrates repository from using "eslint" 
to "dlint" for linting JavaScript code.
2021-02-01 10:46:58 +00:00
tokiedokie
8567b960f8 docs: version all imports in README (denoland/deno#7442)
Use $STD_VERSION in  README files to automatically
display proper version.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf docs: end sentences with a period in markdown (denoland/deno#7813) 2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320 feat(fmt): Sort named import and export specifiers (denoland/deno#7711) 2021-02-01 10:46:58 +00:00
Matthew Adams
fb45a61d3a docs(log): update example (denoland/deno#7157) 2021-02-01 10:46:58 +00:00
Kitson Kelly
d47cdf14aa feat: update to TypeScript 4.0 (denoland/deno#6514) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
0672c3a8ec fix: Make std work with isolatedModules (denoland/deno#7016) 2021-02-01 10:46:58 +00:00
David Sherret
1425960509 Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00
Kitson Kelly
9d4117f963 feat: add --no-check option (denoland/deno#6456)
This commit adds a "--no-check" option to following subcommands:
- "deno cache"
- "deno info"
- "deno run"
- "deno test"

The "--no-check" options allows to skip type checking step and instead 
directly transpiles TS sources to JS sources. 

This solution uses `ts.transpileModule()` API and is just an interim
solution before implementing it fully in Rust.
2021-02-01 10:46:58 +00:00
Paul Thompson
6d22f5f73c log - Expose Logger type and improve public interface for get & set log levels (denoland/deno#6617) 2021-02-01 10:46:58 +00:00
Water Zheng
04501ac731 fix(log): print "{msg}" when log an empty line (denoland/deno#6381) 2021-02-01 10:46:58 +00:00
Chris Knight
c17edf4000 feat(log): expose logger name to LogRecord (denoland/deno#6316) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
ccb92613f0 refactor: Don't destructure the Deno namespace (denoland/deno#6268) 2021-02-01 10:46:58 +00:00
Chris Knight
1a008bb379 feat(log): inline and deferred statement resolution logging (denoland/deno#5192) 2021-02-01 10:46:58 +00:00
Ryan Dahl
f8eb45e39d make std deno-lint clean (denoland/deno#6240)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-01 10:46:58 +00:00
Chris Knight
589fe4bd53 refactor: remove testing dependencies from non-test code (denoland/deno#5838) 2021-02-01 10:46:57 +00:00
Chris Knight
af970a30f1 fix: revert setInterval log flushing as it prevents process completion (denoland/deno#6127) 2021-02-01 10:46:57 +00:00
Chris Knight
07b1494f58 feat(log): buffered file logging (denoland/deno#6014) 2021-02-01 10:46:57 +00:00
zfx
5b59495867 fix(log): improve the calculation of byte length (denoland/deno#5819) 2021-02-01 10:46:57 +00:00
Szalay Kristóf
45134865a2 fix: Fix FileHandler test with mode 'x' on non-English systems (denoland/deno#5757) 2021-02-01 10:46:57 +00:00
zfx
f5a31672c9 fix(log): use writeAllSync instead of writeSync (denoland/deno#5868)
Deno.writeSync:
Returns the number of bytes written. 
It is not guaranteed that the full buffer will be written in a single call.
2021-02-01 10:46:57 +00:00
Marcos Casagrande
c327f0fcb2 fix(log): await default logger setup (denoland/deno#5341) 2021-02-01 10:46:57 +00:00
张超杰
f2b6446700 adjust docs for log (denoland/deno#4984) 2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
4facff44f2 BREAKING: remove overload of Deno.test() (denoland/deno#4951)
This commit removes overload of Deno.test() that accepted named
function.
2021-02-01 10:46:57 +00:00
Christopher Dieringer
135a60e5e9 refactor(log): support enum log level (denoland/deno#4859) 2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
5f53c9808c BREAKING CHANGE: remove Deno.OpenMode (denoland/deno#4884)
This commit removes Deno.OpenMode along with overloaded variants
of Deno.open() and Deno.openSync() that used OpenMode.
2021-02-01 10:46:57 +00:00
Chris Knight
e568443c5b feat(log): improvements and new log handler (denoland/deno#4674) 2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0 Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
82a523639a refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
Yusuke Sakurai
7534d8390a remove non-null assertion operator from std (part2) (denoland/deno#3927) 2021-02-01 10:46:57 +00:00
Yusuke Sakurai
ee8ec4b053 remove non-null assertion operator from std (part1) (denoland/deno#3900) 2021-02-01 10:46:57 +00:00
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
Kitson Kelly
1c5db631f7 Update to TypeScript 3.7 (denoland/deno#3275)
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes denoland/deno#3273
2021-02-01 10:46:56 +00:00
Ryan Dahl
d491d2e747 Run deno_std tests in github actions 2021-02-01 10:46:56 +00:00
Yoshiya Hinosawa
c3fe858f98 Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
Axetroy
06958a4ada bump prettier to 1.18.2 (#592) 2019-09-11 23:31:23 -04:00
Ryan Dahl
28e77389ff
Move colors to fmt (#571) 2019-08-24 10:38:18 -07:00
Bartek Iwańczuk
c44e5367bf feat: test runner (#516) 2019-08-14 20:04:56 -04:00
Xin Du (Clark)
c64734cbd9 use unknown instead of any (#486) 2019-06-06 12:56:33 -04:00
Bartek Iwańczuk
be24677d15 chore: Implement strict mode (#453) 2019-05-30 08:59:30 -04:00
梨子(Riko)
a9c4141723 docs(log): fix docs mistake (#372) 2019-04-30 08:19:55 -07:00
Bartek Iwańczuk
e2c187003d remove dead code from log/test.ts (#370) 2019-04-29 07:55:52 -07:00
Vincent LE GOFF
4543b563a9 Eslint fixes (#356)
Make warnings fail
2019-04-24 07:41:22 -04:00
Yoshiya Hinosawa
395392912d Use Deno global var instead of built-in "deno" module (#247) 2019-03-07 19:25:16 -05:00
Ryan Dahl
4cf39d4a14
Rename assertEq to assertEquals (#242)
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
2019-03-06 19:42:24 -05:00
Vincent LE GOFF
e1d5c00279 Testing refactor (#240) 2019-03-06 16:39:50 -05:00
Andy Hayden
0fc13fffbd Replace deno.land/x/ with deno.land/std/ (#239) 2019-03-06 10:24:53 -05:00
Kitson Kelly
c0390ade3d Add eslint for linting (#235) 2019-03-04 19:53:35 -05:00
Bert Belder
6063378a92 Change import { x } from "deno" to const { x } = Deno (#218) 2019-02-26 00:35:50 -05:00
Dmitry Sharshakov
d895c60a51 Add colors to log module (#175) 2019-02-10 21:28:52 -05:00
Dmitry Sharshakov
f2d23f8fcd Clean up tests (#176) 2019-02-08 12:23:51 -05:00
Dmitry Sharshakov
5440377495 Add missiong copyright headers (#177) 2019-02-07 11:45:47 -05:00
Bartek Iwańczuk
214fb8d2c6 Update log docs (#168) 2019-02-02 09:41:54 -05:00
Yoshiya Hinosawa
c758845601 fix: skip formatting of deleted files (#161) 2019-01-28 11:17:00 -05:00
James Garbutt
4b054d69ad log: add tests (#136) 2019-01-27 10:21:00 -05:00
木杉
61a3911be7 fix format (#140) 2019-01-21 09:35:07 -06:00
Bartek Iwańczuk
c304ee503a Implement formatters for log (#127) 2019-01-19 13:46:46 -05:00
Yungoo Kong
39cfdb48a8 Fix wrong links (#106) 2019-01-14 01:45:59 -05:00
Andy Hayden
c5e6e015b5 Reorgnanize repos, examples and tests (#105) 2019-01-12 16:50:04 -05:00