Skip to content

Commit d3a6c9f

Browse files
committed
refactor: drop support for node 10
1 parent 68a428e commit d3a6c9f

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [10, 12, 14, 15]
17+
node-version: [12, 14, 15]
1818
steps:
1919
- uses: actions/checkout@v1
2020
- name: Use Node.js

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@
110110
"ts-jest": "^24.1.0",
111111
"ts-node": "^8.4.1",
112112
"typedoc": "^0.17.4",
113-
"typescript": "^3.9.5"
113+
"typescript": "^4.0.5"
114114
},
115115
"engines": {
116-
"node": ">=10.0.0"
116+
"node": ">=12"
117117
}
118118
}

src/dotenv-azure.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as fs from 'fs'
2+
import { URL } from 'url'
23
import Bottleneck from 'bottleneck'
34
import dotenv, { DotenvParseOptions, DotenvParseOutput } from 'dotenv'
45
import { ManagedIdentityCredential, ClientSecretCredential } from '@azure/identity'

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { URL } from 'url'
12
import { DotenvConfigOptions, DotenvConfigOutput } from 'dotenv'
23

34
export interface AzureCredentials {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"moduleResolution": "node",
4-
"target": "es2017",
4+
"target": "es2019",
55
"module": "commonjs",
66
"strict": true,
77
"sourceMap": true,

0 commit comments

Comments
 (0)