0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
Commit graph

421 commits

Author SHA1 Message Date
迷渡
8578ed4e7f URLSearchParams deleting appended multiple (#2201) 2019-04-25 09:29:50 -04:00
Ryan Dahl
f694823507
Fix symlinkSyncNotImplemented (#2198) 2019-04-24 20:34:33 -04:00
Yingbo (Max) Wang
da64fba046 symlink: Ignore type parameter on non-Windows platforms (#2185)
Fixes #2169
2019-04-23 09:47:29 -04:00
Tomislav Fabeta
d940801754 Simplify logic in URLSearchParams, Buffer, Console (#2174) 2019-04-22 10:37:49 -04:00
Kevin (Kun) "Kassimo" Qian
1d4b92ac85 Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177) 2019-04-21 21:26:56 -04:00
Ryan Dahl
9dfebbc949
Fix eslint warnings (#2151)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21 16:40:10 -04:00
Tomislav Fabeta
6cded14bdf Issue/2170 (#2175)
* Consistency using requiredArguments method

Replaced tuple length check in Headers class with requiredArguments
method.

* Consistency using requiredArguments method

Replaced tuple length check in UrlSearchParams class with
requiredArguments method.

* fmt
2019-04-21 15:40:15 -04:00
Ryan Dahl
f77b112797
Remove dead code js/compiler_test.ts (#2160) 2019-04-21 15:39:27 -04:00
Ryan Dahl
8ba6e4fa13
Fix flaky tests (#2164) 2019-04-21 14:06:57 -04:00
Bartek Iwańczuk
cd19da62d9 Refactor CLI entry point (#2157)
Changes "deno --types" to "deno types"
and "deno --prefetch" to "deno prefetch"
2019-04-21 11:34:18 -04:00
Jonathon Orsi
648d2f3ba8 fix typo in permissions explanation (#2162) 2019-04-20 15:12:00 -04:00
Kevin (Kun) "Kassimo" Qian
c8db224efe Make Deno/Deno.core not deletable/writable (#2153) 2019-04-19 20:39:54 -04:00
迷渡
d0cd7a39a2 avoid prototype builtin hasOwnProperty (#2144) 2019-04-18 21:56:33 -04:00
Ryan Dahl
1a69df4a05
Fix flaky tests (#2139) 2019-04-17 13:02:32 -04:00
Ryan Dahl
1bfb443369
Implement async module loading in CLI (#2084) 2019-04-16 15:13:42 -04:00
Ryan Dahl
a51e782155
Upgrade deno_std (#2111) 2019-04-13 16:10:19 -04:00
Yoshiya Hinosawa
e0edcc9c1b fix: re-expose DomFile (#2100) 2019-04-12 14:54:13 -04:00
Yoshiya Hinosawa
5a3f3a7445 upgrade deno_std & add workaround prettier issue (#2087) 2019-04-09 13:32:48 -04:00
Ryan Dahl
2debbdacb9
Merge Worker and Isolate types (#2078)
Reduces generics.
2019-04-08 17:10:00 -04:00
Vincent LE GOFF
734cf781c6 Allow high precision performance.now() (#1977) 2019-04-08 16:22:40 -04:00
迷渡
cdb72afd8d fix console instanceof Console (#2073) 2019-04-08 09:25:01 -04:00
Kevin (Kun) "Kassimo" Qian
1746a3ac69 Add link/linkSync fs call for hardlinks (#2074) 2019-04-08 09:11:32 -04:00
Jonathon Orsi
3452a10840 use flatbuffer create functions to add fields (#2046) 2019-04-07 20:51:43 -04:00
andy finch
7a3df0a184 Add worker benchmarks (#2059) 2019-04-05 22:57:59 +03:00
迷渡
4520e5812e fix code bug in jsdocs (#2048) 2019-04-04 05:34:00 -04:00
andy finch
0e7311e171 Non-fatal compile_sync failures (#2039)
And model worker resources as Stream
2019-04-04 05:33:32 -04:00
迷渡
8c85766198 fix JSDoc (#2043) 2019-04-03 08:53:54 -04:00
迷渡
bb617d2478 fix toString for some web objects (#2040) 2019-04-03 08:41:05 -04:00
迷渡
5f97c041d9 fix console.log when error has been caught (#2041) 2019-04-03 08:38:50 -04:00
迷渡
6463a75b44 web-compatibility console (#2042) 2019-04-03 08:37:01 -04:00
JaePil Jung
efbe44eb33 Fix missing return type (#2038) 2019-04-02 10:42:17 -04:00
andy finch
b0a23beb8f Add web worker JS API (#1993)
* Refactored the way worker polling is scheduled and errors are handled.
* Share the worker future as a Shared
2019-04-01 15:09:59 -04:00
迷渡
659acadf77 Improve new TextDecoder().toString() (#2032) 2019-04-01 13:05:19 -04:00
Kitson Kelly
ada5ffa610 Upgrade to TypeScript 3.4.1 (#2027) 2019-04-01 12:47:25 -04:00
Ryan Dahl
c9614d86c1
Move //libdeno to //core/libdeno (#2015)
Fixes some sed errors introduced in c43cfe.

Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.

I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
2019-03-30 14:45:36 -04:00
迷渡
ad3cbc50fb check EventTarget params (#2018) 2019-03-30 13:40:03 -04:00
迷渡
51c6f33f64 Avoid search prototype chain (#2019) 2019-03-30 08:18:19 -04:00
Bartek Iwańczuk
bdc455dd25 Add Process.stderrOutput() (#1828) 2019-03-28 16:09:46 -04:00
迷渡
1fec34b463 Check CustomEvent constructor params (#2011) 2019-03-28 08:08:32 -04:00
Bartek Iwańczuk
597ee38ef2 Rewrite readFile and writeFile (#2000)
Using open/read/write
2019-03-27 23:29:36 -04:00
迷渡
8c770c5a90 remove isTrusted's setter (#2006) 2019-03-27 08:38:49 -04:00
Kevin (Kun) "Kassimo" Qian
5c4189a3b8 Do not close file on invalid seek mode (#2004) 2019-03-26 22:47:17 -04:00
Kitson Kelly
c43cfedeba namespace reorg: libdeno and DenoCore to Deno.core (#1998) 2019-03-26 08:22:07 -04:00
迷渡
ed2977d3c0 Check Event constructor params (#1997) 2019-03-26 07:42:26 -04:00
Bartek Iwańczuk
5ae78eb1de Update ts_library_builder (#1920) 2019-03-25 00:23:24 -04:00
迷渡
efe9c18b45 remove console constructor (#1985) 2019-03-22 11:35:49 -04:00
Ryan Dahl
9444bd71a0
Website and manual improvements (#1967) 2019-03-20 12:39:47 -04:00
Ryan Dahl
842627d6b9 pretty-print long strings 2019-03-20 12:38:59 -04:00
Ryan Dahl
8f334ae568 Improve pretty printing of objects
If an object has more than 5 elements, it is printed in abbeviated form
displaying only the keys. This is useful in the REPL when inspecting
large objects like the Deno namespace:

  > Deno
  { args, noColor, pid, env, exit, isTTY, execPath, chdir, cwd, File,
  open, stdin, stdout, stderr, read, write, seek, close, copy,
  toAsyncIterator, SeekMode, Buffer, readAll, mkdirSync, mkdir,
  makeTempDirSync, makeTempDir, chmodSync, chmod, removeSync, remove,
  renameSync, rename, readFileSync, readFile, readDirSync, readDir,
  copyFileSync, copyFile, readlinkSync, readlink, statSync, lstatSync,
  stat, lstat, symlinkSync, symlink, writeFileSync, writeFile, ErrorKind,
  DenoError, libdeno, permissions, revokePermission, truncateSync,
  truncate, connect, dial, listen, metrics, resources, run, Process,
  inspect, build, platform, version, Console, stringifyArgs,
  DomIterableMixin }
2019-03-20 12:38:59 -04:00
Ryan Dahl
fa3c35301a
Rename //src/ to //cli/ (#1962)
To better distinguish the deno_core crate from the executable deno,
which will now be called "the cli" internally.
2019-03-19 12:18:05 -04:00