forked from primer/css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeprecations.js
24 lines (19 loc) · 859 Bytes
/
deprecations.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
Deprecated Selectors
-------------------------
These are deprecated selectors and should not be used. They include a replacement value,
which can be an array or null.
* 'deprecated-selector': 'replacement-selector' <-- Replace with this selector.
* 'deprecated-selector': ['replacement-1', 'replacement-2'] <-- Replace with one of these selectors.
* 'deprecated-selector': null <-- No option available, remove selector.
*/
import fs from 'fs'
const deprecations = JSON.parse(fs.readFileSync('./dist/deprecations.json'))
const deprecatedSelectors = deprecations['selectors']
const deprecatedSassVariables = deprecations['variables']
const deprecatedSassMixins = deprecations['mixins']
export {
deprecatedSelectors,
deprecatedSassVariables,
deprecatedSassMixins
}