Behnam Mohammadi
a59f5eadd8
refactor(std): add std/_util/os.ts module ( #8370 )
...
This commit adds "std/_util/os.ts" module which contains
common os detection logic and is browser compatible.
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2020-11-14 00:21:11 +01:00
Bartek Iwańczuk
8e914be742
build: migrate to dlint ( #8176 )
...
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
2020-11-03 16:19:29 +01:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
Steven Guerrero
fe8399973a
feat(std/node): add string_decoder ( #6638 )
2020-07-14 14:30:03 -04:00
Ryan Dahl
d0970daacd
make std deno-lint clean ( #6240 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-12 09:19:29 -04:00
Chris Knight
3ef94c5473
refactor(std): remove testing dependencies from non-test code ( #5838 )
2020-06-07 09:20:33 -04:00
Nikolai Vavilov
09ee9a8280
feat(std/node): Buffer ( #5925 )
2020-06-06 15:56:49 -04:00
Kitson Kelly
3fe6bc1b82
fix: Better use of @ts-expect-error ( #6038 )
2020-06-02 00:24:44 -04:00
Kitson Kelly
228f9c207f
Use ts-expect-error instead of ts-ignore. ( #5869 )
2020-05-26 10:02:16 -04:00
Ali Hasani
3b86552d66
refactor: remove duplicated code in std/node/module ( #5778 )
2020-05-23 12:55:15 +02:00
Dante Calderón
c3a205bae8
Fix typos across the repo ( #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"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-14 06:38:42 +02:00
Nayeem Rahman
f184332c09
BREAKING(std): reorganization ( #5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move std/_util/async.ts to std/async
* Move std/util/sha*.ts to std/hash
2020-05-09 08:34:47 -04:00
Ryan Dahl
bc792c0267
make camel case readDir, readLink, realPath ( #4995 )
2020-04-29 16:39:37 -04:00
Valentin Anger
721a4ad59d
BREAKING: Map-like interface for Deno.env ( #4942 )
2020-04-29 14:48:19 -04:00
Nikolai Vavilov
f72f045de5
std/node: require_ -> require ( #4828 )
2020-04-20 14:30:52 -04:00
Nayeem Rahman
5ac728a5f1
refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces ( #4763 )
2020-04-16 01:40:30 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
Nikolai Vavilov
8c1c929034
fix: stack traces for modules imported via std/node's require ( #4035 )
2020-03-19 10:42:07 -04:00
crowlKats
9648d3da14
Add node querystring polyfill ( #4370 )
2020-03-14 16:43:49 -04:00
Bartek Iwańczuk
e1687c0a46
rename Deno.Err -> Deno.errors ( #4093 )
2020-02-24 15:48:35 -05:00
Bartek Iwańczuk
dd8a109481
refactor: remove unneeded ErrorKinds ( #3936 )
2020-02-21 10:36:13 -05:00
Maximilien Mellen
90125566bb
Enable TS strict mode by default ( #3899 )
...
Fixes #3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-19 15:36:18 -05:00
Chris Knight
81905a867e
feat: Event emitter node polyfill ( #3944 )
2020-02-10 18:19:48 -05:00
cknight
f0a6062012
Partial implementation of node os polyfill based on currently available Deno functionality ( #3821 )
2020-01-29 20:57:29 -05:00
Luca Casonato
3eab20ce42
feat(std/node): Added node timers builtin ( #3634 )
2020-01-15 14:13:12 -05:00
Kevin (Kun) "Kassimo" Qian
33d2e3d536
std/node: better error message for read perm in require() ( #3502 )
2019-12-15 17:23:12 +08:00
Kevin (Kun) "Kassimo" Qian
6708fcc386
std/node: add some Node.js polyfill to require() ( #3382 )
2019-11-19 16:44:59 -05:00