Skip to content

Commit

Permalink
fix layers check
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Feb 24, 2022
1 parent 6a7be87 commit 0f6beaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/lib/layersChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ const CORE_TYPES = [
'atob',
'AbortSignal',
'MessageChannel',
'MessagePort'
'MessagePort',
'URL',
'URLSearchParams'
];
// Types that are defined in a common layer but are known to be only
// available in native environments should not be allowed in browser
Expand Down
4 changes: 3 additions & 1 deletion build/lib/layersChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const CORE_TYPES = [
'atob',
'AbortSignal',
'MessageChannel',
'MessagePort'
'MessagePort',
'URL',
'URLSearchParams'
];

// Types that are defined in a common layer but are known to be only
Expand Down

0 comments on commit 0f6beaf

Please sign in to comment.