summaryrefslogtreecommitdiff
path: root/packages/webapi/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-08feat: remove webapi in favor of a smaller polyfill (#7840)Gravatar Erika 30-2321/+0
* feat: remove webapi in favor of a smaller polyfill * test: remove old test * test: 🤦‍♀️ * chore: changeset
2023-07-20Fix organize-imports-cli with satisfies operator (#7727)Gravatar Bjorn Lu 1-12/+12
2023-05-26[ci] formatGravatar Princesseuh 1-1/+1
2023-05-26Add global crypto to @astrojs/webapi (#6981)Gravatar André Alves 2-0/+5
* 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-03-07chore: use directive `@ts-expect-error` instead of `@ts-ignore` (#6429)Gravatar Emanuele Stoppa 2-2/+2
2023-03-03Use undici's FormData for polyfilling (#6413)Gravatar Erika 1-6/+5
* fix(webapi): Use undici's FormData instead of a polyfill * chore: changeset
2023-02-06fix(webapi): Attempt to polyfill with undici imports directly (#6065)Gravatar Erika 1-7/+1
2023-01-20chore(webapi): Remove unused file (#5916)Gravatar Erika 1-50/+0
2023-01-10Remove more unnecessary polyfills from webapi for Node 16 (#5814)Gravatar Erika 11-231/+1
* 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 1-2/+2
2023-01-09Drop Node 14 support (#5782)Gravatar Erika 3-106/+7
* 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 2-5/+5
2022-10-28Fix/node custom elements (#5235)Gravatar Sebastiaan 1-2/+3
* adapter-node fix CustomElementRegistry * Add changeset * Add fallback CustomElementRegistry
2022-09-22[ci] formatGravatar matthewp 1-4/+2
2022-09-22Http proxy for fetch (#4676)Gravatar Zicklag 1-0/+7
* 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-06-06[ci] formatfix/map-file-404-logsGravatar FredKSchott 13-82/+81
2022-05-20[ci] formatGravatar bholmesdev 1-6/+1
2022-05-20Fix: support `FormData` object on fetch body (#3417)Gravatar Ben Holmes 1-9/+4
* refactor: make node-fetch external in rollup build * deps: make node-fetch standard dep * refactor: switch to node-fetch pkg ref in fetch.ts * chore: changeset * chore: bump webapi to minor change
2022-04-21chore(webapi): fix types (#3167)Gravatar Nate Moore 1-1/+1
2022-04-13[ci] formatGravatar matthewp 1-3/+3
2022-04-13Re-enable custom element test and fix "undefined" child (#3095)Gravatar Matthew Phillips 2-0/+20
* Re-enable custom element test and fix "undefined" child * Remove outdated comment * Adds a changeset
2022-03-10update deps: esbuild, typescript (#2750)Gravatar Fred K. Schott 1-1/+1
* update dep: typescript * update dep: esbuild * update types * update types * update dep: es-module-lexer * update tests
2022-03-08fix format (#2736)Gravatar Fred K. Schott 1-1/+1
2022-03-08Move from yarn to pnpm (#2455)Gravatar Nate Moore 1-0/+1
* chore: `yarn` => `pnpm` * docs: `yarn` => `pnpm` * chore(ci): yarn => pnpm * chore(ci): update pnpm cache path * fix: add missing deps * fix: add missing deps * test: add package.json to all test fixtures * chore: improve hoisting behavior * chore: move turbo into package.json * chore: update npmrc * fix: add missing `debug` dependency * chore: remove prepare script * test: fix new tests * fix: fully resolve renderer paths and `astro/internal` path * chore: update lockfile * chore: remove log * fix: resolve renderers in vite-plugin-jsx * fix: prefer public-hoist-pattern to shamefully-hoist * chore: ignore @babel/core peer warning * chore: update dependencies * test: add autoprefixer as explicit dep * chore: update `.npmrc` file in examples * chore: update dependencies * fix: resolve renderer dependencies in static build * fix: static build renderer resolution * chore: fix smoke tests * chore: hoist autoprefixer * chore: update lockfile * attempt: use full file:// path on Windows * attempt: use astro/internal * attempt: optimize astro/internal * attempt: expose ./internal.js * chore: add missing package.json files * attempt: resolve astro/internal path * chore: tidy package.json * chore: update lockfile * chore: update deps * chore: update deps * chore: yarn -> pnpm * attempt: explicit /@fs urls * attempt: explicit /@fs urls * chore: update all examples for pnpm * chore: fix hoisting for with-vite-plugin-pwa * chore(ci): fix sharp install * chore: update with-vite-plugin-pwa example * fix: pin vite-plugin-pwa to 0.11.11 * fix: add workbox-window to vite-plugin-pwa deps * refactor: use pnpm update --recursive Co-authored-by: JuanM04 <me@juanm04.com> * chore: yarn => pnpm * chore: yarn => pnpm * fix: update smoke test to skip examples which don't work in static build * update lockfile * chore: update .npmrc files * chore: update lockfile * fix: smoke script * chore: update .npmrc file * fix: return to shamefully-hoist (shamefully) * chore: update lockfile * fix(smoke): ignore scripts for smoke tests * fix: update example to disable renderers * chore: bump version * chore(ci): fix smoke tests * attempt: disable --frozen-lockfile for smoke tests * chore: update smoke test * chore: fix rebase issue * chore: update lockfile * fix: smoke tests * fix(ci): run external smoke tests first * fix(ci): run syntax * chore: update lockfile * fix(ci): ensure submodules are up-to-date * fix(ci): ensure submodules are up-to-date * chore: update lockfile * chore: update for webapi * chore: silence node:* warnings * chore: update deps * fix(ci): persist generated webapi assets * fix(ci): webapi build script * chore(ci): remove custom node caching * chore: keep turbo.json * chore: update turbo, ignore create-astro * chore: update deps * fix(ci): test command * chore(ci): update test script Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-07[ci] yarn formatGravatar natemoo-re 27-296/+785
2022-03-07Add `@astrojs/webapi` package (#2729)@astrojs/webapi@0.11.0Gravatar Nate Moore 37-0/+2197
* chore: add @astrojs/webapi * chore: update package.json * fix: update file case * fix: remove lowercase file * chore: update tests to use mocha * chore: update LICENSE