2021-09-10 20:54:26 +03:00
|
|
|
/**
|
|
|
|
Deprecated Selectors
|
|
|
|
-------------------------
|
|
|
|
These are deprecated selectors and should not be used. They include a replacement value,
|
|
|
|
which can be an array or null.
|
2019-09-05 21:13:45 +03:00
|
|
|
|
2021-09-10 20:54:26 +03:00
|
|
|
* '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.
|
|
|
|
*/
|
2019-09-05 21:55:10 +03:00
|
|
|
|
2021-09-10 20:54:26 +03:00
|
|
|
import fs from 'fs'
|
2019-09-05 21:13:45 +03:00
|
|
|
|
2021-09-10 20:54:26 +03:00
|
|
|
const deprecations = JSON.parse(fs.readFileSync('./dist/deprecations.json'))
|
2019-09-05 21:13:45 +03:00
|
|
|
|
2021-09-10 20:54:26 +03:00
|
|
|
const deprecatedSelectors = deprecations['selectors']
|
|
|
|
const deprecatedSassVariables = deprecations['variables']
|
|
|
|
const deprecatedSassMixins = deprecations['mixins']
|
2019-11-01 01:48:16 +03:00
|
|
|
|
2021-08-12 00:10:47 +03:00
|
|
|
export {
|
2021-09-10 20:54:26 +03:00
|
|
|
deprecatedSelectors,
|
|
|
|
deprecatedSassVariables,
|
|
|
|
deprecatedSassMixins
|
2019-11-01 01:48:16 +03:00
|
|
|
}
|