Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-31 | Use system rustfmt instead of fixed binary (#2701) | Ryan Dahl | |
2019-07-11 | Refactor error to use dynamic dispatch and traits | Bert Belder | |
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic. | |||
2019-07-08 | core: replace ModuleSpecifier::to_url() by as_url() | Bert Belder | |
2019-07-08 | core: clearly define when module lookup is path-based vs URL-based | Bert Belder | |
The rules are now as follows: * In `import` statements, as mandated by the WHATWG specification, the import specifier is always treated as a URL. If it is a relative URL, it must start with either / or ./ or ../ * A script name passed to deno as a command line argument may be either an absolute URL or a local path. - If the name starts with a valid URI scheme followed by a colon, e.g. 'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a URL (even if Deno doesn't support the indicated protocol). - Otherwise, the script name is interpreted as a local path. The local path may be relative, and operating system semantics determine how it is resolved. Prefixing a relative path with ./ is not required. | |||
2019-06-12 | Move ModuleSpecifier to //core (#2509) | Bartek Iwańczuk | |
2019-06-12 | Refactor module resolving (#2493) | Bartek Iwańczuk | |
Adds ModuleSpecifier, which wraps a URL. This is now passed around instead of specifier and resolver strings. | |||
2019-06-09 | feat: Import maps (#2360) | Bartek Iwańczuk | |