diff --git a/package-lock.json b/package-lock.json index 19b79382..dfafa54d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.6.1", "devDependencies": { "@testing-library/jest-native": "^4.0.5", - "@testing-library/react-native": "^10.1.1", + "@testing-library/react-native": "^12.3.0", "@types/jest": "^28.1.8", "@types/react": "^18.2.24", "@types/react-native": "^0.70.0", @@ -4702,51 +4702,27 @@ } }, "node_modules/@testing-library/react-native": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/@testing-library/react-native/-/react-native-10.1.1.tgz", - "integrity": "sha512-tflpI2MTOEe0Gmj0FCTYOQD8OwBYq/YpAre0QFe2IMCcMFr55h/5zvCdwB3+uUsr6Nqve+hs6poVrD3t2wwoLQ==", + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/@testing-library/react-native/-/react-native-12.3.0.tgz", + "integrity": "sha512-E2Prl8D/ey9sRgzLyfCPPmqvsevJW5tVUy4E/pBbO7nOP6OzI/jn2P3vctn/kFdkPY2aE/udlU5ZeNAben9U2A==", "dev": true, "dependencies": { - "pretty-format": "^27.0.0" + "jest-matcher-utils": "^29.6.2", + "pretty-format": "^29.6.2", + "redent": "^3.0.0" }, "peerDependencies": { - "react": ">=16.0.0", + "jest": ">=28.0.0", + "react": ">=16.8.0", "react-native": ">=0.59", - "react-test-renderer": ">=16.0.0" - } - }, - "node_modules/@testing-library/react-native/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" + "react-test-renderer": ">=16.8.0" }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@testing-library/react-native/node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "peerDependenciesMeta": { + "jest": { + "optional": true + } } }, - "node_modules/@testing-library/react-native/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/@tsconfig/node10": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", @@ -19717,37 +19693,14 @@ } }, "@testing-library/react-native": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/@testing-library/react-native/-/react-native-10.1.1.tgz", - "integrity": "sha512-tflpI2MTOEe0Gmj0FCTYOQD8OwBYq/YpAre0QFe2IMCcMFr55h/5zvCdwB3+uUsr6Nqve+hs6poVrD3t2wwoLQ==", + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/@testing-library/react-native/-/react-native-12.3.0.tgz", + "integrity": "sha512-E2Prl8D/ey9sRgzLyfCPPmqvsevJW5tVUy4E/pBbO7nOP6OzI/jn2P3vctn/kFdkPY2aE/udlU5ZeNAben9U2A==", "dev": true, "requires": { - "pretty-format": "^27.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true - }, - "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - } - }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - } + "jest-matcher-utils": "^29.6.2", + "pretty-format": "^29.6.2", + "redent": "^3.0.0" } }, "@tsconfig/node10": { diff --git a/package.json b/package.json index c89ca12c..a730f0d8 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ }, "devDependencies": { "@testing-library/jest-native": "^4.0.5", - "@testing-library/react-native": "^10.1.1", + "@testing-library/react-native": "^12.3.0", "@types/jest": "^28.1.8", "@types/react": "^18.2.24", "@types/react-native": "^0.70.0",