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 Compare versions

Comparing version 2.0.1 to 2.0.2-master.c97a22c

19

CHANGELOG.md

@@ -9,2 +9,21 @@ # Changelog

### Changed
- Added support of GitHub Codespaces, by [@compulim](https://github.com/compulim) in PR [#39](https://github.com/compulim/react-say/pull/39)
- Changed peer dependencies requirement to `react >= 16.8.6`, by [@compulim](https://github.com/compulim) in PR [#39](https://github.com/compulim/react-say/pull/39)
- Bumped dependencies, by [@compulim](https://github.com/compulim) in PR [#39](https://github.com/compulim/react-say/pull/39)
- Production dependencies
- [`classnames@2.3.1`](https://npmjs.com/package/classnames)
- [`event-as-promise@1.0.5`](https://npmjs.com/package/event-as-promise)
- [`memoize-one@5.2.1`](https://npmjs.com/package/memoize-one)
- Non-production dependencies- [`@babel/runtime@7.15.4`](https://npmjs.com/package/@babel/runtime)
- [`@babel/cli@7.15.7`](https://npmjs.com/package/@babel/cli)
- [`@babel/core@7.15.8`](https://npmjs.com/package/@babel/core)
- [`@babel/plugin-proposal-object-rest-spread@7.15.6`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread)
- [`@babel/plugin-transform-runtime@7.15.8`](https://npmjs.com/package/@babel/plugin-transform-runtime)
- [`@babel/preset-env@7.15.8`](https://npmjs.com/package/@babel/preset-env)
- [`@babel/preset-react@7.14.5`](https://npmjs.com/package/@babel/preset-react)
- [`jest@27.2.5`](https://npmjs.com/package/jest)
- [`lerna@4.0.0`](https://npmjs.com/package/lerna)
## [2.0.1] - 2020-08-06

@@ -11,0 +30,0 @@

14

lib/Composer.js
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {

@@ -26,2 +26,6 @@ value: true

function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var Composer = function Composer(props) {

@@ -63,5 +67,5 @@ var _migrateDeprecatedPro = (0, _migrateDeprecatedProps["default"])(props, Composer),

}, [ponyfill, synthesize, voices]);
return _react["default"].createElement(_Context["default"].Provider, {
return /*#__PURE__*/_react["default"].createElement(_Context["default"].Provider, {
value: context
}, typeof children === 'function' ? _react["default"].createElement(_Context["default"].Consumer, null, function (context) {
}, typeof children === 'function' ? /*#__PURE__*/_react["default"].createElement(_Context["default"].Consumer, null, function (context) {
return children(context);

@@ -84,2 +88,2 @@ }) : children);

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Db21wb3Nlci5qcyJdLCJuYW1lcyI6WyJDb21wb3NlciIsInByb3BzIiwiY2hpbGRyZW4iLCJwb255ZmlsbEZyb21Qcm9wcyIsInBvbnlmaWxsIiwiQ29udGV4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2V0Vm9pY2VzKCkpKTtcblxuICBjb25zdCBjb250ZXh0ID0gdXNlTWVtbygoKSA9PiAoe1xuICAgIHBvbnlmaWxsLFxuICAgIHN5bnRoZXNpemUsXG4gICAgdm9pY2VzXG4gIH0pLCBbcG9ueWZpbGwsIHN5bnRoZXNpemUsIHZvaWNlc10pO1xuXG4gIHJldHVybiAoXG4gICAgPENvbnRleHQuUHJvdmlkZXIgdmFsdWU9eyBjb250ZXh0IH0+XG4gICAgICB7XG4gICAgICAgIHR5cGVvZiBjaGlsZHJlbiA9PT0gJ2Z1bmN0aW9uJyA/XG4gICAgICAgICAgPENvbnRleHQuQ29uc3VtZXI+XG4gICAgICAgICAgICB7IGNvbnRleHQgPT4gY2hpbGRyZW4oY29udGV4dCkgfVxuICAgICAgICAgIDwvQ29udGV4dC5Db25zdW1lcj5cbiAgICAgICAgOlxuICAgICAgICAgIGNoaWxkcmVuXG4gICAgICB9XG4gICAgPC9Db250ZXh0LlByb3ZpZGVyPlxuICApO1xufTtcblxuQ29tcG9zZXIuZGVmYXVsdFByb3BzID0ge1xuICBjaGlsZHJlbjogdW5kZWZpbmVkLFxuICBwb255ZmlsbDogdW5kZWZpbmVkXG59O1xuXG5Db21wb3Nlci5wcm9wVHlwZXMgPSB7XG4gIGNoaWxkcmVuOiBQcm9wVHlwZXMuYW55LFxuICBwb255ZmlsbDogUHJvcFR5cGVzLnNoYXBlKHtcbiAgICBzcGVlY2hTeW50aGVzaXM6IFByb3BUeXBlcy5hbnksXG4gICAgU3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlOiBQcm9wVHlwZXMuYW55XG4gIH0pXG59O1xuXG5leHBvcnQgZGVmYXVsdCBDb21wb3NlcjtcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Db21wb3Nlci5qcyJdLCJuYW1lcyI6WyJDb21wb3NlciIsInByb3BzIiwiY2hpbGRyZW4iLC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NwZWVjaFN5bnRoZXNpcy5nZXRWb2ljZXMoKSkpO1xuXG4gIGNvbnN0IGNvbnRleHQgPSB1c2VNZW1vKCgpID0+ICh7XG4gICAgcG9ueWZpbGwsXG4gICAgc3ludGhlc2l6ZSxcbiAgICB2b2ljZXNcbiAgfSksIFtwb255ZmlsbCwgc3ludGhlc2l6ZSwgdm9pY2VzXSk7XG5cbiAgcmV0dXJuIChcbiAgICA8Q29udGV4dC5Qcm92aWRlciB2YWx1ZT17IGNvbnRleHQgfT5cbiAgICAgIHtcbiAgICAgICAgdHlwZW9mIGNoaWxkcmVuID09PSAnZnVuY3Rpb24nID9cbiAgICAgICAgICA8Q29udGV4dC5Db25zdW1lcj5cbiAgICAgICAgICAgIHsgY29udGV4dCA9PiBjaGlsZHJlbihjb250ZXh0KSB9XG4gICAgICAgICAgPC9Db250ZXh0LkNvbnN1bWVyPlxuICAgICAgICA6XG4gICAgICAgICAgY2hpbGRyZW5cbiAgICAgIH1cbiAgICA8L0NvbnRleHQuUHJvdmlkZXI+XG4gICk7XG59O1xuXG5Db21wb3Nlci5kZWZhdWx0UHJvcHMgPSB7XG4gIGNoaWxkcmVuOiB1bmRlZmluZWQsXG4gIHBvbnlmaWxsOiB1bmRlZmluZWRcbn07XG5cbkNvbXBvc2VyLnByb3BUeXBlcyA9IHtcbiAgY2hpbGRyZW46IFByb3BUeXBlcy5hbnksXG4gIHBvbnlmaWxsOiBQcm9wVHlwZXMuc2hhcGUoe1xuICAgIHNwZWVjaFN5bnRoZXNpczogUHJvcFR5cGVzLmFueSxcbiAgICBTcGVlY2hTeW50aGVzaXNVdHRlcmFuY2U6IFByb3BUeXBlcy5hbnlcbiAgfSlcbn07XG5cbmV4cG9ydCBkZWZhdWx0IENvbXBvc2VyO1xuIl19

@@ -12,6 +12,6 @@ "use strict";

var Context = _react["default"].createContext();
var Context = /*#__PURE__*/_react["default"].createContext();
var _default = Context;
exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Db250ZXh0LmpzIl0sIm5hbWVzIjpbIkNvbnRleHQiLCJSZWFjdCIsImNyZWF0ZUNvbnRleHQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUVBLElBQU1BLE9BQU8sR0FBR0Msa0JBQU1DLGFBQU4sRUFBaEI7O2VBRWVGLE8iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5jb25zdCBDb250ZXh0ID0gUmVhY3QuY3JlYXRlQ29udGV4dCgpO1xuXG5leHBvcnQgZGVmYXVsdCBDb250ZXh0XG4iXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Db250ZXh0LmpzIl0sIm5hbWVzIjpbIkNvbnRleHQiLCJSZWFjdCIsImNyZWF0ZUNvbnRleHQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUVBLElBQU1BLE9BQU8sZ0JBQUdDLGtCQUFNQyxhQUFOLEVBQWhCOztlQUVlRixPIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuY29uc3QgQ29udGV4dCA9IFJlYWN0LmNyZWF0ZUNvbnRleHQoKTtcblxuZXhwb3J0IGRlZmF1bHQgQ29udGV4dFxuIl19

@@ -8,4 +8,4 @@ "use strict";

});
exports["default"] = createMockSpeechSynthesisPonyfill;
exports.jestFnWithPromises = jestFnWithPromises;
exports["default"] = createMockSpeechSynthesisPonyfill;

@@ -43,5 +43,3 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

function createMockSpeechSynthesisPonyfill() {
var SpeechSynthesisUtterance =
/*#__PURE__*/
function () {
var SpeechSynthesisUtterance = /*#__PURE__*/function () {
function SpeechSynthesisUtterance(text) {

@@ -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QpO1xuICAvLyBvbkVycm9yICYmIHV0dGVyYW5jZS5hZGRFdmVudExpc3RlbmVyKCdlcnJvcicsIG9uRXJyb3IpO1xuICAvLyBvblN0YXJ0ICYmIHV0dGVyYW5jZS5hZGRFdmVudExpc3RlbmVyKCdzdGFydCcsIG9uU3RhcnQpO1xuXG4gIHJldHVybiB1dHRlcmFuY2U7XG59XG4iXX0=

@@ -10,5 +10,7 @@ "use strict";

var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));

@@ -21,77 +23,82 @@ var _QueuedUtterance = _interopRequireDefault(require("./QueuedUtterance"));

var run = function run() {
return _regenerator["default"].async(function run$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
if (!running) {
_context2.next = 2;
break;
}
var run = /*#__PURE__*/function () {
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
return _regenerator["default"].wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
if (!running) {
_context2.next = 2;
break;
}
return _context2.abrupt("return");
return _context2.abrupt("return");
case 2:
running = true;
_context2.prev = 3;
_context2.next = 6;
return _regenerator["default"].awrap(function _callee() {
var queuedUtterance;
return _regenerator["default"].async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
if (!(queuedUtterance = queueWithCurrent[0])) {
_context.next = 12;
break;
}
case 2:
running = true;
_context2.prev = 3;
return _context2.delegateYield( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
var queuedUtterance;
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
if (!(queuedUtterance = queueWithCurrent[0])) {
_context.next = 12;
break;
}
_context.prev = 1;
_context.next = 4;
return _regenerator["default"].awrap(queuedUtterance.speak());
_context.prev = 1;
_context.next = 4;
return queuedUtterance.speak();
case 4:
_context.next = 9;
break;
case 4:
_context.next = 9;
break;
case 6:
_context.prev = 6;
_context.t0 = _context["catch"](1);
// TODO: If the error is due to Safari restriction on user touch
// The next loop on the next audio will also fail because it was not queued with a user touch
_context.t0.message !== 'cancelled' && console.error(_context.t0);
case 6:
_context.prev = 6;
_context.t0 = _context["catch"](1);
// TODO: If the error is due to Safari restriction on user touch
// The next loop on the next audio will also fail because it was not queued with a user touch
_context.t0.message !== 'cancelled' && console.error(_context.t0);
case 9:
queueWithCurrent = queueWithCurrent.filter(function (target) {
return target !== queuedUtterance;
});
_context.next = 0;
break;
case 9:
queueWithCurrent = queueWithCurrent.filter(function (target) {
return target !== queuedUtterance;
});
_context.next = 0;
break;
case 12:
case "end":
return _context.stop();
case 12:
case "end":
return _context.stop();
}
}
}
}, null, null, [[1, 6]]);
}());
}, _callee, null, [[1, 6]]);
})(), "t0", 5);
case 6:
_context2.prev = 6;
running = false;
return _context2.finish(6);
case 5:
_context2.prev = 5;
running = false;
return _context2.finish(5);
case 9:
case "end":
return _context2.stop();
case 8:
case "end":
return _context2.stop();
}
}
}
}, null, null, [[3,, 6, 9]]);
};
}, _callee2, null, [[3,, 5, 8]]);
}));
return function run() {
return _ref.apply(this, arguments);
};
}();
return function (ponyfill, utterance) {
var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
onEnd = _ref.onEnd,
onError = _ref.onError,
onStart = _ref.onStart;
var _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
onEnd = _ref2.onEnd,
onError = _ref2.onError,
onStart = _ref2.onStart;

@@ -118,2 +125,2 @@ if (!(utterance instanceof ponyfill.SpeechSynthesisUtterance)) {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jcmVhdGVTeW50aGVzaXplLmpzIl0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luZyA9IGZhbHNlO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiAocG9ueWZpbGwsIHV0dGVyYW5jZSwgeyBvbkVuZCwgb25FcnJvciwgb25TdGFydCB9ID0ge30pID0+IHtcbiAgICBpZiAoISh1dHRlcmFuY2UgaW5zdGFuY2VvZiBwb255ZmlsbC5TcGVlY2hTeW50aGVzaXNVdHRlcmFuY2UpKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ3V0dGVyYW5jZSBtdXN0IGJlIGluc3RhbmNlIG9mIHRoZSBwb255ZmlsbCcpO1xuICAgIH1cblxuICAgIGNvbnN0IHF1ZXVlZFV0dGVyYW5jZSA9IG5ldyBRdWV1ZWRVdHRlcmFuY2UocG9ueWZpbGwsIHV0dGVyYW5jZSwgeyBvbkVuZCwgb25FcnJvciwgb25TdGFydCB9KTtcblxuICAgIHF1ZXVlV2l0aEN1cnJlbnQgPSBbLi4ucXVldWVXaXRoQ3VycmVudCwgcXVldWVkVXR0ZXJhbmNlXTtcbiAgICBydW4oKTtcblxuICAgIHJldHVybiB7XG4gICAgICAvLyBUaGUgY2FuY2VsKCkgZnVuY3Rpb24gcmV0dXJucyBhIFByb21pc2VcbiAgICAgIGNhbmNlbDogKCkgPT4gcXVldWVkVXR0ZXJhbmNlLmNhbmNlbCgpLFxuICAgICAgcHJvbWlzZTogcXVldWVkVXR0ZXJhbmNlLnByb21pc2VcbiAgICB9O1xuICB9O1xufVxuIl19

@@ -18,6 +18,8 @@ "use strict";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
var _excluded = ["ponyfill", "speak", "speechSynthesis", "speechSynthesisUtterance", "text"];
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var warnings = {

@@ -34,3 +36,3 @@ ponyfill: true,

text = _ref.text,
otherProps = (0, _objectWithoutProperties2["default"])(_ref, ["ponyfill", "speak", "speechSynthesis", "speechSynthesisUtterance", "text"]);
otherProps = (0, _objectWithoutProperties2["default"])(_ref, _excluded);

@@ -65,2 +67,2 @@ if (!ponyfill && (speechSynthesis || speechSynthesisUtterance)) {

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9taWdyYXRlRGVwcmVjYXRlZFByb3BzLmpzIl0sIm5hbWVzIjpbIndhcm5pbmdzIiwicG9ueWZpbGwiLCJzYXlTcGVhayIsIm1pZ3JhdGVEZXByZWNhdGVkUHJvcHMiLCJjb21wb25lbnRUeXBlIiwic3BlYWsiLCJzcGVlY2hTeW50aGVzaXMiLCJzcGVlY2hTeW50aGVzaXNVdHRlcmFuY2UiLCJ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zcGVlY2hTeW50aGVzaXNcIiBhbmQgXCJzcGVlY2hTeW50aGVzaXNVdHRlcmFuY2VcIiBwcm9wcyBoYXMgYmVlbiByZW5hbWVkIHRvIFwicG9ueWZpbGxcIi4gUGxlYXNlIHVwZGF0ZSB5b3VyIGNvZGUuIFRoZSBkZXByZWNhdGVkIHByb3BzIHdpbGwgYmUgcmVtb3ZlZCBpbiB2ZXJzaW9uID49IDMuMC4wLicpO1xuXG4gICAgICB3YXJuaW5ncy5wb255ZmlsbCA9IGZhbHNlO1xuICAgIH1cblxuICAgIHBvbnlmaWxsID0ge1xuICAgICAgc3BlZWNoU3ludGhlc2lzLFxuICAgICAgU3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlOiBzcGVlY2hTeW50aGVzaXNVdHRlcmFuY2VcbiAgICB9O1xuICB9XG5cbiAgaWYgKGNvbXBvbmVudFR5cGUgPT09IFNheSB8fCBjb21wb25lbnRUeXBlID09PSBTYXlCdXR0b24pIHtcbiAgICBpZiAoc3BlYWsgJiYgIXRleHQpIHtcbiAgICAgIGlmICh3YXJuaW5ncy5zYXlTcGVhaykge1xuICAgICAgICBjb25zb2xlLndhcm4oJ3JlYWN0LXNheTogXCJzcGVha1wiIHByb3AgaGFzIGJlZW4gcmVuYW1lZCB0byBcInRleHRcIi4gUGxlYXNlIHVwZGF0ZSB5b3VyIGNvZGUuIFRoZSBkZXByZWNhdGVkIHByb3BzIHdpbGwgYmUgcmVtb3ZlZCBpbiB2ZXJzaW9uID49IDMuMC4wLicpO1xuXG4gICAgICAgIHdhcm5pbmdzLnNheVNwZWFrID0gZmFsc2U7XG4gICAgICB9XG5cbiAgICAgIHRleHQgPSBzcGVhaztcbiAgICB9XG4gIH1cblxuICByZXR1cm4ge1xuICAgIHBvbnlmaWxsLFxuICAgIHRleHQsXG4gICAgLi4ub3RoZXJQcm9wc1xuICB9O1xufVxuIl19

@@ -10,2 +10,4 @@ "use strict";

var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

@@ -15,3 +17,3 @@

var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));

@@ -24,83 +26,88 @@ var _createCustomEvent = _interopRequireDefault(require("./createCustomEvent"));

function speakUtterance(ponyfill, utterance, startCallback) {
var speechSynthesis, startDeferred, errorDeferred, endDeferred, startEvent, finishedSpeaking, endPromise, endEvent;
return _regenerator["default"].async(function speakUtterance$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
speechSynthesis = ponyfill.speechSynthesis;
startDeferred = (0, _createDeferred["default"])();
errorDeferred = (0, _createDeferred["default"])();
endDeferred = (0, _createDeferred["default"])();
utterance.addEventListener('end', endDeferred.resolve);
utterance.addEventListener('error', errorDeferred.resolve);
utterance.addEventListener('start', startDeferred.resolve); // if (speechSynthesis.speaking) {
// console.warn(`ASSERTION: speechSynthesis.speaking should not be truthy before we call speak`);
// }
function speakUtterance(_x, _x2, _x3) {
return _speakUtterance.apply(this, arguments);
}
speechSynthesis.speak(utterance);
_context2.next = 10;
return _regenerator["default"].awrap(Promise.race([errorDeferred.promise, startDeferred.promise]));
function _speakUtterance() {
_speakUtterance = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(ponyfill, utterance, startCallback) {
var speechSynthesis, startDeferred, errorDeferred, endDeferred, startEvent, finishedSpeaking, endPromise, endEvent;
return _regenerator["default"].wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
speechSynthesis = ponyfill.speechSynthesis;
startDeferred = (0, _createDeferred["default"])();
errorDeferred = (0, _createDeferred["default"])();
endDeferred = (0, _createDeferred["default"])();
utterance.addEventListener('end', endDeferred.resolve);
utterance.addEventListener('error', errorDeferred.resolve);
utterance.addEventListener('start', startDeferred.resolve); // if (speechSynthesis.speaking) {
// console.warn(`ASSERTION: speechSynthesis.speaking should not be truthy before we call speak`);
// }
case 10:
startEvent = _context2.sent;
speechSynthesis.speak(utterance);
_context4.next = 10;
return Promise.race([errorDeferred.promise, startDeferred.promise]);
if (!(startEvent.type === 'error')) {
_context2.next = 13;
break;
}
case 10:
startEvent = _context4.sent;
throw startEvent.error;
if (!(startEvent.type === 'error')) {
_context4.next = 13;
break;
}
case 13:
endPromise = Promise.race([errorDeferred.promise, endDeferred.promise]);
startCallback && startCallback(function _callee() {
return _regenerator["default"].async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
if (finishedSpeaking) {
_context.next = 4;
break;
}
throw startEvent.error;
speechSynthesis.cancel();
_context.next = 4;
return _regenerator["default"].awrap(endPromise);
case 13:
endPromise = Promise.race([errorDeferred.promise, endDeferred.promise]);
startCallback && startCallback( /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
return _regenerator["default"].wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
if (finishedSpeaking) {
_context3.next = 4;
break;
}
case 4:
case "end":
return _context.stop();
speechSynthesis.cancel();
_context3.next = 4;
return endPromise;
case 4:
case "end":
return _context3.stop();
}
}
}
});
});
_context2.next = 17;
return _regenerator["default"].awrap(endPromise);
}, _callee3);
})));
_context4.next = 17;
return endPromise;
case 17:
endEvent = _context2.sent;
finishedSpeaking = true; // if (speechSynthesis.speaking) {
// console.warn(`ASSERTION: speechSynthesis.speaking should not be truthy after speak is stopped`);
// }
// console.debug(`ENDED: ${ utterance.text }`);
case 17:
endEvent = _context4.sent;
finishedSpeaking = true; // if (speechSynthesis.speaking) {
// console.warn(`ASSERTION: speechSynthesis.speaking should not be truthy after speak is stopped`);
// }
// console.debug(`ENDED: ${ utterance.text }`);
if (!(endEvent.type === 'error')) {
_context2.next = 21;
break;
}
if (!(endEvent.type === 'error')) {
_context4.next = 21;
break;
}
throw endEvent.error;
throw endEvent.error;
case 21:
case "end":
return _context2.stop();
case 21:
case "end":
return _context4.stop();
}
}
}
});
}, _callee4);
}));
return _speakUtterance.apply(this, arguments);
}
var QueuedUtterance =
/*#__PURE__*/
function () {
var QueuedUtterance = /*#__PURE__*/function () {
function QueuedUtterance(ponyfill, utterance, _ref) {

@@ -124,25 +131,33 @@ var onEnd = _ref.onEnd,

key: "cancel",
value: function cancel() {
return _regenerator["default"].async(function cancel$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
this._cancelled = true;
_context3.t0 = this._cancel;
value: function () {
var _cancel = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
this._cancelled = true;
_context.t0 = this._cancel;
if (!_context3.t0) {
_context3.next = 5;
break;
}
if (!_context.t0) {
_context.next = 5;
break;
}
_context3.next = 5;
return _regenerator["default"].awrap(this._cancel());
_context.next = 5;
return this._cancel();
case 5:
case "end":
return _context3.stop();
case 5:
case "end":
return _context.stop();
}
}
}
}, null, this);
}
}, _callee, this);
}));
function cancel() {
return _cancel.apply(this, arguments);
}
return cancel;
}()
}, {

@@ -158,9 +173,9 @@ key: "speak",

this._speaking = true;
(function _callee2() {
return _regenerator["default"].async(function _callee2$(_context4) {
(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
return _regenerator["default"].wrap(function _callee2$(_context2) {
while (1) {
switch (_context4.prev = _context4.next) {
switch (_context2.prev = _context2.next) {
case 0:
if (!_this._cancelled) {
_context4.next = 2;
_context2.next = 2;
break;

@@ -172,4 +187,4 @@ }

case 2:
_context4.next = 4;
return _regenerator["default"].awrap(speakUtterance(_this._ponyfill, _this._utterance, function (cancel) {
_context2.next = 4;
return speakUtterance(_this._ponyfill, _this._utterance, function (cancel) {
if (_this._cancelled) {

@@ -182,7 +197,7 @@ cancel();

}
}));
});
case 4:
if (!_this._cancelled) {
_context4.next = 6;
_context2.next = 6;
break;

@@ -195,7 +210,7 @@ }

case "end":
return _context4.stop();
return _context2.stop();
}
}
});
})().then(function () {
}, _callee2);
}))().then(function () {
_this._onEnd && _this._onEnd((0, _createCustomEvent["default"])('end'));

@@ -216,2 +231,2 @@

exports["default"] = QueuedUtterance;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9RdWV1ZWRVdHRlcmFuY2UuanMiXSwibmFtZXMiOlsic3BlYWtVdHRlcmFuY2UiLCJwb255ZmlsbCIsInV0dGVyYW5jZSIsInN0YXJ0Q2FsbGJhY2siLCJzcGVlY2hTeW50aGVzaXMiLCJzdGFydERlZmVycmVkIiwiZXJyb3JEZWZlcnJlZCIsImVuZERlZmVycmVkIiwiYWRkRXZlbnRMaXN0ZW5lciIsInJlc29sdmUiLCJzcGVhayIsIlByb21pc2UiLCJyYWNlIiwicHJvbWlzZSIsInN0YXJ0RXZlbnQiLCJ0eXBlIiwiZXJyb3IiLCJlbmRQcm9taXNlIiwiZmluaXNoZWRTcGVha2luZyIsImNhbmNlbCIsImVuZEV2ZW50IiwiUXVldWVkVXR0ZXJhbmNlIiwib25FbmQiLCJvbkVycm9yIiwib25TdGFydCIsIl9jYW5jZWxsZWQiLCJfZGVmZXJyZWQiLCJfb25FbmQiLCJfb25FcnJvciIsIl9vblN0YXJ0IiwiX3BvbnlmaWxsIiwiX3NwZWFraW5nIiwiX3V0dGVyYW5jZSIsIl9jYW5jZWwiLCJjb25zb2xlIiwid2FybiIsIkVycm9yIiwidGhlbiIsInJlamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7O0FBRUEsU0FBZUEsY0FBZixDQUE4QkMsUUFBOUIsRUFBd0NDLFNBQXhDLEVBQW1EQyxhQUFuRDtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDVUMsVUFBQUEsZ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iAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdjYW5jZWxsZWQnKTtcbiAgICAgIH1cbiAgICB9KSgpLnRoZW4oKCkgPT4ge1xuICAgICAgdGhpcy5fb25FbmQgJiYgdGhpcy5fb25FbmQoY3JlYXRlQ3VzdG9tRXZlbnQoJ2VuZCcpKTtcbiAgICAgIHRoaXMuX2RlZmVycmVkLnJlc29sdmUoKTtcbiAgICB9LCBlcnJvciA9PiB7XG4gICAgICB0aGlzLl9vbkVycm9yICYmIHRoaXMuX29uRXJyb3IoY3JlYXRlRXJyb3JFdmVudChlcnJvcikpO1xuICAgICAgdGhpcy5fZGVmZXJyZWQucmVqZWN0KGVycm9yKTtcbiAgICB9KTtcblxuICAgIHJldHVybiB0aGlzLnByb21pc2U7XG4gIH1cbn1cbiJdfQ==

@@ -8,58 +8,67 @@ "use strict";

});
exports["default"] = _callee;
exports["default"] = _default;
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
var _sleep = _interopRequireDefault(require("./sleep"));
function _callee(fn, numRetries, interval) {
var lastError, times;
return _regenerator["default"].async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
times = 0;
function _default(_x, _x2, _x3) {
return _ref.apply(this, arguments);
}
case 1:
if (!(times < numRetries)) {
_context.next = 17;
break;
}
function _ref() {
_ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(fn, numRetries, interval) {
var lastError, times;
return _regenerator["default"].wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
times = 0;
if (!times) {
case 1:
if (!(times < numRetries)) {
_context.next = 17;
break;
}
if (!times) {
_context.next = 5;
break;
}
_context.next = 5;
break;
}
return (0, _sleep["default"])(interval);
_context.next = 5;
return _regenerator["default"].awrap((0, _sleep["default"])(interval));
case 5:
_context.prev = 5;
_context.next = 8;
return fn();
case 5:
_context.prev = 5;
_context.next = 8;
return _regenerator["default"].awrap(fn());
case 8:
return _context.abrupt("return", _context.sent);
case 8:
return _context.abrupt("return", _context.sent);
case 11:
_context.prev = 11;
_context.t0 = _context["catch"](5);
lastError = _context.t0;
case 11:
_context.prev = 11;
_context.t0 = _context["catch"](5);
lastError = _context.t0;
case 14:
times++;
_context.next = 1;
break;
case 14:
times++;
_context.next = 1;
break;
case 17:
throw lastError;
case 17:
throw lastError;
case 18:
case "end":
return _context.stop();
case 18:
case "end":
return _context.stop();
}
}
}
}, null, null, [[5, 11]]);
}, _callee, null, [[5, 11]]);
}));
return _ref.apply(this, arguments);
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXRyeS5qcyJdLCJuYW1lcyI6WyJmbiIsIm51bVJldHJpZXMiLCJpbnRlcnZhbCIsInRpbWVzIiwibGFzdEVycm9yIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFBOztBQUVlLGlCQUFnQkEsRUFBaEIsRUFBb0JDLFVBQXBCLEVBQWdDQyxRQUFoQztBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFHSkMsVUFBQUEsS0FISSxHQUdJLENBSEo7O0FBQUE7QUFBQSxnQkFHT0EsS0FBSyxHQUFHRixVQUhmO0FBQUE7QUFBQTtBQUFBOztBQUFBLGVBSVBFLEtBSk87QUFBQTtBQUFBO0FBQUE7O0FBQUE7QUFBQSwrQ0FLSCx1QkFBTUQsUUFBTixDQUxHOztBQUFBO0FBQUE7QUFBQTtBQUFBLCtDQVNJRixFQUFFLEVBVE47O0FBQUE7QUFBQTs7QUFBQTtBQUFBO0FBQUE7QUFXVEksVUFBQUEsU0FBUyxjQUFUOztBQVhTO0FBRzJCRCxVQUFBQSxLQUFLLEVBSGhDO0FBQUE7QUFBQTs7QUFBQTtBQUFBLGdCQWVQQyxTQWZPOztBQUFBO0FBQUE7QUFBQTtBQUFBO0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0FBQUE7QUFBQTs7QUFBQTtBQUFBO0FBQUE7QUFXVEksWUFBQUEsU0FBUyxjQUFUOztBQVhTO0FBRzJCRCxZQUFBQSxLQUFLLEVBSGhDO0FBQUE7QUFBQTs7QUFBQTtBQUFBLGtCQWVQQyxTQWZPOztBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBLEciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc2xlZXAgZnJvbSAnLi9zbGVlcCc7XG5cbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uIChmbiwgbnVtUmV0cmllcywgaW50ZXJ2YWwpIHtcbiAgbGV0IGxhc3RFcnJvcjtcblxuICBmb3IgKGxldCB0aW1lcyA9IDA7IHRpbWVzIDwgbnVtUmV0cmllczsgdGltZXMrKykge1xuICAgIGlmICh0aW1lcykge1xuICAgICAgYXdhaXQgc2xlZXAoaW50ZXJ2YWwpO1xuICAgIH1cblxuICAgIHRyeSB7XG4gICAgICByZXR1cm4gYXdhaXQgZm4oKTtcbiAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgbGFzdEVycm9yID0gZXJyb3I7XG4gICAgfVxuICB9XG5cbiAgdGhyb3cgbGFzdEVycm9yO1xufVxuIl19
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {

@@ -32,6 +32,12 @@ value: true

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
var _excluded = ["ponyfill"];
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var Say = function Say(props) {

@@ -56,3 +62,3 @@ var _migrateDeprecatedPro = (0, _migrateDeprecatedProps["default"])(props, Say),

console.warn('react-say: "speak" prop is being deprecated and renamed to "text".');
text = ((0, _readOnlyError2["default"])("text"), speak);
speak, (0, _readOnlyError2["default"])("text");
}

@@ -71,3 +77,3 @@

}, [lang, onBoundary, pitch, ponyfill, rate, text, voice, volume]);
return _react["default"].createElement(_SayUtterance["default"], {
return /*#__PURE__*/_react["default"].createElement(_SayUtterance["default"], {
onEnd: onEnd,

@@ -111,12 +117,12 @@ onError: onError,

var ponyfill = _ref.ponyfill,
props = (0, _objectWithoutProperties2["default"])(_ref, ["ponyfill"]);
return _react["default"].createElement(_Composer["default"], {
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
return /*#__PURE__*/_react["default"].createElement(_Composer["default"], {
ponyfill: ponyfill
}, _react["default"].createElement(Say, props));
}, /*#__PURE__*/_react["default"].createElement(Say, props));
};
SayWithContext.defaultProps = _objectSpread({}, _SayUtterance["default"].defaultProps, {
SayWithContext.defaultProps = _objectSpread(_objectSpread({}, _SayUtterance["default"].defaultProps), {}, {
ponyfill: undefined
});
SayWithContext.propTypes = _objectSpread({}, _SayUtterance["default"].propTypes, {
SayWithContext.propTypes = _objectSpread(_objectSpread({}, _SayUtterance["default"].propTypes), {}, {
ponyfill: _propTypes["default"].shape({

@@ -129,2 +135,2 @@ speechSynthesis: _propTypes["default"].any.isRequired,

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TYXkuanMiXSwibmFtZXMiOlsiU2F5IiwicHJvcHMiLCJsYW5nIiwib25Cb3VuZGFyeSIsIm9uRW5kIiwib25FcnJvciIsIm9uU3RhcnQiLCJwaXRjaCIsInJhdGUiLCJzcGVhayIsInRleHQiLCJ2b2ljZSIsInZvbHVtZSIsIkNvbnR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GwgfT5cbiAgICA8U2F5IHsuLi5wcm9wc30gLz5cbiAgPC9Db21wb3Nlcj5cbik7XG5cblNheVdpdGhDb250ZXh0LmRlZmF1bHRQcm9wcyA9IHtcbiAgLi4uU2F5VXR0ZXJhbmNlLmRlZmF1bHRQcm9wcyxcbiAgcG9ueWZpbGw6IHVuZGVmaW5lZFxufTtcblxuU2F5V2l0aENvbnRleHQucHJvcFR5cGVzID0ge1xuICAuLi5TYXlVdHRlcmFuY2UucHJvcFR5cGVzLFxuICBwb255ZmlsbDogUHJvcFR5cGVzLnNoYXBlKHtcbiAgICBzcGVlY2hTeW50aGVzaXM6IFByb3BUeXBlcy5hbnkuaXNSZXF1aXJlZCxcbiAgICBTcGVlY2hTeW50aGVzaXNVdHRlcmFuY2U6IFByb3BUeXBlcy5hbnkuaXNSZXF1aXJlZFxuICB9KVxufTtcblxuZXhwb3J0IGRlZmF1bHQgU2F5V2l0aENvbnRleHRcbiJdfQ==
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {

@@ -22,2 +22,6 @@ value: true

function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var SayButton = function SayButton(props) {

@@ -63,6 +67,6 @@ var _migrateDeprecatedPro = (0, _migrateDeprecatedProps["default"])(props, SayButton),

};
return _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement("button", {
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("button", {
disabled: typeof disabled === 'boolean' ? disabled : busy,
onClick: handleClick
}, children), busy && _react["default"].createElement(_Say["default"], sayProps));
}, children), busy && /*#__PURE__*/_react["default"].createElement(_Say["default"], sayProps));
};

@@ -105,2 +109,2 @@

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TYXlCdXR0b24uanMiXSwibmFtZXMiOlsiU2F5QnV0dG9uIiwicHJvcHMiLCJjaGlsZHJlbiIsImRpc2FibGVkIiwibGFuZyIsIm9uQm91bmRhcnkiLCJvbkVuZCIsIm9uRXJyb3IiLCJvblN0YXJ0IiwicGl0Y2giLCJwb255ZmlsbCIsInJhdGUiLCJ0ZXh0Iiwidm9pY2UiLCJ2b2x1bWUiLCJidXN5Iiwic2V0QnVzeSIsImhhbmRsZUNsaWNrIiwic2F5UHJvcHMiLCJldmVudCIsImRlZmF1bHRQcm9wcyIsInVuZGVmaW5lZCIsInByb3BUeXBlcyIsIlByb3BUeXBlcyIsImFueSIsImJvb2wiLCJzdHJpbmciLCJmdW5jIiwibnVtYmVyIiwic2hhcGUiLCJzcGVlY2hTeW50aGVzaXMiLCJpc1JlcXVpcmVkIiwiU3BlZWNoU3ludGhlc2lzVXR0ZXJhbmNlIiwib25lT2ZUeXBlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs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ucHJvcFR5cGVzID0ge1xuICBjaGlsZHJlbjogUHJvcFR5cGVzLmFueSxcbiAgZGlzYWJsZWQ6IFByb3BUeXBlcy5ib29sLFxuICBsYW5nOiBQcm9wVHlwZXMuc3RyaW5nLFxuICBvbkJvdW5kYXJ5OiBQcm9wVHlwZXMuZnVuYyxcbiAgb25FbmQ6IFByb3BUeXBlcy5mdW5jLFxuICBvbkVycm9yOiBQcm9wVHlwZXMuZnVuYyxcbiAgb25TdGFydDogUHJvcFR5cGVzLmZ1bmMsXG4gIHBpdGNoOiBQcm9wVHlwZXMubnVtYmVyLFxuICBwb255ZmlsbDogUHJvcFR5cGVzLnNoYXBlKHtcbiAgICBzcGVlY2hTeW50aGVzaXM6IFByb3BUeXBlcy5hbnkuaXNSZXF1aXJlZCxcbiAgICBTcGVlY2hTeW50aGVzaXNVdHRlcmFuY2U6IFByb3BUeXBlcy5hbnkuaXNSZXF1aXJlZFxuICB9KSxcbiAgcmF0ZTogUHJvcFR5cGVzLm51bWJlcixcbiAgdGV4dDogUHJvcFR5cGVzLnN0cmluZyxcbiAgdm9pY2U6IFByb3BUeXBlcy5vbmVPZlR5cGUoW1Byb3BUeXBlcy5hbnksIFByb3BUeXBlcy5mdW5jXSksXG4gIHZvbHVtZTogUHJvcFR5cGVzLm51bWJlclxufTtcblxuZXhwb3J0IGRlZmF1bHQgU2F5QnV0dG9uXG4iXX0=
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {

@@ -30,6 +30,12 @@ value: true

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
var _excluded = ["ponyfill"];
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var SayUtterance = function SayUtterance(props) {

@@ -89,12 +95,12 @@ var _migrateDeprecatedPro = (0, _migrateDeprecatedProps["default"])(props),

var ponyfill = _ref.ponyfill,
props = (0, _objectWithoutProperties2["default"])(_ref, ["ponyfill"]);
return _react["default"].createElement(_Composer["default"], {
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
return /*#__PURE__*/_react["default"].createElement(_Composer["default"], {
ponyfill: ponyfill
}, _react["default"].createElement(SayUtterance, props));
}, /*#__PURE__*/_react["default"].createElement(SayUtterance, props));
};
SayUtteranceWithContext.defaultProps = _objectSpread({}, SayUtterance.defaultProps, {
SayUtteranceWithContext.defaultProps = _objectSpread(_objectSpread({}, SayUtterance.defaultProps), {}, {
ponyfill: undefined
});
SayUtteranceWithContext.propTypes = _objectSpread({}, SayUtterance.propTypes, {
SayUtteranceWithContext.propTypes = _objectSpread(_objectSpread({}, SayUtterance.propTypes), {}, {
ponyfill: _propTypes["default"].shape({

@@ -107,2 +113,2 @@ speechSynthesis: _propTypes["default"].any.isRequired,

exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9TYXlVdHRlcmFuY2UuanMiXSwibmFtZXMiOlsiU2F5VXR0ZXJhbmNlIiwicHJvcHMiLCJvbkVuZCIsIm9uRXJyb3IiLCJvblN0YXJ0IiwidXR0ZXJhbmNlIiwic3RhcnRlZCIsInN5bnRoZXNpemUiLCJjdXJyZW50IiwiY29uc29sZSIsIndhcm4iLCJjYW5jZWxsZWQiLCJjYW5jZWwiLCJwcm9taXNlIiwidGhlbiIsImVycm9yIiwiZGVmYXVsdFByb3BzIiwidW5kZWZpbmVkIiwicHJvcFR5cGVzIiwiUHJvcFR5cGVzIiwiZnVuYy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QUVELFdBQU8sWUFBTTtBQUNYTyxNQUFBQSxPQUFPLENBQUNELFdBQVIsSUFBdUJDLE9BQU8sQ0FBQ0QsV0FBUixFQUF2QjtBQUNBQyxNQUFBQSxPQUFPLENBQUNELFdBQVIsR0FBc0IsSUFBdEI7QUFDRCxLQUhEO0FBSUQsR0FiRCxFQWFHUixJQWJIO0FBY0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VFZmZlY3QsIHVzZVJlZiB9IGZyb20gJ3JlYWN0JztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdXNlSW1tZWRpYXRlRWZmZWN0KGZuLCBkZXBzKSB7XG4gIGNvbnN0IHVuc3Vic2NyaWJlUmVmID0gdXNlUmVmKHtcbiAgICBmaXJzdDogdHJ1ZSxcbiAgICBpZDogTWF0aC5yYW5kb20oKS50b1N0cmluZygzNikuc3Vic3RyKDIsIDUpLFxuICAgIHVuc3Vic2NyaWJlOiBmbigpXG4gIH0pO1xuXG4gIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgY29uc3QgeyBjdXJyZW50IH0gPSB1bnN1YnNjcmliZVJlZjtcblxuICAgIGlmICghY3VycmVudC5maXJzdCkge1xuICAgICAgY3VycmVudC51bnN1YnNjcmliZSA9IGZuKCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIGN1cnJlbnQuZmlyc3QgPSBmYWxzZTtcbiAgICB9XG5cbiAgICByZXR1cm4gKCkgPT4ge1xuICAgICAgY3VycmVudC51bnN1YnNjcmliZSAmJiBjdXJyZW50LnVuc3Vic2NyaWJlKCk7XG4gICAgICBjdXJyZW50LnVuc3Vic2NyaWJlID0gbnVsbDtcbiAgICB9O1xuICB9LCBkZXBzKTtcbn1cbiJdfQ==

@@ -35,2 +35,2 @@ "use strict";

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91c2VTeW50aGVzaXplLmpzIl0s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[

"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-transform-runtime": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"has-resolved": "^1.1.0",
"jest": "^24.9.0"
"jest": "^27.2.5"
},
"dependencies": {
"@babel/runtime": "^7.7.2",
"classnames": "^2.2.6",
"event-as-promise": "^1.0.5",
"memoize-one": "^5.1.1"
"@babel/runtime": "7.15.4",
"classnames": "2.3.1",
"event-as-promise": "1.0.5",
"memoize-one": "5.2.1"
},
"peerDependencies": {
"react": "^16.8.6"
"react": ">= 16.8.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