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

react-say

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-say - npm Package Versions

23
6

2.1.1-master.22688e3

Diff

compulim
published 2.1.0 •

Changelog

Source

[2.1.0] - 2021-10-14

Changed

  • Added support of GitHub Codespaces, by @compulim in PR #39
  • Changed peer dependencies requirement to react >= 16.8.6, by @compulim in PR #39
  • Bumped dependencies, by @compulim in PR #39
compulim
published 2.0.2-master.c97a22c •

compulim
published 2.0.2-master.ee7cd76 •

compulim
published 2.0.1 •

Changelog

Source

[2.0.1] - 2020-08-06

Fixed

  • Use new CustomEvent() and fallback to document.createElement for custom events, by @compulim, in PR #22, #23, and #24
compulim
published 2.0.1-master.1d54bb0 •

compulim
published 2.0.1-master.c5d6304 •

compulim
published 2.0.1-master.434c71b •

compulim
published 2.0.1-master.d7da52f •

compulim
published 2.0.0 •

Changelog

Source

[2.0.0] - 2019-11-19

Breaking changes

  • Now requires React 16.8.6 or up
  • Updates to <Say> component
    • Renamed prop speak to text
    • Will no longer renders its children
  • Updates to <SayButton> component
    • Renamed prop speak to text
  • Composer signature is being updated
    • New synthesize function to replace speak and cancel
      • When called, it will return { cancel: Function, promise: Promise }
      • cancel, when called, will cancel the utterance. If the utterance is being synthesized, it will be stopped abruptly
      • promise will be resolved when the utterance is synthesized or errored
    • cancel and speak is removed because the newer synthesize function offer same functionality with simplified interface
  • All React components now accepts ponyfill instead of speechSynthesis and speechSynthesisUtterance
    • Using browser speech would become as simple as <Say ponyfill={ window }>

Changed

  • Update build scripts to publish /packages/component/package.json, by @compulim in PR #17
  • Rework of all components, by @compulim in PR #17
    • Support nested <Context> and <Composer>
      • Nested context will share the same queue, with different ponyfills
      • If not ponyfill is specified, it will inherit from its parent, or default to browser-based speech
      • Upgraded <Composer> component from class component to functional component
    • Added new useSynthesize() hook, which returns a function to queue an utterance
      • synthesize(utteranceOrText: (SpeechSynthesisUtterance | string), progressFn: () => void) => void
    • New <SayUtterance> component to synthesis SpeechSynthesisUtterance instead of text
      • <Say> is being refactored to use <SayUtterance> to simplify the codebase
      • <SayButton> is being refactored to use <Say> to simplify the codebase
    • 🔥 Updates to <Say> component
      • Renamed prop speak to text
      • Will no longer renders its children
    • 🔥 Updates to <SayButton> component
      • Renamed prop speak to text
    • 🔥 Composer signature is being updated
      • New synthesize function to replace speak and cancel
        • When called, it will return { cancel: Function, promise: Promise }
        • cancel, when called, will cancel the utterance. If the utterance is being synthesized, it will be stopped abruptly
        • promise will be resolved when the utterance is synthesized or errored
      • cancel and speak is removed because the newer synthesize function offer same functionality with simplified interface
    • 🔥 All React components now accepts ponyfill instead of speechSynthesis and speechSynthesisUtterance
      • Using browser speech would become as simple as <Say ponyfill={ window }>
  • Bumped dependencies in PR #18
23
6
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc