Comparing version 1.2.1 to 1.2.2
@@ -35,3 +35,3 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
}); | ||
this.transport = options.transport; | ||
this.transport = extend(options.transport); | ||
this.use(options.use || this.transport.use); | ||
@@ -38,0 +38,0 @@ this.always(removeListeners); |
{ | ||
"name": "popsicle", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Simple HTTP requests for node and the browser", | ||
@@ -21,3 +21,3 @@ "main": "dist/lib/index.js", | ||
"lint": "# TODO", | ||
"build-ts": "tsc", | ||
"build-ts": "rm -rf dist/ && tsc", | ||
"build-browser": "browserify . -s popsicle --external bluebird > popsicle.js", | ||
@@ -32,2 +32,3 @@ "build": "rm -rf dist && npm run build-ts && npm run build-browser && npm run build-size", | ||
"test": "npm run lint && npm run build && npm run test-server-open && npm run test-cov && npm run test-browser; npm run test-server-close", | ||
"prepublish": "npm run build-ts", | ||
"commit-build": "git add popsicle.js" | ||
@@ -64,2 +65,3 @@ }, | ||
"blue-tape": "^0.1.10", | ||
"bluebird": "^3.0.5", | ||
"body-parser": "^1.9.2", | ||
@@ -66,0 +68,0 @@ "browserify": "^11.0.0", |
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
93549
13