{"id":15580459,"url":"https://github.com/dlo/2023-07-02-bun-typeerror","last_synced_at":"2026-04-22T12:37:15.455Z","repository":{"id":178109842,"uuid":"661372392","full_name":"dlo/2023-07-02-bun-typeerror","owner":"dlo","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-02T16:33:14.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-20T10:48:08.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dlo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-02T16:30:46.000Z","updated_at":"2023-07-02T16:31:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"950ec6e6-7dc6-4fb4-9377-b70b57b5b5cf","html_url":"https://github.com/dlo/2023-07-02-bun-typeerror","commit_stats":null,"previous_names":["dlo/2023-07-02-bun-typeerror"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlo%2F2023-07-02-bun-typeerror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlo%2F2023-07-02-bun-typeerror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlo%2F2023-07-02-bun-typeerror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlo%2F2023-07-02-bun-typeerror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlo","download_url":"https://codeload.github.com/dlo/2023-07-02-bun-typeerror/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428436,"owners_count":20289317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T19:26:43.545Z","updated_at":"2025-12-28T12:30:18.036Z","avatar_url":"https://github.com/dlo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Repro with:\n\n```\n$ bun install\n$ bun run index.mts\n[0.07ms] \".env.development\", \".env\"\n1 | 'use strict'\n2 |\n3 | // like String.prototype.search but returns the last index\n4 | function _searchLast (str, rgx) {\n5 |   const matches = Array.from(str.matchAll(rgx))\n                                ^\nTypeError: undefined is not an object (evaluating 'str.matchAll')\n      at _searchLast (/Users/dan/Projects/bun-typeerror-2023-07-02/node_modules/dotenv-expand/lib/main.js:5:29)\n      at _interpolate (/Users/dan/Projects/bun-typeerror-2023-07-02/node_modules/dotenv-expand/lib/main.js:12:39)\n      at expand (/Users/dan/Projects/bun-typeerror-2023-07-02/node_modules/dotenv-expand/lib/main.js:68:6)\n      at /Users/dan/Projects/bun-typeerror-2023-07-02/index.mts:5:0\n      at globalThis (/Users/dan/Projects/bun-typeerror-2023-07-02/index.mts:7:23)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlo%2F2023-07-02-bun-typeerror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlo%2F2023-07-02-bun-typeerror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlo%2F2023-07-02-bun-typeerror/lists"}