Skip to content

Commit 268ef00

Browse files
committed
Use safelist
1 parent 415f0a3 commit 268ef00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ No release notes
16451645

16461646
- Make it possible to disable all core plugins using `corePlugins: false`
16471647
- Make it possible to configure a single list of variants that applies to all utility plugins
1648-
- Make it possible to whitelist which core plugins should be enabled
1648+
- Make it possible to safelist which core plugins should be enabled
16491649

16501650
### Fixed
16511651

tests/configurePlugins.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test('passing only false removes all plugins', () => {
1616
expect(configuredPlugins).toEqual([])
1717
})
1818

19-
test('passing an array whitelists plugins', () => {
19+
test('passing an array safelists plugins', () => {
2020
const plugins = ['fontSize', 'display', 'backgroundPosition']
2121

2222
const configuredPlugins = configurePlugins(['display'], plugins)

0 commit comments

Comments
 (0)