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

nuke-text

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-text - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

7

lib/index.js

@@ -21,6 +21,2 @@ /** @jsx createElement */

var _nukeEnv = require('nuke-env');
var _nukeEnv2 = _interopRequireDefault(_nukeEnv);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -36,2 +32,3 @@

var isWeb = typeof callNative !== 'function';
var defaultLineHeightOptimizer = function defaultLineHeightOptimizer(fontSize) {

@@ -41,4 +38,2 @@ return Math.ceil(9.24 * Math.pow(10, -5) * Math.pow(fontSize, 2) + 1.492 * fontSize + 2.174);

var isWeb = _nukeEnv2.default.isWeb;
var Text = function (_Component) {

@@ -45,0 +40,0 @@ _inherits(Text, _Component);

18

package.json
{
"name": "nuke-text",
"version": "0.0.19",
"version": "0.0.20",
"description": "文本",
"main": "lib/index",
"files": [
"lib",
"docs",
"theme",
"README.md",
"HISTORY.md"
],
"keywords": [
"nuke",
"nuke-text"
],
"files": ["lib", "docs", "theme", "README.md", "HISTORY.md"],
"keywords": ["nuke", "nuke-text"],
"author": {

@@ -48,4 +39,3 @@ "name": "leanhunter",

"rax-text": "^0.4.20",
"nuke-helper": "^0.x.x",
"nuke-env": "^1.x.x"
"nuke-helper": "^0.x.x"
},

@@ -52,0 +42,0 @@ "devDependencies": {

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