@jjrawlins/cdk-iam-policy-builder-helper 0.0.0 → 0.0.1
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/.jsii +373 -22
- package/README.md +1 -1
- package/{layerborncdkiampolicybuilderhelper → jjrawlinscdkiampolicybuilderhelper}/go.mod +1 -1
- package/{layerborncdkiampolicybuilderhelper → jjrawlinscdkiampolicybuilderhelper}/jsii/jsii.go +2 -2
- package/jjrawlinscdkiampolicybuilderhelper/version +1 -0
- package/lib/bin/create-actions-json.js +1 -1
- package/lib/bin/download-actions-json.js +1 -1
- package/lib/bin/download-managed-policies-json.js +1 -1
- package/lib/constructs/Actions.d.ts +1151 -0
- package/lib/constructs/Actions.js +1165 -14
- package/methods_list.txt +1118 -1
- package/node_modules/axios/CHANGELOG.md +880 -774
- package/node_modules/axios/README.md +60 -15
- package/node_modules/axios/dist/axios.js +1108 -294
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +764 -308
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +764 -308
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +777 -388
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +5 -2
- package/node_modules/axios/index.d.ts +5 -2
- package/node_modules/axios/lib/adapters/adapters.js +3 -1
- package/node_modules/axios/lib/adapters/fetch.js +229 -0
- package/node_modules/axios/lib/adapters/http.js +26 -16
- package/node_modules/axios/lib/adapters/xhr.js +36 -99
- package/node_modules/axios/lib/core/Axios.js +9 -6
- package/node_modules/axios/lib/core/AxiosHeaders.js +4 -0
- package/node_modules/axios/lib/defaults/index.js +7 -2
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +3 -51
- package/node_modules/axios/lib/helpers/composeSignals.js +46 -0
- package/node_modules/axios/lib/helpers/progressEventReducer.js +44 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
- package/node_modules/axios/lib/helpers/throttle.js +30 -19
- package/node_modules/axios/lib/helpers/trackStream.js +67 -0
- package/node_modules/axios/lib/platform/common/utils.js +4 -1
- package/node_modules/axios/lib/utils.js +40 -3
- package/node_modules/axios/package.json +4 -3
- package/package.json +24 -20
- package/layerborncdkiampolicybuilderhelper/version +0 -1
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
- package/node_modules/combined-stream/yarn.lock +0 -17
- /package/{layerborncdkiampolicybuilderhelper → jjrawlinscdkiampolicybuilderhelper}/LICENSE +0 -0
- /package/{layerborncdkiampolicybuilderhelper → jjrawlinscdkiampolicybuilderhelper}/README.md +0 -0
|
@@ -25,20 +25,36 @@
|
|
|
25
25
|
<br><br>
|
|
26
26
|
</h3>
|
|
27
27
|
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</
|
|
28
|
+
<table border="0">
|
|
29
|
+
<td align="center">
|
|
30
|
+
<a href="https://stytch.com?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=logo&utm_campaign=axios-http">
|
|
31
|
+
<picture>
|
|
32
|
+
<source width="200px" media="(prefers-color-scheme: dark)" srcset="https://github.com/axios/axios/assets/4814473/538d715a-13c7-4668-ae7d-37a4548423f4">
|
|
33
|
+
<source width="200px" media="(prefers-color-scheme: light)" srcset="https://github.com/axios/axios/assets/4814473/b6a9a7bc-9fb1-4b9b-909f-1b4bee1fd142">
|
|
34
|
+
<img width="200px" src="https://github.com/axios/axios/assets/4814473/b6a9a7bc-9fb1-4b9b-909f-1b4bee1fd142" />
|
|
35
|
+
</picture>
|
|
36
|
+
</a>
|
|
37
|
+
<p align="center">API-first authentication, authorization, and fraud prevention</p>
|
|
38
|
+
<p align="center">
|
|
39
|
+
<a href="https://stytch.com?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http"><b>Website</b></a> •
|
|
40
|
+
<a href="https://stytch.com/docs?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=docs-link&utm_campaign=axios-http"><b>Documentation</b></a> • <a href="https://github.com/stytchauth/stytch-node?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=node-sdk&utm_campaign=axios-http"><b>Node.js Backend SDK</b></a>
|
|
41
|
+
</p>
|
|
42
|
+
</td>
|
|
43
|
+
<td align="center">
|
|
44
|
+
<a href="https://stytch.com?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=logo&utm_campaign=axios-http">
|
|
45
|
+
<picture>
|
|
46
|
+
<source width="200px" media="(prefers-color-scheme: dark)" srcset="https://github.com/axios/axios/assets/4814473/79f572f3-9d57-488d-80cc-58d674bb98d8">
|
|
47
|
+
<source width="200px" media="(prefers-color-scheme: light)" srcset="https://github.com/axios/axios/assets/4814473/18b51893-c4b4-4557-b263-74c2b3de84ab">
|
|
48
|
+
<img width="200px" src="https://github.com/axios/axios/assets/4814473/18b51893-c4b4-4557-b263-74c2b3de84ab" />
|
|
49
|
+
</picture>
|
|
50
|
+
</a>
|
|
51
|
+
<p align="center">Drag-and-drop authentication, authorization, and identity management</p>
|
|
52
|
+
<p align="center">
|
|
53
|
+
<a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Website</b></a> •
|
|
54
|
+
<a href="https://docs.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Documentation</b></a> • <a href="https://www.descope.com/community?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Community</b></a>
|
|
55
|
+
</p>
|
|
56
|
+
</td>
|
|
57
|
+
</table>
|
|
42
58
|
|
|
43
59
|
|
|
44
60
|
<br><br>
|
|
@@ -109,6 +125,7 @@
|
|
|
109
125
|
- [🆕 Progress capturing](#-progress-capturing)
|
|
110
126
|
- [🆕 Rate limiting](#-progress-capturing)
|
|
111
127
|
- [🆕 AxiosHeaders](#-axiosheaders)
|
|
128
|
+
- [🔥 Fetch adapter](#-fetch-adapter)
|
|
112
129
|
- [Semver](#semver)
|
|
113
130
|
- [Promises](#promises)
|
|
114
131
|
- [TypeScript](#typescript)
|
|
@@ -465,10 +482,13 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
465
482
|
withCredentials: false, // default
|
|
466
483
|
|
|
467
484
|
// `adapter` allows custom handling of requests which makes testing easier.
|
|
468
|
-
// Return a promise and supply a valid response (see lib/adapters/README.md)
|
|
485
|
+
// Return a promise and supply a valid response (see lib/adapters/README.md)
|
|
469
486
|
adapter: function (config) {
|
|
470
487
|
/* ... */
|
|
471
488
|
},
|
|
489
|
+
// Also, you can set the name of the built-in adapter, or provide an array with their names
|
|
490
|
+
// to choose the first available in the environment
|
|
491
|
+
adapter: 'xhr' // 'fetch' | 'http' | ['xhr', 'http', 'fetch']
|
|
472
492
|
|
|
473
493
|
// `auth` indicates that HTTP Basic auth should be used, and supplies credentials.
|
|
474
494
|
// This will set an `Authorization` header, overwriting any existing
|
|
@@ -1273,6 +1293,7 @@ Sending `Blobs`/`Files` as JSON (`base64`) is not currently supported.
|
|
|
1273
1293
|
## 🆕 Progress capturing
|
|
1274
1294
|
|
|
1275
1295
|
Axios supports both browser and node environments to capture request upload/download progress.
|
|
1296
|
+
The frequency of progress events is forced to be limited to `3` times per second.
|
|
1276
1297
|
|
|
1277
1298
|
```js
|
|
1278
1299
|
await axios.post(url, data, {
|
|
@@ -1593,6 +1614,30 @@ The following shortcuts are available:
|
|
|
1593
1614
|
|
|
1594
1615
|
- `setContentEncoding`, `getContentEncoding`, `hasContentEncoding`
|
|
1595
1616
|
|
|
1617
|
+
## 🔥 Fetch adapter
|
|
1618
|
+
|
|
1619
|
+
Fetch adapter was introduced in `v1.7.0`. By default, it will be used if `xhr` and `http` adapters are not available in the build,
|
|
1620
|
+
or not supported by the environment.
|
|
1621
|
+
To use it by default, it must be selected explicitly:
|
|
1622
|
+
|
|
1623
|
+
```js
|
|
1624
|
+
const {data} = axios.get(url, {
|
|
1625
|
+
adapter: 'fetch' // by default ['xhr', 'http', 'fetch']
|
|
1626
|
+
})
|
|
1627
|
+
```
|
|
1628
|
+
|
|
1629
|
+
You can create a separate instance for this:
|
|
1630
|
+
|
|
1631
|
+
```js
|
|
1632
|
+
const fetchAxios = axios.create({
|
|
1633
|
+
adapter: 'fetch'
|
|
1634
|
+
});
|
|
1635
|
+
|
|
1636
|
+
const {data} = fetchAxios.get(url);
|
|
1637
|
+
```
|
|
1638
|
+
|
|
1639
|
+
The adapter supports the same functionality as `xhr` adapter, **including upload and download progress capturing**.
|
|
1640
|
+
Also, it supports additional response types such as `stream` and `formdata` (if supported by the environment).
|
|
1596
1641
|
|
|
1597
1642
|
## Semver
|
|
1598
1643
|
|