[Snyk] Upgrade typeit from 5.3.0 to 5.10.7 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade typeit from 5.3.0 to 5.10.7.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: typeit
This release addresses some cursor alignment issues that were occurring in Firefox when lines broke.
Previously, when an instance lacked characters between typing strings, vertical alignment of the cursor was unpredictable and strange. This release addresses that issue, making it much more reliable and predictable.
Previously, the vertical positioning of the cursor was set to
bottom: 0, which was causing issues with varying line height values. To solve this, the positioning is now set totop: auto.This change makes aligns a cursor via
position: absolutein order to resolve some displacement and line break issues that were occurring.As a result, each instance now includes a
.ti-wrapperelement, which houses the.ti-containerand.ti-cursorelements.This release fixes some bugs causing unexpected behavior involving the
autoInitoption and companion functions. Additionally, code is more effectively organized to separate concerns.When an instance was reset, the
autoInitargument was not being passed to the constructor, resulting in errors.This release addresses an issue where
loopDelaywas overridingnextStringDelay, causing unexpected timing effects. Now, if left undefined, it will inherit the values fromnextStringDelay, and if it's set, users can pass an array instead of just a single value, exactly the same as hownextStringDelaybehaves.This release introduces the
autoInitargument, so that developers can create an inactive instance, and later initialize it using the.init()method.// Instance will just sit there, until it's manually initialized.
instance.init();
Additionally, properties have been introduced for checking if an instance has started (
instance.hasStarted) and is frozen (instance.isFrozen).This release introduces the
reset()method that can be used to reset an instance back to its original state.Adds property that allows code to check if instance has been previously destroyed.
if(myInstance.hasBeenDestroyed) {
//-- Do something.
}
5.6.1 - 2018-04-03
5.6.0 - 2018-03-17
5.5.2 - 2018-03-03
5.5.1 - 2018-03-02
5.5.0 - 2018-01-25
5.4.1 - 2018-01-18
5.4.0 - 2018-01-17
5.3.0 - 2018-01-02
from typeit GitHub release notes
Commit messages
Package name: typeit
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs