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

react-typing-animation

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-typing-animation - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

.eslintignore

4

dist/utils.js

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

} else if (_react2.default.isValidElement(node)) {
if (node.type === 'br') {
if (!node.props.children || !node.props.children.length) {
return '\n';

@@ -71,3 +71,3 @@ }

} else if (_react2.default.isValidElement(node)) {
if (node.type === 'br') {
if (!node.props.children || !node.props.children.length) {
if (text.length === 1) {

@@ -74,0 +74,0 @@ return [text.shift() === '' ? undefined : node, cursor];

{
"name": "react-typing-animation",
"version": "1.1.2",
"version": "1.1.3",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -20,3 +20,3 @@ import React, { Children } from 'react';

} else if (React.isValidElement(node)) {
if (node.type === 'br') {
if (!node.props.children || !node.props.children.length) {
return '\n';

@@ -44,3 +44,3 @@ }

} else if (React.isValidElement(node)) {
if (node.type === 'br') {
if (!node.props.children || !node.props.children.length) {
if (text.length === 1) {

@@ -47,0 +47,0 @@ return [text.shift() === '' ? undefined : node, cursor];

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