Zhangyuan Nie
5bc18f5d86
BREAKING(encoding): remove module utf8.ts ( #728 )
2021-02-16 13:22:07 +01:00
Casper Beyer
d6ab8bfeef
chore: format with canary ( #717 )
2021-02-10 01:55:53 +09:00
Casper Beyer
d5bad95a71
chore: Setup CI and tests
...
Create ci.yml
chore: add wasi-test-suite as a submodule
chore: remove legacy configuration files and scripts
chore: remove outdated redirection notice
chore: add git attributes to ensure text files use unix line endings
chore: format
test(http): copy tls testdata from denoland/deno
2021-02-01 12:20:35 +01:00
Jesse Jackson
1a8acd5a28
Typo ( denoland/deno#9221 )
2021-02-01 10:46:59 +00:00
Bartek Iwańczuk
84ee144ba8
chore: Enforce ban-untagged-todo lint rule ( denoland/deno#9135 )
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
Yacine Hmito
858b57e6e6
docs: Remove outdated information about third_party/ directory ( denoland/deno#8973 )
2021-02-01 10:46:58 +00:00
Nayeem Rahman
a0bfd92db8
fix: Don't use JSDoc syntax for browser-compatibility headers ( denoland/deno#8960 )
2021-02-01 10:46:58 +00:00
Anh Hong
152f1e68a9
chore: fixed various misspellings and other typos ( denoland/deno#8691 )
2021-02-01 10:46:58 +00:00
Yuki Tanaka
5269f12310
fix(encoding): Rewrite toml parser not to use eval() ( denoland/deno#8624 )
2021-02-01 10:46:58 +00:00
Jesse Jackson
d336162012
fix(encoding/csv): Correct readme formatting due to dprint issues ( denoland/deno#8503 )
2021-02-01 10:46:58 +00:00
Jesse Jackson
ecf5bde405
feat(encoding/csv): Add stringify functionality ( denoland/deno#8408 )
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
timonson
68d4f03e45
fix(encoding): base64 properly encodes mbc and handles Uint8Arrays ( denoland/deno#7807 )
...
Fixes denoland/deno#6094
Fixes denoland/deno#4794
2021-02-01 10:46:58 +00:00
Peter
329b75d1e5
fix: Parsing inline arrays of inline tables in toml ( denoland/deno#7902 )
2021-02-01 10:46:58 +00:00
Cedric Vangout
160ae04418
docs(encoding/csv): update the usage of ParseOptions ( denoland/deno#7857 )
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
Atakan Ermiş
121500af6c
docs(encoding): add missing JSDoc ( denoland/deno#7809 )
2021-02-01 10:46:58 +00:00
uki00a
1da9818eef
BREAKING(encoding/csv): improve the definition of ParseOptions ( denoland/deno#7714 )
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
tasshi / Masaharu TASHIRO
50ebf926ca
fix typo miliseconds -> milliseconds ( denoland/deno#7469 )
2021-02-01 10:46:58 +00:00
Casper Beyer
d3f850240c
test(encoding): make tests runnable from any directory ( denoland/deno#7368 )
2021-02-01 10:46:58 +00:00
Jakob Strobl
ed6a8f13c2
fix(encoding/toml): Comment after arrays causing incorrect output ( denoland/deno#7224 )
2021-02-01 10:46:58 +00:00
Yusuke Tanaka
267b83a053
chore(encoding): disable no-control-regex
( denoland/deno#7219 )
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
danielwippermann
d75b9d10b1
fix(encoding/toml): Stop TOML parser from detecting numbers in strings. ( denoland/deno#7064 )
...
Before this patch the TOML parser would incorrect treat the string
"base64data0xdamaged" in a declaration as a hex number because the
corresponding check triggers even when the "0x" is inside a double
quoted string literal as long as it is followed by at least one hex
character.
2021-02-01 10:46:58 +00:00
uki00a
49996e8687
fix(encoding/csv): improve error message on ParseError ( denoland/deno#7057 )
2021-02-01 10:46:58 +00:00
Rauf Islam
61d90c5770
fix(encoding/toml): Add boolean support to stringify ( denoland/deno#6941 )
2021-02-01 10:46:58 +00:00
Jarrett Helton
98f2de9255
fix(toml): parser error with inline comments ( denoland/deno#6942 )
2021-02-01 10:46:58 +00:00
Kid
0819976061
docs(encoding): Fix TOML docs ( denoland/deno#6912 )
2021-02-01 10:46:58 +00:00
Casper Beyer
9c302c2ed0
BREAKING(fs): remove readFileStr and readFileStrSync ( denoland/deno#6848 )
...
This removes the readFileStr and readFileStrSync functions which are
effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2021-02-01 10:46:58 +00:00
uki00a
f6b5e3e4ed
fix(encoding/toml): could not parse strings with apostrophes/semicolons ( denoland/deno#6781 )
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
Opliko
856d3de0c4
feat(encoding): add ascii85 module ( denoland/deno#6711 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
fae1aba117
BREAKING(encoding/hex): simplify API ( denoland/deno#6690 )
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
59a4141bbc
fix: base64 in workers ( denoland/deno#6681 )
2021-02-01 10:46:58 +00:00
Marcos Casagrande
6bae7d68cf
BREAKING(encoding/hex): reorder encode & decode arguments ( denoland/deno#6410 )
...
refactor to match other src/dst methods
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
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
Ch3ri0ur
7d411434da
Readme cleanup in encoding and ws ( denoland/deno#6209 )
2021-02-01 10:46:57 +00:00
Oliver Lenehan
431c07de25
feat(encoding/binary): add varnumBytes(), varbigBytes() ( denoland/deno#5173 )
2021-02-01 10:46:57 +00:00
Chris Knight
589fe4bd53
refactor: remove testing dependencies from non-test code ( denoland/deno#5838 )
2021-02-01 10:46:57 +00:00
timonson
1b9f565fb7
feat(encoding): add base64url module ( denoland/deno#5976 )
2021-02-01 10:46:57 +00:00
uki00a
7b1ccf23d3
re-enable the "HugeLines" test case ( denoland/deno#6006 )
2021-02-01 10:46:57 +00:00
uki00a
f7df64f442
docs(encoding/csv): improve the document and jsdoc comments ( denoland/deno#6008 )
2021-02-01 10:46:57 +00:00
skdltmxn
5437ef0705
feat(encoding): add base64 ( denoland/deno#5811 )
2021-02-01 10:46:57 +00:00
pontakornth
11e24677b8
docs: Fix typo ( denoland/deno#5582 )
2021-02-01 10:46:57 +00:00
Dante Calderón
558a04d2e5
Fix typos across the repo ( denoland/deno#5295 )
...
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* encoding/csv.ts:37:43: corrected "referal" to "referral"
* fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* fmt/README.md:35:68: corrected "seperated" to "separated"
* fmt/README.md:179:59: corrected "provded" to "provided"
* mime/multipart.ts:581:46: corrected "writen" to "written"
* path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* node/module.ts:1003:18: corrected "existend" to "existed"
2021-02-01 10:46:57 +00:00
Nayeem Rahman
fec1c3ba8d
fix(encoding/yaml): Correct exports ( denoland/deno#5191 )
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
David Sherret
bd3e3f875a
Move the docs like @param [obj.prop]
to the interface. ( denoland/deno#4974 )
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
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
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
Ondřej Žára
32b666947a
used native padStart/End where possible ( denoland/deno#4537 )
2021-02-01 10:46:57 +00:00
uki00a
3d8a63d8c7
fix(encoding/csv): enable skipped tests ( denoland/deno#4520 )
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
03d7177ca3
refactor: rename Deno.TestDefinition.skip to ignore ( denoland/deno#4400 )
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
Nayeem Rahman
19ca3f53c4
refactor: Uncomment disabled tests, use skip option ( denoland/deno#4378 )
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
Oliver Lenehan
012fb2c219
feat (encoding): add binary module ( denoland/deno#4274 )
2021-02-01 10:46:57 +00:00
Kitson Kelly
2516a51343
upgrade: TypeScript 3.8 ( denoland/deno#4100 )
2021-02-01 10:46:57 +00:00
João Souto
d76d46f299
Remove ansi_term dependency ( denoland/deno#4116 )
2021-02-01 10:46:57 +00:00
Ryan Dahl
2cce592c15
Revert "Remove ansi_term dependency"
...
Broke colors
https://github.com/denoland/deno/issues/4112#issuecomment-590545385
This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d.
2021-02-01 10:46:57 +00:00
João Souto
9b1c5ffac2
Remove ansi_term dependency ( denoland/deno#4106 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
f5cbcf287e
refactor: remove unneeded ErrorKinds ( denoland/deno#3936 )
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
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
Rafael Vargas
500b97dde6
fix: Deno.remove() to properly remove dangling symlinks ( denoland/deno#3860 )
...
For some reason, the unit tests for Deno.remove() were not being imported to
unit_tests.ts and, consequently, not being executed. Thus, I imported them,
refactored some existent ones and wrote new ones for the symlink removal case.
Since the creation of a symlink is not implemented for Windows yet, assertions
that consider this state were added when the tests are executed in this OS.
2021-02-01 10:46:57 +00:00
Kevin (Kun) "Kassimo" Qian
6630b59cec
encoding: add base32 support ( denoland/deno#3855 )
2021-02-01 10:46:57 +00:00
Takashi Idobe
085a04b6a1
change copyrights from 2019 to 2020 ( denoland/deno#3733 )
2021-02-01 10:46:56 +00:00
Brandon Kalinowski
32c750f8f0
std(yaml): correct sortKeys type ( denoland/deno#3708 )
2021-02-01 10:46:56 +00:00
uki00a
e48cfe78d8
fix(encoding/yaml): export parseAll ( denoland/deno#3592 )
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
Yoshiya Hinosawa
1239902a03
fix(encoding/yaml): support document separator in parseAll ( denoland/deno#3535 )
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
Yoshiya Hinosawa
c0485bf863
docs(encoding/yaml): add usage document ( denoland/deno#3529 )
2021-02-01 10:46:56 +00:00
Lilian Saget-Lethias
72a4a27d80
feat: Add encoding/yaml module ( denoland/deno#3361 )
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
Nayeem Rahman
5b2aec7a62
std: Move fs/path to the top-level ( denoland/deno#3100 )
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
Yusuke Sakurai
54a5b95fef
fix TOML's key encoding ( #612 )
2019-09-23 11:08:57 -04:00
Axetroy
06958a4ada
bump prettier to 1.18.2 ( #592 )
2019-09-11 23:31:23 -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
Axetroy
418cdff25d
add encoding/hex module ( #434 )
2019-06-17 10:19:56 -07:00
Ryan Dahl
86b7499e65
upgrade: deno to v0.8.0 ( #487 )
2019-06-09 21:42:06 -04:00
Vincent LE GOFF
167f529898
encoding: add csv parse ( #458 )
2019-05-30 09:50:29 -04: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
Vincent LE GOFF
c8a7dcdcd0
Add encoding/csv ( #432 )
2019-05-24 16:33:42 +03:00
Vincent LE GOFF
7a722ceffc
TOML: Move to encoding dir ( #435 )
2019-05-23 21:48:54 +03:00