File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 37
37
# disabled with --no-harmony-atomics CLI flag.
38
38
- name : Atomics
39
39
message : Use `const { Atomics } = globalThis;` instead of the global.
40
+ - name : BroadcastChannel
41
+ message : Use `const { BroadcastChannel } = require('internal/worker/io');` instead of the global.
40
42
- name : Buffer
41
43
message : Use `const { Buffer } = require('buffer');` instead of the global.
42
44
- name : DOMException
45
47
message : Use `const { Event } = require('internal/event_target');` instead of the global.
46
48
- name : EventTarget
47
49
message : Use `const { EventTarget } = require('internal/event_target');` instead of the global.
50
+ - name : Headers
51
+ message : Use `const { Headers } = require('internal/deps/undici/undici');` instead of the global.
48
52
# Intl is not available in primordials because it can be
49
53
# disabled with --without-intl build flag.
50
54
- name : Intl
@@ -55,6 +59,10 @@ rules:
55
59
message : Use `const { MessageEvent } = require('internal/worker/io');` instead of the global.
56
60
- name : MessagePort
57
61
message : Use `const { MessagePort } = require('internal/worker/io');` instead of the global.
62
+ - name : Request
63
+ message : Use `const { Request } = require('internal/deps/undici/undici');` instead of the global.
64
+ - name : Response
65
+ message : Use `const { Response } = require('internal/deps/undici/undici');` instead of the global.
58
66
# SharedArrayBuffer is not available in primordials because it can be
59
67
# disabled with --no-harmony-sharedarraybuffer CLI flag.
60
68
- name : SharedArrayBuffer
75
83
message : Use `const { atob } = require('buffer');` instead of the global.
76
84
- name : btoa
77
85
message : Use `const { btoa } = require('buffer');` instead of the global.
86
+ - name : fetch
87
+ message : Use `const { fetch } = require('internal/deps/undici/undici');` instead of the global.
78
88
- name : global
79
89
message : Use `const { globalThis } = primordials;` instead of `global`.
80
90
- name : globalThis
You can’t perform that action at this time.
0 commit comments