Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-icon

Package Overview
Dependencies
Maintainers
5
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-icon - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

4

HISTORY.md
# Changelog
## 2.0.8 / 2018-04-10
* [[ba40c75](http://gitlab.alibaba-inc.com/nuke/icon/commit/ba40c758519ea2f812a9cd91f1a1f6d8cb3f52a4)] - `fix` add .ttf when mount
## 2.0.7 / 2018-04-10

@@ -5,0 +9,0 @@

@@ -67,3 +67,7 @@ /** @jsx createElement */

if (type === 'iconfont') {
(0, _nukeIconfont.Iconfont)({ name: this.fontName, url: this.fontURL });
var tmpFontURL = this.fontURL;
if (this.fontURL.indexOf('.ttf') <= -1) {
tmpFontURL += '.ttf';
}
(0, _nukeIconfont.Iconfont)({ name: this.fontName, url: tmpFontURL });
}

@@ -70,0 +74,0 @@ }

2

package.json
{
"name": "nuke-icon",
"version": "2.0.7",
"version": "2.0.8",
"description": "图标",

@@ -5,0 +5,0 @@ "main": "lib/index",

@@ -27,3 +27,7 @@ /** @jsx createElement */

if (type === 'iconfont') {
Iconfont({ name: this.fontName, url: this.fontURL });
let tmpFontURL = this.fontURL;
if (this.fontURL.indexOf('.ttf') <= -1) {
tmpFontURL += '.ttf';
}
Iconfont({ name: this.fontName, url: tmpFontURL });
}

@@ -30,0 +34,0 @@ }

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