Comments (4)
What version of node are you using? This does not appear to be a valid url in chrome, safari, or node.
from bun.
@dylan-conway Sorry, my bad, I over-minimized the example. I updated the sample code. Now it works in the browser (e.g. in Chrome's console), but not with Bun.
My Node version is v20.10.0.
from bun.
I've also learned that there are similar cases like new URL('/', window.location.href)
that probably also don't work in Bun, but they do in the browser.
from bun.
window.location.href
does not exist in Bun or Node
If you can reproduce an example which works in Node but not in Bun, please leave a comment
from bun.
Related Issues (20)
- support returning functions from macros
- winston's timestamp format is not working
- --covarage crashed on windows and show files from node_modules HOT 1
- when sending large chunks into a tcp socket at once, only the first ~128kb are sent HOT 1
- windows : chalk, sveltkkit-superform HOT 2
- Bun.build: equivalent of globalNames
- @hapi/hapi hello world memory leak
- [bun:test] expect resolves not toThrow fails
- I can't run bun run dev or anything with bun HOT 2
- Bun install sometimes fails in Github actions HOT 2
- Segmentation Fault at address 0x0 HOT 16
- Using bun on Termux is not on the docs
- No doc on how to install bun on Termux HOT 1
- pdfjs-dist bug dyld[33775]: missing symbol called zsh: killed bun index.ts HOT 1
- Implement commands in Bun shell
- Piping from `/dev/null` stdin on windows fails with `EBADF` HOT 1
- Support `bun test -e` and `bun test -`
- Mime-type not preserved with response.blob()
- `bunx --bun eslint --init` giving path error on Windows HOT 1
- regression: grammy: TypeError: undefined is not a constructor (evaluating 'new node_shim_js_1.AbortController')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.