Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,2 @@ | ||
var Promise = require('native-or-bluebird'); | ||
var FormData = require('form-data'); | ||
@@ -2,0 +3,0 @@ var querystring_1 = require('querystring'); |
{ | ||
"name": "popsicle", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Simple HTTP requests for node and the browser", | ||
@@ -23,11 +23,11 @@ "main": "dist/lib/index.js", | ||
"build-browser": "browserify . -s popsicle --external bluebird > popsicle.js", | ||
"build": "rm -rf dist && npm run build-ts && npm run build-browser && npm run build-size", | ||
"build": "npm run build-ts && npm run build-browser && npm run build-size", | ||
"build-size": "du -h popsicle.js", | ||
"test-spec": "npm run test-server-open && PORT=7357 node dist/test/index.js; npm run test-server-close", | ||
"test-cov": "PORT=7357 istanbul cover --print none dist/test/index.js | tap-dot", | ||
"test-browser": "PORT=7357 browserify -t envify dist/test/index.js | tape-run | tap-dot", | ||
"test-spec": "npm run test-server-open && PORT=7357 node dist/test/index.js | tap-spec; EXIT=$?; npm run test-server-close; exit $EXIT", | ||
"test-cov": "PORT=7357 istanbul cover --print none dist/test/index.js | tap-spec", | ||
"test-browser": "PORT=7357 browserify -d -t envify dist/test/index.js | tape-run --browser phantom --render tap-spec", | ||
"test-server-open": "PORT=7357 node test/support/server.js & echo $! > test.pid", | ||
"test-server-close": "if [ -f test.pid ]; then kill -9 $(cat test.pid); rm test.pid; fi", | ||
"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", | ||
"test": "npm run lint && npm run build && npm run test-server-open && npm run test-cov && npm run test-browser; EXIT=$?; npm run test-server-close; exit $EXIT", | ||
"prepublish": "typings install && npm run build-ts", | ||
"commit-build": "git add popsicle.js" | ||
@@ -66,12 +66,13 @@ }, | ||
"body-parser": "^1.9.2", | ||
"browserify": "^11.0.0", | ||
"browserify": "^12.0.1", | ||
"envify": "^3.4.0", | ||
"es6-promise": "^3.0.2", | ||
"express": "^4.10.2", | ||
"istanbul": "^0.3.17", | ||
"istanbul": "^0.4.0", | ||
"phantomjs": "^1.9.18", | ||
"pre-commit": "^1.0.10", | ||
"tap-dot": "^1.0.0", | ||
"tape-run": "^1.0.0", | ||
"typescript": "^1.6.2" | ||
"tap-spec": "^4.1.1", | ||
"tape-run": "^2.1.0", | ||
"typescript": "^1.6.2", | ||
"typings": "^0.2.2" | ||
}, | ||
@@ -82,3 +83,3 @@ "dependencies": { | ||
"form-data": "^0.2.0", | ||
"get-headers": "^1.0.0", | ||
"get-headers": "^1.0.3", | ||
"infinity-agent": "^2.0.3", | ||
@@ -89,6 +90,3 @@ "methods": "^1.1.1", | ||
"xtend": "^4.0.0" | ||
}, | ||
"typescript": { | ||
"definition": "popsicle.d.ts" | ||
} | ||
} |
@@ -337,4 +337,8 @@ # ![Popsicle](https://cdn.rawgit.com/blakeembrey/popsicle/master/logo.svg) | ||
This project is written using TypeScript and has an accompanying `.d.ts` file. | ||
This project is written using [TypeScript](https://github.com/Microsoft/TypeScript) and [typings](https://github.com/typings/typings). From version `1.3.1`, you can install the type definition using `typings`. | ||
``` | ||
typings install npm:popsicle --name popsicle | ||
``` | ||
## Development | ||
@@ -341,0 +345,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
95064
369
14
43
1092
Updatedget-headers@^1.0.3