Yoshiya Hinosawa
0ce9c2bf7e
experiment
2024-01-31 18:10:15 +09:00
cin
aad9999265
refactor(log): remove log private methods/properties underscore ( #4243 )
2024-01-28 01:28:51 +09: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
17385c51fc
BREAKING(log): remove string formatter ( #4239 )
...
* BREAKING(log): remove `handlers.ts`
* fix
* BREAKING(log): remove string formatter
2024-01-25 17:03:19 +09:00
Asher Gomez
d1614ba4b5
BREAKING(log): single-export handler files ( #4236 )
2024-01-25 16:22:35 +09:00
Asher Gomez
53d27bb434
fix(log): make flattenArgs()
private ( #4214 )
2024-01-17 16:18:02 +09:00
Asher Gomez
e3cb0cc3bf
refactor(log): tidy imports and exports ( #4215 )
2024-01-17 13:55:06 +11:00
Asher Gomez
197fad67d3
feat(log): make handlers disposable ( #4195 )
2024-01-15 13:06:25 +09: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
Asher Gomez
fc816ef2e4
deprecation(log): deprecate LogLevels.WARNING
( #4170 )
...
* deprecation(log): deprecate `LogLevels.WARNING`
* change
2024-01-12 16:07:06 +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
Asher Gomez
c79d68b905
BREAKING(log): remove deprecated APIs ( #4104 )
2024-01-09 10:43:19 +09:00
Tim Reichen
cd0f7def26
refactor(log): remove obsolete Log.handler
property getter and setter ( #4100 )
...
initial commit
2024-01-05 09:57:26 +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
Simon Holloway
835480dc8a
chore(log): rework std/log
to work without deprecated Deno.Writer
( #4021 )
...
* chore(log): rework std/log to no longer depend on the deprecated Writer
* handle unwritten buffer data and tidy bits
* Update log/handlers.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* make resetBuffer private
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-28 13:59:00 +11:00
David Sherret
ceb107f4ef
chore: add more explicit types ( #4018 )
...
* Add explicit types
* Format.
* Revert
2023-12-22 15:35:15 +11:00
David Sherret
b0803619af
refactor: add some missing explicit types ( #3997 )
...
* refactor: add some missing return types and mark some non-exported types as `@internal`
* Update expect/fn.ts
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* Remove @internals
* nits
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
Simon Holloway
1f2a07a4de
feat(log): add support for structured JSON logging ( #3960 )
2023-12-18 20:19:47 +09:00
Asher Gomez
451efa6243
deprecation: move types.d.ts
to std/io
( #3885 )
...
* deprecation: move `types.d.ts` to `std/io`
* fix
2023-12-01 11:46:43 +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
Mizuki
fd5722bbb6
fix(log): fix serializing BigInt value in object ( #3550 )
2023-08-21 13:26:58 +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
Asher Gomez
2f9baf6794
refactor: remove Deno namespace IO types ( #3030 )
2022-12-23 14:33:12 +09:00
Asher Gomez
8b8950e64c
BREAKING(io): single-export files ( #2975 )
2022-12-05 15:51:08 +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
Damien Arrachequesne
8dd5e5c5d1
docs(log): add note for module authors ( #2843 )
2022-11-07 16:12:22 +09:00
ayame113
6b04b730b1
chore: Avoid using rid-based filesystem functions ( #2763 )
2022-10-10 10:07:24 -04:00
Asher Gomez
12912ddc36
docs(fs): document the deprecation of exists
and existsSync
( #2730 )
2022-10-03 17:52:55 +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
Mark Ladyshau
1bba810b48
refactor: replace TS private
with private identifiers ( #2272 )
2022-05-27 21:27:13 +09:00
like-nanhai
c75454c44b
docs: add module level docs ( #2190 )
2022-05-04 19:34:37 +09:00
DUANCKHAM
5062497d49
fix(log): fix log formatter issue ( #2070 )
2022-04-07 12:56:48 +09:00
Jesse Jackson
58204e6f56
refactor: mark modules as browser compatible ( #1972 )
2022-03-01 13:25:50 +09:00
Elisée Maurer
0bda42d822
chore: Enable "noImplicitOverride" compiler option and fix errors ( #1940 )
...
This commit makes deno_std "noImplicitOverride"-compliant and
enables the compiler option in deno.json so that further changes
don't regress it
2022-02-20 17:35:40 +01:00
Bartek Iwańczuk
737ea15bb9
chore: don't use deprecated Deno.File API ( #1935 )
2022-02-17 16:58:54 -05:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
lmx-Hexagram
f4228dedaf
fix(log): flush to file when buffer is full ( #1782 )
2022-01-20 01:27:17 +01:00
Nayeem Rahman
d21aa79126
BREAKING(io): Reorganize modules ( #813 )
...
This commit reogranizes many modules:
- Move exports of io/bufio.ts (removed) into io/buffer.ts.
- Move exports of io/util.ts (repurposed, see next bullet) into io/streams.ts.
* With the exception of readRange() and readRangeSync(), which have been moved to io/files.ts (new).
*Also rename iter() and iterSync() to iterateReader() and iterateReaderSync() respectively.
- Move exports of io/ioutil.ts (removed) into io/util.ts.
Deprecation messages were added to old modules to make this change backwards compatible.
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-10-08 03:42:33 +02: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
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +09:00