39
39
message : Use `const { Atomics } = globalThis;` instead of the global.
40
40
- name : Blob
41
41
message : Use `const { Blob } = require('buffer');` instead of the global.
42
+ - name : BroadcastChannel
43
+ message : Use `const { BroadcastChannel } = require('internal/worker/io');` instead of the global.
42
44
- name : Buffer
43
45
message : Use `const { Buffer } = require('buffer');` instead of the global.
44
46
- name : DOMException
@@ -47,18 +49,22 @@ rules:
47
49
message : Use `const { Event } = require('internal/event_target');` instead of the global.
48
50
- name : EventTarget
49
51
message : Use `const { EventTarget } = require('internal/event_target');` instead of the global.
52
+ - name : Headers
53
+ message : Use `const { Headers } = require('internal/deps/undici/undici');` instead of the global.
50
54
# Intl is not available in primordials because it can be
51
55
# disabled with --without-intl build flag.
52
56
- name : Intl
53
57
message : Use `const { Intl } = globalThis;` instead of the global.
54
- - name : BroadcastChannel
55
- message : Use `const { BroadcastChannel } = require('internal/worker/io');` instead of the global.
56
58
- name : MessageChannel
57
59
message : Use `const { MessageChannel } = require('internal/worker/io');` instead of the global.
58
60
- name : MessageEvent
59
61
message : Use `const { MessageEvent } = require('internal/worker/io');` instead of the global.
60
62
- name : MessagePort
61
63
message : Use `const { MessagePort } = require('internal/worker/io');` instead of the global.
64
+ - name : Request
65
+ message : Use `const { Request } = require('internal/deps/undici/undici');` instead of the global.
66
+ - name : Response
67
+ message : Use `const { Response } = require('internal/deps/undici/undici');` instead of the global.
62
68
# SharedArrayBuffer is not available in primordials because it can be
63
69
# disabled with --no-harmony-sharedarraybuffer CLI flag.
64
70
- name : SharedArrayBuffer
85
91
message : Use `const { Crypto } = require('internal/crypto/webcrypto');` instead of the global.
86
92
- name : CryptoKey
87
93
message : Use `const { CryptoKey } = require('internal/crypto/webcrypto');` instead of the global.
94
+ - name : fetch
95
+ message : Use `const { fetch } = require('internal/deps/undici/undici');` instead of the global.
88
96
- name : global
89
97
message : Use `const { globalThis } = primordials;` instead of `global`.
90
98
- name : globalThis
0 commit comments