Casper Beyer
6a50615e7c
test(std/node): ensure process.env case doesn't rely on unset variables ( #9144 )
2021-01-18 10:01:38 -05:00
Casper Beyer
12577f2d9a
test(std/node): avoid project directories for cwd case ( #9148 )
2021-01-18 07:39:35 -05:00
Ryan Dahl
2b75a11559
update copyright to 2021 ( #9081 )
2021-01-10 21:59:07 -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
8ab20a4582
feat(std/node): implement process.nextTick ( #8386 )
2020-11-16 14:44:37 -05:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
tokiedokie
c4ed3fb7e7
chore: add copyright ( #7593 )
2020-09-21 08:26:41 -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
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
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
Benjamin Lupton
16038b8f82
fix(std/node/process): env, argv exports ( #6455 )
...
The promise approach still required permissions to be specified
at initialisation, rather than at request.
Using a Proxy instance solves this permission issue.
The Proxy instance approach also eliminates the need for the
await. Achieving direct compatibility with Node.js.
/ref pr #6392
/ref commit d16337cc9c
2020-06-25 07:18:01 -04:00
Benjamin Lupton
d16337cc9c
fix(std/node): global process should usable ( #6392 )
2020-06-23 16:00:47 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace ( #6268 )
2020-06-12 15:23:38 -04:00
Valentin Anger
721a4ad59d
BREAKING: Map-like interface for Deno.env ( #4942 )
2020-04-29 14:48:19 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03: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
Bartek Iwańczuk
61273085e4
refactor: rewrite tests in std/ to use Deno.test ( #3930 )
2020-02-11 17:24:27 +01:00
Rafał Pocztarski
4ca624a355
feat: std/node/process ( #3368 )
2019-11-18 18:30:24 -05:00