Socket
Socket
Sign inDemoInstall

@vonage/vvd-fonts

Package Overview
Dependencies
1
Maintainers
14
Versions
124
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.7.0

7

CHANGELOG.md

@@ -1,9 +0,4 @@

# 0.6.0 (2020-09-08)
# 0.7.0 (2020-09-15)
### Features
* **textarea:** textarea form association ([#300](https://github.com/vonage/vivid/issues/300)) ([19ebd4e](https://github.com/vonage/vivid/commit/19ebd4e5f694738d2687f2a9d2a24ef2fa9beb4b))

6

package.json
{
"name": "@vonage/vvd-fonts",
"version": "0.6.0",
"version": "0.7.0",
"description": "Vivid fonts initialisation service",

@@ -30,7 +30,7 @@ "homepage": "https://github.com/Vonage/vivid/tree/master/common/fonts",

"devDependencies": {
"@vonage/vvd-foundation": "^0.6.0",
"@vonage/vvd-foundation": "^0.7.0",
"fs-extra": "^9.0.1",
"lit-element": "^2.4.0"
},
"gitHead": "d55fb00c43d48e3f8b0f3de170e4cb6949acbfd8"
"gitHead": "7ea075c26f7d4224be96ce96efd8ad6d6f210cd3"
}

@@ -14,3 +14,3 @@ export default Object.freeze({

import('./vvd-fonts.css.js')
.then(cssDefs => {
.then((cssDefs) => {
const cssText = cssDefs.style.cssText;

@@ -37,3 +37,4 @@ const finalCSS = cssText.replace(new RegExp(FONTS_BASE_URL_TOKEN, 'g'), CDN_BASE_URL);

result.textContent = 'wwwiii';
result.style.cssText = 'position:absolute;top:-1000px;font-family:var(--vvd-font-family-spezia),monospace;visibility:hidden';
result.style.cssText =
'position:absolute;top:-1000px;font-family:var(--vvd-font-family-spezia),monospace;visibility:hidden';
document.body.appendChild(result);

@@ -43,3 +44,3 @@ return result;

async function ensureInit(testElement, initialWidth) {
return new Promise(resolve => {
return new Promise((resolve) => {
function innerTest() {

@@ -46,0 +47,0 @@ if (testElement.offsetWidth === initialWidth) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc