@react-native-clipboard/clipboard 1.14.0 → 1.14.2
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/android/src/paper/java/com/reactnativecommunity/clipboard/NativeClipboardModuleSpec.java
CHANGED
|
@@ -17,11 +17,10 @@ import com.facebook.react.bridge.Promise;
|
|
|
17
17
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
18
18
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
19
19
|
import com.facebook.react.bridge.ReactMethod;
|
|
20
|
-
import com.facebook.react.bridge.ReactModuleWithSpec;
|
|
21
20
|
import com.facebook.react.bridge.ReadableArray;
|
|
22
21
|
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
23
22
|
|
|
24
|
-
public abstract class NativeClipboardModuleSpec extends ReactContextBaseJavaModule implements
|
|
23
|
+
public abstract class NativeClipboardModuleSpec extends ReactContextBaseJavaModule implements TurboModule {
|
|
25
24
|
public NativeClipboardModuleSpec(ReactApplicationContext reactContext) {
|
|
26
25
|
super(reactContext);
|
|
27
26
|
}
|
|
@@ -92,5 +91,5 @@ public abstract class NativeClipboardModuleSpec extends ReactContextBaseJavaModu
|
|
|
92
91
|
|
|
93
92
|
@ReactMethod
|
|
94
93
|
@DoNotStrip
|
|
95
|
-
public abstract void removeListeners(
|
|
94
|
+
public abstract void removeListeners(int count);
|
|
96
95
|
}
|
package/jest/clipboard-mock.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-clipboard/clipboard",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Clipboard",
|
|
@@ -47,10 +47,12 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@babel/core": "^7.12.9",
|
|
50
|
+
"@callstack/react-native-visionos": "^0.73.0",
|
|
50
51
|
"@react-native/babel-preset": "^0.73.0",
|
|
51
52
|
"@react-native/eslint-config": "^0.73.0",
|
|
52
53
|
"@react-native/metro-config": "^0.73.0",
|
|
53
54
|
"@rnx-kit/align-deps": "^2.4.1",
|
|
55
|
+
"@rnx-kit/metro-config": "^1.3.15",
|
|
54
56
|
"@types/react": "^18.2.0",
|
|
55
57
|
"babel-jest": "^26.1.0",
|
|
56
58
|
"eslint": "^7.32.0",
|
|
@@ -66,10 +68,18 @@
|
|
|
66
68
|
"typescript": "^4.4.3"
|
|
67
69
|
},
|
|
68
70
|
"peerDependencies": {
|
|
69
|
-
"react": "
|
|
70
|
-
"react-native": "
|
|
71
|
-
"react-native-macos": "
|
|
72
|
-
"react-native-windows": "
|
|
71
|
+
"react": ">= 16.9.0",
|
|
72
|
+
"react-native": ">= 0.61.5",
|
|
73
|
+
"react-native-macos": ">= 0.61.0",
|
|
74
|
+
"react-native-windows": ">= 0.61.0"
|
|
75
|
+
},
|
|
76
|
+
"peerDependenciesMeta": {
|
|
77
|
+
"react-native-macos": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"react-native-windows": {
|
|
81
|
+
"optional": true
|
|
82
|
+
}
|
|
73
83
|
},
|
|
74
84
|
"publishConfig": {
|
|
75
85
|
"access": "public"
|
|
@@ -82,28 +92,8 @@
|
|
|
82
92
|
"javaPackageName": "com.reactnativecommunity.clipboard"
|
|
83
93
|
}
|
|
84
94
|
},
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
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
|
-
}
|
|
108
|
-
}
|
|
95
|
+
"packageManager": "yarn@4.1.1",
|
|
96
|
+
"workspaces": [
|
|
97
|
+
"example"
|
|
98
|
+
]
|
|
109
99
|
}
|