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.0.6 to 1.0.7

6

dist/Typing.js

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

} else {
_this.props.onFinishedTyping().then(function () {
Promise.resolve(_this.props.onFinishedTyping()).then(function () {
if (loop) {

@@ -253,5 +253,3 @@ cursor.lineNum = 0;

onFinishedTyping: function onFinishedTyping() {
return new Promise(function (resolve) {
return resolve();
});
return Promise.resolve();
}

@@ -258,0 +256,0 @@ };

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

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

@@ -50,3 +50,3 @@ import React, { Component } from 'react';

} else {
this.props.onFinishedTyping().then(() => {
Promise.resolve(this.props.onFinishedTyping()).then(() => {
if (loop) {

@@ -181,3 +181,3 @@ cursor.lineNum = 0;

loop: false,
onFinishedTyping: () => new Promise(resolve => resolve()),
onFinishedTyping: () => Promise.resolve(),
};

@@ -184,0 +184,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