@micromag/element-closed-captions 0.3.107 → 0.3.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
- import 'whatwg-fetch';
4
- import React, { useState, useEffect, useCallback } from 'react';
5
- import PropTypes$1 from 'prop-types';
6
3
  import classNames from 'classnames';
7
- import parseSRT from 'parse-srt';
8
4
  import fetch from 'node-fetch';
5
+ import parseSRT from 'parse-srt';
6
+ import PropTypes$1 from 'prop-types';
7
+ import React, { useState, useEffect, useCallback } from 'react';
8
+ import 'whatwg-fetch';
9
9
  import { PropTypes } from '@micromag/core';
10
10
  import { getSecondsFromTime } from '@micromag/core/utils';
11
11
 
package/lib/index.js CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
4
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
5
- require('whatwg-fetch');
6
- var React = require('react');
7
- var PropTypes = require('prop-types');
8
5
  var classNames = require('classnames');
9
- var parseSRT = require('parse-srt');
10
6
  var fetch = require('node-fetch');
7
+ var parseSRT = require('parse-srt');
8
+ var PropTypes = require('prop-types');
9
+ var React = require('react');
10
+ require('whatwg-fetch');
11
11
  var core = require('@micromag/core');
12
12
  var utils = require('@micromag/core/utils');
13
13
 
@@ -15,11 +15,11 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
15
15
 
16
16
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
17
17
  var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
18
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
19
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
20
18
  var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
21
- var parseSRT__default = /*#__PURE__*/_interopDefaultLegacy(parseSRT);
22
19
  var fetch__default = /*#__PURE__*/_interopDefaultLegacy(fetch);
20
+ var parseSRT__default = /*#__PURE__*/_interopDefaultLegacy(parseSRT);
21
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
22
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
23
 
24
24
  var styles = {"container":"micromag-element-closed-captions-container","captions":"micromag-element-closed-captions-captions"};
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-closed-captions",
3
- "version": "0.3.107",
3
+ "version": "0.3.110",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.107",
52
+ "@micromag/core": "^0.3.110",
53
53
  "classnames": "^2.2.6",
54
54
  "node-fetch": "^2.6.1",
55
55
  "parse-srt": "^1.0.0-alpha",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "952ef450fe62328a0ae3ab6dbb3c3079bb66d17a"
64
+ "gitHead": "a4a09bb4e14c7ee52330258a2e9a02b3cc8809a7"
65
65
  }