Asher Gomez
1453e7c0a0
refactor(io): remove obsolete check in readLine ( #2574 )
2022-08-30 13:00:15 +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
Dunkan
a03533fa7a
docs(io): remove title attribute ( #2496 )
2022-08-04 17:29:02 +09:00
Josh Mandel
996eab801b
fix(io): StringWriter retaining references after write ( #2456 )
2022-07-25 15:21:13 +09: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
sigmaSd
826eb0178b
docs(io): reference the streams conversion api ( #2338 )
2022-06-11 19:12:59 +09:00
Yoshiya Hinosawa
034c6e2833
test: fix unhandled promises in test cases ( #2281 )
2022-05-29 21:02:37 +09: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
TrickyPi
3e7c4501a1
BREAKING(io/readers): use an array as a MultiReader constructor parameter to avoid Maximum call stack size exceeded ( #2016 )
2022-04-08 15:03:51 +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
Kitson Kelly
a9f6a1c4a7
fix(io/buffer): super and initialized prop ( #1917 )
2022-02-14 15:03:52 +11:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Carter Snook
4304aff02f
chore(node/buffer): convert to js private variables ( #1655 )
2021-11-30 14:18:28 +09:00
Jonah Snider
1d9cd65f95
perf: use Array.from
instead of new Array
( #1551 )
...
Co-authored-by: Leon Strauss <me@lionc.de>
2021-11-11 10:21:06 +01:00
Yoshiya Hinosawa
3a455958b4
chore(io): better deprecation message ( #1432 )
2021-10-20 00:20:09 +09:00
Zheyu Zhang
8159420484
fix(std/io): fix readline when catch BufferFullError ( #1377 )
2021-10-14 02:04:08 +09:00
Leo K
b58b10c229
feat: streams utilities ( #1141 )
2021-10-12 11:51:48 +02: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
Bartek Iwańczuk
44c326dc5b
fix: update to latest signal API changes ( #1211 )
2021-09-15 01:32:26 +02:00
Nayeem Rahman
68816960ac
feat(io/streams): propagate cancel in readableStreamFromIterable() ( #1274 )
2021-09-14 14:07:32 +09:00
Yuki Tanaka
76d8c0159b
chore: wrap examples in fenced code blocks ( #1222 )
2021-09-13 00:14:54 +09:00
Vladislav Nezhutin
914d9f4ece
docs: fix doc for writerFromStreamWriter ( #1220 )
2021-09-11 11:48:13 +09:00
Kitson Kelly
b7c61a27a7
chore: updates related to TypeScript 4.4 ( #1171 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-31 14:39:04 +10: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
Yoshiya Hinosawa
186354327c
chore: enable doc type checking ( #1050 )
2021-07-23 19:09:38 +09:00
Luca Casonato
81314bcab8
feat: add copy
util to std/io ( #1016 )
...
This is in preparation of deprecation in Deno, and removal in Deno 2.0.
2021-07-12 14:46:07 +02:00
Alexander O'Mara
ee8965fd4a
feat(io/streams): add autoClose option to writableStreamFromWriter ( #964 )
2021-07-06 12:06:57 +09:00
Yoshiya Hinosawa
01af5fad1c
fix(io/bufio): fix handling of trailing new line ( #990 )
2021-07-01 14:14:17 +09:00
Yusuke Tanaka
81be5faad9
chore: remove ESLint directives ( #941 )
2021-05-30 15:25:01 +09:00
Kitson Kelly
039271fa6c
chore: update std for TypeScript 4.3 changes ( #938 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-05-30 10:46:38 +10:00
Carlos Ramos
b14e64e500
feat(io/bufio): add encoding options to readLines
and readStringDelim
( #921 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-05-18 12:39:02 +09:00
Yoshiya Hinosawa
b20aee7eef
fix(io/buffer): make Buffer compatible with Deploy ( #912 )
2021-05-14 09:26:00 +09:00
Yusuke Sakurai
24e77f8596
fix(io/bufio): readDelim returns wrong result if delim strides over chunks ( #877 )
2021-05-14 09:22:47 +09:00
Kitson Kelly
e78300c63f
fix(io/streams): don't use a byte ReadableStream ( #891 )
...
Fixes : #871
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-05-03 08:32:52 +10:00
Yoshiya Hinosawa
d2f076b9d9
chore: fmt with canary ( #889 )
...
- also disables coverage steps in ubuntu CI runner
2021-04-30 14:27:01 +09:00
Kitson Kelly
ac321613e2
feat(io): add readRange, readRangeSync ( #884 )
2021-04-28 16:05:09 +10:00
Yusuke Sakurai
3586ef0ab6
fix(io): Improve readDelims() performance ( #867 )
2021-04-24 14:26:34 -04:00
Kitson Kelly
f6aaf0a6b5
feat(streams): add readableStreamFromReader ( #852 )
2021-04-20 11:07:30 +10:00
defectivepixel
762c4fa021
refactor(io/buffer): use std/bytes copy ( #853 )
2021-04-15 17:32:34 +09:00
Luca Casonato
564b44f68a
feat: add iter and iterSync to io/util ( #843 )
...
This moves the `Deno.iter` and `Deno.iterSync` implementations to std,
so we can deprecate them in Deno 1.9, and remove them in Deno 2.0.
2021-04-11 13:53:30 +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
Yoshiya Hinosawa
1d92651201
feat: make bufio compatible to deploy ( #831 )
2021-04-02 09:29:32 +09:00
Luca Casonato
be89f5a714
feat: add io/buffer and io/util module ( #808 )
...
This moves the `Deno.Buffer` and `Deno.readAll` / `Deno.readAllSync` /
`Deno.writeAll` / `Deno.writeAllSync` implementations to std, so we can
deprecate them in Deno 1.9, and remove them in Deno 2.0.
2021-03-22 22:45:35 +01:00
Nayeem Rahman
99fe3a68bc
feat(io/streams): Add readerFromIterable() ( #752 )
2021-03-16 14:48:04 +09:00
Rustam
27dcc84ae1
fix: encoder/decoder one instance ( #790 )
...
Fixes #788
2021-03-08 09:19:42 +10:00
Nayeem Rahman
9b173d2c99
BREAKING(io/streams): Strengthen iterator to readable stream conversion ( #735 )
2021-02-23 12:02:59 -05:00
Zhangyuan Nie
5bc18f5d86
BREAKING(encoding): remove module utf8.ts ( #728 )
2021-02-16 13:22:07 +01:00
grian
bcdbfea65c
docs(io/ioutil.ts): improve jsdoc ( #706 )
2021-02-07 01:21:58 +09:00
Bartek Iwańczuk
84ee144ba8
chore: Enforce ban-untagged-todo lint rule ( denoland/deno#9135 )
2021-02-01 10:46:59 +00:00
Kitson Kelly
9597b333b8
refactor(op_crate/fetch): align streams to spec ( denoland/deno#9103 )
...
Fixes denoland/deno#8814
2021-02-01 10:46:59 +00:00
Ryan Dahl
48a2496dbe
update copyright to 2021 ( denoland/deno#9081 )
2021-02-01 10:46:59 +00:00
tomholford
ec1e44b9d5
docs: fix naming in io
usage example ( denoland/deno#8700 )
...
Co-authored-by: tomholford <tomholford@users.noreply.github.com>
2021-02-01 10:46:58 +00:00
Yosi Pramajaya
fe6304a6a2
BREAKING(bytes): Adjust APIs based on std-wg discussion ( denoland/deno#8612 )
2021-02-01 10:46:58 +00:00
Iván Canales
a887ce6d43
fix(bufio): Remove '\r' at the end of Windows lines ( denoland/deno#8447 )
...
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
721205e2ff
build: fix linting problems ( denoland/deno#8431 )
2021-02-01 10:46:58 +00:00
crowlKats
82dbe19e9e
feat(io): ReadableStream from AsyncIterator & WritableStream from Writer ( denoland/deno#8378 )
2021-02-01 10:46:58 +00:00
Yusuke Tanaka
2d7871bb17
build: update dlint to v0.2.10 ( denoland/deno#8284 )
...
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-01 10:46:58 +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
Casper Beyer
d167b85bd4
fix(io): remove trivial internal util.ts module ( denoland/deno#8032 )
2021-02-01 10:46:58 +00:00
Casper Beyer
0631d15c38
test(io): use a real tempdir ( denoland/deno#8019 )
...
This replaces a case of a temp file in the working tree with a tempfile
in a real temporary directory avoiding pollution of the working
directory.
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
tokiedokie
d3fa1bbf5d
chore: add copyright ( denoland/deno#7593 )
2021-02-01 10:46:58 +00:00
Casper Beyer
5a34e26c91
test: ensure mod.ts modules have a test coverage ( denoland/deno#7264 )
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
syumai
b4308cdea6
Remove unused property of StringReader ( denoland/deno#6743 )
2021-02-01 10:46:58 +00:00
Max Nest
7bc149f2a4
docs(io): error in the documentation ( denoland/deno#6709 )
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
Marcos Casagrande
4cee6a637a
fix(io): export streams.ts & added docs ( denoland/deno#6535 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
e14bb49e38
feat(io): add fromStreamReader, fromStreamWriter ( denoland/deno#5789 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
a1d5229e0f
fix(io): Make BufWriter/BufWriterSync.flush write all chunks ( denoland/deno#6269 )
2021-02-01 10:46:58 +00:00
Chris Knight
ac61553cdd
refactor: shift copyBytes and tweak deps to reduce dependencies ( denoland/deno#6469 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
d0276e10be
fix(io): Use Deno.test in writers_test ( denoland/deno#6273 )
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
Marcos Casagrande
20f03ca9c4
fix(io): BufWriter/StringWriter bug ( denoland/deno#6247 )
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
Ryan Dahl
57fd7ac4b2
fix(io): StringReader implementation ( denoland/deno#6148 )
2021-02-01 10:46:57 +00:00
Deepak Vishwakarma
d996cbceb1
added documentation with sample for io mod ( denoland/deno#6106 )
2021-02-01 10:46:57 +00:00
hastri
3a5a455ec1
feat(io): add LimitedReader ( denoland/deno#6026 )
2021-02-01 10:46:57 +00:00
uki00a
4ca81f99b1
fix: compilation error introduced by denoland/deno#4543 ( denoland/deno#5673 )
2021-02-01 10:46:57 +00:00
uki00a
528765487d
fix(io): BufReader should not share the internal buffer across reads ( denoland/deno#4543 )
2021-02-01 10:46:57 +00:00
Bert Belder
d1dbf9be98
Miscellaneous documentation and spelling improvements ( denoland/deno#5527 )
...
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2021-02-01 10:46:57 +00:00
Nayeem Rahman
1eecc5c7d0
BREAKING: reorganization ( denoland/deno#5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move _util/async.ts to async
* Move util/sha*.ts to hash
2021-02-01 10:46:57 +00:00
Marcos Casagrande
94c9fbcd2e
BREAKING: reorder io/utils copyBytes arguments ( denoland/deno#5022 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
380f7e971b
BREAKING: remove custom implementation of Deno.Buffer.toString() ( denoland/deno#4992 )
...
Keep in mind Buffer.toString() still exists, but returns [object Object].
Reason for removal of Buffer.toString() was that it implicitly used
TextDecoder with fixed "utf-8" encoding and no way to customize
the encoding.
2021-02-01 10:46:57 +00:00
Marcos Casagrande
17a8d40127
fix: Make io copyN write the whole read buffer ( denoland/deno#4978 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
e4cb19d01d
BREAKING: Remove Deno.EOF, use null instead ( denoland/deno#4953 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
0a06926869
refactor: rename sync io interfaces ( denoland/deno#4945 )
...
This commit renames sync io interfaces:
* SyncReader -> ReaderSync
* SyncWriter -> WriterSync
* SyncSeeker -> SeekerSync
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
Marcos Casagrande
a9739b84a3
Increase copyN buffer size to match go implementation ( denoland/deno#4904 )
2021-02-01 10:46:57 +00:00
Akshat Agarwal
f254160d91
reorder copyN arguments to match Deno.copy ( denoland/deno#4900 )
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
Bartek Iwańczuk
214d4bf8e4
BREAKING CHANGE: change order of args in Deno.copy() ( denoland/deno#4885 )
2021-02-01 10:46:57 +00:00
Chris Knight
65ffcf6b6b
feature: synchronous buffered writer ( denoland/deno#4693 )
2021-02-01 10:46:57 +00:00
Ryan Dahl
1f1818d379
Move encode, decode helpers to /encoding/utf8.ts, delete /strings/ ( denoland/deno#4565 )
...
also removes encoding/mod.ts and archive/mod.ts which are useless.
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
Samrith Shankar
204ebc523d
Add require-await lint rule ( denoland/deno#4401 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
a19e660a30
feat: Deno.test() sanitizes ops and resources ( denoland/deno#4399 )
...
This PR brings assertOps and assertResources sanitizers to Deno.test() API.
assertOps checks that test doesn't leak async ops, ie. there are no unresolved
promises originating from Deno APIs. Enabled by default, can be disabled using
Deno.TestDefinition.disableOpSanitizer.
assertResources checks that test doesn't leak resources, ie. all resources used
in test are closed. For example; if a file is opened during a test case it must be
explicitly closed before test case finishes. It's most useful for asynchronous
generators. Enabled by default, can be disabled using
Deno.TestDefinition.disableResourceSanitizer.
We've used those sanitizers in internal runtime tests and it proved very useful in
surfacing incorrect tests which resulted in interference between the tests.
All tests have been sanitized.
Closes denoland/deno#4208
2021-02-01 10:46:57 +00:00
Oliver Lenehan
9986475ca1
fix: Use Deno.errors where possible. ( denoland/deno#4356 )
2021-02-01 10:46:57 +00:00
Yusuke Sakurai
589ac5af6f
reduce unnecessary output on tests ( denoland/deno#4148 )
2021-02-01 10:46:57 +00:00
Yusuke Sakurai
b490e1199c
fix: [ws] sock shouldn't throw eof error when failed to read frame ( denoland/deno#4083 )
2021-02-01 10:46:57 +00:00
Maximilien Mellen
623a601fd5
Enable TS strict mode by default ( denoland/deno#3899 )
...
Fixes denoland/deno#3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-02-01 10:46:57 +00:00
Nayeem Rahman
2f43947408
feat(io): Export readDelim(), readStringDelim() and readLines() from bufio.ts ( denoland/deno#4019 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
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
8c250d5668
fix: Deno.mkdir should conform to style guide ( denoland/deno#3617 )
2021-02-01 10:46:56 +00:00
Ry Dahl
3a9eb92372
Happy new year! ( denoland/deno#3578 )
2021-02-01 10:46:56 +00:00
Nayeem Rahman
90bd2ad881
feat: Add missing mod.ts files in std ( denoland/deno#3509 )
...
archive/tar.ts:
- Remove FileReader.
- Remove FileWriter.
encoding/csv.ts:
- ExtendedParseOptions -> ParseOptions
- HeaderOption -> HeaderOptions
- ParseOptions -> ReadOptions
- readAll() -> readMatrix()
encoding/yaml.ts:
- DumpOptions -> StringifyOptions
fmt/colors.ts:
- getEnabled() -> getColorEnabled()
- setEnabled() -> setColorEnabled()
testing/mod.ts:
- Re-export sibling modules.
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
Robert Jack Will
4b3c56b714
std: fix BufReader.readString to actually return Deno.EOF at end ( denoland/deno#3191 )
2021-02-01 10:46:56 +00:00
Nayeem Rahman
5b2aec7a62
std: Move fs/path to the top-level ( denoland/deno#3100 )
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
timonson
f3bdf1a77b
added type number to 'size' parameter ( #618 )
2019-09-29 10:11:18 -04:00
Dmitry Sharshakov
20b6408e10
Implement readString ( #607 )
2019-09-22 13:04:46 -04:00
Bartek Iwańczuk
c44e5367bf
feat: test runner ( #516 )
2019-08-14 20:04:56 -04:00
Yoshiya Hinosawa
3ea90d54f6
Upgrade to v0.11.0 (update Reader interface) ( #527 )
2019-07-07 15:20:41 -04:00
Axetroy
b04fda30c8
lint: add max line length rules ( #507 )
2019-06-18 21:22:01 -07:00
Bert Belder
679b203053
io: make port BufReader.readByte() return number | EOF
2019-05-30 18:35:00 -07:00
Bartek Iwańczuk
be24677d15
chore: Implement strict mode ( #453 )
2019-05-30 08:59:30 -04:00
Bert Belder
0ee6334b69
io: refactor BufReader/Writer interfaces to be more idiomatic ( #444 )
...
Thanks Vincent Le Goff (@zekth) for porting over the CSV reader
implementation.
Fixes : #436
2019-05-29 09:50:12 -07:00
Axetroy
2f003fa35c
rename strings/strings.ts to strings/mod.ts ( #449 )
2019-05-27 02:58:31 +03:00
Yusuke Sakurai
782e3f690f
feat: ws client ( #394 )
2019-05-14 15:19:11 -04:00
Vincent LE GOFF
4543b563a9
Eslint fixes ( #356 )
...
Make warnings fail
2019-04-24 07:41:22 -04:00
Vincent LE GOFF
0bb040e8d4
Test reorganization ( #290 )
2019-03-18 12:49:54 -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
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
Ryan Dahl
57c9176b19
Revert "Redesign of http server module ( #188 )"
...
We need to consider the API changes here more carefully.
This reverts commit da188a7d30
.
and commit 8569f15207
.
2019-02-19 13:18:41 -05:00
Yusuke Sakurai
8569f15207
Redesign of http server module ( #188 )
2019-02-15 11:03:57 -05:00
Yusuke Sakurai
fda9c98d05
feat: multipart, etc.. ( #180 )
2019-02-10 18:49:48 -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
Max Graey
2081f03a07
fix possible range issues for copyBytes in io/util ( #146 )
2019-01-21 21:56:35 -06:00
Andy Hayden
e28c9a4079
Remove race-condition in file_server tests ( #125 )
2019-01-17 13:08:59 -05:00
Andy Hayden
c5e6e015b5
Reorgnanize repos, examples and tests ( #105 )
2019-01-12 16:50:04 -05:00