😎 🍿 React hook for highly-performant and manipulable animations using Web Animations API.

Overview

USE-WEB-ANIMATIONS

Using Web Animations API (a.k.a WAAPI) in the React hook way. Let's create highly-performant, flexible and manipulable web animations in the modern world. Hope you guys 👍🏻 it!

❤️ it? ⭐️ it on GitHub or Tweet about it.

build status coverage status npm version npm downloads npm downloads npm bundle size MIT licensed All Contributors PRs welcome Twitter URL

demo_basic

⚡️ Try yourself: https://use-web-animations.netlify.app

demo_animate

⚡️ Try yourself: https://use-web-animations.netlify.app#animations

Features

Requirement

To use use-web-animations, you must use [email protected] or greater which includes hooks.

Installation

This package is distributed via npm.

$ yarn add @wellyshen/use-web-animations
# or
$ npm install --save @wellyshen/use-web-animations

Before We Start

With the Web Animations API, we can move interactive animations from stylesheets to JavaScript, separating presentation from behavior. The API was designed based on the concept of the CSS Animations but there're still some differences between them. I strongly recommend you to read the documentation before we dive into this hook.

Usage

The API design of the hook not only inherits the DX of the Web Animations API but also provides useful features and sugar events to us. Here are some examples to show you how does it work.

⚠️ Most modern browsers support Web Animations API natively. You can also use polyfill for full browser support.

Basic Usage

Create an animation by the keyframes (formats) and timing (properties) options.

Edit useWebAnimations - basic

import useWebAnimations from "@wellyshen/use-web-animations";

const App = () => {
  const { ref, playState } = useWebAnimations({
    keyframes: {
      transform: "translateX(500px)", // Move by 500px
      background: ["red", "blue", "green"], // Go through three colors
    },
    timing: {
      delay: 500, // Start with a 500ms delay
      duration: 1000, // Run for 1000ms
      iterations: 2, // Repeat once
      direction: "alternate", // Run the animation forwards and then backwards
      easing: "ease-in-out", // Use a fancy timing function
    },
    onReady: ({ playState, animate, animation }) => {
      // Triggered when the animation is ready to play (Google Chrome: available in v84+)
    },
    onUpdate: ({ playState, animate, animation }) => {
      // Triggered when the animation enters the running state or changes state
    },
    onFinish: ({ playState, animate, animation }) => {
      // Triggered when the animation enters the finished state (Google Chrome: available in v84+)
    },
    // More useful options...
  });

  return (
    <div className="container">
      <p>🍿 Animation is {playState}</p>
      <div className="target" ref={ref} />
    </div>
  );
};

For browsers that don't yet support the onReady and onFinish events, we can use the onUpdate to monitor the animation's state instead.

let prevPending = true;

const App = () => {
  const { ref } = useWebAnimations({
    // ...
    onUpdate: ({ playState, animation: { pending } }) => {
      if (prevPending && !pending) {
        console.log("Animation is ready to play");
      }
      prevPending = pending;

      if (playState === "finished") {
        console.log("Animation has finished playing");
      }
    },
  });

  // ...
};

Playback Control

The shortcoming with existing technologies was the lack of playback control. The Web Animations API provides several useful methods for controlling playback: play, pause, reverse, cancel, finish, seek, control speed via the methods of the Animation interface. This hook exposes the animation instance for us to interact with animations, we can access it by the getAnimation() return value.

Edit useWebAnimations - controls

import useWebAnimations from "@wellyshen/use-web-animations";

const App = () => {
  const { ref, playState, getAnimation } = useWebAnimations({
    playbackRate: 0.5, // Change playback rate, default is 1
    autoPlay: false, // Automatically starts the animation, default is true
    keyframes: { transform: "translateX(500px)" },
    timing: { duration: 1000, fill: "forwards" },
  });

  const play = () => {
    getAnimation().play();
  };

  const pause = () => {
    getAnimation().pause();
  };

  const reverse = () => {
    getAnimation().reverse();
  };

  const cancel = () => {
    getAnimation().cancel();
  };

  const finish = () => {
    getAnimation().finish();
  };

  const seek = (e) => {
    const animation = getAnimation();
    const time = (animation.effect.getTiming().duration / 100) * e.target.value;
    animation.currentTime = time;
  };

  const updatePlaybackRate = (e) => {
    getAnimation().updatePlaybackRate(e.target.value);
  };

  return (
    <div className="container">
      <button onClick={play}>Play</button>
      <button onClick={pause}>Pause</button>
      <button onClick={reverse}>Reverse</button>
      <button onClick={cancel}>Cancel</button>
      <button onClick={finish}>Finish</button>
      <input type="range" onChange={seek} />
      <input type="number" defaultValue="1" onChange={updatePlaybackRate} />
      <div className="target" ref={ref} />
    </div>
  );
};

Getting Animation's Information

When using the Web Animations API, we can get the information of an animation via the properties of the Animation interface. However, we can get the information of an animation by the getAnimation() return value as well.

import useWebAnimations from "@wellyshen/use-web-animations";

const App = () => {
  const { ref, getAnimation } = useWebAnimations({
    keyframes: { transform: "translateX(500px)" },
    timing: { duration: 1000, fill: "forwards" },
  });

  const speedUp = () => {
    const animation = getAnimation();
    animation.updatePlaybackRate(animation.playbackRate * 0.25);
  };

  const jumpToHalf = () => {
    const animation = getAnimation();
    animation.currentTime = animation.effect.getTiming().duration / 2;
  };

  return (
    <div className="container">
      <button onClick={speedUp}>Speed Up</button>
      <button onClick={jumpToHalf}>Jump to Half</button>
      <div className="target" ref={ref} />
    </div>
  );
};

The animation instance isn't a part of React state, which means we need to access it by the getAnimation() whenever we need. If you want to monitor an animation's information, here's the onUpdate event for you. The event is implemented by the requestAnimationFrame internally and the event callback is triggered when the animation enters running state or changes state.

import { useState } from "react";
import useWebAnimations from "@wellyshen/use-web-animations";

const App = () => {
  const [showEl, setShowEl] = useState(false);
  const { ref } = useWebAnimations({
    keyframes: { transform: "translateX(500px)" },
    timing: { duration: 1000, fill: "forwards" },
    onUpdate: ({ animation }) => {
      if (animation.currentTime > animation.effect.getTiming().duration / 2)
        setShowEl(true);
    },
  });

  return (
    <div className="container">
      {showEl && <div className="some-element" />}
      <div className="target" ref={ref} />
    </div>
  );
};

Dynamic Interactions with Animation

We can create and play an animation at the timing we want by the animate() return value, which is implemented based on the Element.animate(). It's useful for interactions and the composite modes.

Let's create a mouse interaction effect:

Edit useWebAnimations - interaction

import { useEffect } from "react";
import useWebAnimations from "@wellyshen/use-web-animations";

const App = () => {
  const { ref, animate } = useWebAnimations();

  useEffect(() => {
    document.addEventListener("mousemove", (e) => {
      // The target will follow the mouse cursor
      animate({
        keyframes: { transform: `translate(${e.clientX}px, ${e.clientY}px)` },
        timing: { duration: 500, fill: "forwards" },
      });
    });
  }, [animate]);

  return (
    <div className="container">
      <div className="target" ref={ref} />
    </div>
  );
};

Create a bounce effect via lifecycle and composite mode:

import useWebAnimations from "@wellyshen/use-web-animations";

