New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

huozi

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

huozi - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

index.js

@@ -193,6 +193,6 @@ /*!

// 这里假设引号永远是在 em 格左侧的。fix 指修复一些并非在左侧时的情况。
let quoteFix = 0;
quoteFix += ((!lastIsPunctuation && character === '“') ? charFontSize / 2 : 0);
if (fixLeftQuote) {
quoteFix += ((!lastIsPunctuation && character === '“') ? charFontSize / 2 : 0);
// 一些平台上引号量取结果是<0.5em宽,但绘制时却是1em宽,导致错位。下面的代码修正这一问题

@@ -199,0 +199,0 @@ // OS X 无需此修复(FLAG_STDWIDTH === true)

{
"name": "huozi",
"version": "1.0.6",
"version": "1.0.7",
"description": "A simple typography engine for CJK languages, especially designed for game rich-text.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc