summaryrefslogtreecommitdiff
path: root/packages/webapi (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-08feat: remove webapi in favor of a smaller polyfill (#7840)Gravatar Erika 51-3469/+0
* feat: remove webapi in favor of a smaller polyfill * test: remove old test * test: 🤦‍♀️ * chore: changeset
2023-08-08Remove support for Node 16 (#7780)Gravatar Erika 2-2/+2
2023-08-02Improve sourcemap generation and performance (#7901)Gravatar Bjorn Lu 1-1/+1
2023-07-20Fix organize-imports-cli with satisfies operator (#7727)Gravatar Bjorn Lu 1-12/+12
2023-06-26Format markdown files (#7439)Gravatar Bjorn Lu 1-18/+16
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-06-21Update safe dependencies (#7430)Gravatar Bjorn Lu 1-6/+6
2023-05-30[ci] release (#7190)astro@2.5.6@astrojs/webapi@2.2.0@astrojs/vue@2.2.1@astrojs/vercel@3.4.1@astrojs/sitemap@1.3.2@astrojs/react@2.2.1@astrojs/preact@2.2.1@astrojs/partytown@1.2.3@astrojs/mdx@0.19.5@astrojs/markdoc@0.3.0Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-26[ci] formatGravatar Princesseuh 1-1/+1
2023-05-26Add global crypto to @astrojs/webapi (#6981)Gravatar André Alves 4-2/+7
* add crypto to be polyfilled * chore: changeset * chore: update deps for node types --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-05-01[ci] release (#6924)astro@2.3.3@astrojs/webapi@2.1.1@astrojs/telemetry@2.1.1@astrojs/tailwind@3.1.2@astrojs/svelte@2.1.1@astrojs/react@2.1.2@astrojs/node@5.1.2@astrojs/cloudflare@6.2.4Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-28Upgrade undici to v5.22.0 (#6929)Gravatar Bjorn Lu 1-1/+1
2023-04-19Cleanup CI logs and run windows on node16 only (#6838)Gravatar Bjorn Lu 1-3/+3
2023-03-20feat(all): Migrate to TypeScript 5.0 (#6579)Gravatar Erika 1-2/+2
2023-03-16Replace tabs with double spaces (#6562)Gravatar Tc001 1-8/+8
2023-03-08docs(images): Add docs for image related errors (#6463)Gravatar Erika 1-1/+1
* docs(images): Add docs for image related errors * fix(images): Oops * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/core/errors/errors-data.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-07[ci] release (#6432)create-astro@3.1.0astro@2.1.0@astrojs/webapi@2.1.0@astrojs/vue@2.1.0@astrojs/vercel@3.2.0@astrojs/turbolinks@0.2.0@astrojs/telemetry@2.1.0@astrojs/tailwind@3.1.0@astrojs/svelte@2.1.0@astrojs/solid-js@2.1.0@astrojs/sitemap@1.2.0@astrojs/rss@2.2.0@astrojs/react@2.1.0@astrojs/prism@2.1.0@astrojs/prefetch@0.2.0@astrojs/preact@2.1.0@astrojs/partytown@1.1.0@astrojs/node@5.1.0@astrojs/netlify@2.2.0@astrojs/mdx@0.18.0@astrojs/markdown-remark@2.1.0@astrojs/markdoc@0.0.1@astrojs/lit@1.3.0@astrojs/image@0.16.0@astrojs/deno@4.1.0@astrojs/cloudflare@6.2.0@astrojs/alpinejs@0.2.0Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-07chore: use directive `@ts-expect-error` instead of `@ts-ignore` (#6429)Gravatar Emanuele Stoppa 2-2/+2
2023-03-07feat(cli): add `--watch` to `astro check` command (#6356)Gravatar Emanuele Stoppa 1-1/+1
* feat(cli): add `--watch` to `astro check` command * chore: refactor in a leaner way, logic not changed * chore: lint * chore: revert changes in sync command * chore: tweak server settings * test: add one test case * chore: increase timeout * test: predictable testing * chore: add changeset * chore: code suggestions * code suggestions * chore: use directly `chokidar` * chore: tweak code * fix: open documents first * chore: disable test * chore: code suggestions * chore: code suggestions * Apply suggestions from code review Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> * code suggestions * chore: rebase --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-03-06Update compilation target for Node 16 (#6213)Gravatar Erika 1-1/+1
* config(esbuild): Update esbuild target to node16 * config(package): Update root package.json node engine * config(tsconfig): Update all the tsconfigs module and targets * chore: changeset * chore: remove unneeded file
2023-03-06[ci] release (#6414)astro@2.0.18@astrojs/webapi@2.0.3Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-03Use undici's FormData for polyfilling (#6413)Gravatar Erika 5-23/+17
* fix(webapi): Use undici's FormData instead of a polyfill * chore: changeset
2023-02-27fix: don't mix Vite plugins when spawning temporary Vite server (#6368)Gravatar Joaquín Sánchez 1-12/+12
* fix: don't mix Vite plugins when spawning temporary Vite server * chore: include command to `createVite` options * chore: use `command` and exclude `preview` * chore: add test * fix(test): remove command check from apply fn * chore: add hint about filtering vite plugins and command * chore: apply suggestion Co-authored-by: Ben Holmes <hey@bholmes.dev> --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-02-27[ci] release (#6359)create-astro@3.0.4astro@2.0.16@astrojs/webapi@2.0.2@astrojs/telemetry@2.0.1@astrojs/lit@1.2.1Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-24fix: bump `undici` to v5.20.0 (#6355)Gravatar Emanuele Stoppa 1-1/+1
* fix: bump `undici` to v5.20.0 * fix(cookies): Hopefully the last time we mess with undici and cookies * chore: add @astrojs/telemetry to changeset --------- Co-authored-by: Princesseuh <princssdev@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-17[ci] release (#6279)astro@2.0.14@astrojs/webapi@2.0.1@astrojs/deno@4.0.2Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-17Pin undici (#6282)Gravatar Matthew Phillips 1-1/+1
2023-02-06fix(webapi): Attempt to polyfill with undici imports directly (#6065)Gravatar Erika 1-7/+1
2023-01-24[ci] release (#5948)create-astro@2.0.0astro@2.0.0@astrojs/webapi@2.0.0@astrojs/vue@2.0.0@astrojs/vercel@3.0.0@astrojs/telemetry@2.0.0@astrojs/tailwind@3.0.0@astrojs/svelte@2.0.0@astrojs/solid-js@2.0.0@astrojs/rss@2.1.0@astrojs/react@2.0.0@astrojs/prism@2.0.0@astrojs/preact@2.0.0@astrojs/partytown@1.0.3@astrojs/node@5.0.0@astrojs/netlify@2.0.0@astrojs/mdx@0.15.0@astrojs/markdown-remark@2.0.0@astrojs/lit@1.1.0@astrojs/image@0.13.0@astrojs/deno@4.0.0@astrojs/cloudflare@6.0.0Gravatar Houston (Bot) 2-3/+27
* [ci] release * Update changelogs (#5955) * [ci] release * Wrap astro 2.0 beta logs in `<details>` * Add link to docs upgrade guide * First pass cleaning up 2.0 release notes * mdx changes from Sarah * combine 5584 and 5842 in deno, image, netlify * markdown/remark incl (5684 & 5769) to match mdx * Tweak markdown/remark formatting * Format astro-prism * Format astro-rss * Format create-astro * Format cloudflare * Format lit * Format partytown * Format node * Format preact * Format react * Format solid * Format svelte * Format tailwind * Format vercel * Format vue * Format telemetry * Format webapi * Format scripts * Reinstate h3s for headings Co-authored-by: Ben Holmes <hey@bholmes.dev> * Reformat mdx * astro & markdown/remark: Combine #5679 & #5684 changelogs Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-23[ci] release (beta) (#5911)create-astro@2.0.0-beta.1astro@2.0.0-beta.4@astrojs/webapi@2.0.0-beta.1@astrojs/tailwind@3.0.0-beta.2@astrojs/svelte@2.0.0-beta.3@astrojs/partytown@1.0.3-beta.1@astrojs/netlify@2.0.0-beta.4@astrojs/image@0.12.2-beta.1Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-22Update magic-string used by @astrojs/image and @astrojs/webapi (#5930)Gravatar heyhoe 1-1/+1
2023-01-20chore(webapi): Remove unused file (#5916)Gravatar Erika 1-50/+0
2023-01-12[ci] release (beta) (#5792)create-astro@2.0.0-beta.0astro@2.0.0-beta.2@astrojs/webapi@2.0.0-beta.0@astrojs/vue@2.0.0-beta.1@astrojs/vercel@3.0.0-beta.1@astrojs/telemetry@2.0.0-beta.0@astrojs/tailwind@3.0.0-beta.1@astrojs/svelte@2.0.0-beta.1@astrojs/solid-js@2.0.0-beta.0@astrojs/react@2.0.0-beta.0@astrojs/prism@2.0.0-beta.0@astrojs/preact@2.0.0-beta.0@astrojs/partytown@1.0.3-beta.0@astrojs/node@5.0.0-beta.1@astrojs/netlify@2.0.0-beta.2@astrojs/mdx@1.0.0-beta.2@astrojs/markdown-remark@2.0.0-beta.2@astrojs/lit@1.0.2-beta.0@astrojs/image@1.0.0-beta.2@astrojs/deno@4.0.0-beta.2@astrojs/cloudflare@6.0.0-beta.1Gravatar Fred K. Bot 2-1/+11
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-10Remove more unnecessary polyfills from webapi for Node 16 (#5814)Gravatar Erika 18-396/+8
* feat(webapi): Remove unnecessary polyfills now that we dropped support for Node 14 * feat(webapi): Removed more unnecessary polyfills for Node 16 * chore: changeset
2023-01-09[ci] formatGravatar matthewp 2-10/+4
2023-01-09Drop Node 14 support (#5782)Gravatar Erika 8-187/+19
* chore: Update engines field * fix(deps): Remove node-fetch * feat(polyfills): Remove node-fetch for undici * feat(webapi): Remove node-fetch from the webapis polyfills for undici * feat(core): Remove node-fetch for undici in Astro core * feat(telemetry): Remove node-fetch for undici * feat(node): Remove node-fetch for undici in node integration * feat(vercel): Remove node-fetch for undici in Vercel integration * chore: update lockfile * chore: update lockfile * chore: changeset * fix(set): Fix set directives not streaming correctly on Node 16 * Try another approach * Debugging * Debug fetch * Use global fetch if there is one * changeset for lit * Remove web-streams-polyfill * Remove web-streams-polyfill license note * Update .changeset/stupid-wolves-explain.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-12-19webapi: Rename misspelled inheritence to inheritance (#5634)Gravatar Anders Kaseorg 3-7/+7
2022-10-31Add a thank you to the original author of the original webapi package (#5246)Gravatar Fred K. Schott 1-2/+2
2022-10-31[ci] release (#5239)Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-28Fix/node custom elements (#5235)Gravatar Sebastiaan 1-2/+3
* adapter-node fix CustomElementRegistry * Add changeset * Add fallback CustomElementRegistry
2022-10-28Upgrade Vite to 3.2 (#5212)Gravatar Bjorn Lu 1-1/+1
2022-09-27[ci] release (#4846)create-astro@1.1.0astro@1.3.1@astrojs/webapi@1.1.0@astrojs/vercel@2.0.1@astrojs/mdx@0.11.2@astrojs/image@0.8.0Gravatar Fred K. Bot 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-22[ci] formatGravatar matthewp 1-4/+2
2022-09-22Http proxy for fetch (#4676)Gravatar Zicklag 3-1/+10
* Add HTTP Proxy Support to `fetch` Polyfill Use `global-agent` to support HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables. * Add Changeset For HTTP Proxy Support in `fetch`
2022-08-15docs: specify lang for a codeblock (#4314)Gravatar Yash 1-1/+1
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-08-10Skip mod.d.ts in format:ci (#4235)Gravatar Bjorn Lu 2-4/+6
2022-08-09Astro 1.0.0 (#4214)Gravatar Nate Moore 2-1/+9
* chore: remove changesets patch * chore: add changesets * chore: version packages * chore: normalize formatting * chore: update lockfile * chore: fix codeblocks * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: fixup code samples * chore: move v0.25 message out of note Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-04[ci] formatGravatar Princesseuh 1-1/+1
2022-08-04Audit examples templates (#3940)Gravatar Erika 1-1/+1
* basics, framework-alpine, framework-solid, delete unused examples * framework-multiple * Remove non-standard file extensions, add missing .vscode folders * Remove robots.txt * Remove blog-multiple-authors * Rewrite components comments to be consistent * Update lockfile * Remove unnecessary usage of SCSS in subpath example * Fix props weirdness in portfolio example * Remove Lit from `framework-multiple` for now * Misc fixes * Update lockfile * I'm in lockfile hell, send help
2022-08-02[ci] formatGravatar Princesseuh 1-1/+1
2022-08-02Refactor @astrojs/prism, fix Prism component import not working (#4114)Gravatar Erika 1-2/+2
* Upgrade @astrojs/prism to a real package, fix component import not working * Remove `@astrojs/prism` as a dependency of `astro` * Update lock file * Refactor to multiple files * Oops, can't have astro imports run inside node * Follow Nate's suggestion on being minors instead of patchs * Update lockfile