teeny-request
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -63,2 +63,5 @@ "use strict"; | ||
reqOpts.url); | ||
if (!uri) { | ||
throw new Error('Missing uri or url in reqOpts.'); | ||
} | ||
if (reqOpts.useQuerystring === true || typeof reqOpts.qs === 'object') { | ||
@@ -65,0 +68,0 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires |
# Changelog | ||
### [7.1.1](https://www.github.com/googleapis/teeny-request/compare/v7.1.0...v7.1.1) (2021-06-30) | ||
### Bug Fixes | ||
* throw error if missing uri or url ([#239](https://www.github.com/googleapis/teeny-request/issues/239)) ([4d770e3](https://www.github.com/googleapis/teeny-request/commit/4d770e3b89254c4cec30c422cdcdad257500c9cc)) | ||
## [7.1.0](https://www.github.com/googleapis/teeny-request/compare/v7.0.1...v7.1.0) (2021-05-19) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "teeny-request", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "Like request, but smaller.", | ||
@@ -23,5 +23,3 @@ "main": "./build/src/index.js", | ||
"system-test": "echo no system tests!", | ||
"precompile": "gts clean", | ||
"api-extractor": "api-extractor run --local", | ||
"api-documenter": "api-documenter yaml --input-folder=temp" | ||
"precompile": "gts clean" | ||
}, | ||
@@ -63,5 +61,3 @@ "files": [ | ||
"sinon": "^10.0.0", | ||
"typescript": "^3.8.3", | ||
"@microsoft/api-documenter": "^7.8.10", | ||
"@microsoft/api-extractor": "^7.8.10" | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -68,0 +64,0 @@ "nyc": { |
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
61630
13
704