@@ -17,39 +17,39 @@ Build tools:
17
17
⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md
18
18
19
19
20
- ┌─────────────────────────────────────────┬──────────────────────┬──────────────────────────────┬───────────────────┬─────────────── ┐
21
- │ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │
22
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
23
- │ "axios" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │
24
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
25
- │ "axios/unsafe/*" │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │
26
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
27
- │ "axios/unsafe/core/settle.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
28
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
29
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
30
- │ "axios/unsafe/core/buildFullPath.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
31
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
32
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
33
- │ "axios/unsafe/helpers/isAbsoluteURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
34
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
35
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
36
- │ "axios/unsafe/helpers/buildURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
37
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
38
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
39
- │ "axios/unsafe/helpers/combineURLs.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
40
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
41
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
42
- │ "axios/unsafe/adapters/http.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
43
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
44
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
45
- │ "axios/unsafe/adapters/xhr.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
46
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
47
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
48
- │ "axios/unsafe/utils.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
49
- │ │ │ ⚠️ ESM (dynamic import only) │ │ │
50
- ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────── ┤
51
- │ "axios/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │
52
- └─────────────────────────────────────────┴──────────────────────┴──────────────────────────────┴───────────────────┴─────────────── ┘
20
+ ┌─────────────────────────────────────────┬──────────────────────┬──────────────────────────────┬───────────────────┬─────────────┐
21
+ │ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │
22
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
23
+ │ "axios" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │
24
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
25
+ │ "axios/unsafe/*" │ (wildcard) │ (wildcard) │ (wildcard) │ (wildcard) │
26
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
27
+ │ "axios/unsafe/core/settle.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
28
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
29
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
30
+ │ "axios/unsafe/core/buildFullPath.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
31
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
32
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
33
+ │ "axios/unsafe/helpers/isAbsoluteURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
34
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
35
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
36
+ │ "axios/unsafe/helpers/buildURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
37
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
38
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
39
+ │ "axios/unsafe/helpers/combineURLs.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
40
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
41
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
42
+ │ "axios/unsafe/adapters/http.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
43
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
44
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
45
+ │ "axios/unsafe/adapters/xhr.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
46
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
47
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
48
+ │ "axios/unsafe/utils.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │
49
+ │ │ │ ⚠️ ESM (dynamic import only) │ │ │
50
+ ├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤
51
+ │ "axios/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │
52
+ └─────────────────────────────────────────┴──────────────────────┴──────────────────────────────┴───────────────────┴─────────────┘
53
53
54
54
55
55
```
0 commit comments