fontfaceobserver
Advanced tools
Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "fontfaceobserver", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Detect if web fonts are available", | ||
@@ -27,7 +27,6 @@ "directories": { | ||
"license": "BSD", | ||
"dependencies": { | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"promis": "=1.1.4", | ||
"closure-dom": "=0.1.1" | ||
}, | ||
"devDependencies": { | ||
"closure-dom": "=0.1.1", | ||
"extend": "^2.0.0", | ||
@@ -39,5 +38,5 @@ "grunt": "^0.4.5", | ||
"grunt-contrib-jshint": "^0.11.1", | ||
"mocha-phantomjs-core": "^1.0.1", | ||
"grunt-exec": "~0.4.6", | ||
"mocha": "=2.2.1", | ||
"mocha-phantomjs-core": "^1.0.1", | ||
"sinon": "=1.14.1", | ||
@@ -44,0 +43,0 @@ "unexpected": "^6.4.0" |
@@ -21,3 +21,3 @@ # Font Face Observer [![Build Status](https://travis-ci.org/bramstein/fontfaceobserver.png?branch=master)](https://travis-ci.org/bramstein/fontfaceobserver) | ||
The `FontFaceObserver` constructor takes two arguments: the font family name (required) and an object describing the variation (optional). The object can contain `weight`, `style`, `stretch`, `variant`, and `featureSettings` properties. If a property is not present it will default to `normal`. To start observing font loads, call the `check` method. It'll immediately return a new Promise that resolves when the font is available and rejected when the font is not available. | ||
The `FontFaceObserver` constructor takes two arguments: the font family name (required) and an object describing the variation (optional). The object can contain `weight`, `style`, and `stretch` properties. If a property is not present it will default to `normal`. To start observing font loads, call the `check` method. It'll immediately return a new Promise that resolves when the font is available and rejected when the font is not available. | ||
@@ -24,0 +24,0 @@ If your font doesn't contain latin characters you can pass a custom test string to the `check` method. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
0
27524
13
- Removedclosure-dom@=0.1.1
- Removedpromis@=1.1.4