Skip to content

Commit 21c02eb

Browse files
author
farhadyasir
committed
Merge branch 'master' of github.com:nutboltu/react-search-field
2 parents be0b70a + 4c655ec commit 21c02eb

File tree

4 files changed

+118
-3
lines changed

4 files changed

+118
-3
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"react"
1616
],
1717
"rules": {
18-
"import/no-extraneous-dependencies": false
18+
"import/no-extraneous-dependencies": 0
1919
}
2020
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build:docs": "rm -rf docs/ && webpack -p --progress ",
99
"build": "npm run build:component && npm run build:docs",
1010
"start": "npm run build:docs && webpack-dev-server",
11-
"test": "jest"
11+
"test": "jest",
12+
"lint": "eslint src"
1213
},
1314
"keywords": [
1415
"react",
@@ -35,6 +36,7 @@
3536
"@babel/plugin-proposal-class-properties": "7.5.5",
3637
"@babel/preset-env": "7.6.3",
3738
"@babel/preset-react": "7.6.3",
39+
"babel-eslint": "10.1.0",
3840
"babel-loader": "8.0.6",
3941
"copy-webpack-plugin": "6.0.3",
4042
"css-loader": "3.2.0",

src/docs/exampleSnippets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
2-
installation: "npm install react-search-field --save ",
2+
installation: 'npm install react-search-field --save ',
33
basicExample: `import SearchField from 'react-search-field';
44
55
<SearchField

yarn.lock

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
dependencies:
1010
"@babel/highlight" "^7.0.0"
1111

12+
"@babel/code-frame@^7.10.4":
13+
version "7.12.11"
14+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
15+
integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==
16+
dependencies:
17+
"@babel/highlight" "^7.10.4"
18+
1219
1320
version "7.6.4"
1421
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.6.4.tgz#6ebd9fe00925f6c3e177bb726a188b5f578088ff"
@@ -49,6 +56,15 @@
4956
semver "^5.4.1"
5057
source-map "^0.5.0"
5158

59+
"@babel/generator@^7.12.10":
60+
version "7.12.11"
61+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.11.tgz#98a7df7b8c358c9a37ab07a24056853016aba3af"
62+
integrity sha512-Ggg6WPOJtSi8yYQvLVjG8F/TlpWDlKx0OpS4Kt+xMQPs5OaGYWy+v1A+1TvxI6sAMGZpKWWoAQ1DaeQbImlItA==
63+
dependencies:
64+
"@babel/types" "^7.12.11"
65+
jsesc "^2.5.1"
66+
source-map "^0.5.0"
67+
5268
"@babel/generator@^7.4.0", "@babel/generator@^7.6.4", "@babel/generator@^7.7.4":
5369
version "7.7.4"
5470
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.7.4.tgz#db651e2840ca9aa66f327dcec1dc5f5fa9611369"
@@ -128,6 +144,15 @@
128144
"@babel/traverse" "^7.7.4"
129145
"@babel/types" "^7.7.4"
130146

147+
"@babel/helper-function-name@^7.10.4":
148+
version "7.12.11"
149+
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.11.tgz#1fd7738aee5dcf53c3ecff24f1da9c511ec47b42"
150+
integrity sha512-AtQKjtYNolKNi6nNNVLQ27CP6D9oFR6bq/HPYSizlzbp7uC1M59XJe8L+0uXjbIaZaUJF99ruHqVGiKXU/7ybA==
151+
dependencies:
152+
"@babel/helper-get-function-arity" "^7.12.10"
153+
"@babel/template" "^7.12.7"
154+
"@babel/types" "^7.12.11"
155+
131156
"@babel/helper-function-name@^7.7.4":
132157
version "7.7.4"
133158
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz#ab6e041e7135d436d8f0a3eca15de5b67a341a2e"
@@ -137,6 +162,13 @@
137162
"@babel/template" "^7.7.4"
138163
"@babel/types" "^7.7.4"
139164

165+
"@babel/helper-get-function-arity@^7.12.10":
166+
version "7.12.10"
167+
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.10.tgz#b158817a3165b5faa2047825dfa61970ddcc16cf"
168+
integrity sha512-mm0n5BPjR06wh9mPQaDdXWDoll/j5UpCAPl1x8fS71GHm7HA6Ua2V4ylG1Ju8lvcTOietbPNNPaSilKj+pj+Ag==
169+
dependencies:
170+
"@babel/types" "^7.12.10"
171+
140172
"@babel/helper-get-function-arity@^7.7.4":
141173
version "7.7.4"
142174
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz#cb46348d2f8808e632f0ab048172130e636005f0"
@@ -225,13 +257,25 @@
225257
"@babel/template" "^7.7.4"
226258
"@babel/types" "^7.7.4"
227259

260+
"@babel/helper-split-export-declaration@^7.11.0":
261+
version "7.12.11"
262+
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.11.tgz#1b4cc424458643c47d37022223da33d76ea4603a"
263+
integrity sha512-LsIVN8j48gHgwzfocYUSkO/hjYAOJqlpJEc7tGXcIm4cubjVUf8LGW6eWRyxEu7gA25q02p0rQUWoCI33HNS5g==
264+
dependencies:
265+
"@babel/types" "^7.12.11"
266+
228267
"@babel/helper-split-export-declaration@^7.7.4":
229268
version "7.7.4"
230269
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz#57292af60443c4a3622cf74040ddc28e68336fd8"
231270
integrity sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==
232271
dependencies:
233272
"@babel/types" "^7.7.4"
234273

274+
"@babel/helper-validator-identifier@^7.10.4", "@babel/helper-validator-identifier@^7.12.11":
275+
version "7.12.11"
276+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed"
277+
integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==
278+
235279
"@babel/helper-wrap-function@^7.7.4":
236280
version "7.7.4"
237281
resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz#37ab7fed5150e22d9d7266e830072c0cdd8baace"
@@ -260,6 +304,15 @@
260304
esutils "^2.0.2"
261305
js-tokens "^4.0.0"
262306

307+
"@babel/highlight@^7.10.4":
308+
version "7.10.4"
309+
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.10.4.tgz#7d1bdfd65753538fabe6c38596cdb76d9ac60143"
310+
integrity sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==
311+
dependencies:
312+
"@babel/helper-validator-identifier" "^7.10.4"
313+
chalk "^2.0.0"
314+
js-tokens "^4.0.0"
315+
263316
264317
version "7.6.3"
265318
resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.6.3.tgz#f175ab6718dde55431cbd4d9dee95f65c38be527"
@@ -278,6 +331,11 @@
278331
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.7.5.tgz#cbf45321619ac12d83363fcf9c94bb67fa646d71"
279332
integrity sha512-KNlOe9+/nk4i29g0VXgl8PEXIRms5xKLJeuZ6UptN0fHv+jDiriG+y94X6qAgWTR0h3KaoM1wK5G5h7MHFRSig==
280333

334+
"@babel/parser@^7.12.10", "@babel/parser@^7.12.7", "@babel/parser@^7.7.0":
335+
version "7.12.11"
336+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.11.tgz#9ce3595bcd74bc5c466905e86c535b8b25011e79"
337+
integrity sha512-N3UxG+uuF4CMYoNj8AhnbAcJF0PiuJ9KHuy1lQmkYsxTer/MAH9UBNHsBoAX/4s6NvlDD047No8mYVGGzLL4hg==
338+
281339
"@babel/plugin-proposal-async-generator-functions@^7.2.0":
282340
version "7.7.4"
283341
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz#0351c5ac0a9e927845fffd5b82af476947b7ce6d"
@@ -746,6 +804,15 @@
746804
dependencies:
747805
regenerator-runtime "^0.13.2"
748806

807+
"@babel/template@^7.12.7":
808+
version "7.12.7"
809+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.7.tgz#c817233696018e39fbb6c491d2fb684e05ed43bc"
810+
integrity sha512-GkDzmHS6GV7ZeXfJZ0tLRBhZcMcY0/Lnb+eEbXDBfCAcZCjrZKe6p3J4we/D24O9Y8enxWAg1cWwof59yLh2ow==
811+
dependencies:
812+
"@babel/code-frame" "^7.10.4"
813+
"@babel/parser" "^7.12.7"
814+
"@babel/types" "^7.12.7"
815+
749816
"@babel/template@^7.4.0", "@babel/template@^7.6.0", "@babel/template@^7.7.4":
750817
version "7.7.4"
751818
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.7.4.tgz#428a7d9eecffe27deac0a98e23bf8e3675d2a77b"
@@ -770,6 +837,21 @@
770837
globals "^11.1.0"
771838
lodash "^4.17.13"
772839

840+
"@babel/traverse@^7.7.0":
841+
version "7.12.10"
842+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.10.tgz#2d1f4041e8bf42ea099e5b2dc48d6a594c00017a"
843+
integrity sha512-6aEtf0IeRgbYWzta29lePeYSk+YAFIC3kyqESeft8o5CkFlYIMX+EQDDWEiAQ9LHOA3d0oHdgrSsID/CKqXJlg==
844+
dependencies:
845+
"@babel/code-frame" "^7.10.4"
846+
"@babel/generator" "^7.12.10"
847+
"@babel/helper-function-name" "^7.10.4"
848+
"@babel/helper-split-export-declaration" "^7.11.0"
849+
"@babel/parser" "^7.12.10"
850+
"@babel/types" "^7.12.10"
851+
debug "^4.1.0"
852+
globals "^11.1.0"
853+
lodash "^4.17.19"
854+
773855
"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.6.3", "@babel/types@^7.7.4":
774856
version "7.7.4"
775857
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.7.4.tgz#516570d539e44ddf308c07569c258ff94fde9193"
@@ -779,6 +861,15 @@
779861
lodash "^4.17.13"
780862
to-fast-properties "^2.0.0"
781863

864+
"@babel/types@^7.12.10", "@babel/types@^7.12.11", "@babel/types@^7.12.7", "@babel/types@^7.7.0":
865+
version "7.12.11"
866+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.11.tgz#a86e4d71e30a9b6ee102590446c98662589283ce"
867+
integrity sha512-ukA9SQtKThINm++CX1CwmliMrE54J6nIYB5XTwL5f/CLFW9owfls+YSU8tVW15RQ2w+a3fSbPjC6HdQNtWZkiA==
868+
dependencies:
869+
"@babel/helper-validator-identifier" "^7.12.11"
870+
lodash "^4.17.19"
871+
to-fast-properties "^2.0.0"
872+
782873
"@cnakazawa/watch@^1.0.3":
783874
version "1.0.3"
784875
resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"
@@ -1567,6 +1658,18 @@ axobject-query@^2.0.2:
15671658
"@babel/runtime" "^7.7.4"
15681659
"@babel/runtime-corejs3" "^7.7.4"
15691660

1661+
babel-eslint@^10.1.0:
1662+
version "10.1.0"
1663+
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
1664+
integrity sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==
1665+
dependencies:
1666+
"@babel/code-frame" "^7.0.0"
1667+
"@babel/parser" "^7.7.0"
1668+
"@babel/traverse" "^7.7.0"
1669+
"@babel/types" "^7.7.0"
1670+
eslint-visitor-keys "^1.0.0"
1671+
resolve "^1.12.0"
1672+
15701673
babel-jest@^24.9.0:
15711674
version "24.9.0"
15721675
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54"
@@ -3081,6 +3184,11 @@ eslint-utils@^1.4.2:
30813184
dependencies:
30823185
eslint-visitor-keys "^1.1.0"
30833186

3187+
eslint-visitor-keys@^1.0.0:
3188+
version "1.3.0"
3189+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
3190+
integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
3191+
30843192
eslint-visitor-keys@^1.1.0:
30853193
version "1.1.0"
30863194
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
@@ -5260,6 +5368,11 @@ lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.
52605368
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
52615369
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
52625370

5371+
lodash@^4.17.19:
5372+
version "4.17.20"
5373+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
5374+
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
5375+
52635376
loglevel@^1.6.8:
52645377
version "1.7.0"
52655378
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.0.tgz#728166855a740d59d38db01cf46f042caa041bb0"

0 commit comments

Comments
 (0)