Title: Improvements and bugfixes compared to `source-map-support` · Issue #24 · cspotcode/node-source-map-support · GitHub
Open Graph Title: Improvements and bugfixes compared to `source-map-support` · Issue #24 · cspotcode/node-source-map-support
X Title: Improvements and bugfixes compared to `source-map-support` · Issue #24 · cspotcode/node-source-map-support
Description: Here is a changelog of improvements we have made relative to source-map-support If you're here for the first time, you can npm install @cspotcode/source-map-support and require('@cspotcode/source-map-support').install() as a drop-in repl...
Open Graph Description: Here is a changelog of improvements we have made relative to source-map-support If you're here for the first time, you can npm install @cspotcode/source-map-support and require('@cspotcode/source-m...
X Description: Here is a changelog of improvements we have made relative to source-map-support If you're here for the first time, you can npm install @cspotcode/source-map-support and require('@cspotcode/...
Opengraph URL: https://github.com/cspotcode/node-source-map-support/issues/24
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improvements and bugfixes compared to `source-map-support`","articleBody":"Here is a changelog of improvements we have made relative to `source-map-support`\r\n\r\nIf you're here for the first time, you can `npm install @cspotcode/source-map-support` and `require('@cspotcode/source-map-support').install()` as a drop-in replacement for `npm install source-map-support`\r\n\r\nThis encompasses improvements in [`@cspotcode/source-map` and `@cspotcode/source-map-consumer`](https://github.com/cspotcode/source-map) since they were created for, and are primarily consumed by, this library.\r\n\r\n# 0.8.1\r\n\r\n* Fix bug where errors without a message would still have a trailing colon in the first line of their stack, e.g. `Error: ` instead of `Error` #39 \r\n\r\n# 0.8\r\n\r\n*See #38 for all code changes*\r\n\r\n## Changes\r\n\r\n* Switch sourcemap consumer to @jridgewell/trace-mapping\r\n * drops WASM requirement\r\n * library is externally maintained\r\n* Normalize cache keys to share single cache entry for both URIs and native paths\r\n\r\n## Fixes\r\n\r\n* Correctly render WASM stack frames\r\n* Fixed bug where file:/// URLs in stack traces were not consistently percent-encoded\r\n* ensure formatting of module paths within stack frames code snippets is consistent with vanilla node\r\n * stack frame/snippet from nodejs may be native path or file URI\r\n * CJS uses native paths\r\n * ESM uses file URIs\r\n * mapped frame should match: either native path or file URI\r\n * Note: On windows, this means backslashes, starts with drive letter, no file:// prefix\r\n\r\n## Other\r\n\r\n* Add node 17 and 18 to test matrix\r\n* Add tests for async, Promise.all, Promise.any stack frames\r\n* Add tests for different path styles in sourcemaps: URIs, native paths, absolute and relative\r\n\r\n# 0.7\r\n\r\n## Adds\r\n\r\n* Adds `uninstall()` method to safely remove all hooks from the environment\r\n * #29\r\n* Supports multiple instances of this library by sharing state via a global singleton\r\n * Even if package manager creates multiple copies of this library in the dependency tree, they will cooperate and share installed hooks, cache, etc\r\n * #28\r\n* redirects `require(\"source-map-support\")` to `require(\"@cspotcode/source-map-support\")`\r\n * Optionally notifies consuming code via callback so it can choose to log warnings to users\r\n * Consuming code can opt-out of this behavior via option\r\n * necessary because `source-map-support` does not implement #28\r\n * #23, #30 @ejose19 \r\n* Add `@cspotcode/source-map-support/register-hook-require` entrypoint\r\n * Same as `@cspotcode/source-map-support/register` but with `hookRequire` enabled\r\n * #25\r\n\u003c!--\r\n## Fixes\r\n\r\n\r\n\r\n## Performance\r\n\r\n## Removed\r\n\r\n## Other\r\n-->\r\n\r\n\r\n# 0.6\r\n\r\n*includes 0.6.0 and 0.6.1*\r\n\r\n## Adds\r\n\r\n* bundles TypeScript types; no need for `@types/`\r\n * #18, #13, evanw/node-source-map-support/issues/285\r\n* colorized output matching node\r\n * #17, #22, evanw/node-source-map-support/issues/263\r\n\r\n## Fixes\r\n\r\n* formatting of async stack frames \r\n * #20, #12, evanw/node-source-map-support/issues/243\r\n* Fixes broken `NodeError` formatting; will no longer strip codes from `NodeError`\r\n * #3, evanw/node-source-map-support/issues/291\r\n* `process.on('exit')` listeners should run before fatal error is logged\r\n * #16, #15\r\n\r\n## Performance\r\n\r\n* use newer `source-map` dependency with WASM components for improved performance, maybe smaller install size? (haven't actually checked install size)\r\n * #9\r\n* Removes browser bundle for smaller package size\r\n * #6\r\n* Removes buffer-from dependency for smaller install size \r\n * #8\r\n\r\n## Removed\r\n\r\n* Support for EOLed node versions. We test against and support node 12, 14, and 16 \r\n * #7\r\n* Removes browser bundle for smaller package size \r\n * #6\r\n\r\n## Other\r\n\r\n* Runs tests on CI\r\n * #1","author":{"url":"https://github.com/cspotcode","@type":"Person","name":"cspotcode"},"datePublished":"2021-09-05T15:30:26Z","url":"https://github.com/cspotcode/node-source-map-support/issues/24"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29612d82-3856-1b07-d915-1f88edb279db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD98:8CC91:ABE91D:EA8865:6AFB71A1 |
| html-safe-nonce | a35504f700e5b65f3f458fa8d9cb2d0d7ceb7ccfa078eac9aa6fab0e550e9287 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDk4OjhDQzkxOkFCRTkxRDpFQTg4NjU6NkFGQjcxQTEiLCJ2aXNpdG9yX2lkIjoiNTQ4ODE3NzM1NjU3NDc4MTg1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15c5ace296d4c36218fa1681d500631a3ed769a1b3780d552c6e7ea8cf62167c |
| hovercard-subject-tag | issue:988535921 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cspotcode/node-source-map-support/24/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5af0c0cb02aaa1d3a04094e5db51b4b26e6c5d17c469838693463b697550b442/cspotcode/node-source-map-support/issues/24 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5af0c0cb02aaa1d3a04094e5db51b4b26e6c5d17c469838693463b697550b442/cspotcode/node-source-map-support/issues/24 |
| og:image:alt | Here is a changelog of improvements we have made relative to source-map-support If you're here for the first time, you can npm install @cspotcode/source-map-support and require('@cspotcode/source-m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cspotcode |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-preview |
| go-import | github.com/cspotcode/node-source-map-support git https://github.com/cspotcode/node-source-map-support.git |
| octolytics-dimension-user_id | 376504 |
| octolytics-dimension-user_login | cspotcode |
| octolytics-dimension-repository_id | 310942201 |
| octolytics-dimension-repository_nwo | cspotcode/node-source-map-support |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 310942201 |
| octolytics-dimension-repository_network_root_nwo | cspotcode/node-source-map-support |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width