@fortawesome/fontawesome-svg-core
Advanced tools
Comparing version 1.2.36 to 1.3.0-beta2
@@ -1,3 +0,3 @@ | ||
console.log(`Font Awesome Free 1.2.36 by @fontawesome - https://fontawesome.com | ||
console.log(`Font Awesome Free 1.3.0-beta2 by @fontawesome - https://fontawesome.com | ||
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) | ||
`) |
@@ -5,3 +5,3 @@ import {IconDefinition, IconLookup, IconName, IconPrefix, IconPathData, IconPack } from '@fortawesome/fontawesome-common-types'; | ||
export const library: Library; | ||
export const parse: { transform(transformString: string): Transform }; | ||
export const parse: { transform(transformString: string): Transform, icon(parseIconString: string): IconLookup }; | ||
export const config: Config; | ||
@@ -111,3 +111,3 @@ export function noAuto():void; | ||
export interface DOM { | ||
i2svg(params?: { node: Node; callback: () => void }): Promise<void>; | ||
i2svg(params?: { node: Node; callback?: () => void }): Promise<void>; | ||
css(): string; | ||
@@ -114,0 +114,0 @@ insertCss(): string; |
@@ -50,5 +50,5 @@ { | ||
"dependencies": { | ||
"@fortawesome/fontawesome-common-types": "^0.2.36" | ||
"@fortawesome/fontawesome-common-types": "^0.3.0-beta2" | ||
}, | ||
"version": "1.2.36", | ||
"version": "1.3.0-beta2", | ||
"name": "@fortawesome/fontawesome-svg-core", | ||
@@ -61,2 +61,28 @@ "main": "index.js", | ||
"types": "./index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./index.es.js", | ||
"require": "./index.js", | ||
"default": "./index.js" | ||
}, | ||
"./index": { | ||
"import": "./index.es.js", | ||
"require": "./index.js", | ||
"default": "./index.js" | ||
}, | ||
"./index.js": { | ||
"import": "./index.es.js", | ||
"require": "./index.js", | ||
"default": "./index.js" | ||
}, | ||
"./plugins": { | ||
"import": "./plugins.es.js", | ||
"default": "./plugins.es.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"sideEffects": [ | ||
"./index.js", | ||
"./index.es.js" | ||
], | ||
"scripts": { | ||
@@ -63,0 +89,0 @@ "postinstall": "node attribution.js" |
# @fortawesome/fontawesome-svg-core - SVG with JavaScript version | ||
> "I came here to chew bubblegum and install Font Awesome 5 - and I'm all out of bubblegum" | ||
> "I came here to chew bubblegum and install Font Awesome 6 - and I'm all out of bubblegum" | ||
@@ -5,0 +5,0 @@ [![npm](https://img.shields.io/npm/v/@fortawesome/fontawesome-svg-core.svg?style=flat-square)](https://www.npmjs.com/package/@fortawesome/fontawesome-svg-core) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
366316
10
9124
1
+ Added@fortawesome/fontawesome-common-types@0.3.0(transitive)
- Removed@fortawesome/fontawesome-common-types@0.2.36(transitive)