Jarred Sumner
2ef7a12383
Update Dockerfile
2022-07-17 17:16:45 -07:00
Jarred Sumner
d54470ef98
Use Node v16 in Dockerfile due to glibc 2.28 requirement
2022-07-17 16:48:26 -07:00
Jarred Sumner
17bbdf790e
Try with 18.04
2022-07-17 16:37:36 -07:00
Jarred Sumner
bcad0d4de7
Downgrade Ubuntu used in Dockerfile to hopefully reduce glibc requirement to 2.27
2022-07-17 16:35:42 -07:00
Jarred Sumner
9ab63dced8
[bun install] Forgot to commit isCI function
2022-07-17 15:54:43 -07:00
Alexander Kuznetsov
e79ed4f738
fix printing message for thrown non-error objects ( #764 )
...
* fix printing message for thrown non-error objects
* fine tuning error formatting
* more fine tuning error formatting
2022-07-17 13:24:35 -07:00
Jarred Sumner
b897ad3ec2
[bun install] Implement --no-verify flag to skip verifying integrity of downloaded packages
2022-07-17 10:08:37 -07:00
Jarred Sumner
daed2a79f9
[bun install] Rename skip_verify -> skip_verify_installed_version_number
2022-07-17 10:08:37 -07:00
Jarred Sumner
0a5470e802
[bun install] Implement --no-progress to disable the progress bar
2022-07-17 10:08:37 -07:00
Jarred Sumner
a02b2d1c5b
[bun install] Improve performance of integrity hashing
...
By using optimized BoringSSL implementations
2022-07-17 10:08:37 -07:00
Jochem Hagenaars
0cc88b8669
Bumped hono version number ( #746 )
...
* Bumped hono version number
* Changed bun-types version
2022-07-17 09:57:29 -07:00
pathei-kosmos
c4fbcaeb21
fixed some licenses in README ( #758 )
...
* fixed some licenses
* typo
2022-07-17 07:58:49 -07:00
Alexander Kuznetsov
a85413c802
fix scoped packages name resolution ( #760 )
2022-07-17 07:58:28 -07:00
thislooksfun
24a5f9ba29
test(wiptest): add a way to test wiptest ( #699 )
...
This adds a really basic test runner that will execute test files using
`bun wiptest` and compare the output to make sure it's correct. It could
definitely be improved, especially in the speed department, but it's at
least functional now, which is better than we had before!
2022-07-16 20:36:46 -07:00
thislooksfun
e9f376825c
docs: fix documentation of atob and btoa ( #748 )
...
These function are confusingly named. `btoa` converts "Binary" to Ascii
by encoding the input using base64. `atob` reverses that process by
base64 decoding the Ascii input into a "Binary" output.
The names come from the Unix utilities with the same names, which
"converts a binary file to ascii for transmission over a telephone line"
(https://www.unix.com/man-page/minix/1/btoa/ )
See:
- https://developer.mozilla.org/en-US/docs/Web/API/atob
- https://developer.mozilla.org/en-US/docs/Web/API/btoa
- https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa-dev
Note: the actual implementation of `btoa` and `atob` are correct, but
the docs were backwards.
2022-07-16 15:23:18 -07:00
John Daly
3c0f18f704
fix/clean-up-bun-error ( #753 )
...
* Fixing TypeScript errors in bun-error package
* Fixing import path
* Removing unused 'isClient' prop from AsyncSourceLines
* PR feedback
2022-07-16 15:14:14 -07:00
Jarred Sumner
f7e9b91701
[parser] Fix symbol collision with require
...
Fixes https://github.com/oven-sh/bun/issues/674
Fixes https://github.com/oven-sh/bun/issues/382
2022-07-15 23:08:25 -07:00
Jarred Sumner
e7246837a1
Add a TLA test
2022-07-15 21:48:30 -07:00
Jarred Sumner
fd4a210b84
[bun.js] Fix non-ascii latin1 string handling in console.log
...
Closes https://github.com/oven-sh/bun/issues/738
Closes https://github.com/oven-sh/bun/issues/737
2022-07-15 21:07:41 -07:00
Travis Pulley
9a7874a680
minor edit: Makefile ( #672 )
...
* minor edit: Makefile
Fixed a suggested command when ninja isn't found to the correct package name
* Makefile: minor edit
Ninja build has different names in different package managers. This handles both known instances.
* Makefile: ninja package name suggestion
When checking requirements, ninja build has a different name for brew and ubuntu/debian. This handles both.
2022-07-15 16:42:53 -07:00
Finn R. Gärtner
5c2ec9cad2
fix(README): Remove unused troubleshooting link ( #736 )
2022-07-15 13:20:19 -07:00
Foyzul Karim
5b248962e7
docs: Added readme file for blank template ( #727 )
...
* Added readme file for blank template
* Removed `Special note` section
2022-07-15 22:09:56 +02:00
Hyro
65027bff99
chore(workflows): dont run on forks ( #734 )
...
* build:(landing) automated website build
* Revert "build:(landing) automated website build"
This reverts commit ddee8485fd .
* workflows(bun-dockerhub): dont run on forks
* chore(bun-landing): update
dont run on forks
fix commit changes
* workflows(bun): dont run on forks
Co-authored-by: xHyroM <xHyroM@users.noreply.github.com >
2022-07-15 12:41:12 -07:00
Hiroaki Nakamura
f35e13d57e
Use Jarred-Sumner/vscode-zig march18 in devcontainer ( #266 )
2022-07-15 12:13:02 -07:00
Hyro
04572506ba
chore(workflows): labeler, label sync ( #701 )
...
* chore: labeler.yml
* chore(workflows): labeler
* chore(workflows): label syncer
* chore: labels.yml
* chore(labeler): add benchmarks
* chore(labels): add packages:bun
* chore(labeler): add packages:bun
* chore(labels): add question
* chore(labels): add esm<>cjs
* chore(labels): add chore label
2022-07-15 12:02:28 -07:00
Finn R. Gärtner
ebf78e5ea6
fix(examples/bun-bakery): Create gitignore ( #697 )
2022-07-15 12:02:03 -07:00
Wulfre
7e695c0086
Create github workflow to publish releases on dockerhub ( #716 )
...
* Create github workflow to publish releases on dockerhub
* Improve readability of final dockerhub dockerfile RUN command
Co-authored-by: Wulfre <wulfre@users.noreply.github.com >
2022-07-15 12:00:48 -07:00
SaltyAom
40b7b99c2c
fix(types): add missing types from URLSearchParams ( #731 )
...
* feat(examples): add kingworld
* fix(examples/kingworld): add .gitignore
* fix(template/kingworld): rename .gitignore to gitignore
* fix(template/kingworld): update to request change
* fix(template/kingworld): update 'getting start' to 'Getting Started'
* template(kingworld/bun): update to requested change
* fix(bun-types): add missing method type of URLSearchParams
2022-07-15 12:00:16 -07:00
SaltyAom
61de6032af
template(kingworld): Add kingworld template ( #708 )
...
* feat(examples): add kingworld
* fix(examples/kingworld): add .gitignore
* fix(template/kingworld): rename .gitignore to gitignore
* fix(template/kingworld): update to request change
* fix(template/kingworld): update 'getting start' to 'Getting Started'
2022-07-15 13:54:18 +02:00
Jonathan Rubin
b901f55164
chores(template/react): Update to React 18 ( #627 )
...
* Updated react example template
* build:(landing) automated website build
* removed bun.lockb and most of changes from react example index.html
Co-authored-by: rubinj30 <rubinj30@users.noreply.github.com >
2022-07-15 12:17:38 +02:00
Hyro
9eac93d176
fix(templates/blank): Update bun types ( #704 )
2022-07-14 20:43:02 +02:00
YOSHIKI
a4ced701dc
fix(templates): Fix hono example template ( #633 )
...
* Fix hono example template
* Update package.json
2022-07-14 20:42:18 +02:00
Mustafa Hasan Khan
0d65a1fe10
fix(packages/bun-landing): Fixed punctuation ( #280 )
2022-07-14 20:20:43 +02:00
0xflotus
de50c709a4
fix small typo in readme ( #706 )
2022-07-14 13:56:50 -04:00
Robert Soriano
3b5ad05627
docs: remove emulating cpu section ( #714 )
2022-07-14 13:49:49 -04:00
pnxdxt
1ea4dc13f0
docs: correct typo missing dots ( #603 )
2022-07-13 23:51:22 +02:00
Fábio Santos
74a600b833
docs: Substitute npm install with bun add ( #670 )
2022-07-13 23:44:08 +02:00
Ikko Ashimine
4b271ee430
fix(napi): gurantee -> guarantee ( #683 )
2022-07-13 23:32:46 +02:00
Omer Shahar
6e4e5fa94c
fix(README): Add punctuation ( #611 )
2022-07-13 23:20:54 +02:00
Dennis Dudek
8e9042142c
docs: Add bun-bakery template ( #649 )
2022-07-13 22:40:29 +02:00
Gabriel Nunes
5a2425d585
fix: og:image share url ( #678 )
...
* feat: create share image for social media
* fix: group meta tags
* fix: adjust og:image to full url
2022-07-13 10:39:51 -07:00
evan
bf19759188
add node:http Server polyfill ( #572 )
...
* node:http polyfill
* remove @ts-ignore
* reuse emitter instance
* requested changes
* cleanup
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2022-07-13 07:08:57 -07:00
Thomas Jaggi
0bcd812bd5
docs: Link esbuild and @evanw in README ( #669 )
2022-07-13 11:35:00 +02:00
Finn R. Gärtner
2769c74c74
fix(env_loader): Off by one error ( #668 )
2022-07-13 02:33:32 -07:00
Jarred Sumner
64c93a0569
Types
bun-v0.1.4
2022-07-13 01:32:21 -07:00
evanwashere
f01bc3c752
switch from stream-browserify to readable-stream
2022-07-13 04:18:51 -04:00
Jarred Sumner
9bba47129a
Add a console.log bench
2022-07-13 01:03:03 -07:00
Jarred Sumner
54b03f6e8a
Add newline to symbols (fixes warning)
2022-07-13 01:03:03 -07:00
evanwashere
71930db9b0
fix benchmark not building with old rust version
2022-07-13 03:14:50 -04:00
Jarred Sumner
e4016c1a77
[http] Fix assertion
2022-07-12 22:56:20 -07:00