This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Original file line number Diff line number Diff line change
1
+ import '../es2017/mod.ts'
2
+
1
3
// Array#includes is stage 4, in ES7/ES2016
2
4
import includesShim from 'https://esm.sh/array-includes/shim'
3
5
4
- import '../es2017/mod.ts'
5
-
6
6
includesShim ( )
7
-
8
-
Original file line number Diff line number Diff line change
1
+ import '../es2018/mod.ts'
2
+
1
3
// Object.values/Object.entries are stage 4, in ES2017
2
4
import valuesShim from 'https://esm.sh/object.values/shim'
3
5
import entriesShim from 'https://esm.sh/object.entries/shim'
4
6
5
7
// String#padStart/String#padEnd are stage 4, in ES2017
6
- import padstartShim from 'https://esm.sh/string.prototype.padstart/shim'
7
- import padendShim from 'https://esm.sh/string.prototype.padend/shim'
8
+ import padStartShim from 'https://esm.sh/string.prototype.padstart/shim'
9
+ import padEndShim from 'https://esm.sh/string.prototype.padend/shim'
8
10
9
11
// Object.getOwnPropertyDescriptors is stage 4, in ES2017
10
- import getownpropertydescriptorsShim from 'https://esm.sh/object.getownpropertydescriptors/shim'
11
-
12
- import '../es2018/mod.ts'
12
+ import getOwnPropertyDescriptorsShim from 'https://esm.sh/object.getownpropertydescriptors/shim'
13
13
14
14
valuesShim ( )
15
15
entriesShim ( )
16
- padstartShim ( )
17
- padendShim ( )
18
- getownpropertydescriptorsShim ( )
16
+ padStartShim ( )
17
+ padEndShim ( )
18
+ getOwnPropertyDescriptorsShim ( )
Original file line number Diff line number Diff line change 1
- import finallyShim from 'https://esm.sh/promise.prototype.finally/shim'
2
1
import '../es2019/mod.ts'
3
2
3
+ import finallyShim from 'https://esm.sh/promise.prototype.finally/shim'
4
+
4
5
if ( typeof Promise === 'function' ) {
5
6
finallyShim ( )
6
7
}
Original file line number Diff line number Diff line change
1
+ import '../es2020/mod.ts'
2
+
1
3
import flatShim from 'https://esm.sh/array.prototype.flat/shim'
2
4
import flatMapShim from 'https://esm.sh/array.prototype.flatmap/shim'
3
5
import descriptionShim from 'https://esm.sh/symbol.prototype.description/shim'
4
6
import fromEntriesShim from 'https://esm.sh/object.fromentries/shim'
5
7
import trimStartShim from 'https://esm.sh/string.prototype.trimstart/shim'
6
8
import trimEndShim from 'https://esm.sh/string.prototype.trimend/shim'
7
9
8
- import '../es2020/mod.ts'
9
-
10
10
flatShim ( )
11
11
flatMapShim ( )
12
12
descriptionShim ( )
Original file line number Diff line number Diff line change
1
+ import '../es2021/mod.ts'
2
+
1
3
import matchallShim from 'https://esm.sh/string.prototype.matchall/shim'
2
4
import globalthisShim from 'https://esm.sh/globalthis/shim'
3
5
import allsettledShim from 'https://esm.sh/promise.allsettled/shim'
4
- import '../es2021/mod.ts'
5
6
6
7
matchallShim ( )
7
8
globalthisShim ( )
You can’t perform that action at this time.
0 commit comments