@micromag/element-closed-captions 0.3.478 → 0.3.482
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 +2 -2
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import fetch from 'node-fetch';
|
|
|
5
5
|
import parseSRT from 'parse-srt';
|
|
6
6
|
import PropTypes$1 from 'prop-types';
|
|
7
7
|
import React, { useState, useEffect, useCallback } from 'react';
|
|
8
|
-
import 'whatwg-fetch';
|
|
9
8
|
import { PropTypes } from '@micromag/core';
|
|
10
9
|
import { getSecondsFromTime } from '@micromag/core/utils';
|
|
11
10
|
|
|
@@ -86,5 +85,6 @@ var ClosedCaptions = function ClosedCaptions(_ref) {
|
|
|
86
85
|
};
|
|
87
86
|
ClosedCaptions.propTypes = propTypes;
|
|
88
87
|
ClosedCaptions.defaultProps = defaultProps;
|
|
88
|
+
var ClosedCaptions$1 = ClosedCaptions;
|
|
89
89
|
|
|
90
|
-
export { ClosedCaptions as default };
|
|
90
|
+
export { ClosedCaptions$1 as default };
|
package/lib/index.js
CHANGED
|
@@ -7,7 +7,6 @@ var fetch = require('node-fetch');
|
|
|
7
7
|
var parseSRT = require('parse-srt');
|
|
8
8
|
var PropTypes = require('prop-types');
|
|
9
9
|
var React = require('react');
|
|
10
|
-
require('whatwg-fetch');
|
|
11
10
|
var core = require('@micromag/core');
|
|
12
11
|
var utils = require('@micromag/core/utils');
|
|
13
12
|
|
|
@@ -88,5 +87,6 @@ var ClosedCaptions = function ClosedCaptions(_ref) {
|
|
|
88
87
|
};
|
|
89
88
|
ClosedCaptions.propTypes = propTypes;
|
|
90
89
|
ClosedCaptions.defaultProps = defaultProps;
|
|
90
|
+
var ClosedCaptions$1 = ClosedCaptions;
|
|
91
91
|
|
|
92
|
-
module.exports = ClosedCaptions;
|
|
92
|
+
module.exports = ClosedCaptions$1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-closed-captions",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.482",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"assets"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
+
"clean": "rm -rf es && rm -rf lib && rm -rf assets",
|
|
49
50
|
"prepare": "../../scripts/prepare-package.sh"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
@@ -58,18 +59,17 @@
|
|
|
58
59
|
},
|
|
59
60
|
"dependencies": {
|
|
60
61
|
"@babel/runtime": "^7.13.10",
|
|
61
|
-
"@micromag/core": "^0.3.
|
|
62
|
+
"@micromag/core": "^0.3.482",
|
|
62
63
|
"classnames": "^2.2.6",
|
|
63
64
|
"node-fetch": "^2.6.1",
|
|
64
65
|
"parse-srt": "^1.0.0-alpha",
|
|
65
66
|
"prop-types": "^15.7.2",
|
|
66
67
|
"react-intl": "^6.6.2",
|
|
67
|
-
"uuid": "^9.0.0"
|
|
68
|
-
"whatwg-fetch": "^3.6.1"
|
|
68
|
+
"uuid": "^9.0.0"
|
|
69
69
|
},
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public",
|
|
72
72
|
"registry": "https://registry.npmjs.org/"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "931f86bb7dd77a05d196cadda88c8a170e665c3d"
|
|
75
75
|
}
|