Skip to content

Commit 15f2cef

Browse files
chore!: upgrade to node 14 (#807)
* docs: fix node release schedule link Co-authored-by: Jeffrey Rennie <rennie@google.com> Source-Link: googleapis/synthtool@1a24315 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:e08f9a3757808cdaf7a377e962308c65c4d7eff12db206d4fae702dd50d43430 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: upgrade to Node 14 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Sofia Leon <sofialeon@google.com>
1 parent 2291f65 commit 15f2cef

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

handwritten/nodejs-logging-winston/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ also contains samples.
339339

340340
## Supported Node.js Versions
341341

342-
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
342+
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
343343
Libraries are compatible with all current _active_ and _maintenance_ versions of
344344
Node.js.
345345
If you are using an end-of-life version of Node.js, we recommend that you update

handwritten/nodejs-logging-winston/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "Apache-2.0",
66
"author": "Google Inc.",
77
"engines": {
8-
"node": ">=12.0.0"
8+
"node": ">=14.0.0"
99
},
1010
"repository": "googleapis/nodejs-logging-winston",
1111
"main": "./build/src/index.js",
@@ -50,28 +50,28 @@
5050
"precompile": "gts clean"
5151
},
5252
"dependencies": {
53-
"@google-cloud/logging": "^10.2.2",
54-
"google-auth-library": "^8.0.2",
53+
"@google-cloud/logging": "^11.0.0",
54+
"google-auth-library": "^9.0.0",
5555
"lodash.mapvalues": "^4.6.0",
5656
"winston-transport": "^4.3.0"
5757
},
5858
"devDependencies": {
5959
"@compodoc/compodoc": "^1.1.10",
60-
"@google-cloud/common": "^4.0.0",
60+
"@google-cloud/common": "^5.0.0",
6161
"@types/lodash.mapvalues": "^4.6.6",
6262
"@types/mocha": "^9.0.0",
63-
"@types/node": "^18.0.0",
63+
"@types/node": "^20.4.9",
6464
"@types/proxyquire": "^1.3.28",
6565
"@types/triple-beam": "^1.3.0",
6666
"@types/uuid": "^9.0.0",
67-
"c8": "^7.0.0",
67+
"c8": "^8.0.1",
6868
"codecov": "^3.5.0",
69-
"gts": "^3.1.0",
69+
"gts": "^5.0.0",
7070
"linkinator": "^4.0.0",
7171
"mocha": "^9.2.2",
7272
"post-install-check": "0.0.1",
7373
"proxyquire": "^2.1.0",
74-
"typescript": "^4.6.4",
74+
"typescript": "^5.1.6",
7575
"uuid": "^9.0.0",
7676
"winston": "^3.2.1"
7777
},

handwritten/nodejs-logging-winston/samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Google Inc.",
99
"repository": "googleapis/nodejs-logging-winston",
1010
"engines": {
11-
"node": ">=12.0.0"
11+
"node": ">=14.0.0"
1212
},
1313
"scripts": {
1414
"test": "mocha --timeout 600000"

handwritten/nodejs-logging-winston/test/middleware/express.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class FakeLoggingWinston extends TransportStream {
3737

3838
constructor(options: Options) {
3939
super(options);
40+
// eslint-disable-next-line @typescript-eslint/no-this-alias
4041
transport = this;
4142
passedOptions.push(options);
4243
this.common = {

0 commit comments

Comments
 (0)