teeny-request
Advanced tools
Comparing version 7.0.1 to 7.1.0
@@ -1,2 +0,3 @@ | ||
/*! | ||
/** | ||
* @license | ||
* Copyright 2019 Google LLC | ||
@@ -3,0 +4,0 @@ * |
"use strict"; | ||
/*! | ||
/** | ||
* @license | ||
* Copyright 2019 Google LLC | ||
@@ -4,0 +5,0 @@ * |
@@ -1,2 +0,3 @@ | ||
/*! | ||
/** | ||
* @license | ||
* Copyright 2018 Google LLC | ||
@@ -3,0 +4,0 @@ * |
"use strict"; | ||
/*! | ||
/** | ||
* @license | ||
* Copyright 2018 Google LLC | ||
@@ -48,3 +49,6 @@ * | ||
else { | ||
if (typeof reqOpts.body !== 'string') { | ||
if (Buffer.isBuffer(reqOpts.body)) { | ||
options.body = reqOpts.body; | ||
} | ||
else if (typeof reqOpts.body !== 'string') { | ||
options.body = JSON.stringify(reqOpts.body); | ||
@@ -51,0 +55,0 @@ } |
@@ -1,2 +0,3 @@ | ||
/*! | ||
/** | ||
* @license | ||
* Copyright 2020 Google LLC | ||
@@ -3,0 +4,0 @@ * |
"use strict"; | ||
/*! | ||
/** | ||
* @license | ||
* Copyright 2020 Google LLC | ||
@@ -4,0 +5,0 @@ * |
# Changelog | ||
## [7.1.0](https://www.github.com/googleapis/teeny-request/compare/v7.0.1...v7.1.0) (2021-05-19) | ||
### Features | ||
* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#224](https://www.github.com/googleapis/teeny-request/issues/224)) ([3e7424f](https://www.github.com/googleapis/teeny-request/commit/3e7424fb63f0c0dca3606d6e1fc2f294f9d86ba5)) | ||
### Bug Fixes | ||
* Buffer is allow as body without encoding to string ([#223](https://www.github.com/googleapis/teeny-request/issues/223)) ([d9bcdc3](https://www.github.com/googleapis/teeny-request/commit/d9bcdc36a60074fd78718ea8f7c4745d640e3b4f)) | ||
### [7.0.1](https://www.github.com/googleapis/teeny-request/compare/v7.0.0...v7.0.1) (2020-09-29) | ||
@@ -4,0 +16,0 @@ |
{ | ||
"name": "teeny-request", | ||
"version": "7.0.1", | ||
"version": "7.1.0", | ||
"description": "Like request, but smaller.", | ||
@@ -53,11 +53,11 @@ "main": "./build/src/index.js", | ||
"@types/node-fetch": "^2.5.7", | ||
"@types/sinon": "^9.0.0", | ||
"@types/sinon": "^10.0.0", | ||
"@types/uuid": "^8.0.0", | ||
"c8": "^7.0.0", | ||
"codecov": "^3.1.0", | ||
"gts": "^2.0.0", | ||
"gts": "^3.0.0", | ||
"linkinator": "^2.0.0", | ||
"mocha": "^8.0.0", | ||
"nock": "^13.0.0", | ||
"sinon": "^9.0.0", | ||
"sinon": "^10.0.0", | ||
"typescript": "^3.8.3", | ||
@@ -64,0 +64,0 @@ "@microsoft/api-documenter": "^7.8.10", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61348
701