@ctx-core/font-awesome
Advanced tools
Comparing version 9.0.3 to 9.0.4
import { _get as _get__svg } from '@ctx-core/svg/[name__icon].svg' | ||
import { join } from 'path' | ||
const resolve = require('resolve') | ||
export function _get(opts = {}) { | ||
const { fn } = opts | ||
return _get__svg({ fn, dir: '@ctx-core/font-awesome/ui' }) | ||
return _get__svg({ | ||
fn, | ||
resolve: name__icon => | ||
resolve(join('@ctx-core/font-awesome/ui', `FA-${name__icon}.html`)) | ||
}) | ||
} | ||
export const get = _get() |
{ | ||
"name": "@ctx-core/font-awesome", | ||
"version": "9.0.3", | ||
"version": "9.0.4", | ||
"description": "ctx-core font-awesome", | ||
@@ -24,4 +24,4 @@ "main": "lib.js", | ||
"dependencies": { | ||
"@ctx-core/array": "^13.0.4", | ||
"@ctx-core/svg": "^5.1.2", | ||
"@ctx-core/array": "^13.0.5", | ||
"@ctx-core/svg": "^5.2.0", | ||
"domutils": "^1.7.0", | ||
@@ -34,3 +34,3 @@ "htmlparser2": "^3.10.1" | ||
}, | ||
"gitHead": "4156dee97afa77d453a17c3e8309560e4c49e564" | ||
"gitHead": "c191749a40eec9502fc4f1370856087e11a44ec7" | ||
} |
1250683
88
Updated@ctx-core/array@^13.0.5
Updated@ctx-core/svg@^5.2.0