Title: "Unexpected token ." errors from ?. operator on modern runtimes · Issue #130 · ulid/javascript · GitHub
Open Graph Title: "Unexpected token ." errors from ?. operator on modern runtimes · Issue #130 · ulid/javascript
X Title: "Unexpected token ." errors from ?. operator on modern runtimes · Issue #130 · ulid/javascript
Description: I wondered if anyone else is seeing client-side errors coming in related to the ?. operator at https://github.com/ulid/javascript/blob/master/source/ulid.ts#L51 It manifests as Unexpected token . with the stack trace pointing to node_mod...
Open Graph Description: I wondered if anyone else is seeing client-side errors coming in related to the ?. operator at https://github.com/ulid/javascript/blob/master/source/ulid.ts#L51 It manifests as Unexpected token . w...
X Description: I wondered if anyone else is seeing client-side errors coming in related to the ?. operator at https://github.com/ulid/javascript/blob/master/source/ulid.ts#L51 It manifests as Unexpected token . w...
Opengraph URL: https://github.com/ulid/javascript/issues/130
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Unexpected token .\" errors from ?. operator on modern runtimes","articleBody":"I wondered if anyone else is seeing client-side errors coming in related to the `?.` operator at https://github.com/ulid/javascript/blob/master/source/ulid.ts#L51\n\nIt manifests as `Unexpected token .` with the stack trace pointing to `node_modules/ulid/dist/browser/index.js:158` -- which holds:\n```\nif (typeof globalCrypto?.getRandomValues === \"function\") {\n```\n\nOur error-tracking reports modern browser versions, where the `?.` operator has existed for many years.\n\nSince I'm at a bit of a loss here, I thought I'd create an issue here in case others are seeing this. Maybe we can work something out?\n\nulid versions we've seen the issue on: 3.0.0 and 3.0.2\n","author":{"url":"https://github.com/TJC","@type":"Person","name":"TJC"},"datePublished":"2025-12-02T23:58:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/130/javascript/issues/130"}
| 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:29cb8868-8afc-92e2-8b87-ffe528283d29 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C17E:F9B18:375284:47AE61:698E7FF6 |
| html-safe-nonce | 256ab8d7f325e2c1b819abf431e846b6b1eca60d370c6f840863798a2f7acf8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTdFOkY5QjE4OjM3NTI4NDo0N0FFNjE6Njk4RTdGRjYiLCJ2aXNpdG9yX2lkIjoiMjI4MDAyMTA3NDg5NTYwMTY1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b57072620bd00fa00a5e87ddf9c87dca5a8eb37b428446a0e6fe8ad2444af519 |
| hovercard-subject-tag | issue:3687930613 |
| 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/ulid/javascript/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/52f0ec5b88147d3e6ddc52da031fd93c26616e5a73b55043a7f6cfb3da1560ec/ulid/javascript/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52f0ec5b88147d3e6ddc52da031fd93c26616e5a73b55043a7f6cfb3da1560ec/ulid/javascript/issues/130 |
| og:image:alt | I wondered if anyone else is seeing client-side errors coming in related to the ?. operator at https://github.com/ulid/javascript/blob/master/source/ulid.ts#L51 It manifests as Unexpected token . w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TJC |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/ulid/javascript git https://github.com/ulid/javascript.git |
| octolytics-dimension-user_id | 33265518 |
| octolytics-dimension-user_login | ulid |
| octolytics-dimension-repository_id | 61051155 |
| octolytics-dimension-repository_nwo | ulid/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 61051155 |
| octolytics-dimension-repository_network_root_nwo | ulid/javascript |
| 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 | f7a12861f7011eecb14bcc4388a767d829a52dfc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width