summaryrefslogtreecommitdiff
path: root/std/path
AgeCommit message (Collapse)Author
2021-02-02chore: remove std directory (#9361)Casper Beyer
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2021-01-02fix(std): Don't use JSDoc syntax for browser-compatibility headers (#8960)Nayeem Rahman
2020-11-21docs(std/path): add missing JSDoc (#8282)Mo
2020-11-14refactor(std): add std/_util/os.ts module (#8370)Behnam Mohammadi
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-06docs(std): add some missing JSDoc (#7765)Fukuda Naoto
Refs #7487
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-10-23docs(std/path): fix typo in globToRegExp docs (#8081)btoo
2020-10-19feat(std/path): Add toFileUrl() (#7971)Nayeem Rahman
2020-10-04docs(std): version all imports in README (#7442)tokiedokie
Use $STD_VERSION in std/ README files to automatically display proper version.
2020-10-04docs: end sentences with a period in markdown (#7813)Trivikram Kamat
2020-10-01feat(std/path): Align globToRegExp() with bash glob expansion (#7209)Nayeem Rahman
- feat: Support escaping glob characters - feat: Support more character classes - feat: Match characters literally on segment parse failure - fix: Match nothing for empty globs - fix: Contain any glob syntax to its path segment - perf: Remove extraneous separators from generated regex - doc: Add detailed JSDoc - chore: Remove old copyright headers
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-21chore: add copyright (#7593)tokiedokie
2020-08-31test(std): ensure mod.ts modules have a test coverage (#7264)Casper Beyer
2020-08-21fix: Allow isolated "%"s when parsing file URLs (#7108)Nayeem Rahman
2020-08-06refactor: Rewrite globToRegExp() (#6963)Nayeem Rahman
2020-07-30fix(cli/rt): Fix file URL to path conversion on Windows (#6920)Nayeem Rahman
2020-07-29fix(std/path): Percent-decode in fromFileUrl() (#6913)Nayeem Rahman
2020-07-23fix: Improve URL compatibility (#6807)Nayeem Rahman
- 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-19refactor(std/path): enrich the types in parse_format_test (#6803)木杉
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
2020-07-06Fix definition of URL constructor (#6653)Ryan Dahl
2020-07-01upgrade: swc_ecma_visit, dprint, deno_lint (#6580)Bartek Iwańczuk
2020-06-26fix(cli/js/web/url): Support UNC paths on Windows (#6418)Nayeem Rahman
2020-06-12refactor: Don't destructure the Deno namespace (#6268)Nayeem Rahman
2020-06-12make std deno-lint clean (#6240)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-07refactor(std): remove testing dependencies from non-test code (#5838)Chris Knight
2020-05-31fix(std/path): Support browsers (#6003)Nayeem Rahman
2020-05-18Revert "Fix definition of URL constructor (#5521)" (#5564)Ryan Dahl
This reverts commit 63bc468365bceda929a39b5eb93b605e2dc2bd9c.
2020-05-17Miscellaneous documentation and spelling improvements (#5527)Bert Belder
* Extended/updated documentation on code editor setup and plugins. * Moved documentation to the right file. * Fixed spelling errors in documentation and code. * Updated broken links. Co-authored-by: 迷渡 <justjavac@gmail.com> Co-authored-by: AlfieriChou <alfierichou@gmail.com> Co-authored-by: Anil Seervi <anil13112000@gmail.com Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com> Co-authored-by: József Sallai <jozsef@sallai.me> Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de> Co-authored-by: Tommy May <tommymay37@gmail.com> Co-authored-by: Turbinya <wownucleos@gmail.com> Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17Fix definition of URL constructor (#5521)Masahiro Miyashiro (3846masa)
2020-05-14Fix typos across the repo (#5295)Dante Calderón
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-09BREAKING(std): reorganization (#5087)Nayeem Rahman
* 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-04feat(URL): Support drive letters for file URLs on Windows (#5074)Nayeem Rahman
refactor: Parse URLs more sequentially. This makes it easier to change matching behaviour depending on the protocol. fix: Fail when a host isn't given for certain protocols. fix: Convert back-slashes info forward-slashes.
2020-04-29feat(std/path): Add fromFileUrl() (#4993)Nayeem Rahman
Fix: URL constructor accepts a URL object which is not a base
2020-04-29BREAKING: Map-like interface for Deno.env (#4942)Valentin Anger
2020-04-28Move the docs like `@param [obj.prop]` to the interface. (#4974)David Sherret
2020-04-28BREAKING: Use LLVM target triple for Deno.build (#4948)Ryan Dahl
Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin"
2020-04-28BREAKING: remove overload of Deno.test() (#4951)Bartek Iwańczuk
This commit removes overload of Deno.test() that accepted named function.
2020-03-30feat: Add common to std/path (#4527)Kitson Kelly
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-02-21refactor: remove unneeded ErrorKinds (#3936)Bartek Iwańczuk
2020-02-19Enable TS strict mode by default (#3899)Maximilien Mellen
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-07remove non-null assertion operator from std (part1) (#3900)Yusuke Sakurai
2020-02-06fix(std/path/globrex.ts): Use non-capturing groups in globrex() (#3898)Nayeem Rahman
2019-10-16std: Move fs/path to the top-level (#3100)Nayeem Rahman
2019-10-09remove std submoduleRyan Dahl