Skip to content

Commit 0024772

Browse files
chore!: upgrade to Node 14 (#1890)
* docs: fix node release schedule link Co-authored-by: Jeffrey Rennie <[email protected]> Source-Link: googleapis/synthtool@1a24315 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:e08f9a3757808cdaf7a377e962308c65c4d7eff12db206d4fae702dd50d43430 * chore!: migrate to Node 14 * 🦉 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 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Sofia Leon <[email protected]> Co-authored-by: sofisl <[email protected]>
1 parent 9f01d1c commit 0024772

31 files changed

+6187
-641
lines changed

.github/.OwlBot.lock.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
16-
digest: sha256:bfa6fdba19aa7d105167d01fb51f5fd8285e8cd9fca264e43aff849e9e7fa36c
17-
# created: 2023-07-06T17:45:12.014855061Z
16+
digest: sha256:e08f9a3757808cdaf7a377e962308c65c4d7eff12db206d4fae702dd50d43430
17+
# created: 2023-08-03T18:46:14.719706948Z

.github/sync-repo-settings.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ branchProtectionRules:
99
- "ci/kokoro: System test"
1010
- docs
1111
- lint
12-
- test (12)
1312
- test (14)
1413
- test (16)
14+
- test (18)
1515
- cla/google
1616
- windows
1717
- OwlBot Post Processor

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [12, 14, 16]
12+
node: [14, 16, 18, 20]
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3

.github/workflows/system-tests-against-emulator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-node@v3
2121
with:
22-
node-version: 10
22+
node-version: 14
2323
- run: node --version
2424
- run: npm install
2525
- run: npm run system-test

.kokoro/continuous/node12/common.cfg

-24
This file was deleted.

.kokoro/continuous/node12/lint.cfg

-4
This file was deleted.

.kokoro/continuous/node12/samples-test.cfg

-12
This file was deleted.

.kokoro/continuous/node12/system-test.cfg

-12
This file was deleted.

.kokoro/continuous/node12/test.cfg

Whitespace-only changes.

.kokoro/presubmit/node12/common.cfg

-24
This file was deleted.

.kokoro/presubmit/node12/samples-test.cfg

-12
This file was deleted.

.kokoro/presubmit/node12/system-test.cfg

-12
This file was deleted.

.kokoro/presubmit/node12/test.cfg

Whitespace-only changes.

.kokoro/test.bat

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ also contains samples.
193193

194194
## Supported Node.js Versions
195195

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

package.json

+12-9
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-spanner",
1111
"main": "./build/src/index.js",
@@ -51,7 +51,7 @@
5151
"coverage": "c8 mocha build/test build/test/common && c8 report --check-coverage"
5252
},
5353
"dependencies": {
54-
"@google-cloud/common": "^4.0.0",
54+
"@google-cloud/common": "^5.0.0",
5555
"@google-cloud/precise-date": "^3.0.0",
5656
"@google-cloud/projectify": "^3.0.0",
5757
"@google-cloud/promisify": "^3.0.0",
@@ -64,19 +64,21 @@
6464
"duplexify": "^4.1.1",
6565
"events-intercept": "^2.0.0",
6666
"extend": "^3.0.2",
67-
"google-auth-library": "^8.0.2",
68-
"google-gax": "^3.5.2",
67+
"google-auth-library": "^9.0.0",
68+
"google-gax": "^4.0.3",
6969
"grpc-gcp": "^1.0.0",
7070
"is": "^3.2.1",
7171
"lodash.snakecase": "^4.1.1",
7272
"merge-stream": "^2.0.0",
7373
"p-queue": "^6.0.2",
74+
"projectify": "^1.0.1",
75+
"promisify": "0.0.3",
7476
"protobufjs": "^7.0.0",
75-
"retry-request": "^5.0.0",
77+
"retry-request": "^6.0.0",
7678
"split-array-stream": "^2.0.0",
7779
"stack-trace": "0.0.10",
7880
"stream-events": "^1.0.4",
79-
"teeny-request": "^8.0.0",
81+
"teeny-request": "^9.0.0",
8082
"through2": "^4.0.0"
8183
},
8284
"devDependencies": {
@@ -94,12 +96,13 @@
9496
"@types/through2": "^2.0.34",
9597
"@types/uuid": "^9.0.0",
9698
"binary-search-bounds": "^2.0.4",
97-
"c8": "^8.0.0",
99+
"c8": "^8.0.1",
98100
"codecov": "^3.0.2",
99101
"concat-stream": "^2.0.0",
100102
"dedent": "^0.7.0",
101103
"execa": "^5.0.0",
102-
"gts": "^3.1.0",
104+
"gapic-tools": "^0.1.8",
105+
"gts": "^5.0.0",
103106
"jsdoc": "^4.0.0",
104107
"jsdoc-fresh": "^2.0.0",
105108
"jsdoc-region-tag": "^2.0.0",
@@ -114,7 +117,7 @@
114117
"stats-lite": "^2.1.1",
115118
"time-span": "^4.0.0",
116119
"tmp": "^0.2.0",
117-
"typescript": "^4.6.4",
120+
"typescript": "^5.1.6",
118121
"uuid": "^9.0.0",
119122
"yargs": "^17.0.0"
120123
}

0 commit comments

Comments
 (0)