Liam Murphy
362be01abe
feat(std/node): Add "setImmediate" and "clearImmediate" to global scope ( #8566 )
...
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2020-12-05 16:16:07 +01:00
Guy Bedford
ff3c5897ea
fix(std/node): Inline default objects to ensure correct prototype ( #8513 )
2020-11-27 13:40:11 -05:00
Steven Guerrero
9042fcc12e
feat(std/node/stream): Add Duplex, Transform, Passthrough, pipeline, finished and promises ( #7940 )
2020-11-26 13:50:08 +01:00
Steven Guerrero
355d5d3bba
feat(std/node): Port most of node errors ( #7934 )
2020-11-24 22:11:16 +01:00
Kitson Kelly
276f529755
feat(cli): update to TypeScript 4.1 ( #7573 )
2020-11-24 09:31:10 +11:00
Steven Guerrero
a4f27c4d57
feat(std/node): Add Readable Stream / Writable Stream / errors support ( #7569 )
2020-11-21 16:13:18 -05:00
Gyubong
d5772a937b
feat(std/node): add os.totalmem, os.freemem ( #8317 )
2020-11-19 07:56:32 -05:00
Steven Guerrero
315d889afa
fix(std/node): correct typings for global, globalThis, window ( #8363 )
2020-11-19 07:23:42 -05:00
Steven Guerrero
b6fa6d6aac
fix(std/node) Fix event extendability ( #8409 )
2020-11-17 19:49:57 -05:00
Steven Guerrero
06cf6df954
feat(std/node): Add util.deprecate ( #8407 )
2020-11-16 18:20:46 -05:00
Steven Guerrero
8ab20a4582
feat(std/node): implement process.nextTick ( #8386 )
2020-11-16 14:44:37 -05:00
Yusuke Tanaka
9029003046
build: update dlint to v0.2.10 ( #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>
2020-11-14 20:27:37 +01:00
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
Guy Bedford
8b7f5531ee
feat(std/node): consistent Node.js builtin shapes ( #8274 )
2020-11-09 09:25:13 -05:00
Guy Bedford
9fc5b6510c
fix(std/node): only define Node.js globals when loading std/node/global ( #8281 )
2020-11-07 20:27:07 +01:00
Hanseo Jo
731de86976
docs(std/node/util): add missing JSdoc ( #7806 )
...
Refs #7487
2020-11-06 12:33:41 +11:00
Bhumij Gupta
2259e99aef
docs(std/node/url): Added JSDocs for std/node/url ( #7805 )
2020-11-06 12:28:00 +11:00
ayntee
dc232d8489
docs(std/node/querystring): add missing JSDoc ( #8242 )
2020-11-04 12:03:59 -05: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
X
6d63391a38
feat(std/node/fs): add realpath and realpathSync ( #8169 )
2020-11-02 19:11:42 +01:00
Steven Guerrero
5aeac00971
feat(std/node/crypto): randomBytes and pbkdf2 ( #8191 )
...
* crypto
* Other thing
* Test for pdkdf2
* Add randomBytes
* Refactor pbkdf2
* Lint and format
2020-10-29 22:53:27 -04:00
Tim Reichen
ae86cbb551
rename(std/testing): rename assert*Contains to assert*Includes ( #7951 )
...
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
2020-10-26 16:03:30 +01:00
Steven Guerrero
d52fb903cd
fix(std/node): Buffer.copy doesn't work as expected ( #8125 )
2020-10-26 15:42:36 +01:00
Bartek Iwańczuk
9b20cfbee8
upgrade: deno_doc, deno_lint, dprint, swc ( #8077 )
...
- deno_doc 0.1.13
- deno_lint 0.2.5
- dprint-plugin-typescript 0.32.6
- swc_bundler 0.12.0
- swc_ecmascript 0.11.1
2020-10-22 20:36:06 +02:00
ali ahmed
5bed06fb94
feat(std/fs/node): adding some functions ( #7921 )
2020-10-14 11:59:28 -04:00
timonson
1956cb8137
fix(std/encoding): base64 properly encodes mbc and handles Uint8Arrays ( #7807 )
...
Fixes #6094
Fixes #4794
2020-10-13 12:12:10 +11:00
Bartek Iwańczuk
7af5041a06
Revert "feat(std/node/fs): adding readdir, rename, and some others ( #7666 )" ( #7917 )
...
This reverts commit 40324ff748
.
2020-10-10 15:05:19 +02:00
ali ahmed
40324ff748
feat(std/node/fs): adding readdir, rename, and some others ( #7666 )
2020-10-06 01:35:22 -04:00
ali ahmed
a51408a4bc
fix(std/node/fs): allow appendFileSync to accept Uint8Array as type for data ( #7835 )
2020-10-06 01:26:12 -04:00
tokiedokie
3d65177dbc
docs(std): version all imports in README ( #7442 )
...
Use $STD_VERSION in std/ README files to automatically
display proper version.
2020-10-04 14:18:36 +02:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
Schwarzkopf Balázs
f601721851
feat(std/node): implement getSystemErrorName() ( #7624 )
2020-09-22 16:07:35 -04:00
tokiedokie
c4ed3fb7e7
chore: add copyright ( #7593 )
2020-09-21 08:26:41 -04:00
Casper Beyer
38196f7850
fix(cli/console): always quote and escape inspected strings ( #7546 )
2020-09-18 09:28:30 -04:00
Jarrett Helton
cead79f5b8
feat(std/node) stub out process.stdin, stdout, stderr ( #7184 )
2020-09-17 23:31:50 -04:00
tokiedokie
04d3472257
refactor(cli/tests): change std_path to root_path in std_tests() ( #7438 )
2020-09-15 06:26:57 +02:00
Schwarzkopf Balázs
f6bfdd66a6
feat(std/node): Add AssertionError class ( #7210 )
2020-09-14 16:22:07 +02:00
Bartek Iwańczuk
b216d48e5f
upgrade: deno_doc, deno_lint, dprint, swc ( #7434 )
...
upgrades:
- swc_ecmascript 0.7.7
- dprint-plugin-typescript 0.31.3
- deno_lint 0.2.0
- deno_doc 0.1.9
Split std_lint test into std_lint and unit_test_lint.
Added lint ignores to CommonJS files in std/node.
2020-09-13 14:15:38 +02:00
Casper Beyer
11afd071ae
test(std/node): make tests runnable from any directory ( #7397 )
...
This makes std/node tests runnable from any directory by resolving the
testdata directory and files relative to the module directory resolved
from import.meta.url.
2020-09-08 11:37:58 -04:00
Yusuke Tanaka
71f0171ab0
fix no-inner-declaration lint rule ( #7287 )
2020-08-31 14:11:17 -04:00
Schwarzkopf Balázs
e1564f385c
fix(std/node): "events" and "util" modules ( #7170 )
2020-08-27 11:00:38 +02:00
Kitson Kelly
c4d5b01acf
feat: update to TypeScript 4.0 ( #6514 )
2020-08-24 19:43:54 -04:00
Benjamin Lupton
b7ad544dd6
feat(std/node): add URL export ( #7132 )
2020-08-21 22:39:56 -04:00
Schwarzkopf Balázs
87b1b8c461
fix(std/node): misnamed assert exports ( #7123 )
2020-08-20 11:56:31 -04:00
Benjamin Lupton
b21a7b0fd0
feat(std/node): add basic asserts ( #7091 )
2020-08-18 14:15:59 -04:00
Jarrett Helton
514cbc2808
fix: remove @ts-expect-error directives ( #7024 )
2020-08-12 17:32:03 -04:00
Benjamin Lupton
452693256c
feat(std/node): add util.inspect ( #6833 )
2020-08-12 14:03:51 -04:00
Nayeem Rahman
81ce4499e7
fix: Make std work with isolatedModules ( #7016 )
2020-08-12 12:01:36 +02:00
Trivikram Kamat
35a1421fb1
chore: use ts-expect-error instead of ts-ignore ( #6876 )
2020-07-26 10:41:10 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00