1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
Commit graph

4072 commits

Author SHA1 Message Date
josephrocca
8bacd710db
docs: Removed unnecessary await (#6951) 2020-08-04 12:16:04 +02:00
Arseny Kruglikov
bda9f61972
docs: fix some grammar mistakes in permissions.md (#6949) 2020-08-03 22:57:57 -04:00
Rauf Islam
40ead6cc98
fix(std/encoding/toml): Add boolean support to stringify (#6941) 2020-08-03 18:17:31 -04:00
Maayan Hanin
5fc5e7b54a
fix(cli): add support for non-UTF8 source files (#6789)
Fixes: #5542
2020-08-03 23:39:48 +02:00
Jarrett Helton
d615ebefe2
fix(std/toml): parser error with inline comments (#6942) 2020-08-03 13:26:02 -04:00
Chayim Refael Friedman
e9d713c007
typo (#6937) 2020-08-03 10:53:18 -04:00
Ben Stolovitz
39693094f1
Fix grammatical error in Linter documentation (#6939) 2020-08-03 10:52:53 -04:00
Luca Casonato
9d50c5c1a6
feat: hash file names in gen cache (#6911) 2020-08-03 14:55:03 +02:00
Bartek Iwańczuk
d54d4d21bd
upgrade: swc_ecmascript (#6943) 2020-08-03 08:54:00 -04:00
Ryan Dahl
7446230e6b
v1.2.2 2020-07-31 15:14:25 -04:00
Bartek Iwańczuk
b718e6ff53
upgrade: deno_lint, dprint, swc (#6928)
This commit upgrades:
deno_lint 0.1.20
dprint-plugin-typescript 0.25.0
swc_ecmascript 0.1.0

SWC is no longer reexported from dprint nor deno_lint.
2020-07-31 16:59:22 +02:00
Luca Casonato
4afb4b6e46
feat: add $STD_VERSION replacement variable in docs (#6922) 2020-07-31 11:12:20 +02:00
Nayeem Rahman
6e7208bec2
fix(cli/rt): Fix file URL to path conversion on Windows (#6920) 2020-07-30 18:37:26 -04:00
Divy Srivastava
0da4779b17
feat(unstable): add "--ignore" flag to deno fmt (#6890) 2020-07-30 12:09:08 -04:00
zfx
95597fc6e2
fix(std/tar): directory type bug (#6905) 2020-07-30 12:01:31 -04:00
Kid
391088c6ff
docs(std/encoding): Fix TOML docs (#6912) 2020-07-30 09:56:10 -04:00
Nayeem Rahman
6afe7bbd39
fix(std/path): Percent-decode in fromFileUrl() (#6913) 2020-07-29 18:23:09 -04:00
Luca Casonato
1b60840f28
feat(std/async): add pooledMap utility (#6898) 2020-07-29 02:44:34 +02:00
Bartek Iwańczuk
c691713394
refactor: Use SWC to strip types for "--no-check" flag (#6895) 2020-07-28 22:33:23 +02:00
Bartek Iwańczuk
315efbc0e8
fix: downcast from SwcDiagnosticBuffer to OpError (#6909) 2020-07-28 15:08:13 -04:00
Ryan Dahl
b7942bf0f6
Change release build flags to optimize for size (#6907) 2020-07-28 13:37:27 -04:00
Kitson Kelly
076547fbbb
chore: use matches macro for bool matches (#6904) 2020-07-28 09:50:45 -04:00
Trivikram Kamat
ccd0d0eb79
chore(ci): update actions to run on macos-10.15 (#6884) 2020-07-26 16:24:32 -04:00
Trivikram Kamat
c8fc679329
test(std): remove unstable from multiple tests (#6882) 2020-07-26 15:52:08 -04:00
Marcin Puc
7326e1ab49
fix(std/json): Add newline at the end of json files (#6885) 2020-07-26 15:51:33 -04:00
Jordan Cannon
3b7fdd6734
Fix typo (#6872) 2020-07-26 10:41:24 -04:00
Trivikram Kamat
35a1421fb1
chore: use ts-expect-error instead of ts-ignore (#6876) 2020-07-26 10:41:10 -04:00
Mark Tiedemann
9f3ab4dca7
Shorten Windows file description (#6881) 2020-07-26 10:39:34 -04:00
Trivikram Kamat
017aa1ca1b
chore: remove TODO about manual JSON parsing (#6878) 2020-07-26 14:55:39 +02:00
Bartek Iwańczuk
69552b1def
upgrade: deno_lint v0.1.17 (#6869) 2020-07-25 17:47:55 +02:00
Bartek Iwańczuk
b45f9a7357
fix: deno-types directive should have higher precedence than X-TypeScript-Types header (#6761) 2020-07-24 14:21:36 +02:00
Ryan Dahl
f162ced76a
Remove deno_typescript references from ci (#6866) 2020-07-24 07:36:54 -04:00
Ryan Dahl
25a0ad3e16
v1.2.1 2020-07-24 06:32:48 -04:00
迷渡
836ce3a9a6
chore: mark typescript.js and type definitions as vendored (#6863) 2020-07-24 11:47:33 +02:00
Nayeem Rahman
a8f74aa381
fix: Improve URL compatibility (#6807)
- Fix protocol regex.
- Truncate repeated leading slashes in file paths.
- Make drive letter support platform-independent.
- Drop the hostname if a drive letter is parsed.
- Fix drive letter normalization and basing.
- Allow basing over the host.
- Fix same-protocol basing.
- Remove Windows UNC path support.
- Reverts #6418. This is non-standard. Wouldn't be too much of a problem but it 
   makes other parts of the spec hard to realize.
2020-07-23 21:37:11 -04:00
Nayeem Rahman
b61347b255
fix(cli/js/ops/fs_events): Ignore polling errors caused by return() (#6785) 2020-07-23 21:33:52 -04:00
Ryan Dahl
c2507d95f5
Align cargo dependency features (#6860) 2020-07-23 13:20:08 -04:00
Ryan Dahl
218be6a269
Don't use window.__base64. Combine deno_ns scripts. (#6858) 2020-07-23 11:12:25 -04:00
Ryan Dahl
ca4dcb36dd
Rename cli/js2 to cli/rt (#6857) 2020-07-23 16:27:26 +02:00
takutoaoi
090455936c
docs: Fix broken links (#6853) 2020-07-23 10:05:36 -04:00
Bartek Iwańczuk
b449964d1a
refactor: remove more compiler runtime code (#6841) 2020-07-23 15:29:36 +02:00
Gerald
e18e46a3b3
fix(std/fs): remove unexisted imports (#6850) 2020-07-23 00:09:20 -04:00
Casper Beyer
fd900cfe21
BREAKING(std/fs): remove readFileStr and readFileStrSync (#6848)
This removes the readFileStr and readFileStrSync functions which are
effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2020-07-22 22:18:18 -04:00
Casper Beyer
843b54549c
BREAKING(std/fs): remove writeFileStr and writeFileStrSync (#6847)
This removes the writeFileStr and writeFileStrSync functions which are
effectivly duplicates of Deno.writeTextFile and Deno.writeTextFileSync.
2020-07-22 21:34:20 -04:00
Bartek Iwańczuk
b573bbe447
upgrade: tokio 0.2.22 (#6838) 2020-07-23 00:23:52 +02:00
Casper Beyer
587eefe773
test(cli/unit): remove rogue console.log statement (#6846) 2020-07-22 16:46:43 -04:00
Ryan Dahl
f8695b493d
Add web APIs to cli/js2/README.md (#6842) 2020-07-22 19:30:59 +02:00
Ryan Dahl
69706331a5
clean up set_binary_metadata (#6811) 2020-07-22 13:19:37 -04:00
David Sherret
a28e153a12
Use incremental formatting internally for dprint (#6815) 2020-07-22 12:29:39 -04:00
Ryan Dahl
bf9930066d
Reduce size of TypeScript Compiler snapshot (#6809)
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into
cli/tsc/  ... because it's very important that we all understand that this code
is unnecessarily duplicated in our binary. I hope this ugliness provides the
motivation to clean it up.

The typescript git submodule is removed, because it's a very large repo and
contains all sorts of stuff we don't need. Instead the necessary files are
copied directly into the deno repo. Hence +200k lines.

COMPILER_SNAPSHOT.bin size
```
master         3448139
this branch    3320972
```

Fixes #6812
2020-07-22 12:03:46 -04:00