Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 2999561

Browse files
authored
build!: update library to use Node 12 (#713)
* build!: Update library to use Node 12 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 5271fa0 commit 2999561

File tree

15 files changed

+8
-145
lines changed

15 files changed

+8
-145
lines changed

.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 (10)
1312
- test (12)
1413
- test (14)
14+
- test (16)
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: [10, 12, 14]
12+
node: [12, 14, 16]
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3

.kokoro/continuous/node10/common.cfg

-34
This file was deleted.

.kokoro/continuous/node10/docs.cfg

-4
This file was deleted.

.kokoro/continuous/node10/test.cfg

-9
This file was deleted.

.kokoro/continuous/node8/common.cfg

-24
This file was deleted.

.kokoro/continuous/node8/test.cfg

Whitespace-only changes.

.kokoro/presubmit/node10/common.cfg

-34
This file was deleted.

.kokoro/presubmit/node10/docs.cfg

-4
This file was deleted.

.kokoro/presubmit/node10/lint.cfg

-4
This file was deleted.

.kokoro/presubmit/node10/test.cfg

Whitespace-only changes.

.kokoro/presubmit/node8/common.cfg

-24
This file was deleted.

.kokoro/presubmit/node8/test.cfg

Whitespace-only changes.

package.json

+5-5
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": ">=10"
8+
"node": ">=12.0.0"
99
},
1010
"repository": "googleapis/nodejs-dlp",
1111
"main": "build/src/index.js",
@@ -43,25 +43,25 @@
4343
"precompile": "gts clean"
4444
},
4545
"dependencies": {
46-
"google-gax": "^2.24.1",
46+
"google-gax": "^3.0.1",
4747
"protobufjs": "^6.8.0"
4848
},
4949
"devDependencies": {
5050
"@types/mocha": "^9.0.0",
5151
"@types/node": "^16.0.0",
5252
"@types/sinon": "^10.0.0",
5353
"c8": "^7.0.0",
54-
"gts": "^3.0.0",
54+
"gts": "^3.1.0",
5555
"jsdoc": "^3.5.5",
5656
"jsdoc-fresh": "^1.0.1",
5757
"jsdoc-region-tag": "^1.0.2",
5858
"linkinator": "^2.0.0",
59-
"mocha": "^8.0.0",
59+
"mocha": "^9.2.2",
6060
"null-loader": "^4.0.0",
6161
"pack-n-play": "^1.0.0-2",
6262
"sinon": "^14.0.0",
6363
"ts-loader": "^9.0.0",
64-
"typescript": "^3.8.3",
64+
"typescript": "^4.6.4",
6565
"webpack": "^5.0.0",
6666
"webpack-cli": "^4.0.0"
6767
}

samples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"*.js"
1010
],
1111
"engines": {
12-
"node": ">=10"
12+
"node": ">=12.0.0"
1313
},
1414
"scripts": {
1515
"test": "mocha system-test/*.test.js --timeout=600000"

0 commit comments

Comments
 (0)