mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
Set desired es-version for downstream modules that support it
Change-type: patch
This commit is contained in:
parent
42dd4f75ac
commit
fadd514463
6
package-lock.json
generated
6
package-lock.json
generated
@ -520,9 +520,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"@balena/es-version": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@balena/es-version/-/es-version-1.0.0.tgz",
|
||||
"integrity": "sha512-o3/sRDyrXC75BUUziMAs+W5C02aVST0YqY5Ny31Ot3a+7CzK2XDRinMGywvK93tm2QVdL83HGkN483S62Xo9Dw==",
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@balena/es-version/-/es-version-1.0.1.tgz",
|
||||
"integrity": "sha512-3hS6695vmZcKm+UX9W+4xVSYIW56OIjq8wLybKZsNoMDLAXei9HnbhnVLsbqWhqATrRKHy19onjJQHL/AfcpFA==",
|
||||
"dev": true
|
||||
},
|
||||
"@balena/happy-eyeballs": {
|
||||
|
@ -41,6 +41,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@balena/contrato": "^0.6.0",
|
||||
"@balena/es-version": "^1.0.1",
|
||||
"@balena/lint": "^5.1.0",
|
||||
"@types/bluebird": "^3.5.32",
|
||||
"@types/chai": "^4.2.16",
|
||||
|
@ -1,3 +1,7 @@
|
||||
import { set } from '@balena/es-version';
|
||||
// Set the desired es version for downstream modules that support it, before we import any
|
||||
set('es2019');
|
||||
|
||||
import { NOTFOUND } from 'dns';
|
||||
import * as mdnsResolver from 'mdns-resolver';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user