Skip to content

Commit bf179f6

Browse files
authored
fix: update info (#27)
1 parent 8c1d721 commit bf179f6

14 files changed

Lines changed: 28 additions & 23 deletions

docs/no-async-generator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ These will not be allowed because they are not supported in the following browse
2828

2929
You can safely manually create generator functions that yield promises, however an example is out of scope of this document.
3030

31-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-async-generator-functions` Babel plugin, or `@babel/preset-env`.
31+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-async-generator-functions` Babel plugin, or `@babel/preset-env`.

docs/no-bigint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This prevents the use of BigInt numeric literals.
99
These will not be allowed because they are not supported in the following browsers:
1010

1111
- Edge < 79
12-
- Safari (any version at the time of writing)
12+
- Safari < 14
1313
- Firefox < 68
1414
- Chrome < 67
1515

docs/no-class-static-blocks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These will not be allowed because they are not supported in the following
1414
browsers:
1515

1616
- Edge < 94
17-
- Safari > 0
17+
- Safari < 16.4
1818
- Firefox < 93
1919
- Chrome < 94
2020

@@ -43,5 +43,5 @@ class Foo {
4343
```
4444

4545
This can be safely disabled if you intend to compile code with the
46-
`@babel/plugin-proposal-class-static-block` Babel plugin, or
46+
`@babel/plugin-transform-class-static-block` Babel plugin, or
4747
`@babel/preset-env`.

docs/no-computed-public-class-fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ Object.defineProperty(Foo, computed, { configurable: true, enumerable: true, wri
3838
Foo[computed] = 1
3939
```
4040

41-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-class-properties` Babel plugin.
41+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-class-properties` Babel plugin.

docs/no-numeric-separators.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ These will not be allowed because they are not supported in the following browse
1616

1717
## What is the Fix?
1818

19-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-numeric-separator` Babel plugin.
19+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-numeric-separator` Babel plugin, or
20+
`@babel/preset-env`.

docs/no-object-rest-spread.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ let a = obj.a, x = without(obj, 'a')
5252

5353
You can also use Lodash's [`without`](https://lodash.com/docs/4.17.11#without) method, or Ramda's [`omit`](https://ramdajs.com/docs/#omit).
5454

55-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-object-rest-spread` Babel plugin, or `@babel/preset-env`.
55+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-object-rest-spread` Babel plugin, or `@babel/preset-env`.

docs/no-optional-chaining.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ Lastly, you could consider using a utility function such as [lodash' `get`](http
3535
const baz = _.get(obj, 'foo.bar.baz')
3636
```
3737
38-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-optional-chaining` Babel plugin.
38+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-optional-chaining` Babel plugin, or
39+
`@babel/preset-env`.

docs/no-private-class-fields.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class Foo {
1616
These will not be allowed because they are not supported in the following browsers:
1717

1818
- Edge < 79
19-
- Safari (any version at the time of writing)
20-
- Firefox (any version at the time of writing)
19+
- Safari < 14.1
20+
- Firefox < 90
2121
- Chrome < 74
2222

2323

@@ -39,4 +39,5 @@ class Foo {
3939
}
4040
```
4141

42-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-class-properties` Babel plugin.
42+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-private-property-in-object` Babel plugin, or
43+
`@babel/preset-env`.

docs/no-public-instance-class-fields.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class Foo {
1111
These will not be allowed because they are not supported in the following browsers:
1212

1313
- Edge < 79
14-
- Safari (any version at the time of writing)
14+
- Safari < 16.0
1515
- Firefox < 69
16-
- Chrome < 74
16+
- Chrome < 72
1717

1818

1919
## What is the Fix?
@@ -36,4 +36,5 @@ class Foo {
3636
}
3737
```
3838

39-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-class-properties` Babel plugin.
39+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-class-properties` Babel plugin, or
40+
`@babel/preset-env`.

docs/no-public-static-class-fields.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class Foo {
1111
These will not be allowed because they are not supported in the following browsers:
1212

1313
- Edge < 79
14-
- Safari (any version at the time of writing)
15-
- Firefox (any version at the time of writing)
16-
- Chrome < 74
14+
- Safari < 14.1
15+
- Firefox < 75
16+
- Chrome < 72
1717

1818

1919
## What is the Fix?
@@ -30,4 +30,5 @@ class Foo {}
3030
Foo.bar = 1
3131
```
3232

33-
This can be safely disabled if you intend to compile code with the `@babel/plugin-proposal-class-properties` Babel plugin.
33+
This can be safely disabled if you intend to compile code with the `@babel/plugin-transform-class-properties` Babel plugin, or
34+
`@babel/preset-env`.

0 commit comments

Comments
 (0)