diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..d1ac45a1 --- /dev/null +++ b/.node-version @@ -0,0 +1,2 @@ +20.15.0 + diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..90756595 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +20.15.0 diff --git a/example/package.json b/example/package.json index eedc8bf9..d5b5ada4 100644 --- a/example/package.json +++ b/example/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@babel/core": "^7.20.0", - "@types/node": "^18.16.3", + "@types/node": "^20.14.9", "@types/react": "18.2.0", "@types/react-native": "0.71.8", "@types/text-encoding": "^0.0.39", @@ -77,5 +77,8 @@ "autolinking": { "nativeModulesDir": ".." } + }, + "engines": { + "node": ">=20" } } diff --git a/example/yarn.lock b/example/yarn.lock index 6da5487d..5bcc21b5 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -6283,12 +6283,12 @@ resolved "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz" integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== -"@types/node@^18.16.3": - version "18.19.7" - resolved "https://registry.npmjs.org/@types/node/-/node-18.19.7.tgz" - integrity sha512-IGRJfoNX10N/PfrReRZ1br/7SQ+2vF/tK3KXNwzXz82D32z5dMQEoOlFew18nLSN+vMNcLY4GrKfzwi/yWI8/w== +"@types/node@^20.14.9": + version "20.17.10" + resolved "https://registry.npmjs.org/@types/node/-/node-20.17.10.tgz#3f7166190aece19a0d1d364d75c8b0b5778c1e18" + integrity sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA== dependencies: - undici-types "~5.26.4" + undici-types "~6.19.2" "@types/pbkdf2@^3.0.0": version "3.1.2" @@ -15164,6 +15164,11 @@ undici-types@~5.26.4: resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + undici@^5.8.1: version "5.28.3" resolved "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz" diff --git a/package.json b/package.json index 06364eff..4506ef0e 100644 --- a/package.json +++ b/package.json @@ -73,5 +73,8 @@ "expo": "*", "react": "*", "react-native": "*" + }, + "engines": { + "node": ">=20" } }