1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +00:00

Bump node to 14 (#116)

* Bump node to 14

* Add engines

* Bump dependencies

* Change engine to ~14.

* Bump jslib
This commit is contained in:
Oscar Hinton
2021-05-12 22:38:32 +02:00
committed by GitHub
parent f6b249836e
commit a0f33c7bdc
6 changed files with 762 additions and 787 deletions

View File

@@ -56,26 +56,26 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Setting WIN_PKG
run: |
echo "WIN_PKG=$env:WIN_PKG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
echo "version: $env:pkgVersion"
env:
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v2.6\fetched-v10.21.0-win-x64
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v3.0\fetched-v14.16.1-win-x64
- name: get pkg-fetch
shell: pwsh
run: |
cd $HOME
$fetchedUrl = "https://github.com/vercel/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.21.0-win-x64"
$fetchedUrl = "https://github.com/vercel/pkg-fetch/releases/download/v3.0/node-v14.16.1-win-x64"
New-Item -ItemType directory -Path ./.pkg-cache
New-Item -ItemType directory -Path ./.pkg-cache/v2.6
Invoke-RestMethod -Uri $fetchedUrl -OutFile "./.pkg-cache/v2.6/fetched-v10.21.0-win-x64"
New-Item -ItemType directory -Path ./.pkg-cache/v3.0
Invoke-RestMethod -Uri $fetchedUrl -OutFile "./.pkg-cache/v3.0/fetched-v14.16.1-win-x64"
env:
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v2.6\fetched-v10.21.0-win-x64
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v3.0\fetched-v14.16.1-win-x64
- name: Keytar
shell: pwsh
@@ -203,7 +203,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set Node options
run: echo "NODE_OPTIONS=--max_old_space_size=4096" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
@@ -281,7 +281,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set Node options
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
@@ -321,7 +321,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set Node options
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV

View File

@@ -71,25 +71,25 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set VER_INFO
run: |
echo "WIN_PKG=$env:WIN_PKG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
env:
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v2.6\fetched-v10.21.0-win-x64
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v3.0\fetched-v14.16.1-win-x64
- name: get pkg-fetch
shell: pwsh
run: |
cd $HOME
$fetchedUrl = "https://github.com/vercel/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.21.0-win-x64"
$fetchedUrl = "https://github.com/vercel/pkg-fetch/releases/download/v3.0/node-v14.16.1-win-x64"
New-Item -ItemType directory -Path ./.pkg-cache
New-Item -ItemType directory -Path ./.pkg-cache/v2.6
Invoke-RestMethod -Uri $fetchedUrl -OutFile "./.pkg-cache/v2.6/fetched-v10.21.0-win-x64"
New-Item -ItemType directory -Path ./.pkg-cache/v3.0
Invoke-RestMethod -Uri $fetchedUrl -OutFile "./.pkg-cache/v3.0/fetched-v14.16.1-win-x64"
env:
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v2.6\fetched-v10.21.0-win-x64
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v3.0\fetched-v14.16.1-win-x64
- name: Keytar
shell: pwsh
@@ -235,7 +235,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set Node options
run: echo "NODE_OPTIONS=--max_old_space_size=4096" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
@@ -299,7 +299,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set Node options
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
@@ -341,7 +341,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Set Node options
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV

2
jslib

Submodule jslib updated: b6f102938f...ba1a40af4e

1467
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -141,7 +141,7 @@
"@types/ldapjs": "^1.0.10",
"@types/lowdb": "^1.0.9",
"@types/lunr": "^2.3.3",
"@types/node": "^10.17.28",
"@types/node": "^14.14.43",
"@types/node-fetch": "^2.5.10",
"@types/node-forge": "^0.9.7",
"@types/papaparse": "^5.2.0",
@@ -155,7 +155,7 @@
"cross-env": "^7.0.3",
"css-loader": "^5.2.4",
"del": "^6.0.0",
"electron": "11.4.3",
"electron": "11.4.5",
"electron-builder": "^22.10.5",
"electron-notarize": "^1.0.0",
"electron-rebuild": "^2.3.5",
@@ -168,7 +168,7 @@
"html-webpack-plugin": "^4.5.1",
"mini-css-extract-plugin": "^1.5.0",
"node-loader": "^1.0.3",
"pkg": "^4.5.1",
"pkg": "^5.1.0",
"rimraf": "^3.0.2",
"sass": "^1.32.11",
"sass-loader": "^10.1.1",
@@ -183,16 +183,16 @@
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@angular/animations": "11.2.11",
"@angular/animations": "^11.2.13",
"@angular/cli": "^11.2.10",
"@angular/common": "11.2.11",
"@angular/compiler": "11.2.11",
"@angular/core": "11.2.11",
"@angular/forms": "11.2.11",
"@angular/platform-browser": "11.2.11",
"@angular/platform-browser-dynamic": "11.2.11",
"@angular/router": "11.2.11",
"@angular/upgrade": "11.2.11",
"@angular/common": "^11.2.13",
"@angular/compiler": "^11.2.13",
"@angular/core": "^11.2.13",
"@angular/forms": "^11.2.13",
"@angular/platform-browser": "^11.2.13",
"@angular/platform-browser-dynamic": "^11.2.13",
"@angular/router": "^11.2.13",
"@angular/upgrade": "^11.2.13",
"@microsoft/microsoft-graph-client": "^2.2.1",
"angular2-toaster": "^11.0.1",
"big-integer": "1.6.48",
@@ -202,24 +202,28 @@
"commander": "^7.2.0",
"core-js": "^3.11.0",
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
"electron-log": "^4.3.4",
"electron-log": "^4.3.5",
"electron-store": "^8.0.0",
"electron-updater": "^4.3.8",
"electron-updater": "^4.3.9",
"form-data": "^4.0.0",
"googleapis": "^72.0.0",
"googleapis": "^73.0.0",
"https-proxy-agent": "5.0.0",
"inquirer": "7.3.3",
"keytar": "^7.6.0",
"inquirer": "8.0.0",
"keytar": "7.6.0",
"ldapjs": "2.2.4",
"lowdb": "1.0.0",
"lunr": "^2.3.9",
"node-fetch": "2.6.1",
"node-forge": "0.10.0",
"open": "7.1.0",
"open": "^8.0.6",
"proper-lockfile": "^4.1.2",
"rxjs": "^6.6.7",
"tslib": "^2.2.0",
"zone.js": "^0.11.4",
"zxcvbn": "4.4.2"
},
"engines": {
"node": "~14",
"npm": "~6"
}
}

View File

@@ -13,9 +13,9 @@
},
"dependencies": {
"browser-hrtime": "^1.1.8",
"electron-log": "4.3.4",
"electron-log": "4.3.5",
"electron-store": "8.0.0",
"electron-updater": "4.3.8",
"electron-updater": "4.3.9",
"keytar": "7.6.0"
}
}