Skip to content

Commit cfdf4dc

Browse files
committed
chore: update version to 0.3.1 and adjust peerDependencies
1 parent 01bf611 commit cfdf4dc

File tree

2 files changed

+13
-92
lines changed

2 files changed

+13
-92
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-range-slider-fast",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "A high-performance React Native range slider with smooth animations and precise touch controls using react-native-reanimated",
55
"source": "./src/index.tsx",
66
"main": "./lib/module/index.js",
@@ -65,12 +65,8 @@
6565
"publishConfig": {
6666
"registry": "https://registry.npmjs.org/"
6767
},
68-
"dependencies": {
69-
"prop-types": "^15.8.1",
70-
"react-native-gesture-handler": "^2.15.0",
71-
"react-native-reanimated": "^3.8.0"
72-
},
7368
"peerDependencies": {
69+
"prop-types": ">=15.0.0",
7470
"react": "*",
7571
"react-native": "*",
7672
"react-native-gesture-handler": ">=2.0.0",

yarn.lock

Lines changed: 11 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ __metadata:
663663
languageName: node
664664
linkType: hard
665665

666-
"@babel/plugin-transform-arrow-functions@npm:^7.0.0-0, @babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.25.9":
666+
"@babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.25.9":
667667
version: 7.25.9
668668
resolution: "@babel/plugin-transform-arrow-functions@npm:7.25.9"
669669
dependencies:
@@ -722,7 +722,7 @@ __metadata:
722722
languageName: node
723723
linkType: hard
724724

725-
"@babel/plugin-transform-class-properties@npm:^7.0.0-0, @babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.25.9":
725+
"@babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.25.9":
726726
version: 7.25.9
727727
resolution: "@babel/plugin-transform-class-properties@npm:7.25.9"
728728
dependencies:
@@ -746,7 +746,7 @@ __metadata:
746746
languageName: node
747747
linkType: hard
748748

749-
"@babel/plugin-transform-classes@npm:^7.0.0-0, @babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.25.9":
749+
"@babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.25.9":
750750
version: 7.25.9
751751
resolution: "@babel/plugin-transform-classes@npm:7.25.9"
752752
dependencies:
@@ -1007,7 +1007,7 @@ __metadata:
10071007
languageName: node
10081008
linkType: hard
10091009

1010-
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.0.0-0, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.26.6":
1010+
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.26.6":
10111011
version: 7.26.6
10121012
resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.26.6"
10131013
dependencies:
@@ -1065,7 +1065,7 @@ __metadata:
10651065
languageName: node
10661066
linkType: hard
10671067

1068-
"@babel/plugin-transform-optional-chaining@npm:^7.0.0-0, @babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.25.9":
1068+
"@babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.25.9":
10691069
version: 7.25.9
10701070
resolution: "@babel/plugin-transform-optional-chaining@npm:7.25.9"
10711071
dependencies:
@@ -1246,7 +1246,7 @@ __metadata:
12461246
languageName: node
12471247
linkType: hard
12481248

1249-
"@babel/plugin-transform-shorthand-properties@npm:^7.0.0-0, @babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.25.9":
1249+
"@babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.25.9":
12501250
version: 7.25.9
12511251
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.25.9"
12521252
dependencies:
@@ -1291,7 +1291,7 @@ __metadata:
12911291
languageName: node
12921292
linkType: hard
12931293

1294-
"@babel/plugin-transform-template-literals@npm:^7.0.0-0, @babel/plugin-transform-template-literals@npm:^7.26.8":
1294+
"@babel/plugin-transform-template-literals@npm:^7.26.8":
12951295
version: 7.26.8
12961296
resolution: "@babel/plugin-transform-template-literals@npm:7.26.8"
12971297
dependencies:
@@ -1351,7 +1351,7 @@ __metadata:
13511351
languageName: node
13521352
linkType: hard
13531353

1354-
"@babel/plugin-transform-unicode-regex@npm:^7.0.0-0, @babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.25.9":
1354+
"@babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.25.9":
13551355
version: 7.25.9
13561356
resolution: "@babel/plugin-transform-unicode-regex@npm:7.25.9"
13571357
dependencies:
@@ -1496,7 +1496,7 @@ __metadata:
14961496
languageName: node
14971497
linkType: hard
14981498

1499-
"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.24.7":
1499+
"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.24.7":
15001500
version: 7.27.0
15011501
resolution: "@babel/preset-typescript@npm:7.27.0"
15021502
dependencies:
@@ -1787,15 +1787,6 @@ __metadata:
17871787
languageName: node
17881788
linkType: hard
17891789

1790-
"@egjs/hammerjs@npm:^2.0.17":
1791-
version: 2.0.17
1792-
resolution: "@egjs/hammerjs@npm:2.0.17"
1793-
dependencies:
1794-
"@types/hammerjs": ^2.0.36
1795-
checksum: 8945137cec5837edd70af3f2e0ea621543eb0aa3b667e6269ec6485350f4d120c2434b37c7c30b1cf42a65275dd61c1f24626749c616696d3956ac0c008c4766
1796-
languageName: node
1797-
linkType: hard
1798-
17991790
"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
18001791
version: 4.5.1
18011792
resolution: "@eslint-community/eslint-utils@npm:4.5.1"
@@ -2879,13 +2870,6 @@ __metadata:
28792870
languageName: node
28802871
linkType: hard
28812872

2882-
"@types/hammerjs@npm:^2.0.36":
2883-
version: 2.0.46
2884-
resolution: "@types/hammerjs@npm:2.0.46"
2885-
checksum: caba6ec788d19905c71092670b58514b3d1f5eee5382bf9205e8df688d51e7857b7994e2dd7aed57fac8977bdf0e456d67fbaf23440a4385b8ce25fe2af1ec39
2886-
languageName: node
2887-
linkType: hard
2888-
28892873
"@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1":
28902874
version: 2.0.6
28912875
resolution: "@types/istanbul-lib-coverage@npm:2.0.6"
@@ -6385,15 +6369,6 @@ __metadata:
63856369
languageName: node
63866370
linkType: hard
63876371

6388-
"hoist-non-react-statics@npm:^3.3.0":
6389-
version: 3.3.2
6390-
resolution: "hoist-non-react-statics@npm:3.3.2"
6391-
dependencies:
6392-
react-is: ^16.7.0
6393-
checksum: b1538270429b13901ee586aa44f4cc3ecd8831c061d06cb8322e50ea17b3f5ce4d0e2e66394761e6c8e152cd8c34fb3b4b690116c6ce2bd45b18c746516cb9e8
6394-
languageName: node
6395-
linkType: hard
6396-
63976372
"hosted-git-info@npm:^4.0.1":
63986373
version: 4.1.0
63996374
resolution: "hosted-git-info@npm:4.1.0"
@@ -10068,7 +10043,7 @@ __metadata:
1006810043
languageName: node
1006910044
linkType: hard
1007010045

10071-
"react-is@npm:^16.13.1, react-is@npm:^16.7.0":
10046+
"react-is@npm:^16.13.1":
1007210047
version: 16.13.1
1007310048
resolution: "react-is@npm:16.13.1"
1007410049
checksum: f7a19ac3496de32ca9ae12aa030f00f14a3d45374f1ceca0af707c831b2a6098ef0d6bdae51bd437b0a306d7f01d4677fcc8de7c0d331eb47ad0f46130e53c5f
@@ -10114,30 +10089,6 @@ __metadata:
1011410089
languageName: node
1011510090
linkType: hard
1011610091

10117-
"react-native-gesture-handler@npm:^2.15.0":
10118-
version: 2.25.0
10119-
resolution: "react-native-gesture-handler@npm:2.25.0"
10120-
dependencies:
10121-
"@egjs/hammerjs": ^2.0.17
10122-
hoist-non-react-statics: ^3.3.0
10123-
invariant: ^2.2.4
10124-
peerDependencies:
10125-
react: "*"
10126-
react-native: "*"
10127-
checksum: 51b155bcc56043b9e06bf8ded089c44348e8da297b38e73f203f2d6ce8bd51698f85a38dca8eeab3d2ab721aeddefc270acd99e16cf493b20f1f429ad02214b8
10128-
languageName: node
10129-
linkType: hard
10130-
10131-
"react-native-is-edge-to-edge@npm:1.1.7":
10132-
version: 1.1.7
10133-
resolution: "react-native-is-edge-to-edge@npm:1.1.7"
10134-
peerDependencies:
10135-
react: "*"
10136-
react-native: "*"
10137-
checksum: 4cdf2b2fb5b131f2015c26d2cb7688b4a0c5f3c8474b1bf0ddfa9eabb0263df440c87262ae8f812a6ecab0d5310df0373bddad4b51f53dabb2ffee01e9ef0f44
10138-
languageName: node
10139-
linkType: hard
10140-
1014110092
"react-native-range-slider-fast@workspace:.":
1014210093
version: 0.0.0-use.local
1014310094
resolution: "react-native-range-slider-fast@workspace:."
@@ -10158,46 +10109,20 @@ __metadata:
1015810109
eslint-plugin-prettier: ^5.2.3
1015910110
jest: ^29.7.0
1016010111
prettier: ^3.0.3
10161-
prop-types: ^15.8.1
1016210112
react: 18.3.1
1016310113
react-native: 0.76.9
1016410114
react-native-builder-bob: ^0.40.5
10165-
react-native-gesture-handler: ^2.15.0
10166-
react-native-reanimated: ^3.8.0
1016710115
release-it: ^17.10.0
1016810116
typescript: ^5.2.2
1016910117
peerDependencies:
10118+
prop-types: ">=15.0.0"
1017010119
react: "*"
1017110120
react-native: "*"
1017210121
react-native-gesture-handler: ">=2.0.0"
1017310122
react-native-reanimated: ">=3.0.0"
1017410123
languageName: unknown
1017510124
linkType: soft
1017610125

10177-
"react-native-reanimated@npm:^3.8.0":
10178-
version: 3.17.3
10179-
resolution: "react-native-reanimated@npm:3.17.3"
10180-
dependencies:
10181-
"@babel/plugin-transform-arrow-functions": ^7.0.0-0
10182-
"@babel/plugin-transform-class-properties": ^7.0.0-0
10183-
"@babel/plugin-transform-classes": ^7.0.0-0
10184-
"@babel/plugin-transform-nullish-coalescing-operator": ^7.0.0-0
10185-
"@babel/plugin-transform-optional-chaining": ^7.0.0-0
10186-
"@babel/plugin-transform-shorthand-properties": ^7.0.0-0
10187-
"@babel/plugin-transform-template-literals": ^7.0.0-0
10188-
"@babel/plugin-transform-unicode-regex": ^7.0.0-0
10189-
"@babel/preset-typescript": ^7.16.7
10190-
convert-source-map: ^2.0.0
10191-
invariant: ^2.2.4
10192-
react-native-is-edge-to-edge: 1.1.7
10193-
peerDependencies:
10194-
"@babel/core": ^7.0.0-0
10195-
react: "*"
10196-
react-native: "*"
10197-
checksum: 928c652e365ae9dca7bd6c895cf163294153ae64f73b63637fad0787e8c66266bb63faf5e7aa7bfc29f057eb176eab12d60029f6165a045f25f19165e693b98e
10198-
languageName: node
10199-
linkType: hard
10200-
1020110126
"react-native@npm:0.76.9":
1020210127
version: 0.76.9
1020310128
resolution: "react-native@npm:0.76.9"

0 commit comments

Comments
 (0)