Skip to content

Commit ae9e09a

Browse files
authored
Update compatibility target to ES2023
Updated compatibility target from ES2017 to ES2023 and clarified the note on breaking changes.
1 parent 2605504 commit ae9e09a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

COMPATIBILITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
This file is the canonical resource for compatibility goals for the libraries that make up Sinon.JS.
44

5-
## Moving target: ES2017+
5+
## Moving target: ES2023+
66

7-
Sinon has historically been written as [ES5][es5], but starting from Sinon 10 (March 2021) we made the breaking change to allow more modern ECMAScript versions, starting with ECMAScript [2017][es2017]. This is not a fixed level: it will change in time without us updating it here. The source version requires no transpiler or polyfills in supporting runtimes.
7+
Sinon has historically been written as [ES5][es5], but starting from Sinon 10 (March 2021) we made the breaking change to allow more modern ECMAScript versions, starting with ECMAScript [2017][es2017]. This is not a fixed level: it will change in time without us updating it here (though we might, from time to time). The source version requires no transpiler or polyfills in supporting runtimes.
88

9-
For legacy runtimes, a transpiler can be used by dependent projects., but use of newer APIs might break. If you need to support older browsers, have a look at Sinon 9.
9+
For legacy runtimes, a transpiler can be used by dependent projects, but use of newer APIs might break. If you need to support older browsers, have a look at Sinon 9.
1010

1111
## Runtimes
1212

0 commit comments

Comments
 (0)