react-native-override-color-scheme
Advanced tools
Comparing version
@@ -8,5 +8,3 @@ "use strict"; | ||
exports.setScheme = setScheme; | ||
var _reactNative = require("react-native"); | ||
const LINKING_ERROR = `The package 'react-native-override-color-scheme' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({ | ||
@@ -20,9 +18,6 @@ ios: "- You have run 'pod install'\n", | ||
} | ||
}); | ||
function setScheme(scheme) { | ||
return OverrideColorScheme.setScheme(scheme); | ||
} | ||
const overrideColorScheme = { | ||
@@ -29,0 +24,0 @@ setScheme |
@@ -10,3 +10,2 @@ import { NativeModules, Platform } from 'react-native'; | ||
} | ||
}); | ||
@@ -13,0 +12,0 @@ export function setScheme(scheme) { |
@@ -7,1 +7,2 @@ import { ColorSchemeName } from 'react-native'; | ||
export default overrideColorScheme; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "react-native-override-color-scheme", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "React Native package to let users override the app's color scheme/theme", | ||
@@ -55,22 +55,24 @@ "main": "lib/commonjs/index", | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@react-native-community/eslint-config": "^3.0.1", | ||
"@release-it/conventional-changelog": "^4.2.2", | ||
"@types/jest": "^27.4.1", | ||
"@types/react": "^17.0.41", | ||
"@types/react-native": "0.67.3", | ||
"commitlint": "^16.2.3", | ||
"eslint": "^7.32.0", | ||
"@commitlint/config-conventional": "^17.1.0", | ||
"@react-native-community/eslint-config": "^3.1.0", | ||
"@release-it/conventional-changelog": "^5.1.1", | ||
"@types/jest": "^28.1.8", | ||
"@types/react": "^17.0.50", | ||
"@types/react-native": "0.68.9", | ||
"commitlint": "^17.1.2", | ||
"eslint": "^8.26.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-flowtype": "^8.0.3", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"husky": "^7.0.4", | ||
"jest": "^27.5.1", | ||
"pod-install": "^0.1.32", | ||
"prettier": "^2.6.0", | ||
"eslint-plugin-ft-flow": "^2.0.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^8.0.1", | ||
"jest": "^28.1.3", | ||
"metro-react-native-babel-preset": "^0.67.0", | ||
"pod-install": "^0.1.38", | ||
"prettier": "^2.7.1", | ||
"react": "17.0.2", | ||
"react-native": "0.67.4", | ||
"react-native-builder-bob": "^0.18.2", | ||
"release-it": "^14.13.1", | ||
"typescript": "^4.6.2" | ||
"react-native": "0.68.4", | ||
"react-native-builder-bob": "^0.20.0", | ||
"release-it": "^15.5.0", | ||
"typescript": "^4.8.4" | ||
}, | ||
@@ -77,0 +79,0 @@ "peerDependencies": { |
# `react-native-override-color-scheme` | ||
React Native package to let users override the app's color scheme/theme | ||
React Native package to let users override the app's color scheme/theme. | ||
@@ -62,2 +62,6 @@ ## Installation | ||
## Supporting | ||
This package is maintained by the [Plum Village App](https://plumvillage.app/) team and used by the App. You can [set up a donation](https://plumvillage.app/donations/) if you would like to financially support the further development of Plum Village App and this package. | ||
## Contributing | ||
@@ -64,0 +68,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
73
5.8%44915
-83.58%22
10%26
-75.7%1
Infinity%