diff --git a/package-lock.json b/package-lock.json index cfef5aa0..5e8bf599 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@balena/contrato": "^0.6.0", - "@balena/es-version": "^1.0.1", + "@balena/es-version": "^1.0.3", "@balena/lint": "^7.3.0", "@types/bluebird": "^3.5.37", "@types/chai": "^4.3.3", @@ -614,9 +614,9 @@ "dev": true }, "node_modules/@balena/es-version": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@balena/es-version/-/es-version-1.0.1.tgz", - "integrity": "sha512-3hS6695vmZcKm+UX9W+4xVSYIW56OIjq8wLybKZsNoMDLAXei9HnbhnVLsbqWhqATrRKHy19onjJQHL/AfcpFA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@balena/es-version/-/es-version-1.0.3.tgz", + "integrity": "sha512-ER6xtNwBSytZ1E1TmEzcE19mHpfJH8NPItxgGeJZjMYE4k5VHlBorl4UwZkAmsiW4vhy7LgJ+RGvHU15rB1L7g==", "dev": true }, "node_modules/@balena/lint": { @@ -16672,9 +16672,9 @@ "dev": true }, "@balena/es-version": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@balena/es-version/-/es-version-1.0.1.tgz", - "integrity": "sha512-3hS6695vmZcKm+UX9W+4xVSYIW56OIjq8wLybKZsNoMDLAXei9HnbhnVLsbqWhqATrRKHy19onjJQHL/AfcpFA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@balena/es-version/-/es-version-1.0.3.tgz", + "integrity": "sha512-ER6xtNwBSytZ1E1TmEzcE19mHpfJH8NPItxgGeJZjMYE4k5VHlBorl4UwZkAmsiW4vhy7LgJ+RGvHU15rB1L7g==", "dev": true }, "@balena/lint": { diff --git a/package.json b/package.json index 16c71891..0002ce21 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@balena/contrato": "^0.6.0", - "@balena/es-version": "^1.0.1", + "@balena/es-version": "^1.0.3", "@balena/lint": "^7.3.0", "@types/bluebird": "^3.5.37", "@types/chai": "^4.3.3", diff --git a/src/app.ts b/src/app.ts index 6b2e556a..7e224e27 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,6 +1,6 @@ import { set } from '@balena/es-version'; // Set the desired es version for downstream modules that support it, before we import any -set('es2019'); +set('es2022'); import { setDefaultAutoSelectFamilyAttemptTimeout } from 'net'; // Increase the timeout for the happy eyeballs algorithm to 5000ms to avoid issues on slower networks