fetch-har
Advanced tools
Comparing version 8.1.5 to 9.0.0
@@ -13,3 +13,3 @@ "use strict"; | ||
}; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var data_urls_1 = require("@readme/data-urls"); | ||
@@ -183,3 +183,3 @@ var readable_stream_1 = require("readable-stream"); | ||
if (headers.has('Content-Type')) { | ||
headers["delete"]('Content-Type'); | ||
headers.delete('Content-Type'); | ||
} | ||
@@ -221,3 +221,3 @@ var form_1 = new FormData(); | ||
form_1.append(param.name, new File([fileContents], param.fileName, { | ||
type: param.contentType || null | ||
type: param.contentType || null, | ||
}), param.fileName); | ||
@@ -370,2 +370,2 @@ return; | ||
} | ||
exports["default"] = fetchHAR; | ||
exports.default = fetchHAR; |
{ | ||
"name": "fetch-har", | ||
"version": "8.1.5", | ||
"version": "9.0.0", | ||
"description": "Make a fetch request from a HAR definition", | ||
@@ -8,3 +8,3 @@ "main": "dist/index.js", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
}, | ||
@@ -44,12 +44,12 @@ "scripts": { | ||
"@jsdevtools/karma-config": "^3.1.7", | ||
"@readme/eslint-config": "^10.4.5", | ||
"@readme/eslint-config": "^10.5.3", | ||
"@types/chai": "^4.3.1", | ||
"@types/express": "^4.17.15", | ||
"@types/express": "^4.17.17", | ||
"@types/mocha": "^10.0.0", | ||
"@types/multer": "^1.4.7", | ||
"@types/node": "^18.11.18", | ||
"@types/node": "^20.2.5", | ||
"@types/readable-stream": "^2.3.15", | ||
"chai": "^4.3.4", | ||
"datauri": "^4.1.0", | ||
"eslint": "^8.32.0", | ||
"eslint": "^8.41.0", | ||
"express": "^4.18.1", | ||
@@ -67,8 +67,8 @@ "fetch-mock": "^9.11.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.8.3", | ||
"prettier": "^2.8.7", | ||
"temp-dir": "^2.0.0", | ||
"ts-loader": "^8.4.0", | ||
"ts-node": "^10.7.0", | ||
"typescript": "^4.9.4", | ||
"undici": "^5.16.0", | ||
"typescript": "^5.0.4", | ||
"undici": "^5.22.1", | ||
"webpack": "^4.46.0" | ||
@@ -75,0 +75,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
111095