@folklore/hooks 0.0.45 → 0.0.46

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 CHANGED
@@ -144,7 +144,7 @@ function useDailymotionPlayer() {
144
144
  if (match !== null) {
145
145
  return match[1];
146
146
  }
147
- match = url.match(/\/video=([^/?&]+)/);
147
+ match = url.match(/video=([^/?&]+)/);
148
148
  if (match !== null) {
149
149
  return match[1];
150
150
  }
package/dist/es.js CHANGED
@@ -133,7 +133,7 @@ function useDailymotionPlayer() {
133
133
  if (match !== null) {
134
134
  return match[1];
135
135
  }
136
- match = url.match(/\/video=([^/?&]+)/);
136
+ match = url.match(/video=([^/?&]+)/);
137
137
  if (match !== null) {
138
138
  return match[1];
139
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/hooks",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "React hooks",
5
5
  "keywords": [
6
6
  "javascript",
@@ -49,7 +49,7 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "067a9d84a1800001fc44d945bc8858a8b0dd5f75",
52
+ "gitHead": "2cb2ae40aad19ca97c701d72c53e995c2f0870af",
53
53
  "dependencies": {
54
54
  "@folklore/events": "^0.0.5",
55
55
  "@folklore/services": "^0.1.38",