Skip to content

Commit

Permalink
Add globals for every yearly es versions (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Jun 6, 2024
1 parent 15980fd commit 45c1b17
Show file tree
Hide file tree
Showing 11 changed files with 1,440 additions and 1,121 deletions.
1 change: 1 addition & 0 deletions data/es2016.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './es2015.mjs';
4 changes: 2 additions & 2 deletions data/es2017.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {mergeGlobals} from '../utilities.mjs';
import es2015Globals from './es2015.mjs';
import es2016Globals from './es2016.mjs';

export default mergeGlobals(es2015Globals, {
export default mergeGlobals(es2016Globals, {
Atomics: false,
SharedArrayBuffer: false,
});
1 change: 1 addition & 0 deletions data/es2018.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './es2017.mjs';
1 change: 1 addition & 0 deletions data/es2019.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './es2018.mjs';
4 changes: 2 additions & 2 deletions data/es2020.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {mergeGlobals} from '../utilities.mjs';
import es2017Globals from './es2017.mjs';
import es2019Globals from './es2019.mjs';

export default mergeGlobals(es2017Globals, {
export default mergeGlobals(es2019Globals, {
BigInt: false,
BigInt64Array: false,
BigUint64Array: false,
Expand Down
1 change: 1 addition & 0 deletions data/es2022.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './es2021.mjs';
1 change: 1 addition & 0 deletions data/es2023.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './es2022.mjs';
1 change: 1 addition & 0 deletions data/es2024.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './es2023.mjs';
Loading

0 comments on commit 45c1b17

Please sign in to comment.