Skip to content

Commit a64722c

Browse files
Web support release
1 parent bc5589e commit a64722c

File tree

3 files changed

+161
-4
lines changed

3 files changed

+161
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ To use this library you need to ensure you are using the correct version of Reac
2727
| `2.x.x` | `>= 0.60` |
2828
| [`1.x.x`](https://github.com/react-native-community/react-native-slider/tree/937f0942f1fffc6ed88b5cf7c88d73b7878f00f0) | `<= 0.59` |
2929

30+
## Web support
31+
32+
For web support please use `@react-native-community/slider@next`
3033

3134
## Migrating from the core `react-native` module
3235
This module was created when the Slider was split out from the core of React Native. To migrate to this module you need to follow the installation instructions above and then change you imports from:

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-community/slider",
3-
"version": "2.0.8",
3+
"version": "3.0.0-rc.0",
44
"license": "MIT",
55
"author": "react-native-community",
66
"homepage": "https://github.com/react-native-community/react-native-slider",

yarn.lock

Lines changed: 157 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22
# yarn lockfile v1
33

44

5+
"@babel/cli@^7.8.4":
6+
version "7.8.4"
7+
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.8.4.tgz#505fb053721a98777b2b175323ea4f090b7d3c1c"
8+
integrity sha512-XXLgAm6LBbaNxaGhMAznXXaxtCWfuv6PIDJ9Alsy9JYTOh+j2jJz+L/162kkfU1j/pTSxK1xGmlwI4pdIMkoag==
9+
dependencies:
10+
commander "^4.0.1"
11+
convert-source-map "^1.1.0"
12+
fs-readdir-recursive "^1.1.0"
13+
glob "^7.0.0"
14+
lodash "^4.17.13"
15+
make-dir "^2.1.0"
16+
slash "^2.0.0"
17+
source-map "^0.5.0"
18+
optionalDependencies:
19+
chokidar "^2.1.8"
20+
521
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5":
622
version "7.5.5"
723
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"
@@ -192,6 +208,11 @@
192208
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"
193209
integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==
194210

211+
"@babel/helper-plugin-utils@^7.8.3":
212+
version "7.8.3"
213+
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670"
214+
integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==
215+
195216
"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4":
196217
version "7.5.5"
197218
resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351"
@@ -365,6 +386,13 @@
365386
dependencies:
366387
"@babel/helper-plugin-utils" "^7.0.0"
367388

389+
"@babel/plugin-syntax-flow@^7.8.3":
390+
version "7.8.3"
391+
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.8.3.tgz#f2c883bd61a6316f2c89380ae5122f923ba4527f"
392+
integrity sha512-innAx3bUbA0KSYj2E2MNFSn9hiCeowOFLxlsuhXzw8hMQnzkDomUr9QCD7E9VF60NmnG1sNTuuv6Qf4f8INYsg==
393+
dependencies:
394+
"@babel/helper-plugin-utils" "^7.8.3"
395+
368396
"@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.2.0":
369397
version "7.2.0"
370398
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7"
@@ -482,6 +510,14 @@
482510
"@babel/helper-plugin-utils" "^7.0.0"
483511
"@babel/plugin-syntax-flow" "^7.2.0"
484512

513+
"@babel/plugin-transform-flow-strip-types@^7.9.0":
514+
version "7.9.0"
515+
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.9.0.tgz#8a3538aa40434e000b8f44a3c5c9ac7229bd2392"
516+
integrity sha512-7Qfg0lKQhEHs93FChxVLAvhBshOPQDtJUTVHr/ZwQNRccCm4O9D79r9tVSoV8iNwjP1YgfD+e/fgHcPkN1qEQg==
517+
dependencies:
518+
"@babel/helper-plugin-utils" "^7.8.3"
519+
"@babel/plugin-syntax-flow" "^7.8.3"
520+
485521
"@babel/plugin-transform-for-of@^7.0.0":
486522
version "7.4.4"
487523
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz#0267fc735e24c808ba173866c6c4d1440fc3c556"
@@ -641,6 +677,14 @@
641677
"@babel/helper-regex" "^7.4.4"
642678
regexpu-core "^4.5.4"
643679

680+
"@babel/preset-flow@^7.9.0":
681+
version "7.9.0"
682+
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.9.0.tgz#fee847c3e090b0b2d9227c1949e4da1d1379280d"
683+
integrity sha512-88uSmlshIrlmPkNkEcx3UpSZ6b8n0UGBq0/0ZMZCF/uxAW0XIAUuDHBhIOAh0pvweafH4RxOwi/H3rWhtqOYPA==
684+
dependencies:
685+
"@babel/helper-plugin-utils" "^7.8.3"
686+
"@babel/plugin-transform-flow-strip-types" "^7.9.0"
687+
644688
"@babel/register@^7.0.0":
645689
version "7.5.5"
646690
resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.5.5.tgz#40fe0d474c8c8587b28d6ae18a03eddad3dac3c1"
@@ -1076,7 +1120,7 @@
10761120
prettier "1.16.4"
10771121

10781122
"@react-native-community/slider@./src":
1079-
version "2.0.7"
1123+
version "2.0.8"
10801124

10811125
"@types/babel__core@^7.1.0":
10821126
version "7.1.2"
@@ -1500,6 +1544,11 @@ astral-regex@^1.0.0:
15001544
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"
15011545
integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==
15021546

1547+
async-each@^1.0.1:
1548+
version "1.0.3"
1549+
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
1550+
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==
1551+
15031552
async-limiter@~1.0.0:
15041553
version "1.0.0"
15051554
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8"
@@ -1680,6 +1729,11 @@ big-integer@^1.6.7:
16801729
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.44.tgz#4ee9ae5f5839fc11ade338fea216b4513454a539"
16811730
integrity sha512-7MzElZPTyJ2fNvBkPxtFQ2fWIkVmuzw41+BZHSzpEq3ymB2MfeKp1+yXl/tS75xCx+WnyV+yb0kp+K1C3UNwmQ==
16821731

1732+
binary-extensions@^1.0.0:
1733+
version "1.13.1"
1734+
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
1735+
integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==
1736+
16831737
16841738
version "3.5.5"
16851739
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
@@ -1707,7 +1761,7 @@ brace-expansion@^1.1.7:
17071761
balanced-match "^1.0.0"
17081762
concat-map "0.0.1"
17091763

1710-
braces@^2.3.1:
1764+
braces@^2.3.1, braces@^2.3.2:
17111765
version "2.3.2"
17121766
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
17131767
integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==
@@ -1864,6 +1918,25 @@ child-process-promise@^2.2.0:
18641918
node-version "^1.0.0"
18651919
promise-polyfill "^6.0.1"
18661920

1921+
chokidar@^2.1.8:
1922+
version "2.1.8"
1923+
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
1924+
integrity sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==
1925+
dependencies:
1926+
anymatch "^2.0.0"
1927+
async-each "^1.0.1"
1928+
braces "^2.3.2"
1929+
glob-parent "^3.1.0"
1930+
inherits "^2.0.3"
1931+
is-binary-path "^1.0.0"
1932+
is-glob "^4.0.0"
1933+
normalize-path "^3.0.0"
1934+
path-is-absolute "^1.0.0"
1935+
readdirp "^2.2.1"
1936+
upath "^1.1.1"
1937+
optionalDependencies:
1938+
fsevents "^1.2.7"
1939+
18671940
chownr@^1.1.1:
18681941
version "1.1.2"
18691942
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6"
@@ -1995,6 +2068,11 @@ commander@^2.19.0:
19952068
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
19962069
integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
19972070

2071+
commander@^4.0.1:
2072+
version "4.1.1"
2073+
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
2074+
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
2075+
19982076
commander@~2.13.0:
19992077
version "2.13.0"
20002078
resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c"
@@ -3035,6 +3113,11 @@ fs-minipass@^1.2.5:
30353113
dependencies:
30363114
minipass "^2.2.1"
30373115

3116+
fs-readdir-recursive@^1.1.0:
3117+
version "1.1.0"
3118+
resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27"
3119+
integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==
3120+
30383121
fs.realpath@^1.0.0:
30393122
version "1.0.0"
30403123
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@@ -3113,6 +3196,14 @@ getpass@^0.1.1:
31133196
dependencies:
31143197
assert-plus "^1.0.0"
31153198

3199+
glob-parent@^3.1.0:
3200+
version "3.1.0"
3201+
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae"
3202+
integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=
3203+
dependencies:
3204+
is-glob "^3.1.0"
3205+
path-dirname "^1.0.0"
3206+
31163207
glob-parent@^5.0.0:
31173208
version "5.1.0"
31183209
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.0.tgz#5f4c1d1e748d30cd73ad2944b3577a81b081e8c2"
@@ -3131,6 +3222,18 @@ glob@^6.0.1:
31313222
once "^1.3.0"
31323223
path-is-absolute "^1.0.0"
31333224

3225+
glob@^7.0.0:
3226+
version "7.1.6"
3227+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
3228+
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
3229+
dependencies:
3230+
fs.realpath "^1.0.0"
3231+
inflight "^1.0.4"
3232+
inherits "2"
3233+
minimatch "^3.0.4"
3234+
once "^1.3.0"
3235+
path-is-absolute "^1.0.0"
3236+
31343237
glob@^7.1.1, glob@^7.1.2, glob@^7.1.3:
31353238
version "7.1.4"
31363239
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
@@ -3423,6 +3526,13 @@ is-arrayish@^0.2.1:
34233526
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
34243527
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
34253528

3529+
is-binary-path@^1.0.0:
3530+
version "1.0.1"
3531+
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898"
3532+
integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=
3533+
dependencies:
3534+
binary-extensions "^1.0.0"
3535+
34263536
is-buffer@^1.1.5:
34273537
version "1.1.6"
34283538
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
@@ -3494,7 +3604,7 @@ is-extendable@^1.0.1:
34943604
dependencies:
34953605
is-plain-object "^2.0.4"
34963606

3497-
is-extglob@^2.1.1:
3607+
is-extglob@^2.1.0, is-extglob@^2.1.1:
34983608
version "2.1.1"
34993609
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
35003610
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
@@ -3516,6 +3626,13 @@ is-generator-fn@^2.0.0:
35163626
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
35173627
integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
35183628

3629+
is-glob@^3.1.0:
3630+
version "3.1.0"
3631+
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
3632+
integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=
3633+
dependencies:
3634+
is-extglob "^2.1.0"
3635+
35193636
is-glob@^4.0.0, is-glob@^4.0.1:
35203637
version "4.0.1"
35213638
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
@@ -5023,6 +5140,11 @@ normalize-path@^2.1.1:
50235140
dependencies:
50245141
remove-trailing-separator "^1.0.1"
50255142

5143+
normalize-path@^3.0.0:
5144+
version "3.0.0"
5145+
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
5146+
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
5147+
50265148
npm-bundled@^1.0.1:
50275149
version "1.0.6"
50285150
resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd"
@@ -5366,6 +5488,11 @@ pascalcase@^0.1.1:
53665488
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
53675489
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=
53685490

5491+
path-dirname@^1.0.0:
5492+
version "1.0.2"
5493+
resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
5494+
integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=
5495+
53695496
path-exists@^3.0.0:
53705497
version "3.0.0"
53715498
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
@@ -5743,6 +5870,28 @@ readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.2.2, readable
57435870
string_decoder "~1.1.1"
57445871
util-deprecate "~1.0.1"
57455872

5873+
readable-stream@^2.0.2:
5874+
version "2.3.7"
5875+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
5876+
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
5877+
dependencies:
5878+
core-util-is "~1.0.0"
5879+
inherits "~2.0.3"
5880+
isarray "~1.0.0"
5881+
process-nextick-args "~2.0.0"
5882+
safe-buffer "~5.1.1"
5883+
string_decoder "~1.1.1"
5884+
util-deprecate "~1.0.1"
5885+
5886+
readdirp@^2.2.1:
5887+
version "2.2.1"
5888+
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
5889+
integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==
5890+
dependencies:
5891+
graceful-fs "^4.1.11"
5892+
micromatch "^3.1.10"
5893+
readable-stream "^2.0.2"
5894+
57465895
realpath-native@^1.1.0:
57475896
version "1.1.0"
57485897
resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c"
@@ -6777,6 +6926,11 @@ unset-value@^1.0.0:
67776926
has-value "^0.3.1"
67786927
isobject "^3.0.0"
67796928

6929+
upath@^1.1.1:
6930+
version "1.2.0"
6931+
resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
6932+
integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==
6933+
67806934
uri-js@^4.2.2:
67816935
version "4.2.2"
67826936
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"

0 commit comments

Comments
 (0)