@gjsify/web-polyfills 0.4.43 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/package.json +19 -19
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# @gjsify/web-polyfills
|
|
2
|
+
|
|
3
|
+
Meta package that pulls every `@gjsify` Web API polyfill as a single dependency — fetch, streams, webcrypto, websocket, XMLHttpRequest, WebAssembly, Web Audio, WebRTC, EventSource, WebStorage, and more. Contains no runtime code of its own; used by `create-app` templates and CLI scaffolds.
|
|
4
|
+
|
|
5
|
+
Part of the [gjsify](https://github.com/gjsify/gjsify) project — Node.js and Web APIs for GJS (GNOME JavaScript).
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
gjsify install @gjsify/web-polyfills
|
|
11
|
+
|
|
12
|
+
# npm or yarn also work (e.g. adding it to an existing project):
|
|
13
|
+
npm install @gjsify/web-polyfills
|
|
14
|
+
yarn add @gjsify/web-polyfills
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
// Import once to pull all Web API polyfills into your dependency tree.
|
|
21
|
+
// Individual packages register their globals via --globals auto at build time.
|
|
22
|
+
import '@gjsify/web-polyfills';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/web-polyfills",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Meta package: all @gjsify Web API polyfill packages as dependencies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -11,24 +11,24 @@
|
|
|
11
11
|
"meta"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@gjsify/abort-controller": "^0.
|
|
15
|
-
"@gjsify/compression-streams": "^0.
|
|
16
|
-
"@gjsify/dom-events": "^0.
|
|
17
|
-
"@gjsify/dom-exception": "^0.
|
|
18
|
-
"@gjsify/domparser": "^0.
|
|
19
|
-
"@gjsify/eventsource": "^0.
|
|
20
|
-
"@gjsify/fetch": "^0.
|
|
21
|
-
"@gjsify/formdata": "^0.
|
|
22
|
-
"@gjsify/gamepad": "^0.
|
|
23
|
-
"@gjsify/message-channel": "^0.
|
|
24
|
-
"@gjsify/web-globals": "^0.
|
|
25
|
-
"@gjsify/web-streams": "^0.
|
|
26
|
-
"@gjsify/webassembly": "^0.
|
|
27
|
-
"@gjsify/webaudio": "^0.
|
|
28
|
-
"@gjsify/webcrypto": "^0.
|
|
29
|
-
"@gjsify/websocket": "^0.
|
|
30
|
-
"@gjsify/webstorage": "^0.
|
|
31
|
-
"@gjsify/xmlhttprequest": "^0.
|
|
14
|
+
"@gjsify/abort-controller": "^0.5.0",
|
|
15
|
+
"@gjsify/compression-streams": "^0.5.0",
|
|
16
|
+
"@gjsify/dom-events": "^0.5.0",
|
|
17
|
+
"@gjsify/dom-exception": "^0.5.0",
|
|
18
|
+
"@gjsify/domparser": "^0.5.0",
|
|
19
|
+
"@gjsify/eventsource": "^0.5.0",
|
|
20
|
+
"@gjsify/fetch": "^0.5.0",
|
|
21
|
+
"@gjsify/formdata": "^0.5.0",
|
|
22
|
+
"@gjsify/gamepad": "^0.5.0",
|
|
23
|
+
"@gjsify/message-channel": "^0.5.0",
|
|
24
|
+
"@gjsify/web-globals": "^0.5.0",
|
|
25
|
+
"@gjsify/web-streams": "^0.5.0",
|
|
26
|
+
"@gjsify/webassembly": "^0.5.0",
|
|
27
|
+
"@gjsify/webaudio": "^0.5.0",
|
|
28
|
+
"@gjsify/webcrypto": "^0.5.0",
|
|
29
|
+
"@gjsify/websocket": "^0.5.0",
|
|
30
|
+
"@gjsify/webstorage": "^0.5.0",
|
|
31
|
+
"@gjsify/xmlhttprequest": "^0.5.0"
|
|
32
32
|
},
|
|
33
33
|
"gjsify": {
|
|
34
34
|
"runtimes": {
|