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

@vx/text

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/text - npm Package Compare versions

Comparing version 0.0.66 to 0.0.67

8

build/text/TextOutline.js

@@ -12,5 +12,5 @@ 'use strict';

var _textOutlineProps = require('../fragments/textOutlineProps');
var _classnames = require('classnames');
var _textOutlineProps2 = _interopRequireDefault(_textOutlineProps);
var _classnames2 = _interopRequireDefault(_classnames);

@@ -46,3 +46,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

_ref$textAnchor = _ref.textAnchor,
textAnchor = _ref$textAnchor === undefined ? 'start' : _ref$textAnchor;
textAnchor = _ref$textAnchor === undefined ? 'start' : _ref$textAnchor,
className = _ref.className;

@@ -55,2 +56,3 @@ return _react2.default.createElement(

{
className: (0, _classnames2.default)('vx-text-outline', className),
x: x,

@@ -57,0 +59,0 @@ y: y,

@@ -28,3 +28,3 @@ 'use strict';

/**
* TODO: this is horrible. figure this out.
* TODO: this is horrible and doesn't work. figure this out.
*/

@@ -95,9 +95,17 @@

y = _props2.y,
dx = _props2.dx,
dy = _props2.dy,
lineHeight = _props2.lineHeight,
width = _props2.width;
width = _props2.width,
className = _props2.className;
return _react2.default.createElement(
'text',
null,
{
className: (0, _classnames2.default)('vx-text-wrap', className),
x: x,
y: y,
dx: dx,
dy: dy
},
_react2.default.createElement('tspan', {

@@ -124,3 +132,6 @@ ref: function ref(c) {

width: 140,
x: 0
x: 0,
y: 0,
dx: 0,
dy: 0
};
{
"name": "@vx/text",
"version": "0.0.66",
"version": "0.0.67",
"description": "vx text",

@@ -5,0 +5,0 @@ "main": "build/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