| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 45eeb6f commit fb6b83c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -230,6 +230,12 @@ export default [ | |||
| 230 | 230 | name: 'SharedArrayBuffer', | |
| 231 | 231 | message: "Use `const { constructSharedArrayBuffer } = require('internal/util');` instead of the global.", | |
| 232 | 232 | }, | |
| 233 | + // Temporal is not available in primordials because it can be | ||
| 234 | + // disabled with --no-harmony-temporal CLI flag. | ||
| 235 | + { | ||
| 236 | + name: 'Temporal', | ||
| 237 | + message: 'Use `const { Temporal } = globalThis;` instead of the global.', | ||
| 238 | + }, | ||
| 233 | 239 | { | |
| 234 | 240 | name: 'TextDecoder', | |
| 235 | 241 | message: "Use `const { TextDecoder } = require('internal/encoding');` instead of the global.", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments