Comparing version 9.0.0 to 9.1.0
@@ -13,3 +13,3 @@ "use strict"; | ||
if (!request.get('User-Agent')) { | ||
request.set('User-Agent', 'https://github.com/blakeembrey/popsicle'); | ||
request.set('User-Agent', 'Popsicle (https://github.com/blakeembrey/popsicle)'); | ||
} | ||
@@ -16,0 +16,0 @@ if (request.body instanceof FormData) { |
@@ -161,3 +161,3 @@ "use strict"; | ||
/^Mozilla\/.+$/ : | ||
/^https:\/\/github\.com\/blakeembrey\/popsicle$/; | ||
/^Popsicle \(https:\/\/github\.com\/blakeembrey\/popsicle\)$/; | ||
t.ok(regexp.test(res.body)); | ||
@@ -164,0 +164,0 @@ }); |
{ | ||
"name": "popsicle", | ||
"version": "9.0.0", | ||
"version": "9.1.0", | ||
"description": "Simple HTTP requests for node and the browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/common.js", |
@@ -402,2 +402,9 @@ # ![Popsicle](https://cdn.rawgit.com/blakeembrey/popsicle/master/logo.svg) | ||
## JavaScript | ||
This module is designed for ES5 environments, but requires two ES2015 polyfills to work: | ||
1. `Promise` - `popsicle` is designed heavily with promises in mind | ||
2. `Object.assign` - used internally for object cloning | ||
## TypeScript | ||
@@ -404,0 +411,0 @@ |
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
242499
451