Skip to content

Commit 6d48f12

Browse files
committed
Update text to emphasise that the target is moving
1 parent 3d852ae commit 6d48f12

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

COMPATIBILITY.md

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

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

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

7-
Sinon has historically been written as [ES5][es5], but starting from Sinon 10 we made the breaking change to allow more modern ECMAScript versions, starting with ECMAScript [2017][es2017].
8-
The source version is [ES2017][es2017] and 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. The source version requires no transpiler or polyfills in supporting runtimes.
98

109
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.
1110

0 commit comments

Comments
 (0)