diff --git a/lib/subsetFonts.js b/lib/subsetFonts.js index 02468f17..d9b50bc4 100644 --- a/lib/subsetFonts.js +++ b/lib/subsetFonts.js @@ -16,7 +16,7 @@ const findCustomPropertyDefinitions = require('./findCustomPropertyDefinitions') const extractReferencedCustomPropertyNames = require('./extractReferencedCustomPropertyNames'); const stripLocalTokens = require('./stripLocalTokens'); const injectSubsetDefinitions = require('./injectSubsetDefinitions'); -const cssFontParser = require('css-font-parser-papandreou'); +const cssFontParser = require('css-font-parser'); const cssListHelpers = require('css-list-helpers'); const LinesAndColumns = require('lines-and-columns').default; const fontkit = require('fontkit'); diff --git a/package.json b/package.json index 8ae639a6..efa42421 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "dependencies": { "@gustavnikolaj/async-main-wrap": "^3.0.1", "assetgraph": "^6.0.4", - "css-font-parser-papandreou": "^0.2.3-patch1", + "css-font-parser": "^0.3.0", "css-font-weight-names": "^0.2.1", "css-list-helpers": "^2.0.0", "font-family-papandreou": "^0.2.0-patch1",