const App = () => {
  const { ref, animate } = useWebAnimations({
    id: "fall", // Set animation id, default is empty string
    keyframes: [{ top: 0, easing: "ease-in" }, { top: "500px" }],
    timing: { duration: 300, fill: "forwards" },
    onFinish: ({ animate, animation }) => {
      // Lifecycle is triggered by each animation, we can check the id to prevent animation from repeating
      if (animation.id === "bounce") return;

      animate({
        id: "bounce",
        keyframes: [
          { top: "500px", easing: "ease-in" },
          { top: "10px", easing: "ease-out" },
        ],
        timing: { duration: 300, composite: "add" },
      });
    },
  });

  return (
    <div className="container">
      <div className="target" ref={ref} />
    </div>
  );
};

⚠️ Composite modes isn't fully supported by all the browsers, please check the browser compatibility carefully before using it.

Use Built-in Animations

Too lazy to think about animation? We provide a collection of ready-to-use animations for you, they are implemented based on Animate.css.

👉🏻 Check out the demo.

import useWebAnimations, { bounce } from "@wellyshen/use-web-animations";

const App = () => {
  // Add a pre-defined effect to the target
  const { ref } = useWebAnimations({ ...bounce });

  return (
    <div className="container">
      <div className="target" ref={ref} />
    </div>
  );
};

We can customize the built-in animation by overriding its properties:

const { keyframes, timing } = bounce;
const { ref } = useWebAnimations({
  keyframes,
  timing: {
    ...timing,
    delay: 1000, // Delay 1s
    duration: timing.duration * 0.75, // Speed up the animation
  },
});
See all available animations

Attention seekers

  • bounce
  • flash
  • pulse
  • rubberBand
  • shakeX
  • shakeY
  • headShake
  • swing
  • tada
  • wobble
  • jello
  • heartBeat

Back entrances

  • backInDown
  • backInLeft
  • backInRight
  • backInUp

Back exits

  • backOutDown
  • backOutLeft
  • backOutRight
  • backOutUp

Bouncing entrances

  • bounceIn
  • bounceInDown
  • bounceInLeft
  • bounceInRight
  • bounceInUp

Bouncing exits

  • bounceOut
  • bounceOutDown
  • bounceOutLeft
  • bounceOutRight
  • bounceOutUp

Fading entrances

  • fadeIn
  • fadeInDown
  • fadeInDownBig
  • fadeInLeft
  • fadeInLeftBig
  • fadeInRight
  • fadeInRightBig
  • fadeInUp
  • fadeInUpBig
  • fadeInTopLeft
  • fadeInTopRight
  • fadeInBottomLeft
  • fadeInBottomRight

Fading exits

  • fadeOut
  • fadeOutDown
  • fadeOutDownBig
  • fadeOutLeft
  • fadeOutLeftBig
  • fadeOutRight
  • fadeOutRightBig
  • fadeOutUp
  • fadeOutUpBig
  • fadeOutTopLeft
  • fadeOutTopRight
  • fadeOutBottomLeft
  • fadeOutBottomRight

Flippers

  • flip
  • flipInX
  • flipInY
  • flipOutX
  • flipOutY

Lightspeed

  • lightSpeedInRight
  • lightSpeedInLeft
  • lightSpeedOutRight
  • lightSpeedOutLeft

Rotating entrances

  • rotateIn
  • rotateInDownLeft
  • rotateInDownRight
  • rotateInUpLeft
  • rotateInUpRight

Rotating exits

  • rotateOut
  • rotateOutDownLeft
  • rotateOutDownRight
  • rotateOutUpLeft
  • rotateOutUpRight

Specials

  • hinge
  • jackInTheBox
  • rollIn
  • rollOut

Zooming entrances

  • zoomIn
  • zoomInDown
  • zoomInLeft
  • zoomInRight
  • zoomInUp

Zooming exits

  • zoomOut
  • zoomOutDown
  • zoomOutLeft
  • zoomOutRight
  • zoomOutUp

Sliding entrances

  • slideInDown
  • slideInLeft
  • slideInRight
  • slideInUp

Sliding exits

  • slideOutDown
  • slideOutLeft
  • slideOutRight
  • slideOutUp

Use Your Own ref

In case of you had a ref already or you want to share a ref for other purposes. You can pass in the ref instead of using the one provided by this hook.

const ref = useRef();
const { playState } = useWebAnimations({ ref });

API

const returnObj = useWebAnimations(options?: object);

Return Object

It's returned with the following properties.

Key Type Default Description
ref object Used to set the target element for animating.
playState string Describes the playback state of an animation.
getAnimation function Access the animation instance for playback control, animation's information and more.
animate function Creates animation at the timing you want. Useful for interactive animations and composite animations.

Parameter

The options provides the following configurations and event callbacks for you.

Key Type Default Description
ref object For some reasons, you can pass in your own ref instead of using the built-in.
id string "" Sets the ID of an animation, implemented based on the Animation.id.
playbackRate number 1 Sets the playback rate of an animation, implemented based on the Animation.playbackRate.
autoPlay boolean true Automatically starts the animation.
keyframes Array | object Describes sets of animatable properties and values, similar to CSS @keyframes but slightly different. See Keyframe Formats for more details.
timing number | object Describes timing properties for animation effects. See EffectTiming for more details.
onReady function It's invoked when an animation is ready to play. You can access the playState, animate and animation from the event object. (Google Chrome: available in v84+)
onUpdate function It's invoked when an animation enters the running state or changes state. You can access the playState, animate and animation from the event object.
onFinish function It's invoked when an animation enters the finished state. You can access the playState, animate and animation from the event object. (Google Chrome: available in v84+)

Use Polyfill

Web Animations API has good support amongst browsers, but it's not universal. You'll need to polyfill browsers that don't support it. Polyfills is something you should do consciously at the application level. Therefore use-web-animations doesn't include it.

Install web-animations-js:

$ yarn add web-animations-js
# or
$ npm install --save web-animations-js

Then import it at your app's entry point:

import "web-animations-js/web-animations.min";

You can read the document for more information.

Contributors

Thanks goes to these wonderful people (emoji key):


Welly

💻 📖 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

