@folklore/hooks 0.0.18 → 0.0.19
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/dist/cjs.js +1 -1
- package/dist/es.js +1 -1
- package/package.json +2 -2
package/dist/cjs.js
CHANGED
|
@@ -935,7 +935,7 @@ function useYouTubePlayer(id) {
|
|
|
935
935
|
_ref$getVideoId = _ref.getVideoId,
|
|
936
936
|
getVideoId = _ref$getVideoId === void 0 ? function (url) {
|
|
937
937
|
if (url === null || url.match(/^https?:/) === null) {
|
|
938
|
-
return
|
|
938
|
+
return url;
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;
|
package/dist/es.js
CHANGED
|
@@ -923,7 +923,7 @@ function useYouTubePlayer(id) {
|
|
|
923
923
|
_ref$getVideoId = _ref.getVideoId,
|
|
924
924
|
getVideoId = _ref$getVideoId === void 0 ? function (url) {
|
|
925
925
|
if (url === null || url.match(/^https?:/) === null) {
|
|
926
|
-
return
|
|
926
|
+
return url;
|
|
927
927
|
}
|
|
928
928
|
|
|
929
929
|
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@folklore/hooks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "React hooks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "71f0712c94ed09c0e761dddb8e6fc677582c0ddf",
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@folklore/events": "^0.0.3",
|
|
54
54
|
"@folklore/services": "^0.1.36",
|