Commit Graph

62 Commits

Author SHA1 Message Date
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
Caleb Cox
381d70dcd1
docs(archive,log,testing): correct typos (#5995)
* docs(log,testing): replace colours with colors

Use the American spelling of colors in docs for consistency with module
and option names.

* docs(archive,testing): replace it's with its

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-16 22:48:56 +00:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
wangb
4e6dafea74
docs(log): remove string formatter description (#4558) 2024-04-09 13:37:28 +10:00
Asher Gomez
d50e074a55
BREAKING(log): remove WARNING log level (#4258)
* BREAKING(log): remove deprecated APIs

* update
2024-02-02 16:57:14 +11:00
cin
fdee06d35a
refactor(log): refactor log codebase to adhere to singe-export files (#4254)
* refactor: log codebase

* refactor: log codebase

* fix: lint

* fix: cr

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-02 11:35:43 +11:00
Tim Reichen
d23718945e
feat(tools,log,http,semver): check mod exports, export items consistently from mod.ts (#4229) 2024-01-25 18:36:46 +09:00
Asher Gomez
d1614ba4b5
BREAKING(log): single-export handler files (#4236) 2024-01-25 16:22:35 +09:00
Asher Gomez
e3cb0cc3bf
refactor(log): tidy imports and exports (#4215) 2024-01-17 13:55:06 +11:00
Tim Reichen
f62d881ea0
refactor(log): replace deprecated imports (#4188)
* initial commit

* update

* refactor: update more imports

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-15 08:14:48 +11:00
Asher Gomez
3144d893da
deprecation(log): move handlers to single-export files (#4176) 2024-01-12 19:17:25 +11:00
Tim Reichen
f5b6774dcd
deprecation(log): rename warning() to warn() (#4117)
* initial commit

* Update log/logger.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* replace WARNING with WARN

* update

* refactor(cli): make `Spinner` constructor options more readable (#4091)

* initial commit

* update

* docs(testing): fix assertion deprecation notices (#4122)

* refactor(assert): remove `void` return types (#4124)

* fix(http): punt removal version of `unstable_cookie_map.ts` (#4125)

* chore: ignore `/docs` in license checker tool (#4123)

* deprecation(semver): rename `rangeFormat()` to `formatRange()` (#4090)

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* refactor(archive): prepare for `noUncheckedIndexedAccess` (#4110)

* refactor(archive): prepare for noUncheckedIndexedAccess

* adjust test to handle new TarHeader requirements

* revert WARNING

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Simon Holloway <simon@syhol.io>
2024-01-11 12:36:15 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Simon Holloway
756ddf376b
refactor(log): prepare for noUncheckedIndexedAccess (#4042) 2023-12-31 06:31:23 +11:00
Tim Reichen
c3da97124c
deprecation(log): string type for BaseHandler.formatter (#4023)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-30 18:59:36 +09:00
David Sherret
ceb107f4ef
chore: add more explicit types (#4018)
* Add explicit types

* Format.

* Revert
2023-12-22 15:35:15 +11:00
Simon Holloway
1f2a07a4de
feat(log): add support for structured JSON logging (#3960) 2023-12-18 20:19:47 +09:00
realpha
6a9c12f7de
deprecate(log): remove enums and add deprecation notices (#3855)
* feat(log): replaced LogLevels enum with object and enforced stricter types

* feat(log): updated types

* chore(log): updated types in tests

* chore(log): retain bimap for const object and add deprecation notices

* refactor(log): added deprecation notices and hardened level setter

* feat(log): added LogLevel to module API

* chore(log): removed unnecessary type casts in tests

* chore(log): remove unused import in test files

* tweaks

* tweak

* fmt

* Revert "fmt"

This reverts commit f3d6897d1e.

* Revert "tweak"

This reverts commit 67edf66091.

* Revert "tweaks"

This reverts commit ab8cca47ad.

* remove types from JSDocs

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-28 06:26:21 +11:00
Lino Le Van
75e02c740b
fix(log): rotating file handler sync setup and destroy (#3543) 2023-08-29 16:48:52 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Asher Gomez
792f1334fe
refactor: use _util/asserts.ts for non-test code (#2857) 2022-11-10 16:28:20 +09:00
Leo Kettmeir
ebeecacd61
fix(log): make setup and destroy sync (#2532)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-09-08 17:21:26 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
Bartek Iwańczuk
a06298b0b5
chore: Update top level module JSDocs (#2343)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-14 11:20:56 +02:00
like-nanhai
c75454c44b
docs: add module level docs (#2190) 2022-05-04 19:34:37 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Ryan Dahl
455077a905
fix: type check examples in README files (#1121)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-11 11:28:10 +02:00
William Perron
69f3d67cb2
chore: remove Promise<void> return type annotation (#819)
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.

used this one-liner to automatically remove everything:

```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Ryan Dahl
48a2496dbe update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
Fukuda Naoto
1070e666e3 docs: add some missing JSDoc (denoland/deno#7765)
Refs denoland/deno#7487
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
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
Chris Knight
c17edf4000 feat(log): expose logger name to LogRecord (denoland/deno#6316) 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
Chris Knight
589fe4bd53 refactor: remove testing dependencies from non-test code (denoland/deno#5838) 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
Christopher Dieringer
135a60e5e9 refactor(log): support enum log level (denoland/deno#4859) 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
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