mappersmith
Advanced tools
Comparing version 2.14.1 to 2.14.2
@@ -31,2 +31,3 @@ 'use strict'; | ||
this.configureTimeout(xmlHttpRequest); | ||
this.configureBinary(xmlHttpRequest); | ||
xmlHttpRequest.send(); | ||
@@ -46,2 +47,7 @@ }, | ||
}, | ||
configureBinary: function configureBinary(xmlHttpRequest) { | ||
if (this.request.isBinary()) { | ||
xmlHttpRequest.responseType = 'blob'; | ||
} | ||
}, | ||
configureTimeout: function configureTimeout(xmlHttpRequest) { | ||
@@ -109,2 +115,3 @@ var _this = this; | ||
this.configureTimeout(xmlHttpRequest); | ||
this.configureBinary(xmlHttpRequest); | ||
@@ -138,5 +145,2 @@ var args = []; | ||
this.configureCallbacks(xmlHttpRequest); | ||
if (this.request.isBinary()) { | ||
xmlHttpRequest.responseType = 'blob'; | ||
} | ||
return xmlHttpRequest; | ||
@@ -143,0 +147,0 @@ } |
@@ -18,3 +18,3 @@ 'use strict'; | ||
/* global VERSION */ | ||
var version = exports.version = '2.14.1'; | ||
var version = exports.version = '2.14.2'; | ||
@@ -21,0 +21,0 @@ var configs = exports.configs = { |
{ | ||
"name": "mappersmith", | ||
"version": "2.14.1", | ||
"version": "2.14.2", | ||
"description": "It is a lightweight rest client for node.js and the browser", | ||
@@ -15,8 +15,8 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>", | ||
"test:browser": "./node_modules/.bin/jest --config jestSetup/configs/config.web.json", | ||
"test:browser:integration": "npm run build:node && NODE_ENV=test ./node_modules/.bin/karma start spec/integration/browser/karma.conf.js", | ||
"test:browser:integration": "cross-env NODE_ENV=test ./node_modules/.bin/karma start spec/integration/browser/karma.conf.js", | ||
"test:browser:watch": "./node_modules/.bin/jest --config jestSetup/configs/config.web.json --watchAll", | ||
"test:node": "./node_modules/.bin/jest --config jestSetup/configs/config.node.json", | ||
"test:node:integration": "npm run build:node && NODE_ENV=test NODE_PATH=. JASMINE_CONFIG_PATH=spec/integration/node/support/jasmine.json ./node_modules/.bin/babel-node ./node_modules/.bin/jasmine", | ||
"test:node:integration": "cross-env NODE_ENV=test cross-env NODE_PATH=. cross-env JASMINE_CONFIG_PATH=spec/integration/node/support/jasmine.json jasmine", | ||
"test:node:watch": "./node_modules/.bin/jest --config jestSetup/configs/config.node.json --watchAll", | ||
"test": "./scripts/ci.sh", | ||
"test": "concurrently --success first --names \"test,server\" --kill-others \"node scripts/ci.js\" \"yarn integration-server\"", | ||
"build:node": "rm -rf lib/* && ./node_modules/.bin/babel src -d lib", | ||
@@ -60,5 +60,7 @@ "build:browser": "rm -rf dist/* && ./node_modules/.bin/webpack --config webpack.conf.js", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-register": "^6.24.1", | ||
"babel-register": "^6.26.0", | ||
"body-parser": "^1.15.2", | ||
"concurrently": "^3.5.1", | ||
"cookie-parser": "^1.4.3", | ||
"cross-env": "^5.1.1", | ||
"eslint": "^3.19.0", | ||
@@ -78,2 +80,3 @@ "eslint-config-standard": "^10.2.1", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-ie-launcher": "^1.0.0", | ||
"karma-jasmine": "^1.1.0", | ||
@@ -80,0 +83,0 @@ "karma-sourcemap-loader": "^0.3.7", |
[![npm version](https://badge.fury.io/js/mappersmith.svg)](http://badge.fury.io/js/mappersmith) | ||
[![Build Status](https://travis-ci.org/tulios/mappersmith.svg?branch=master)](https://travis-ci.org/tulios/mappersmith) | ||
[![Windows Tests](https://img.shields.io/appveyor/ci/tulios/mappersmith.svg?label=Windows%20Tests)](https://ci.appveyor.com/project/tulios/mappersmith) | ||
# Mappersmith | ||
@@ -4,0 +5,0 @@ |
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
97539
1927
964
37