bluebird, lines-and-columns, lodash, memoizesync, postcss, specificity is directly used in this repo but is not in the package.json. This causes error when using sub font with yarn.
> rg '\b(bluebird|lines-and-columns|lodash|memoizesync|postcss|specificity)\b'
lib/subsetLocalFont.js
17:const Promise = require('bluebird');
lib/getCssRulesByProperty.js
1:const specificity = require('specificity');
2:const postcss = require('postcss');
43: const parseTree = postcss.parse(cssSource);
81: // Split up combined selectors as they might have different specificity
82: specificity
125: // Split up combined selectors as they might have different specificity
126: specificity
154: // Split up combined selectors as they might have different specificity
155: specificity
189: // Split up combined selectors as they might have different specificity
190: specificity
227: specificity
lib/subsetFonts.js
1:const _ = require('lodash');
2:const Promise = require('bluebird');
3:const memoizeSync = require('memoizesync');
21:const LinesAndColumns = require('lines-and-columns').default;
bluebird
,lines-and-columns
,lodash
,memoizesync
,postcss
,specificity
is directly used in this repo but is not in the package.json. This causes error when using sub font with yarn.adding those dependencies might fix the problems