Set @balena/es-version to es2022 to match tsconfig.json

Change-type: patch
This commit is contained in:
Pagan Gazzard 2024-03-25 16:56:27 +00:00
parent 1e2d9a71f9
commit 6b0500cdbc
3 changed files with 9 additions and 9 deletions

14
package-lock.json generated
View File

@ -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": {

View File

@ -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",

View File

@ -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