0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/webapi/package.json
Erika 1f92d64ea3
Drop Node 14 support (#5782)
* 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>
2023-01-09 16:59:20 -05:00

103 lines
2.5 KiB
JSON

{
"name": "@astrojs/webapi",
"description": "Use Web APIs in Node",
"version": "1.1.1",
"type": "module",
"exports": {
".": {
"import": "./mod.js",
"types": "./mod.d.ts"
},
"./apply": {
"import": "./apply.js"
}
},
"main": "mod.js",
"types": "mod.d.ts",
"files": [
"apply.js",
"mod.d.ts",
"mod.js",
"mod.js.map"
],
"keywords": [
"astro",
"api",
"cancelAnimationFrame",
"clearImmediate",
"clearInterval",
"fetch",
"requestAnimationFrame",
"setImmediate",
"setInterval",
"web"
],
"repository": {
"type": "git",
"url": "https://github.com/withastro/astro.git",
"directory": "packages/webapi"
},
"author": "withastro",
"license": "MIT",
"contributors": [
"Jonathan Neal (https://github.com/jonathantneal)",
"Toru Nagashima (https://github.com/mysticatea)",
"Jimmy Wärting (https://github.com/jimmywarting)",
"David Frank (https://github.com/bitinn)",
"Mattias Buelens (https://github.com/MattiasBuelens)",
"Diwank Singh (https://github.com/creatorrr)"
],
"bugs": "https://github.com/withastro/astro/issues",
"homepage": "https://github.com/withastro/astro/tree/main/packages/webapi#readme",
"dependencies": {
"global-agent": "^3.0.0",
"undici": "^5.14.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-inject": "^4.0.4",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.2",
"@types/chai": "^4.3.1",
"@types/global-agent": "^2.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "^14.18.21",
"@ungap/structured-clone": "^0.3.4",
"abort-controller": "^3.0.0",
"chai": "^4.3.6",
"event-target-shim": "^6.0.2",
"fetch-blob": "^3.1.5",
"formdata-polyfill": "^4.0.10",
"magic-string": "^0.25.9",
"mocha": "^9.2.2",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.4.0",
"typescript": "~4.7.3",
"urlpattern-polyfill": "^1.0.0-rc5"
},
"scripts": {
"build": "node run/build.js",
"build:ci": "node run/build.js",
"dev": "node run/build.js",
"release": "node run/build.js && npm publish --access public",
"test": "mocha --parallel --timeout 15000"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"useTabs": true,
"overrides": [
{
"files": [
".stackblitzrc",
"*.json"
],
"options": {
"useTabs": false
}
}
]
}
}