@react-native-clipboard/clipboard 1.13.2 → 1.14.0

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.
@@ -16,6 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source = { :git => "https://github.com/react-native-clipboard/clipboard", :tag => "v#{s.version}" }
17
17
  s.ios.source_files = "ios/**/*.{h,m,mm}"
18
18
  s.osx.source_files = "macos/**/*.{h,m,mm}"
19
+ s.visionos.source_files = "ios/**/*.{h,m,mm}"
19
20
 
20
21
  if fabric_enabled
21
22
  folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
@@ -24,12 +25,12 @@ Pod::Spec.new do |s|
24
25
  'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly"',
25
26
  'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
26
27
  }
27
- s.platforms = { ios: '11.0', tvos: '11.0' }
28
+ s.platforms = { ios: '11.0', tvos: '11.0', :osx => "10.14", :visionos => "1.0" }
28
29
  s.compiler_flags = folly_compiler_flags + ' -DRCT_NEW_ARCH_ENABLED'
29
30
 
30
31
  install_modules_dependencies(s)
31
32
  else
32
- s.platforms = { :ios => "9.0", :tvos => "9.0", :osx => "10.14" }
33
+ s.platforms = { :ios => "9.0", :tvos => "9.0", :osx => "10.14", :visionos => "1.0" }
33
34
 
34
35
  s.dependency "React-Core"
35
36
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-clipboard/clipboard",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
5
5
  "keywords": [
6
6
  "Clipboard",
@@ -47,24 +47,29 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@babel/core": "^7.12.9",
50
- "@react-native-community/eslint-config": "^2.0.0",
51
- "@types/react-native": "^0.70.0",
50
+ "@react-native/babel-preset": "^0.73.0",
51
+ "@react-native/eslint-config": "^0.73.0",
52
+ "@react-native/metro-config": "^0.73.0",
53
+ "@rnx-kit/align-deps": "^2.4.1",
54
+ "@types/react": "^18.2.0",
52
55
  "babel-jest": "^26.1.0",
53
56
  "eslint": "^7.32.0",
54
57
  "eslint-plugin-prettier": "^3.1.2",
55
- "jest": "^26.1.0",
56
- "metro-react-native-babel-preset": "^0.64.0",
58
+ "jest": "^29.2.1",
57
59
  "prettier": "^2.4.1",
58
- "react": "17.0.1",
59
- "react-native": "0.68.0",
60
- "react-native-macos": "^0.62.0-0",
61
- "react-native-windows": "^0.64.0",
62
- "react-test-renderer": "16.9.0",
60
+ "react": "18.2.0",
61
+ "react-native": "^0.73.0",
62
+ "react-native-macos": "^0.73.0",
63
+ "react-native-test-app": "^3.5.3",
64
+ "react-native-windows": "^0.73.0",
65
+ "react-test-renderer": "18.2.0",
63
66
  "typescript": "^4.4.3"
64
67
  },
65
68
  "peerDependencies": {
66
- "react": ">=16.0",
67
- "react-native": ">=0.57.0"
69
+ "react": "18.2.0",
70
+ "react-native": "^0.73.0",
71
+ "react-native-macos": "^0.73.0",
72
+ "react-native-windows": "^0.73.0"
68
73
  },
69
74
  "publishConfig": {
70
75
  "access": "public"
@@ -76,5 +81,29 @@
76
81
  "android": {
77
82
  "javaPackageName": "com.reactnativecommunity.clipboard"
78
83
  }
84
+ },
85
+ "rnx-kit": {
86
+ "kitType": "library",
87
+ "alignDeps": {
88
+ "requirements": {
89
+ "development": [
90
+ "react-native@0.73"
91
+ ],
92
+ "production": [
93
+ "react-native@>=0.73"
94
+ ]
95
+ },
96
+ "capabilities": [
97
+ "babel-preset-react-native",
98
+ "core",
99
+ "core-android",
100
+ "core-ios",
101
+ "core-macos",
102
+ "core-windows",
103
+ "jest",
104
+ "react",
105
+ "react-test-renderer"
106
+ ]
107
+ }
79
108
  }
80
109
  }