unprint 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unprint",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "Simplify common web scraping tasks while staying in control of the data.",
5
5
  "main": "src/app.js",
6
6
  "scripts": {
package/src/app.js CHANGED
@@ -1053,6 +1053,7 @@ async function request(url, body, customOptions = {}, method = 'GET') {
1053
1053
  ok: false,
1054
1054
  status: res.status,
1055
1055
  statusText: res.statusText,
1056
+ headers: res.headers,
1056
1057
  response: res,
1057
1058
  res,
1058
1059
  };
@@ -1062,6 +1063,7 @@ async function request(url, body, customOptions = {}, method = 'GET') {
1062
1063
  ok: true,
1063
1064
  status: res.status,
1064
1065
  statusText: res.statusText,
1066
+ headers: res.headers,
1065
1067
  response: res,
1066
1068
  res,
1067
1069
  };