Skip to content

Commit 5a379ca

Browse files
gcf-owl-bot[bot]bcoe
andauthoredJul 4, 2022
build(node): add new jsteam + enforce branches up-to-date (#1451) (#492)
Source-Link: googleapis/synthtool@cd78529 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:ddb19a6df6c1fa081bc99fb29658f306dd64668bc26f75d1353b28296f3a78e6 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Benjamin Coe <bencoe@google.com>
1 parent 30307b5 commit 5a379ca

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
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:b9e4584a1fe3c749e3c37c92497b13dce653b2e694f0261f0610eb0e15941357
17-
# created: 2022-05-05T21:08:42.530332893Z
16+
digest: sha256:ddb19a6df6c1fa081bc99fb29658f306dd64668bc26f75d1353b28296f3a78e6
17+
# created: 2022-06-07T21:18:30.024751809Z

‎.github/sync-repo-settings.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ branchProtectionRules:
33
isAdminEnforced: true
44
requiredApprovingReviewCount: 1
55
requiresCodeOwnerReviews: true
6-
requiresStrictStatusChecks: false
6+
requiresStrictStatusChecks: true
77
requiredStatusCheckContexts:
88
- "ci/kokoro: Samples test"
99
- "ci/kokoro: System test"
@@ -15,3 +15,10 @@ branchProtectionRules:
1515
- cla/google
1616
- windows
1717
- OwlBot Post Processor
18+
permissionRules:
19+
- team: yoshi-admins
20+
permission: admin
21+
- team: jsteam-admins
22+
permission: admin
23+
- team: jsteam
24+
permission: push

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"@types/sinon": "^10.0.0",
5252
"@types/tmp": "0.2.3",
5353
"@types/uuid": "^8.0.0",
54+
"abort-controller": "^3.0.0",
5455
"assert": "^2.0.0",
5556
"browserify": "^17.0.0",
5657
"c8": "^7.0.0",
@@ -86,7 +87,6 @@
8687
"webpack-cli": "^4.0.0"
8788
},
8889
"dependencies": {
89-
"abort-controller": "^3.0.0",
9090
"extend": "^3.0.2",
9191
"https-proxy-agent": "^5.0.0",
9292
"is-stream": "^2.0.0",

‎src/common.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
import {AbortSignal} from 'abort-controller';
1514
import {Agent} from 'http';
1615
import {URL} from 'url';
1716

@@ -100,7 +99,9 @@ export interface GaxiosOptions {
10099
validateStatus?: (status: number) => boolean;
101100
retryConfig?: RetryConfig;
102101
retry?: boolean;
103-
signal?: AbortSignal;
102+
// Should be instance of https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
103+
// interface. Left as 'any' due to incompatibility between spec and abort-controller.
104+
signal?: any;
104105
size?: number;
105106
/**
106107
* Implementation of `fetch` to use when making the API call. By default,

0 commit comments

Comments
 (0)
Please sign in to comment.