react-screen-wake-lock
Advanced tools
Comparing version 3.0.1 to 3.0.2
export * from './use-wake-lock'; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="dom-screen-wake-lock" /> | ||
export interface WakeLockOptions { | ||
@@ -3,0 +2,0 @@ onError?: (error: Error) => void; |
{ | ||
"name": "react-screen-wake-lock", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "React implementation of the Screen Wake Lock API. It provides a way to prevent devices from dimming or locking the screen when an application needs to keep running.", | ||
@@ -31,3 +31,8 @@ "author": { | ||
"main": "dist/react-screen-wake-lock.cjs", | ||
"exports": "./dist/react-screen-wake-lock.esm.js", | ||
"nodule": "./dist/react-screen-wake-lock.esm.js", | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/react-screen-wake-lock.cjs", | ||
"default": "./dist/react-screen-wake-lock.esm.js" | ||
}, | ||
"umd:main": "dist/react-screen-wake-lock.umd.js", | ||
@@ -59,19 +64,20 @@ "unpkg": "dist/react-screen-wake-lock.umd.js", | ||
"devDependencies": { | ||
"@testing-library/dom": "^8.18.1", | ||
"@testing-library/react": "^13.4.0", | ||
"@testing-library/dom": "^9.3.1", | ||
"@testing-library/react": "^14.0.0", | ||
"@testing-library/react-hooks": "^8.0.1", | ||
"@types/dom-screen-wake-lock": "^1.0.0", | ||
"@types/jest": "^29.1.1", | ||
"@types/react": "^18.0.13", | ||
"@types/react-dom": "^18.0.5", | ||
"@typescript-eslint/eslint-plugin": "^5.38.1", | ||
"@typescript-eslint/parser": "^5.38.1", | ||
"eslint": "^8.24.0", | ||
"eslint-plugin-react": "^7.23.1", | ||
"@types/dom-screen-wake-lock": "^1.0.1", | ||
"@types/jest": "^29.5.4", | ||
"@types/react": "^18.2.21", | ||
"@types/react-dom": "^18.2.7", | ||
"@typescript-eslint/eslint-plugin": "^6.4.1", | ||
"@typescript-eslint/parser": "^6.4.1", | ||
"eslint": "^8.48.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"eslint-plugin-testing-library": "^5.7.2", | ||
"husky": "^8.0.1", | ||
"jest": "^29.1.2", | ||
"jest-environment-jsdom": "^29.1.2", | ||
"eslint-plugin-testing-library": "^6.0.1", | ||
"husky": "^8.0.3", | ||
"jest": "^29.6.4", | ||
"jest-environment-jsdom": "^29.6.4", | ||
"jest-wake-lock-mock": "^1.1.0", | ||
"lodash": "^4.17.21", | ||
"microbundle": "^0.15.1", | ||
@@ -81,10 +87,10 @@ "nano-staged": "^0.8.0", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.2.1", | ||
"prettier": "^3.0.2", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-test-renderer": "18.2.0", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^29.0.3", | ||
"rimraf": "^5.0.1", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.2.3" | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -91,0 +97,0 @@ "nano-staged": { |
@@ -8,3 +8,3 @@ <div align="center"><h1>🌗 react-screen-wake-lock</h1></div> | ||
<p align="center"> | ||
<a href="react-screen-wake-lock.vercel.app/">Demo</a> | ||
<a href="https://react-screen-wake-lock.vercel.app/">Demo</a> | ||
<span> · </span> | ||
@@ -11,0 +11,0 @@ <a href="https://github.com/jorisre/react-screen-wake-lock#installation">Documentation</a> |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29260
30
104