Socket
Socket
Sign inDemoInstall

windups

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windups - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

4

CHANGELOG.md
# Changelog
## v1.1.5
- Fix an issue where spaces were being passed as children when not asked for. This would result in using things like <Pause> inserting a space!
## v1.1.4

@@ -4,0 +8,0 @@

4

dist-src/react/OnChar.js
import React from "react";
import { memberIsWindup, lastPlayedMember, isUnplayed } from "../Windup";
import { memberIsWindup, lastPlayedMember, isUnplayed, } from "../Windup";
const OnChar = ({ children }) => {

@@ -13,3 +13,3 @@ return React.createElement(React.Fragment, null, children);

export function onCharsFromWindup(windup) {
const [_played, remaining, metadata] = windup;
const [, remaining, metadata] = windup;
const lastPlayed = lastPlayedMember(windup);

@@ -16,0 +16,0 @@ const [firstRemaining] = remaining;

@@ -62,3 +62,3 @@ import React, { useContext, useMemo } from "react";

...keyProp,
props: {},
props: { children: undefined },
pace: () => children.props.ms,

@@ -73,3 +73,3 @@ }),

element: children.type,
props: restProps,
props: { ...restProps, children: undefined },
...keyProp,

@@ -76,0 +76,0 @@ ...paceMetaData,

@@ -195,3 +195,3 @@ import React, { useReducer, useRef, useCallback, useEffect, useMemo, useDebugValue, useContext, isValidElement } from 'react';

function onCharsFromWindup(windup) {
const [_played, remaining, metadata] = windup;
const [, remaining, metadata] = windup;
const lastPlayed = lastPlayedMember(windup);

@@ -444,3 +444,3 @@ const [firstRemaining] = remaining;

...keyProp,
props: {},
props: { children: undefined },
pace: () => children.props.ms,

@@ -455,3 +455,3 @@ }),

element: children.type,
props: restProps,
props: { ...restProps, children: undefined },
...keyProp,

@@ -458,0 +458,0 @@ ...paceMetaData,

{
"name": "windups",
"description": "A typewriter effect library for React.",
"version": "1.1.4",
"version": "1.1.5",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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