Issues
  • Update index.tsx

    Update index.tsx

    Wrap animations in overflow:hidden to make slide-in's look better

    What

    What changes are being made? (e.g. feature, bug, docs etc.)

    Why

    Why are these changes necessary?

    How

    How were these changes implemented?

    Checklist

    Have you done all of these things?

    • [ ] Documentation added
    • [ ] Tests
    • [ ] Typescript definitions updated
    • [ ] Ready to be merged
    opened by brandonpittman 4
  • chore(deps-dev): bump react, react-dom and react-test-renderer

    chore(deps-dev): bump react, react-dom and react-test-renderer

    Bumps react, react-dom and react-test-renderer. These dependencies needed to be updated together. Updates react from 16.14.0 to 17.0.1

    Release notes

    Sourced from react's releases.

    17.0.0 (October 20, 2020)

    Today, we are releasing React 17!

    Learn more about React 17 and how to update to it on the official React blog.

    React

    React DOM

    • Delegate events to roots instead of document. (@trueadm in #18195 and others)
    • Clean up all effects before running any next effects. (@bvaughn in #17947)
    • Run useEffect cleanup functions asynchronously. (@bvaughn in #17925)
    • Use browser focusin and focusout for onFocus and onBlur. (@trueadm in #19186)
    • Make all Capture events use the browser capture phase. (@trueadm in #19221)
    • Don't emulate bubbling of the onScroll event. (@gaearon in #19464)
    • Throw if forwardRef or memo component returns undefined. (@gaearon in #19550)
    • Remove event pooling. (@trueadm in #18969)
    • Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
    • Attach all known event listeners when the root mounts. (@gaearon in #19659)
    • Disable console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)
    • Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
    • Rename private field names used in the internals. (@gaearon in #18377)
    • Don't call User Timing API in development. (@gaearon in #18417)
    • Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
    • In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
    • Allow calling ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)
    • Add the code property to the keyboard event objects. (@bl00mber in #18287)
    • Add the disableRemotePlayback property for video elements. (@tombrowndev in #18619)
    • Add the enterKeyHint property for input elements. (@eps1lon in #18634)
    • Warn when no value is provided to <Context.Provider>. (@charlie1404 in #19054)
    • Warn when memo or forwardRef components return undefined. (@bvaughn in #19550)
    • Improve the error message for invalid updates. (@JoviDeCroock in #18316)
    • Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
    • Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
    • Keep onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)
    • Fix setState hanging in development inside a closed iframe. (@gaearon in #19220)
    • Fix rendering bailout for lazy components with defaultProps. (@jddxf in #18539)
    • Fix a false positive warning when dangerouslySetInnerHTML is undefined. (@eps1lon in #18676)
    • Fix Test Utils with non-standard require implementation. (@just-boris in #18632)
    • Fix onBeforeInput reporting an incorrect event.type. (@eps1lon in #19561)
    • Fix event.relatedTarget reported as undefined in Firefox. (@claytercek in #19607)
    • Fix "unspecified error" in IE11. (@hemakshis in #19664)
    • Fix rendering into a shadow root. (@Jack-Works in #15894)
    • Fix movementX/Y polyfill with capture events. (@gaearon in #19672)
    Changelog

    Sourced from react's changelog.

    17.0.1 (October 22, 2020)

    React DOM

    17.0.0 (October 20, 2020)

    Today, we are releasing React 17!

    Learn more about React 17 and how to update to it on the official React blog.

    React

    React DOM

    • Delegate events to roots instead of document. (@trueadm in #18195 and others)
    • Clean up all effects before running any next effects. (@bvaughn in #17947)
    • Run useEffect cleanup functions asynchronously. (@bvaughn in #17925)
    • Use browser focusin and focusout for onFocus and onBlur. (@trueadm in #19186)
    • Make all Capture events use the browser capture phase. (@trueadm in #19221)
    • Don't emulate bubbling of the onScroll event. (@gaearon in #19464)
    • Throw if forwardRef or memo component returns undefined. (@gaearon in #19550)
    • Remove event pooling. (@trueadm in #18969)
    • Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
    • Attach all known event listeners when the root mounts. (@gaearon in #19659)
    • Disable console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)
    • Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
    • Rename private field names used in the internals. (@gaearon in #18377)
    • Don't call User Timing API in development. (@gaearon in #18417)
    • Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
    • In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
    • Allow calling ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)
    • Add the code property to the keyboard event objects. (@bl00mber in #18287)
    • Add the disableRemotePlayback property for video elements. (@tombrowndev in #18619)
    • Add the enterKeyHint property for input elements. (@eps1lon in #18634)
    • Warn when no value is provided to <Context.Provider>. (@charlie1404 in #19054)
    • Warn when memo or forwardRef components return undefined. (@bvaughn in #19550)
    • Improve the error message for invalid updates. (@JoviDeCroock in #18316)
    • Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
    • Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
    • Keep onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)
    • Fix setState hanging in development inside a closed iframe. (@gaearon in #19220)
    • Fix rendering bailout for lazy components with defaultProps. (@jddxf in #18539)
    Commits

    Updates react-dom from 16.14.0 to 17.0.1

    Release notes

    Sourced from react-dom's releases.

    17.0.0 (October 20, 2020)

    Today, we are releasing React 17!

    Learn more about React 17 and how to update to it on the official React blog.

    React

    React DOM

    • Delegate events to roots instead of document. (@trueadm in #18195 and others)
    • Clean up all effects before running any next effects. (@bvaughn in #17947)
    • Run useEffect cleanup functions asynchronously. (@bvaughn in #17925)
    • Use browser focusin and focusout for onFocus and onBlur. (@trueadm in #19186)
    • Make all Capture events use the browser capture phase. (@trueadm in #19221)
    • Don't emulate bubbling of the onScroll event. (@gaearon in #19464)
    • Throw if forwardRef or memo component returns undefined. (@gaearon in #19550)
    • Remove event pooling. (@trueadm in #18969)
    • Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
    • Attach all known event listeners when the root mounts. (@gaearon in #19659)
    • Disable console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)
    • Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
    • Rename private field names used in the internals. (@gaearon in #18377)
    • Don't call User Timing API in development. (@gaearon in #18417)
    • Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
    • In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
    • Allow calling ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)
    • Add the code property to the keyboard event objects. (@bl00mber in #18287)
    • Add the disableRemotePlayback property for video elements. (@tombrowndev in #18619)
    • Add the enterKeyHint property for input elements. (@eps1lon in #18634)
    • Warn when no value is provided to <Context.Provider>. (@charlie1404 in #19054)
    • Warn when memo or forwardRef components return undefined. (@bvaughn in #19550)
    • Improve the error message for invalid updates. (@JoviDeCroock in #18316)
    • Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
    • Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
    • Keep onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)
    • Fix setState hanging in development inside a closed iframe. (@gaearon in #19220)
    • Fix rendering bailout for lazy components with defaultProps. (@jddxf in #18539)
    • Fix a false positive warning when dangerouslySetInnerHTML is undefined. (@eps1lon in #18676)
    • Fix Test Utils with non-standard require implementation. (@just-boris in #18632)
    • Fix onBeforeInput reporting an incorrect event.type. (@eps1lon in #19561)
    • Fix event.relatedTarget reported as undefined in Firefox. (@claytercek in #19607)
    • Fix "unspecified error" in IE11. (@hemakshis in #19664)
    • Fix rendering into a shadow root. (@Jack-Works in #15894)
    • Fix movementX/Y polyfill with capture events. (@gaearon in #19672)
    Changelog

    Sourced from react-dom's changelog.

    17.0.1 (October 22, 2020)

    React DOM

    17.0.0 (October 20, 2020)

    Today, we are releasing React 17!

    Learn more about React 17 and how to update to it on the official React blog.

    React

    React DOM

    • Delegate events to roots instead of document. (@trueadm in #18195 and others)
    • Clean up all effects before running any next effects. (@bvaughn in #17947)
    • Run useEffect cleanup functions asynchronously. (@bvaughn in #17925)
    • Use browser focusin and focusout for onFocus and onBlur. (@trueadm in #19186)
    • Make all Capture events use the browser capture phase. (@trueadm in #19221)
    • Don't emulate bubbling of the onScroll event. (@gaearon in #19464)
    • Throw if forwardRef or memo component returns undefined. (@gaearon in #19550)
    • Remove event pooling. (@trueadm in #18969)
    • Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
    • Attach all known event listeners when the root mounts. (@gaearon in #19659)
    • Disable console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)
    • Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
    • Rename private field names used in the internals. (@gaearon in #18377)
    • Don't call User Timing API in development. (@gaearon in #18417)
    • Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
    • In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
    • Allow calling ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)
    • Add the code property to the keyboard event objects. (@bl00mber in #18287)
    • Add the disableRemotePlayback property for video elements. (@tombrowndev in #18619)
    • Add the enterKeyHint property for input elements. (@eps1lon in #18634)
    • Warn when no value is provided to <Context.Provider>. (@charlie1404 in #19054)
    • Warn when memo or forwardRef components return undefined. (@bvaughn in #19550)
    • Improve the error message for invalid updates. (@JoviDeCroock in #18316)
    • Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
    • Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
    • Keep onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)
    • Fix setState hanging in development inside a closed iframe. (@gaearon in #19220)
    • Fix rendering bailout for lazy components with defaultProps. (@jddxf in #18539)
    Commits

    Updates react-test-renderer from 16.14.0 to 17.0.1

    Release notes

    Sourced from react-test-renderer's releases.

    17.0.0 (October 20, 2020)

    Today, we are releasing React 17!

    Learn more about React 17 and how to update to it on the official React blog.

    React

    React DOM

    • Delegate events to roots instead of document. (@trueadm in #18195 and others)
    • Clean up all effects before running any next effects. (@bvaughn in #17947)
    • Run useEffect cleanup functions asynchronously. (@bvaughn in #17925)
    • Use browser focusin and focusout for onFocus and onBlur. (@trueadm in #19186)
    • Make all Capture events use the browser capture phase. (@trueadm in #19221)
    • Don't emulate bubbling of the onScroll event. (@gaearon in #19464)
    • Throw if forwardRef or memo component returns undefined. (@gaearon in #19550)
    • Remove event pooling. (@trueadm in #18969)
    • Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
    • Attach all known event listeners when the root mounts. (@gaearon in #19659)
    • Disable console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)
    • Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
    • Rename private field names used in the internals. (@gaearon in #18377)
    • Don't call User Timing API in development. (@gaearon in #18417)
    • Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
    • In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
    • Allow calling ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)
    • Add the code property to the keyboard event objects. (@bl00mber in #18287)
    • Add the disableRemotePlayback property for video elements. (@tombrowndev in #18619)
    • Add the enterKeyHint property for input elements. (@eps1lon in #18634)
    • Warn when no value is provided to <Context.Provider>. (@charlie1404 in #19054)
    • Warn when memo or forwardRef components return undefined. (@bvaughn in #19550)
    • Improve the error message for invalid updates. (@JoviDeCroock in #18316)
    • Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
    • Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
    • Keep onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)
    • Fix setState hanging in development inside a closed iframe. (@gaearon in #19220)
    • Fix rendering bailout for lazy components with defaultProps. (@jddxf in #18539)
    • Fix a false positive warning when dangerouslySetInnerHTML is undefined. (@eps1lon in #18676)
    • Fix Test Utils with non-standard require implementation. (@just-boris in #18632)
    • Fix onBeforeInput reporting an incorrect event.type. (@eps1lon in #19561)
    • Fix event.relatedTarget reported as undefined in Firefox. (@claytercek in #19607)
    • Fix "unspecified error" in IE11. (@hemakshis in #19664)
    • Fix rendering into a shadow root. (@Jack-Works in #15894)
    • Fix movementX/Y polyfill with capture events. (@gaearon in #19672)
    Changelog

    Sourced from react-test-renderer's changelog.

    17.0.1 (October 22, 2020)

    React DOM

    17.0.0 (October 20, 2020)

    Today, we are releasing React 17!

    Learn more about React 17 and how to update to it on the official React blog.

    React

    React DOM

    • Delegate events to roots instead of document. (@trueadm in #18195 and others)
    • Clean up all effects before running any next effects. (@bvaughn in #17947)
    • Run useEffect cleanup functions asynchronously. (@bvaughn in #17925)
    • Use browser focusin and focusout for onFocus and onBlur. (@trueadm in #19186)
    • Make all Capture events use the browser capture phase. (@trueadm in #19221)
    • Don't emulate bubbling of the onScroll event. (@gaearon in #19464)
    • Throw if forwardRef or memo component returns undefined. (@gaearon in #19550)
    • Remove event pooling. (@trueadm in #18969)
    • Stop exposing internals that won’t be needed by React Native Web. (@necolas in #18483)
    • Attach all known event listeners when the root mounts. (@gaearon in #19659)
    • Disable console in the second render pass of DEV mode double render. (@sebmarkbage in #18547)
    • Deprecate the undocumented and misleading ReactTestUtils.SimulateNative API. (@gaearon in #13407)
    • Rename private field names used in the internals. (@gaearon in #18377)
    • Don't call User Timing API in development. (@gaearon in #18417)
    • Disable console during the repeated render in Strict Mode. (@sebmarkbage in #18547)
    • In Strict Mode, double-render components without Hooks too. (@eps1lon in #18430)
    • Allow calling ReactDOM.flushSync during lifecycle methods (but warn). (@sebmarkbage in #18759)
    • Add the code property to the keyboard event objects. (@bl00mber in #18287)
    • Add the disableRemotePlayback property for video elements. (@tombrowndev in #18619)
    • Add the enterKeyHint property for input elements. (@eps1lon in #18634)
    • Warn when no value is provided to <Context.Provider>. (@charlie1404 in #19054)
    • Warn when memo or forwardRef components return undefined. (@bvaughn in #19550)
    • Improve the error message for invalid updates. (@JoviDeCroock in #18316)
    • Exclude forwardRef and memo from stack frames. (@sebmarkbage in #18559)
    • Improve the error message when switching between controlled and uncontrolled inputs. (@vcarl in #17070)
    • Keep onTouchStart, onTouchMove, and onWheel passive. (@gaearon in #19654)
    • Fix setState hanging in development inside a closed iframe. (@gaearon in #19220)
    • Fix rendering bailout for lazy components with defaultProps. (@jddxf in #18539)
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 4
  • chore(deps): bump @babel/runtime from 7.13.7 to 7.13.8

    chore(deps): bump @babel/runtime from 7.13.7 to 7.13.8

    Bumps @babel/runtime from 7.13.7 to 7.13.8.

    Release notes

    Sourced from @babel/runtime's releases.

    v7.13.8 (2021-02-26)

    Thanks @luxp and @pigcan for your first PRs!

    :bug: Bug Fix

    • Other
      • #12909 chore: do not provide polyfills on bundling @babel/standalone (@JLHwung)
      • #12891 fix(eslint-parser): merge input estree options (@JLHwung)
    • babel-compat-data, babel-preset-env
    • babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    :nail_care: Polish

    • babel-helper-create-class-features-plugin

    :house: Internal

    • babel-core, babel-helper-transform-fixture-test-runner, babel-register
    • babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime

    :microscope: Output optimization

    • babel-plugin-proposal-object-rest-spread

    Committers: 6

    Changelog

    Sourced from @babel/runtime's changelog.

    v7.13.8 (2021-02-26)

    :bug: Bug Fix

    • Other
      • #12909 chore: do not provide polyfills on bundling @babel/standalone (@JLHwung)
      • #12891 fix(eslint-parser): merge input estree options (@JLHwung)
    • babel-compat-data, babel-preset-env
    • babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    :nail_care: Polish

    • babel-helper-create-class-features-plugin

    :house: Internal

    • babel-core, babel-helper-transform-fixture-test-runner, babel-register
    • babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime

    :microscope: Output optimization

    • babel-plugin-proposal-object-rest-spread

    v7.13.6 (2021-02-23)

    :bug: Bug Fix

    • babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    :house: Internal

    • babel-compat-data, babel-preset-env

    v7.13.5 (2021-02-23)

    :bug: Bug Fix

    • babel-compat-data, babel-plugin-transform-runtime, babel-preset-env
    • babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-runtime, babel-preset-env

    v7.13.4 (2021-02-23)

    :bug: Bug Fix

    • babel-parser
    • babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    v7.13.2 (2021-02-23)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 4
  • chore(deps-dev): bump rollup from 2.26.8 to 2.26.9

    chore(deps-dev): bump rollup from 2.26.8 to 2.26.9

    Bumps rollup from 2.26.8 to 2.26.9.

    Release notes

    Sourced from rollup's releases.

    v2.26.9

    2020-09-01

    Bug Fixes

    • Add regular expression support to watch include/exclude types (#3754)

    Pull Requests

    • #3754: Add RegExp to the include and exclude fields of the WatcherOptions type (@dagda1)
    • #3756: Update FAQ: I think it was meant "external" instead of "other-entry.js" (@madacol)
    Changelog

    Sourced from rollup's changelog.

    2.26.9

    2020-09-01

    Bug Fixes

    • Add regular expression support to watch include/exclude types (#3754)

    Pull Requests

    • #3754: Add RegExp to the include and exclude fields of the WatcherOptions type (@dagda1)
    • #3756: Update FAQ: I think it was meant "external" instead of "other-entry.js" (@madacol)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 3
  • chore(deps): bump ini from 1.3.5 to 1.3.7

    chore(deps): bump ini from 1.3.5 to 1.3.7

    Bumps ini from 1.3.5 to 1.3.7.

    Commits
    • c74c8af 1.3.7
    • 024b8b5 update deps, add linting
    • 032fbaf Use Object.create(null) to avoid default object property hazards
    • 2da9039 1.3.6
    • cfea636 better git push script, before publish instead of after
    • 56d2805 do not allow invalid hazardous string as section name
    • See full diff in compare view
    Maintainer changes

    This version was pushed to npm by isaacs, a new releaser for ini since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 3
  • chore(deps-dev): bump stylelint-config-standard from 20.0.0 to 21.0.0

    chore(deps-dev): bump stylelint-config-standard from 20.0.0 to 21.0.0

    Bumps stylelint-config-standard from 20.0.0 to 21.0.0.

    Release notes

    Sourced from stylelint-config-standard's releases.

    21.0.0

    • Removed: stylelint less than 13.12.0 from peer dependencies.
    • Changed: updated to [email protected]
    Changelog

    Sourced from stylelint-config-standard's changelog.

    21.0.0

    • Removed: stylelint less than 13.12.0 from peer dependencies.
    • Changed: updated to [email protected]
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 3
  • chore(deps-dev): bump @emotion/babel-preset-css-prop from 10.2.1 to 11.0.0

    chore(deps-dev): bump @emotion/babel-preset-css-prop from 10.2.1 to 11.0.0

    Bumps @emotion/babel-preset-css-prop from 10.2.1 to 11.0.0.

    Release notes

    Sourced from @emotion/babel-preset-css-prop's releases.

    @emotion/[email protected]

    Major Changes

    • 9e3671c4 #2076 Thanks @Andarist! - Removed runtime option that was introduced to this preset and deprecated shortly after that. If you want to configure runtime: "automatic", replace @emotion/babel-preset-css-prop with @babel/preset-react and @emotion/babel-plugin. You can find out how to configure things properly here: https://emotion.sh/docs/css-prop#babel-preset

    • c5b12d90 #1220 Thanks @mitchellhamilton! - Removed support for the instances option, any usage of it should be replaced with the importMap option

    • c7850e61 #1656 Thanks @Andarist! - autoLabel option no longer is a simple boolean. Instead we accept now 3 values: dev-only (the default), always and never.

      Each possible value for this option produces different output code:

      • with dev-only we optimize the production code, so there are no labels added there, but at the same time we keep labels for development environments,
      • with always we always add labels when possible,
      • with never we disable this entirely and no labels are added.

    Minor Changes

    • c5b12d90 #1220 Thanks @mitchellhamilton! - Added the importMap option which allows you to tell @emotion/babel-plugin what imports it should look at to determine what it should transform so if you re-export Emotion's exports, you can still use the Babel transforms

    • c672175b #1130 Thanks @jtmthf! - Adjust how arrays passed to css prop are transformed so function elements can be resolved at runtime.

    • 0a4a22ff #1651 Thanks @Andarist! - Allow labelFormat option to be a function.

    Patch Changes

    @emotion/[email protected]

    Major Changes

    Patch Changes

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 3
  • chore(deps-dev): bump @testing-library/react-hooks from 3.7.0 to 4.0.1

    chore(deps-dev): bump @testing-library/react-hooks from 3.7.0 to 4.0.1

    Bumps @testing-library/react-hooks from 3.7.0 to 4.0.1.

    Release notes

    Sourced from @testing-library/react-hooks's releases.

    v4.0.1

    4.0.1 (2021-01-12)

    Bug Fixes

    v4.0.0

    4.0.0 (2021-01-07)

    Bug Fixes

    • types: changed callback signature on waitFor to match old types (1ea2afe)

    Features

    BREAKING CHANGES

    • Removed deprecated wait

    v4.0.0-beta.3 (DO NOT USE)

    This release is was supposed to be the 5.0.0-beta.1 release but I messed it up.

    v4.0.0-beta.2

    4.0.0-beta.2 (2020-12-23)

    Bug Fixes

    • types: changed callback signature on waitFor to match old types (1ea2afe)

    v4.0.0-beta.1

    4.0.0-beta.1 (2020-12-15)

    Features

    BREAKING CHANGES

    Commits
    • a334f80 fix: Restore 'RenderHookOptions' type (#535)
    • 10d9a28 chore(deps-dev): bump kcd-scripts from 7.5.3 to 7.5.4 (#533)
    • b35b152 chore(deps-dev): bump eslint from 7.15.0 to 7.17.0 (#524)
    • e315dce chore: updated all-contributors to be more accurate
    • 1970833 Merge branch 'beta'
    • 81ce711 Merge pull request #522 from testing-library/dependabot/npm_and_yarn/eslint-7...
    • 48af5ce chore(deps-dev): bump eslint from 7.16.0 to 7.17.0
    • 08d5bb4 chore(refactor): make TimeoutError less stringly typed for util name
    • 2bd7222 chore(refactor): refactor TimeoutError to simplify constructor args
    • 1ea2afe fix(types): changed callback signature on waitFor to match old types
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 3
  • chore(deps-dev): bump typescript from 3.9.6 to 3.9.7

    chore(deps-dev): bump typescript from 3.9.6 to 3.9.7

    Bumps typescript from 3.9.6 to 3.9.7.

    Release notes

    Sourced from typescript's releases.

    TypeScript 3.9.7

    For release notes, check out the release announcement.

    For the complete list of fixed issues, check out the

    (note, 3.9.4 was intentionally skipped due to minor complications in publishing)

    Downloads are available on:

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 3
  • chore(deps-dev): bump @types/jest from 26.0.18 to 26.0.19

    chore(deps-dev): bump @types/jest from 26.0.18 to 26.0.19

    Bumps @types/jest from 26.0.18 to 26.0.19.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    If all status checks pass Dependabot will automatically merge this pull request.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies javascript 
    opened by dependabot-preview[bot] 3
  • chore(deps-dev): bump lint-staged from 11.0.0 to 11.2.3

    chore(deps-dev): bump lint-staged from 11.0.0 to 11.2.3

    Bumps lint-staged from 11.0.0 to 11.2.3.

    Release notes

    Sourced from lint-staged's releases.

    v11.2.3

    11.2.3 (2021-10-10)

    Bug Fixes

    • unbreak windows by correctly normalizing cwd (#1029) (f861d8d)

    v11.2.2

    11.2.2 (2021-10-09)

    Bug Fixes

    v11.2.1

    11.2.1 (2021-10-09)

    Bug Fixes

    v11.2.0

    11.2.0 (2021-10-04)

    Features

    v11.2.0-beta.1

    11.2.0-beta.1 (2021-10-02)

    Bug Fixes

    • add --no-stash as hidden option for backwards-compatibility (73db492)
    • do not apply empty patch (a7c1c0b)
    • do not use fs/promises for Node.js 12 compatibility (c99a6a1)
    • restore original state when preventing an empty commit (f7ef8ef)
    • restore previous order of jobs (ba62b22)

    Features

    • do not use a git stash for better performance (ff0cc0d)

    ... (truncated)

    Commits
    • f861d8d fix: unbreak windows by correctly normalizing cwd (#1029)
    • 11c004e fix: remove dangling chars from git dir (#1028)
    • f291824 fix: detect git repo root correctly on cygwin (#1026)
    • 32c08d3 feat(deps): update and slim down dependencies (#1003)
    • 3885af8 docs: Use /usr/bin/env sh instead of direct path (#1020)
    • 0ef25e8 docs: simplify Ignoring Files From .eslintignore. (#1013)
    • ad4316c docs: fix incorrect folding (#1006)
    • b3d97cf fix: try to automatically fix and warn about invalid brace patterns (#992)
    • f8807d7 docs: simplify configuration example for formatting any format Prettier suppo...
    • f7302f4 fix: the shell option value should be optional instead of required (#996)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • chore(deps-dev): bump @babel/core from 7.14.6 to 7.15.8

    chore(deps-dev): bump @babel/core from 7.14.6 to 7.15.8

    Bumps @babel/core from 7.14.6 to 7.15.8.

    Release notes

    Sourced from @​babel/core's releases.

    v7.15.8 (2021-10-06)

    Thanks @​julienw, @​NotWearingPants and @​shoonia for your first PRs!

    :eyeglasses: Spec Compliance

    • babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd
    • babel-parser

    :bug: Bug Fix

    • babel-generator
    • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator
    • babel-plugin-transform-typescript

    :nail_care: Polish

    :house: Internal

    :running_woman: Performance

    Committers: 10

    v7.15.7 (2021-09-17)

    Thanks @​JuniorTour and @​sdegutis for your first PRs!

    :bug: Bug Fix

    • babel-parser

    ... (truncated)

    Changelog

    Sourced from @​babel/core's changelog.

    v7.15.8 (2021-10-06)

    :eyeglasses: Spec Compliance

    • babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd
    • babel-parser

    :bug: Bug Fix

    • babel-generator
    • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator
    • babel-plugin-transform-typescript

    :nail_care: Polish

    :house: Internal

    :running_woman: Performance

    v7.15.7 (2021-09-17)

    :bug: Bug Fix

    :house: Internal

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump @babel/preset-env from 7.14.7 to 7.15.8

    chore(deps-dev): bump @babel/preset-env from 7.14.7 to 7.15.8

    Bumps @babel/preset-env from 7.14.7 to 7.15.8.

    Release notes

    Sourced from @​babel/preset-env's releases.

    v7.15.8 (2021-10-06)

    Thanks @​julienw, @​NotWearingPants and @​shoonia for your first PRs!

    :eyeglasses: Spec Compliance

    • babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd
    • babel-parser

    :bug: Bug Fix

    • babel-generator
    • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator
    • babel-plugin-transform-typescript

    :nail_care: Polish

    :house: Internal

    :running_woman: Performance

    Committers: 10

    v7.15.7 (2021-09-17)

    Thanks @​JuniorTour and @​sdegutis for your first PRs!

    :bug: Bug Fix

    • babel-parser

    ... (truncated)

    Changelog

    Sourced from @​babel/preset-env's changelog.

    v7.15.8 (2021-10-06)

    :eyeglasses: Spec Compliance

    • babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd
    • babel-parser

    :bug: Bug Fix

    • babel-generator
    • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator
    • babel-plugin-transform-typescript

    :nail_care: Polish

    :house: Internal

    :running_woman: Performance

    v7.15.7 (2021-09-17)

    :bug: Bug Fix

    :house: Internal

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump @rollup/plugin-commonjs from 19.0.0 to 21.0.0

    chore(deps-dev): bump @rollup/plugin-commonjs from 19.0.0 to 21.0.0

    Bumps @rollup/plugin-commonjs from 19.0.0 to 21.0.0.

    Changelog

    Sourced from @​rollup/plugin-commonjs's changelog.

    v21.0.0

    2021-10-01

    Breaking Changes

    • fix: use safe default value for ignoreTryCatch (#1005)

    v20.0.0

    2021-07-30

    Breaking Changes

    • fix: Correctly infer module name for any separator (#924)

    v19.0.2

    2021-07-26

    Bugfixes

    • fix convert module.exports with __esModule property(#939) (#942)

    v19.0.1

    2021-07-15

    Bugfixes

    • fix: short-circuit to actual module entry point when using circular ref through a different entry (#888)
    Commits
    • ff9df1e chore(release): commonjs v21.0.0
    • 6afa82c fix(commonjs)!: use safe default value for ignoreTryCatch (#1005)
    • 405500b chore(release): commonjs v20.0.0
    • f408497 fix(commonjs)!: Correctly infer module name for any separator (#924)
    • e6e019e chore(release): commonjs v19.0.2
    • 4885d59 feat(dsv,dynamic-import-vars,image,legacy,multi-entry,strip,sucrase,url,yaml)...
    • 7757aeb fix(commonjs): convert module.exports with __esModule property(#939) (#942)
    • e32a9e9 chore(repo): update linting, prettier configuration
    • 8205497 chore(repo): automatically publish packages (#940)
    • b63fc48 chore(release): commonjs v19.0.1
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump rollup from 2.53.0 to 2.58.0

    chore(deps-dev): bump rollup from 2.53.0 to 2.58.0

    Bumps rollup from 2.53.0 to 2.58.0.

    Release notes

    Sourced from rollup's releases.

    v2.58.0

    2021-10-01

    Features

    • Add a flag to more reliably identify entry points in the resolveId hook (#4230)

    Pull Requests

    v2.57.0

    2021-09-22

    Features

    • Add generatedCode option to allow Rollup to use es2015 features for smaller output and more efficient helpers (#4215)
    • Improve AMD and SystemJS parsing performance by wrapping relevant functions in parentheses (#4215)
    • Using preferConst will now show a warning with strictDeprecations: true (#4215)

    Bug Fixes

    • Improve ES3 syntax compatibility by more consequently quoting reserved words as props in generated code (#4215)
    • Do not use Object.assign in generated code to ensure ES5 compatibility without the need for polyfills (#4215)
    • Support live-bindings in dynamic namespace objects that contain reexported external or synthetic namespaces (#4215)
    • Use correct "this" binding in dynamic import expressions for CommonJS and AMD (#4215)
    • Properly handle shimMissingExports for exports that are only used internally (#4215)
    • Prevent unhandled rejection for failed module parsing (#4228)

    Pull Requests

    v2.56.3

    2021-08-23

    Bug Fixes

    • Make sure moduleInfo contains complete information about imported ids in the moduleParsed hook (#4208)

    Pull Requests

    ... (truncated)

    Changelog

    Sourced from rollup's changelog.

    2.58.0

    2021-10-01

    Features

    • Add a flag to more reliably identify entry points in the resolveId hook (#4230)

    Pull Requests

    2.57.0

    2021-09-22

    Features

    • Add generatedCode option to allow Rollup to use es2015 features for smaller output and more efficient helpers (#4215)
    • Improve AMD and SystemJS parsing performance by wrapping relevant functions in parentheses (#4215)
    • Using preferConst will now show a warning with strictDeprecations: true (#4215)

    Bug Fixes

    • Improve ES3 syntax compatibility by more consequently quoting reserved words as props in generated code (#4215)
    • Do not use Object.assign in generated code to ensure ES5 compatibility without the need for polyfills (#4215)
    • Support live-bindings in dynamic namespace objects that contain reexported external or synthetic namespaces (#4215)
    • Use correct "this" binding in dynamic import expressions for CommonJS and AMD (#4215)
    • Properly handle shimMissingExports for exports that are only used internally (#4215)
    • Prevent unhandled rejection for failed module parsing (#4228)

    Pull Requests

    2.56.3

    2021-08-23

    Bug Fixes

    • Make sure moduleInfo contains complete information about imported ids in the moduleParsed hook (#4208)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.5

    chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.5

    Bumps @rollup/plugin-node-resolve from 13.0.0 to 13.0.5.

    Changelog

    Sourced from @​rollup/plugin-node-resolve's changelog.

    v13.0.5

    2021-09-21

    Updates

    • docs: fix readme heading depth (#999)

    v13.0.4

    2021-07-24

    Bugfixes

    • fix: Fix bug where JS import was converted to a TS import, resulting in an error when using export maps (#921)

    v13.0.3

    2021-07-24

    Bugfixes

    • fix: handle browser-mapped paths correctly in nested contexts (#920)

    v13.0.2

    2021-07-15

    Bugfixes

    • fix: handle "package.json" being in path (#927)

    v13.0.1

    2021-07-15

    Updates

    • docs: Document how to get Node.js exports resolution (#884)
    Commits
    • d4ef29a chore(release): node-resolve v13.0.5
    • 68ee2c5 docs(node-resolve): fix readme heading depth (#999)
    • 6ad1721 chore(repo): update CHANGELOGs with missing info, add newline to CHANGELOG gen
    • 5b45582 chore(release): node-resolve v13.0.4
    • b393bcb fix(node-resolve): Fix bug where JS import was converted to a TS import, resu...
    • f930e31 chore(release): node-resolve v13.0.3
    • 1e2363c fix(node-resolve): handle browser-mapped paths correctly in nested contexts (...
    • 0a05d68 chore(release): node-resolve v13.0.2
    • 7d34204 fix(node-resolve): handle "package.json" being in path (#927)
    • e32a9e9 chore(repo): update linting, prettier configuration
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
  • chore(deps): bump tmpl from 1.0.4 to 1.0.5

    chore(deps): bump tmpl from 1.0.4 to 1.0.5

    Bumps tmpl from 1.0.4 to 1.0.5.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps): bump @babel/runtime from 7.14.6 to 7.15.4

    chore(deps): bump @babel/runtime from 7.14.6 to 7.15.4

    Bumps @babel/runtime from 7.14.6 to 7.15.4.

    Release notes

    Sourced from @​babel/runtime's releases.

    v7.15.4 (2021-09-02)

    Thanks @​flyinox, @​komyg, and @​meskill for your first PRs!

    :eyeglasses: Spec Compliance

    • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    :bug: Bug Fix

    • #13638 [eslint] Allow "latest" as ecmaVersion (@​fisker)
    • babel-traverse, babel-types
      • #13723 getBindingIdentifiers should return params for private methods (@​JLHwung)
    • babel-types
    • babel-helper-compilation-targets
    • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-property-in-object
    • babel-plugin-transform-typescript
    • babel-parser
    • babel-core

    :memo: Documentation

    :house: Internal

    • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-static-block, babel-plugin-proposal-private-property-in-object, babel-plugin-syntax-class-static-block, babel-plugin-syntax-private-property-in-object, babel-plugin-syntax-top-level-await, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-preset-env, babel-standalone

    :running_woman: Performance

    • babel-core, babel-generator, babel-helper-annotate-as-pure, babel-helper-builder-binary-assignment-operator-visitor, babel-helper-builder-react-jsx, babel-helper-define-map, babel-helper-explode-assignable-expression, babel-helper-function-name, babel-helper-get-function-arity, babel-helper-hoist-variables, babel-helper-member-expression-to-functions, babel-helper-module-imports, babel-helper-module-transforms, babel-helper-optimise-call-expression, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-helper-simple-access, babel-helper-skip-transparent-expression-wrappers, babel-helper-split-export-declaration, babel-helper-wrap-function, babel-helpers, babel-preset-env, babel-template, babel-traverse
    • babel-cli, babel-helper-define-map, babel-helpers, babel-node, babel-parser, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-for-of, babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-traverse, babel-types

    Committers: 11

    ... (truncated)

    Changelog

    Sourced from @​babel/runtime's changelog.

    v7.15.4 (2021-09-02)

    :eyeglasses: Spec Compliance

    • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    :bug: Bug Fix

    • #13638 [eslint] Allow "latest" as ecmaVersion (@​fisker)
    • babel-traverse, babel-types
      • #13723 getBindingIdentifiers should return params for private methods (@​JLHwung)
    • babel-types
    • babel-helper-compilation-targets
    • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-property-in-object
    • babel-plugin-transform-typescript
    • babel-parser
    • babel-core

    :memo: Documentation

    :house: Internal

    • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-static-block, babel-plugin-proposal-private-property-in-object, babel-plugin-syntax-class-static-block, babel-plugin-syntax-private-property-in-object, babel-plugin-syntax-top-level-await, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-preset-env, babel-standalone

    :running_woman: Performance

    • babel-core, babel-generator, babel-helper-annotate-as-pure, babel-helper-builder-binary-assignment-operator-visitor, babel-helper-builder-react-jsx, babel-helper-define-map, babel-helper-explode-assignable-expression, babel-helper-function-name, babel-helper-get-function-arity, babel-helper-hoist-variables, babel-helper-member-expression-to-functions, babel-helper-module-imports, babel-helper-module-transforms, babel-helper-optimise-call-expression, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-helper-simple-access, babel-helper-skip-transparent-expression-wrappers, babel-helper-split-export-declaration, babel-helper-wrap-function, babel-helpers, babel-preset-env, babel-template, babel-traverse
    • babel-cli, babel-helper-define-map, babel-helpers, babel-node, babel-parser, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-for-of, babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-traverse, babel-types

    v7.15.3 (2021-08-11)

    :eyeglasses: Spec Compliance

    • babel-helpers, babel-plugin-transform-classes

    :bug: Bug Fix

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump eslint-config-welly from 1.11.3 to 1.11.6

    chore(deps-dev): bump eslint-config-welly from 1.11.3 to 1.11.6

    Bumps eslint-config-welly from 1.11.3 to 1.11.6.

    Release notes

    Sourced from eslint-config-welly's releases.

    v1.11.6

    • Upgrade dependencies

    v1.11.5

    • chore: upgrade dendepencies

    v1.11.4

    Upgrade the following dependencies:

    Commits
    • 4871e96 Release 1.11.6
    • 1088775 chore: upgrade typescript-eslint ^4.29.0 → ^4.29.1 & eslint-plugin-compat ^3....
    • 0fbd331 chore: update yarn.lock
    • 514c6cf Release 1.11.5
    • c22cdde chore: upgrade typescript-eslint ^4.28.3 → ^4.29.0 & eslint-plugin-jest ^24.3...
    • b37d559 Release 1.11.4
    • 9777f85 chore: upgrade typescript-eslint ^4.28.1 → ^4.28.3 & eslint-plugin-compat ^3....
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • chore(deps-dev): bump eslint from 7.30.0 to 7.32.0

    chore(deps-dev): bump eslint from 7.30.0 to 7.32.0

    Bumps eslint from 7.30.0 to 7.32.0.

    Release notes

    Sourced from eslint's releases.

    v7.32.0

    • 3c78a7b Chore: Adopt eslint-plugin/prefer-message-ids rule internally (#14841) (Bryan Mishkin)
    • faecf56 Update: change reporting location for curly rule (refs #12334) (#14766) (Nitin Kumar)
    • d7dc07a Fix: ignore lines with empty elements (fixes #12756) (#14837) (Soufiane Boutahlil)
    • 1bfbefd New: Exit on fatal error (fixes #13711) (#14730) (Antonios Katopodis)
    • ed007c8 Chore: Simplify internal no-invalid-meta rule (#14842) (Bryan Mishkin)
    • d53d906 Docs: Prepare data for website to indicate rules with suggestions (#14830) (Bryan Mishkin)
    • d28f2ff Docs: Reference eslint-config-eslint to avoid potential for staleness (#14805) (Brett Zamir)
    • 8be8a36 Chore: Adopt eslint-plugin/require-meta-docs-url rule internally (#14823) (Bryan Mishkin)
    • f9c164f Docs: New syntax issue template (#14826) (Nicholas C. Zakas)
    • eba0c45 Chore: assertions on reporting loc in unicode-bom (refs #12334) (#14809) (Nitin Kumar)
    • ed945bd Docs: fix multiple broken links (#14833) (Sam Chen)
    • 60df44c Chore: use actions/[email protected] (#14816) (Nitin Kumar)
    • 6641d88 Docs: Update README team and sponsors (ESLint Jenkins)

    v7.31.0

    • efdbb12 Upgrade: @​eslint/eslintrc to v0.4.3 (#14808) (Brandon Mills)
    • a96b05f Update: add end location to report in consistent-return (refs #12334) (#14798) (Nitin Kumar)
    • e0e8e30 Docs: update BUG_REPORT template (#14787) (Nitin Kumar)
    • 39115c8 Docs: provide more context to no-eq-null (#14801) (gfyoung)
    • 9a3c73c Docs: fix a broken link (#14790) (Sam Chen)
    • ddffa8a Update: Indicating the operator in question (#14764) (Paul Smith)
    • bba714c Update: Clarifying what changes need to be made in no-mixed-operators (#14765) (Paul Smith)
    • b0d22e3 Docs: Mention benefit of providing meta.docs.url (#14774) (Bryan Mishkin)
    • 000cc79 Sponsors: Sync README with website (ESLint Jenkins)
    • a6a7438 Chore: pin [email protected] (#14771) (Milos Djermanovic)
    Changelog

    Sourced from eslint's changelog.

    v7.32.0 - July 30, 2021

    • 3c78a7b Chore: Adopt eslint-plugin/prefer-message-ids rule internally (#14841) (Bryan Mishkin)
    • faecf56 Update: change reporting location for curly rule (refs #12334) (#14766) (Nitin Kumar)
    • d7dc07a Fix: ignore lines with empty elements (fixes #12756) (#14837) (Soufiane Boutahlil)
    • 1bfbefd New: Exit on fatal error (fixes #13711) (#14730) (Antonios Katopodis)
    • ed007c8 Chore: Simplify internal no-invalid-meta rule (#14842) (Bryan Mishkin)
    • d53d906 Docs: Prepare data for website to indicate rules with suggestions (#14830) (Bryan Mishkin)
    • d28f2ff Docs: Reference eslint-config-eslint to avoid potential for staleness (#14805) (Brett Zamir)
    • 8be8a36 Chore: Adopt eslint-plugin/require-meta-docs-url rule internally (#14823) (Bryan Mishkin)
    • f9c164f Docs: New syntax issue template (#14826) (Nicholas C. Zakas)
    • eba0c45 Chore: assertions on reporting loc in unicode-bom (refs #12334) (#14809) (Nitin Kumar)
    • ed945bd Docs: fix multiple broken links (#14833) (Sam Chen)
    • 60df44c Chore: use actions/[email protected] (#14816) (Nitin Kumar)
    • 6641d88 Docs: Update README team and sponsors (ESLint Jenkins)

    v7.31.0 - July 17, 2021

    • efdbb12 Upgrade: @​eslint/eslintrc to v0.4.3 (#14808) (Brandon Mills)
    • a96b05f Update: add end location to report in consistent-return (refs #12334) (#14798) (Nitin Kumar)
    • e0e8e30 Docs: update BUG_REPORT template (#14787) (Nitin Kumar)
    • 39115c8 Docs: provide more context to no-eq-null (#14801) (gfyoung)
    • 9a3c73c Docs: fix a broken link (#14790) (Sam Chen)
    • ddffa8a Update: Indicating the operator in question (#14764) (Paul Smith)
    • bba714c Update: Clarifying what changes need to be made in no-mixed-operators (#14765) (Paul Smith)
    • b0d22e3 Docs: Mention benefit of providing meta.docs.url (#14774) (Bryan Mishkin)
    • 000cc79 Sponsors: Sync README with website (ESLint Jenkins)
    • a6a7438 Chore: pin [email protected] (#14771) (Milos Djermanovic)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 2
Releases(v0.9.1)
Owner
Welly
⚛️ React (Native) Developer | Product Designer
Welly
React Hook for accessing state and dispatch from a Redux store

redux-react-hook React hook for accessing mapped state and dispatch from a Redux store. Table of Contents Install Quick Start Usage StoreContext useMa

Facebook Incubator 2.2k Oct 4, 2021
Essential React custom hooks ⚓ to super charge your components!

Essential React custom hooks ⚓ to super charge your components!

Bhargav Ponnapalli 1.9k Oct 16, 2021
Custom React hooks for your project.

Captain hook Overview Here is a modest list of hooks that I use every day. I will add more in the next few days, keep watching. And if you have some g

Steven Persia 338 Sep 29, 2021
😎 ♻️ A tiny React hook for rendering large datasets like a breeze.

?? ♻️ A tiny React hook for rendering large datasets like a breeze.

Welly 829 Oct 8, 2021
😎 🖥️ React hook to monitor an element enters or leaves the viewport (or another element).

?? ??️ React hook to monitor an element enters or leaves the viewport (or another element).

Welly 1.1k Oct 10, 2021
Testing hooks with Jest

Jooks (Jest ❤ + Hooks ????) If you're going through hell testing React Hooks, keep going. (Churchill) What are Custom React Hooks React Hooks are a ne

Antoine Jaussoin 74 Oct 9, 2021
React hook library, ready to use, written in Typescript.

This is the repository for usehooks.ts, a Gatsby powered blog hosted with Github & netlify that publishes easy to understand React Hook code snippets.

Julien 550 Oct 13, 2021
A React.js global state manager with Hooks

A React.js global state manager with Hooks

Lorenzo Spinelli 60 Sep 13, 2021
React hooks for Material UI

React hooks for Material UI Install npm install use-mui or yarn add use-mui Supported components For each state, each hook accepts an optional default

Charles Stover 43 Oct 15, 2021
React hook for conveniently use Fetch API

react-fetch-hook React hook for conveniently use Fetch API. Tiny (556 B). Calculated by size-limit Both Flow and TypeScript types included import Reac

Ilya Lesik 303 Oct 3, 2021
🧘Managed, cancelable and safely typed requests.

Managed, cancelable and safely typed requests. Table of Contents Install Quick Start Usage useResource useRequest request() createRequestError() Type

Matheus Schettino 111 Aug 19, 2021
🐭 React hook that tracks mouse events on selected element - zero dependencies

React Mighty Mouse React hook that tracks mouse events on selected element. Demo Demos created with React DemoTab ?? Install npm install react-hook-mi

mkosir 85 Sep 6, 2021
😎 📏 React hook to measure an element's size and handle responsive components.

REACT COOL DIMENSIONS A React hook that measure an element's size and handle responsive components with highly-performant way, using ResizeObserver. T

Welly 638 Oct 5, 2021
use css in js with react hook.

style-hook easy to write dynamic css features use css in react hook easy to get started install use npm npm i -S style-hook or use yarn yarn add style

null 15 Sep 1, 2021
😎 📍 React hook for Google Maps Places Autocomplete.

USE-PLACES-AUTOCOMPLETE This is a React hook for Google Maps Places Autocomplete, which helps you build a UI component with the feature of place autoc

Welly 874 Oct 12, 2021
Easily manage the Google Tag Manager via Hook

React Google Tag Manager Hook Use easily the Google Tag Manager With this custom hook, you can easily use the Google Tag Manager with 0 config, you ju

Guido Porcaro 105 Oct 13, 2021
State usage tracking with Proxies. Optimize re-renders for useState/useReducer, React Redux, Zustand and others.

React Tracked State usage tracking with Proxies. Optimize re-renders for useState/useReducer, React Redux, Zustand and others. Documentation site: htt

Daishi Kato 1.5k Oct 13, 2021
React Redux binding with React Hooks and Proxy

There are several projects related to this repo. Here's the index of those. reactive-react-redux v5-alpha (this repo): This has an experimental react-

Daishi Kato 502 Oct 6, 2021