Skip to content

Commit

Permalink
Upgrade ehub collector to Node.js 18 version (#123) (#124)
Browse files Browse the repository at this point in the history
* Upgrade ehub collector to Node.js 18 version
  • Loading branch information
imranalisyed506 authored Jun 22, 2023
1 parent b942ca1 commit 241bdaa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion al-ehub-collector.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Runtime": {
"FUNCTIONS_EXTENSION_VERSION": "~4",
"WEBSITE_NODE_DEFAULT_VERSION": "~14"
"WEBSITE_NODE_DEFAULT_VERSION": "~18"
}
}
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "ehub-collector",
"version": "1.6.9",
"version": "1.6.10",
"dependencies": {
"@alertlogic/al-azure-collector-js": "3.1.0",
"@alertlogic/al-collector-js": "3.0.4",
"@azure/arm-eventhub": "3.2.0",
"@azure/arm-monitor": "6.0.0",
"async": "3.2.2",
"moment": "2.29.2",
"moment-timezone": "0.5.34",
"async": "^3.2.4",
"moment": "2.29.4",
"moment-timezone": "^0.5.43",
"parse-key-value": "1.0.0"
},
"scripts": {
Expand All @@ -21,12 +21,12 @@
},
"devDependencies": {
"jshint": "^2.9.5",
"mocha": "^3.5.3",
"mocha-jenkins-reporter": "^0.3.10",
"nock": "^10.0.6",
"nyc": "^11.3.0",
"mocha": "^10.2.0",
"mocha-jenkins-reporter": "^0.4.8",
"nock": "^13.3.1",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"rewire": "^2.5.2",
"sinon": "^7.2.3"
"rewire": "^6.0.0",
"sinon": "^15.1.2"
}
}
4 changes: 2 additions & 2 deletions ps_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ stages:
- pull_request
- pull_request:
trigger_phrase: test it
image: node:14
image: node:18
compute_size: small
commands:
- make test
-
name: V1 Push - Coverage
when:
- push: ['v1']
image: node:14
image: node:18
compute_size: small
commands:
- make test
Expand Down
2 changes: 1 addition & 1 deletion templates/ehub.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"createNewEhubInfraCond": "[if(and(equals(parameters('Event Hub Resource Group'), ''), equals(parameters('Event Hub Connection String'), ''), equals(parameters('Event Hub Namespace'), '')), bool('true'), bool('false'))]",
"repo": "https://github.com/alertlogic/ehub-collector.git",
"branch": "v1",
"nodeRuntimeVersion": "~14",
"nodeRuntimeVersion": "~18",
"azureFunctionExtensionsVersion": "~4",
"dlContainerName": "alertlogic-dl",
"statsQueueName": "alertlogic-stats",
Expand Down
2 changes: 1 addition & 1 deletion templates/ehub_premium.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
"createNewEhubInfraCond": "[if(and(equals(parameters('Event Hub Resource Group'), ''), equals(parameters('Event Hub Connection String'), ''), equals(parameters('Event Hub Namespace'), '')), bool('true'), bool('false'))]",
"repo": "https://github.com/alertlogic/ehub-collector.git",
"branch": "v1",
"nodeRuntimeVersion": "~14",
"nodeRuntimeVersion": "~18",
"azureFunctionExtensionsVersion": "~4",
"dlContainerName": "alertlogic-dl",
"statsQueueName": "alertlogic-stats",
Expand Down

0 comments on commit 241bdaa

Please sign in to comment.