-
-
Notifications
You must be signed in to change notification settings - Fork 38
feat: ES modules (ESM) support with conditional esm or commonjs consumption + better error handling #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: ES modules (ESM) support with conditional esm or commonjs consumption + better error handling #276
Changes from 63 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
a2a35d4
fix(catalyst): variable-length arrays
NathanWalker 98d9ad5
feat: support conditional esm, .mjs, consumption
NathanWalker f42605c
feat: consume esm if .mjs is found + better error handling
NathanWalker 485570c
feat: dynamic import, lazy loaded chunks wip
NathanWalker b7ac75c
feat: dynamic import support for lazy loading
NathanWalker f72b565
chore: 9.0.0-esm.1
NathanWalker b2b65fa
feat: handling external modules
NathanWalker bd6aee6
feat: provide valid import.meta.url behavior
NathanWalker 109775b
feat: more verbose exception output
NathanWalker b81746d
feat: workers
NathanWalker 828d022
chore: 9.0.0-esm.2
NathanWalker 5add9e3
feat: worker improvements
NathanWalker 8b78f90
feat: import.meta improvements
NathanWalker 9c482b8
chore: safe global registry handling
NathanWalker b6d497e
feat: more robust commonjs vs esm conditional handling
NathanWalker 0d0d3b1
chore: 9.0.0-esm.4
NathanWalker 091358d
chore: 9.0.0-esm.5
NathanWalker 2891409
chore: fix tests and add more robustness to module resolution cases
NathanWalker 25a4e90
chore: 9.0.0-esm.6
NathanWalker 37cde9b
fix: allow dynamic import chunks to resolve properly under diverse bu…
NathanWalker ef9a75a
chore: 9.0.0-esm.7
NathanWalker 5acef93
feat: improved exception handling to not stop execution and show stac…
NathanWalker db0289d
chore: 9.0.0-esm.8
NathanWalker 13dd1ff
feat: exception handling improvements with in-flight displays
NathanWalker 800cfbe
feat: skip inspector_modules if external file not found
NathanWalker 499faff
feat: add config option showErrorDisplay to conditionally show in-fli…
NathanWalker 810c83b
feat: search sub framework paths in metadata generator
NathanWalker 2f6dfca
feat: opt for os_log with graceful backwards compat fallback
NathanWalker 60d353d
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker a3bbfdf
fix: worker url resolution with ~ beginning
NathanWalker 41a98f9
fix: error display
NathanWalker decfb98
feat: error handling improvements and cleanup debug logs
NathanWalker 57989f4
chore: cleanup logs
NathanWalker 79e73cb
chore: 9.0.0-esm.9
NathanWalker 9637918
feat: use consistent logs
NathanWalker e29c06a
chore: 9.0.0-esm.10
NathanWalker eca7dd4
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker 947f0b4
fix: worker onerror improvements
NathanWalker 200c2c1
fix: unit tests - provide __setRuntimeIsDebug helper to test debug vs…
NathanWalker 901f621
chore: 9.0.0-alpha.2
NathanWalker 3b25e9a
fix: error format for print message
NathanWalker 9c78f9f
chore: 9.0.0-alpha.3
NathanWalker 0969e95
chore: optimized AppPackageJson key lookup
NathanWalker 7716730
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker 5ee05cc
chore: 9.0.0-alpha.5
NathanWalker 0e3728c
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker 2f82505
fix: source map remapping to be consistent
NathanWalker 9f5601f
chore: 9.0.0-alpha.6
NathanWalker 23beba9
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker 9c0ebbb
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker 0929f79
chore: 9.0.0-alpha.7
NathanWalker 8fd54b5
chore: disable copy stacktrace button for now
NathanWalker 7683ee8
fix: ignore error display unless enabled via nativescript.config
NathanWalker f6cc67e
Merge branch 'main' into feat/allow-conditional-esm-consumption
NathanWalker d46cf59
chore: spelling
NathanWalker 4d2aba4
chore: trailing whitespace
NathanWalker 55a219e
Merge remote-tracking branch 'origin/main' into feat/allow-conditiona…
NathanWalker af257ee
chore: cleanup error display logic with remap
NathanWalker 5073c55
chore: 9.0.0-alpha.8
NathanWalker a4c8148
chore: cleanup
NathanWalker beb5c77
chore: unit tests to allow non-throw in debug, throw in release
NathanWalker 9e0acc6
chore: cleanup
NathanWalker 262cd87
chore: cleanup stack trace handling for error display
NathanWalker fe08180
Update NativeScript/NativeScript-Prefix.pch
NathanWalker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.