Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-20 | refactor(core): definition of "ExtensionFileSource" (#17823) | Bartek Iwańczuk | |
This commit changes definition of "ExtensionFileSource", by changing "code" field to being "ExtensionFileSourceCode" enum. Currently the enum has only a single variant "IncludedInBinary". It is done in preparation to allow embedders to decide if they want to include the source code in the binary when snapshotting (in most cases they shouldn't do that). In the follow up commit we'll add more variants to "ExtensionFileSourceCode". "include_js_files_dir!" macro was removed in favor "include_js_files!" macro which can now accept "dir" option. | |||
2023-02-08 | refactor(core): change SourcePair to ExtensionFileSource (#17686) | Bartek Iwańczuk | |
2023-01-13 | chore: add `copyright_checker` tool and add the missing copyright (#17285) | Yiyu Lin | |
2023-01-08 | feat(core): allow specifying name and dependencies of an Extension (#17301) | Leo Kettmeir | |
2022-05-15 | Revert "core: don't include_str extension js code (#10786)" (#14614) | Aaron O'Mullan | |
This reverts commit 10e50a120744de71d6915af4ae93f8231607573d Alternative to #13217, IMO the tradeoffs made by #10786 aren't worth it. It breaks abstractions (crates being self-contained, deno_core without snapshotting etc...) and causes pain points / gotchas for both embedders & devs for a relatively minimal gain in incremental build time ... Closes #11030 | |||
2022-02-23 | bench: core.encode/decode (#13750) | Aaron O'Mullan | |